@nativescript/core 9.0.0-next-07-20-2025-16405027060 → 9.0.0-next-07-21-2025-16405841156
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 +1 -1
- package/ui/action-bar/index.android.d.ts +0 -4
- package/ui/action-bar/index.ios.d.ts +0 -11
- package/ui/activity-indicator/index.android.d.ts +0 -3
- package/ui/activity-indicator/index.ios.d.ts +0 -3
- package/ui/button/index.android.d.ts +0 -6
- package/ui/button/index.ios.d.ts +0 -11
- package/ui/core/properties/index.d.ts +3 -3
- package/ui/core/properties/index.js.map +1 -1
- package/ui/core/view/index.android.d.ts +11 -45
- package/ui/core/view/index.android.js +106 -111
- package/ui/core/view/index.android.js.map +1 -1
- package/ui/core/view/index.ios.d.ts +0 -30
- package/ui/date-picker/index.android.d.ts +0 -6
- package/ui/date-picker/index.ios.d.ts +0 -12
- package/ui/editable-text-base/index.android.d.ts +0 -11
- package/ui/editable-text-base/index.ios.d.ts +0 -5
- package/ui/html-view/index.android.d.ts +0 -8
- package/ui/html-view/index.ios.d.ts +0 -5
- package/ui/image/index.android.d.ts +0 -4
- package/ui/image/index.ios.d.ts +2 -2
- package/ui/image/index.ios.js +0 -1
- package/ui/image/index.ios.js.map +1 -1
- package/ui/layouts/dock-layout/index.android.d.ts +0 -1
- package/ui/layouts/flexbox-layout/index.android.d.ts +0 -5
- package/ui/layouts/layout-base.android.d.ts +0 -6
- package/ui/layouts/layout-base.ios.d.ts +0 -2
- package/ui/list-picker/index.android.d.ts +0 -3
- package/ui/list-picker/index.ios.d.ts +0 -3
- package/ui/list-view/index.android.d.ts +0 -5
- package/ui/list-view/index.ios.d.ts +0 -3
- package/ui/page/index.android.d.ts +0 -6
- package/ui/page/index.ios.d.ts +0 -2
- package/ui/progress/index.android.d.ts +0 -5
- package/ui/progress/index.ios.d.ts +0 -5
- package/ui/scroll-view/index.android.d.ts +0 -3
- package/ui/scroll-view/index.ios.d.ts +0 -2
- package/ui/search-bar/index.android.d.ts +2 -14
- 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 -10
- package/ui/search-bar/index.ios.js +0 -2
- package/ui/search-bar/index.ios.js.map +1 -1
- package/ui/segmented-bar/index.android.d.ts +0 -9
- package/ui/segmented-bar/index.ios.d.ts +0 -5
- package/ui/slider/index.android.d.ts +0 -6
- package/ui/slider/index.ios.d.ts +0 -6
- package/ui/styling/style-properties.d.ts +0 -1
- package/ui/switch/index.android.d.ts +0 -5
- package/ui/switch/index.ios.d.ts +0 -5
- package/ui/tab-view/index.android.d.ts +0 -16
- package/ui/tab-view/index.ios.d.ts +0 -10
- package/ui/text-base/index.android.d.ts +5 -28
- package/ui/text-base/index.android.js +12 -16
- package/ui/text-base/index.android.js.map +1 -1
- package/ui/text-base/index.ios.d.ts +0 -16
- package/ui/text-field/index.ios.d.ts +0 -13
- package/ui/text-field/index.ios.js +1 -1
- package/ui/text-field/index.ios.js.map +1 -1
- package/ui/text-view/index.ios.d.ts +0 -15
- package/ui/time-picker/index.ios.d.ts +0 -9
- package/ui/web-view/web-view-common.d.ts +0 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { DockLayoutBase, stretchLastChildProperty } 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
4
|
[stretchLastChildProperty.getDefault]: () => boolean;
|
|
6
5
|
[stretchLastChildProperty.setNative]: (value: boolean) => void;
|
|
7
6
|
nativeViewProtected: org.nativescript.widgets.DockLayout;
|
|
@@ -3,11 +3,6 @@ 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
6
|
[flexDirectionProperty.getDefault]: () => FlexDirection;
|
|
12
7
|
[flexDirectionProperty.setNative]: (flexDirection: FlexDirection) => void;
|
|
13
8
|
[flexWrapProperty.getDefault]: () => FlexWrap;
|
|
@@ -3,12 +3,6 @@ import { paddingLeftProperty, paddingTopProperty, paddingRightProperty, paddingB
|
|
|
3
3
|
import { CoreTypes } from '../../core-types';
|
|
4
4
|
export * from './layout-base-common';
|
|
5
5
|
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
6
|
[clipToBoundsProperty.getDefault]: () => boolean;
|
|
13
7
|
[clipToBoundsProperty.setNative]: (value: boolean) => void;
|
|
14
8
|
[isPassThroughParentEnabledProperty.setNative]: (value: boolean) => void;
|
|
@@ -2,8 +2,6 @@ import { LayoutBaseCommon, clipToBoundsProperty, isPassThroughParentEnabledPrope
|
|
|
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
5
|
[clipToBoundsProperty.getDefault]: () => boolean;
|
|
8
6
|
[clipToBoundsProperty.setNative]: (value: boolean) => void;
|
|
9
7
|
[isPassThroughParentEnabledProperty.setNative]: (value: boolean) => void;
|
|
@@ -3,9 +3,6 @@ import { colorProperty } from '../styling/style-properties';
|
|
|
3
3
|
import { Color } from '../../color';
|
|
4
4
|
export * from './list-picker-common';
|
|
5
5
|
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
6
|
[selectedIndexProperty.getDefault]: () => number;
|
|
10
7
|
[selectedIndexProperty.setNative]: (value: number) => void;
|
|
11
8
|
[itemsProperty.getDefault]: () => any[];
|
|
@@ -3,9 +3,6 @@ import { Color } from '../../color';
|
|
|
3
3
|
import { colorProperty } from '../styling/style-properties';
|
|
4
4
|
export * from './list-picker-common';
|
|
5
5
|
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
6
|
[selectedIndexProperty.getDefault]: () => number;
|
|
10
7
|
[selectedIndexProperty.setNative]: (value: number) => void;
|
|
11
8
|
[itemsProperty.getDefault]: () => any[];
|
|
@@ -3,11 +3,6 @@ import { View, KeyedTemplate } from '../core/view';
|
|
|
3
3
|
import { Color } from '../../color';
|
|
4
4
|
export * from './list-view-common';
|
|
5
5
|
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
6
|
[separatorColorProperty.getDefault]: () => {
|
|
12
7
|
dividerHeight: number;
|
|
13
8
|
divider: android.graphics.drawable.Drawable;
|
|
@@ -11,9 +11,6 @@ declare class ListViewCell extends UITableViewCell {
|
|
|
11
11
|
owner: WeakRef<View>;
|
|
12
12
|
}
|
|
13
13
|
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
14
|
[separatorColorProperty.getDefault]: () => UIColor;
|
|
18
15
|
[separatorColorProperty.setNative]: (value: Color | UIColor) => void;
|
|
19
16
|
[itemTemplatesProperty.getDefault]: () => KeyedTemplate[];
|
|
@@ -3,12 +3,6 @@ import { View } from '../core/view';
|
|
|
3
3
|
import { Color } from '../../color';
|
|
4
4
|
export * from './page-common';
|
|
5
5
|
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
6
|
[actionBarHiddenProperty.setNative]: (value: boolean) => void;
|
|
13
7
|
[statusBarStyleProperty.getDefault]: () => {
|
|
14
8
|
color: number;
|
package/ui/page/index.ios.d.ts
CHANGED
|
@@ -24,8 +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
27
|
[actionBarHiddenProperty.setNative]: (value: boolean) => void;
|
|
30
28
|
[statusBarStyleProperty.getDefault]: () => UIBarStyle;
|
|
31
29
|
[statusBarStyleProperty.setNative]: (value: string | UIBarStyle) => void;
|
|
@@ -3,11 +3,6 @@ import { Color } from '../../color';
|
|
|
3
3
|
import { colorProperty, backgroundColorProperty, backgroundInternalProperty } from '../styling/style-properties';
|
|
4
4
|
export * from './progress-common';
|
|
5
5
|
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
6
|
[valueProperty.getDefault]: () => number;
|
|
12
7
|
[valueProperty.setNative]: (value: number) => void;
|
|
13
8
|
[maxValueProperty.getDefault]: () => number;
|
|
@@ -3,11 +3,6 @@ import { Color } from '../../color';
|
|
|
3
3
|
import { colorProperty, backgroundColorProperty, backgroundInternalProperty } from '../styling/style-properties';
|
|
4
4
|
export * from './progress-common';
|
|
5
5
|
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
6
|
[valueProperty.getDefault]: () => number;
|
|
12
7
|
[valueProperty.setNative]: (value: number) => void;
|
|
13
8
|
[maxValueProperty.getDefault]: () => number;
|
|
@@ -2,9 +2,6 @@ import { ScrollViewBase, scrollBarIndicatorVisibleProperty, isScrollEnabledPrope
|
|
|
2
2
|
import { isUserInteractionEnabledProperty } from '../core/view';
|
|
3
3
|
export * from './scroll-view-common';
|
|
4
4
|
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
5
|
[isUserInteractionEnabledProperty.setNative]: (value: boolean) => void;
|
|
9
6
|
[isScrollEnabledProperty.getDefault]: () => boolean;
|
|
10
7
|
[isScrollEnabledProperty.setNative]: (value: boolean) => void;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { ScrollViewBase, scrollBarIndicatorVisibleProperty, isScrollEnabledProperty } 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
4
|
[isScrollEnabledProperty.getDefault]: () => boolean;
|
|
7
5
|
[isScrollEnabledProperty.setNative]: (value: boolean) => void;
|
|
8
6
|
[scrollBarIndicatorVisibleProperty.getDefault]: () => boolean;
|
|
@@ -3,21 +3,9 @@ import { SearchBarBase, textProperty, hintProperty, textFieldHintColorProperty,
|
|
|
3
3
|
import { isUserInteractionEnabledProperty, isEnabledProperty } from '../core/view';
|
|
4
4
|
import { Color } from '../../color';
|
|
5
5
|
import { colorProperty, backgroundColorProperty, backgroundInternalProperty, fontInternalProperty, fontSizeProperty } from '../styling/style-properties';
|
|
6
|
+
import { Background } from '../styling/background';
|
|
6
7
|
export * from './search-bar-common';
|
|
7
8
|
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
9
|
[isEnabledProperty.setNative]: (value: boolean) => void;
|
|
22
10
|
[isUserInteractionEnabledProperty.setNative]: (value: boolean) => void;
|
|
23
11
|
[backgroundColorProperty.getDefault]: () => number;
|
|
@@ -33,7 +21,7 @@ export declare class SearchBar extends SearchBarBase {
|
|
|
33
21
|
[fontInternalProperty.getDefault]: () => android.graphics.Typeface;
|
|
34
22
|
[fontInternalProperty.setNative]: (value: Font | android.graphics.Typeface) => void;
|
|
35
23
|
[backgroundInternalProperty.getDefault]: () => any;
|
|
36
|
-
[backgroundInternalProperty.setNative]: (value:
|
|
24
|
+
[backgroundInternalProperty.setNative]: (value: android.graphics.drawable.Drawable | Background) => void;
|
|
37
25
|
[textProperty.getDefault]: () => string;
|
|
38
26
|
[textProperty.setNative]: (value: string) => void;
|
|
39
27
|
[hintProperty.getDefault]: () => string;
|
|
@@ -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);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.android.js","sourceRoot":"","sources":["../../../../../packages/core/ui/search-bar/index.android.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,0BAA0B,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAC9I,OAAO,EAAE,gCAAgC,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.android.js","sourceRoot":"","sources":["../../../../../packages/core/ui/search-bar/index.android.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,0BAA0B,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAC9I,OAAO,EAAE,gCAAgC,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAGzJ,cAAc,qBAAqB,CAAC;AAEpC,MAAM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AY,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;YAC7G,IAAI,CAAC,YAAY,GAAgC,IAAI,CAAC,mBAAmB,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;QAC5F,CAAC;QAED,OAAO,IAAI,CAAC,YAAY,CAAC;IAC1B,CAAC;CACD"}
|
|
@@ -5,15 +5,6 @@ import { Color } from '../../color';
|
|
|
5
5
|
import { colorProperty, backgroundColorProperty, backgroundInternalProperty, fontInternalProperty } from '../styling/style-properties';
|
|
6
6
|
export * from './search-bar-common';
|
|
7
7
|
export declare class SearchBar extends SearchBarBase {
|
|
8
|
-
[isEnabledProperty.setNative]: (value: boolean) => void;
|
|
9
|
-
[backgroundColorProperty.setNative]: (value: UIColor | Color) => void;
|
|
10
|
-
[colorProperty.setNative]: (value: UIColor | Color) => void;
|
|
11
|
-
[fontInternalProperty.setNative]: (value: UIFont | Font) => void;
|
|
12
|
-
[backgroundInternalProperty.setNative]: (value: any) => void;
|
|
13
|
-
[textProperty.setNative]: (value: string) => void;
|
|
14
|
-
[hintProperty.setNative]: (value: string) => void;
|
|
15
|
-
[textFieldBackgroundColorProperty.setNative]: (value: Color | UIColor) => void;
|
|
16
|
-
[textFieldHintColorProperty.setNative]: (value: Color | UIColor) => void;
|
|
17
8
|
[isEnabledProperty.setNative]: (value: boolean) => void;
|
|
18
9
|
[backgroundColorProperty.getDefault]: () => UIColor;
|
|
19
10
|
[backgroundColorProperty.setNative]: (value: UIColor | Color) => void;
|
|
@@ -22,7 +13,7 @@ export declare class SearchBar extends SearchBarBase {
|
|
|
22
13
|
[fontInternalProperty.getDefault]: () => UIFont;
|
|
23
14
|
[fontInternalProperty.setNative]: (value: UIFont | Font) => void;
|
|
24
15
|
[backgroundInternalProperty.getDefault]: () => any;
|
|
25
|
-
[backgroundInternalProperty.setNative]: (value:
|
|
16
|
+
[backgroundInternalProperty.setNative]: (value: UIColor) => void;
|
|
26
17
|
[textProperty.getDefault]: () => string;
|
|
27
18
|
[textProperty.setNative]: (value: string) => void;
|
|
28
19
|
[hintProperty.getDefault]: () => string;
|
|
@@ -141,7 +141,6 @@ export class SearchBar extends SearchBarBase {
|
|
|
141
141
|
[textProperty.getDefault]() {
|
|
142
142
|
return '';
|
|
143
143
|
}
|
|
144
|
-
// @ts-expect-error
|
|
145
144
|
[textProperty.setNative](value) {
|
|
146
145
|
const text = value === null || value === undefined ? '' : value.toString();
|
|
147
146
|
this.ios.text = text;
|
|
@@ -149,7 +148,6 @@ export class SearchBar extends SearchBarBase {
|
|
|
149
148
|
[hintProperty.getDefault]() {
|
|
150
149
|
return '';
|
|
151
150
|
}
|
|
152
|
-
// @ts-expect-error
|
|
153
151
|
[hintProperty.setNative](value) {
|
|
154
152
|
this._updateAttributedPlaceholder();
|
|
155
153
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.ios.js","sourceRoot":"","sources":["../../../../../packages/core/ui/search-bar/index.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,0BAA0B,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAC9I,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACvI,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,cAAc,qBAAqB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+DpC,MAAM,OAAO,SAAU,SAAQ,aAAa;IAK3C,gBAAgB;QACf,OAAO,eAAe,CAAC,GAAG,EAAE,CAAC;IAC9B,CA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AAC;QACD,MAAM,UAAU,GAAQ,EAAE,CAAC;QAC3B,IAAI,IAAI,CAAC,kBAAkB,EAAE,CAAC;YAC7B,UAAU,CAAC,8BAA8B,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC;QAC1E,CAAC;QACD,MAAM,qBAAqB,GAAG,kBAAkB,CAAC,KAAK,EAAE,CAAC,wBAAwB,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;QAC3G,IAAI,CAAC,aAAa,EAAE,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;IACpE,CAAC;CACD"}
|
|
@@ -5,12 +5,6 @@ import { colorProperty, fontInternalProperty, fontSizeProperty } from '../stylin
|
|
|
5
5
|
import { Color } from '../../color';
|
|
6
6
|
export * from './segmented-bar-common';
|
|
7
7
|
export declare class SegmentedBarItem extends SegmentedBarItemBase {
|
|
8
|
-
[colorProperty.setNative]: (value: Color | number) => void;
|
|
9
|
-
[fontSizeProperty.setNative]: (value: number | {
|
|
10
|
-
nativeSize: number;
|
|
11
|
-
}) => void;
|
|
12
|
-
[fontInternalProperty.setNative]: (value: Font | android.graphics.Typeface) => void;
|
|
13
|
-
[selectedBackgroundColorProperty.setNative]: (value: Color | android.graphics.drawable.Drawable) => void;
|
|
14
8
|
[colorProperty.getDefault]: () => number;
|
|
15
9
|
[colorProperty.setNative]: (value: Color | number) => void;
|
|
16
10
|
[fontSizeProperty.getDefault]: () => {
|
|
@@ -29,9 +23,6 @@ export declare class SegmentedBarItem extends SegmentedBarItemBase {
|
|
|
29
23
|
_update(): void;
|
|
30
24
|
}
|
|
31
25
|
export declare class SegmentedBar extends SegmentedBarBase {
|
|
32
|
-
[selectedIndexProperty.setNative]: (value: number) => void;
|
|
33
|
-
[itemsProperty.setNative]: (value: SegmentedBarItem[]) => void;
|
|
34
|
-
[isEnabledProperty.setNative]: (value: boolean) => void;
|
|
35
26
|
[selectedIndexProperty.getDefault]: () => number;
|
|
36
27
|
[selectedIndexProperty.setNative]: (value: number) => void;
|
|
37
28
|
[itemsProperty.getDefault]: () => SegmentedBarItem[];
|
|
@@ -7,11 +7,6 @@ export declare class SegmentedBarItem extends SegmentedBarItemBase {
|
|
|
7
7
|
_update(): void;
|
|
8
8
|
}
|
|
9
9
|
export declare class SegmentedBar extends SegmentedBarBase {
|
|
10
|
-
[selectedIndexProperty.setNative]: (value: number) => void;
|
|
11
|
-
[itemsProperty.setNative]: (value: SegmentedBarItem[]) => void;
|
|
12
|
-
[selectedBackgroundColorProperty.setNative]: (value: UIColor | Color) => void;
|
|
13
|
-
[colorProperty.setNative]: (value: Color | UIColor) => void;
|
|
14
|
-
[fontInternalProperty.setNative]: (value: Font) => void;
|
|
15
10
|
[selectedIndexProperty.getDefault]: () => number;
|
|
16
11
|
[selectedIndexProperty.setNative]: (value: number) => void;
|
|
17
12
|
[itemsProperty.getDefault]: () => SegmentedBarItem[];
|
|
@@ -7,12 +7,6 @@ interface OwnerSeekBar extends android.widget.SeekBar {
|
|
|
7
7
|
owner: Slider;
|
|
8
8
|
}
|
|
9
9
|
export declare class Slider extends SliderBase {
|
|
10
|
-
[valueProperty.setNative]: (value: number) => void;
|
|
11
|
-
[minValueProperty.setNative]: (value: number) => void;
|
|
12
|
-
[maxValueProperty.setNative]: (value: number) => void;
|
|
13
|
-
[colorProperty.setNative]: (value: number | Color) => void;
|
|
14
|
-
[backgroundColorProperty.setNative]: (value: number | Color) => void;
|
|
15
|
-
[backgroundInternalProperty.setNative]: (value: Background) => void;
|
|
16
10
|
[valueProperty.setNative]: (value: number) => void;
|
|
17
11
|
[minValueProperty.setNative]: (value: number) => void;
|
|
18
12
|
[maxValueProperty.getDefault]: () => number;
|
package/ui/slider/index.ios.d.ts
CHANGED
|
@@ -10,12 +10,6 @@ declare class TNSSlider extends UISlider {
|
|
|
10
10
|
accessibilityDecrement(): void;
|
|
11
11
|
}
|
|
12
12
|
export declare class Slider extends SliderBase {
|
|
13
|
-
[valueProperty.setNative]: (value: number) => void;
|
|
14
|
-
[minValueProperty.setNative]: (value: number) => void;
|
|
15
|
-
[maxValueProperty.setNative]: (value: number) => void;
|
|
16
|
-
[colorProperty.setNative]: (value: UIColor | Color) => void;
|
|
17
|
-
[backgroundColorProperty.setNative]: (value: UIColor | Color) => void;
|
|
18
|
-
[backgroundInternalProperty.setNative]: (value: Background) => void;
|
|
19
13
|
[valueProperty.getDefault]: () => number;
|
|
20
14
|
[valueProperty.setNative]: (value: number) => void;
|
|
21
15
|
[minValueProperty.getDefault]: () => number;
|
|
@@ -87,7 +87,6 @@ export const minWidthProperty: CssProperty<Style, CoreTypes.dip | CoreTypes.Leng
|
|
|
87
87
|
export const minHeightProperty: CssProperty<Style, CoreTypes.dip | CoreTypes.LengthDipUnit | CoreTypes.LengthPxUnit>;
|
|
88
88
|
export const widthProperty: CssAnimationProperty<Style, CoreTypes.PercentLengthType>;
|
|
89
89
|
export const heightProperty: CssAnimationProperty<Style, CoreTypes.PercentLengthType>;
|
|
90
|
-
export const lineHeightProperty: CssProperty<Style, number>;
|
|
91
90
|
export const marginProperty: ShorthandProperty<Style, string | CoreTypes.PercentLengthType>;
|
|
92
91
|
export const marginLeftProperty: CssProperty<Style, CoreTypes.PercentLengthType>;
|
|
93
92
|
export const marginRightProperty: CssProperty<Style, CoreTypes.PercentLengthType>;
|
|
@@ -3,11 +3,6 @@ import { colorProperty, backgroundColorProperty, backgroundInternalProperty } fr
|
|
|
3
3
|
import { Color } from '../../color';
|
|
4
4
|
export * from './switch-common';
|
|
5
5
|
export declare class Switch extends SwitchBase {
|
|
6
|
-
[checkedProperty.setNative]: (value: boolean) => void;
|
|
7
|
-
[colorProperty.setNative]: (value: number | Color) => void;
|
|
8
|
-
[backgroundColorProperty.setNative]: (value: number | Color) => void;
|
|
9
|
-
[backgroundInternalProperty.setNative]: (value: any) => void;
|
|
10
|
-
[offBackgroundColorProperty.setNative]: (value: number | Color) => void;
|
|
11
6
|
[checkedProperty.getDefault]: () => boolean;
|
|
12
7
|
[checkedProperty.setNative]: (value: boolean) => void;
|
|
13
8
|
[colorProperty.getDefault]: () => number;
|
package/ui/switch/index.ios.d.ts
CHANGED
|
@@ -3,11 +3,6 @@ import { colorProperty, backgroundColorProperty, backgroundInternalProperty } fr
|
|
|
3
3
|
import { Color } from '../../color';
|
|
4
4
|
export * from './switch-common';
|
|
5
5
|
export declare class Switch extends SwitchBase {
|
|
6
|
-
[checkedProperty.setNative]: (value: boolean) => void;
|
|
7
|
-
[colorProperty.setNative]: (value: UIColor | Color) => void;
|
|
8
|
-
[backgroundColorProperty.setNative]: (value: UIColor | Color) => void;
|
|
9
|
-
[backgroundInternalProperty.setNative]: (value: any) => void;
|
|
10
|
-
[offBackgroundColorProperty.setNative]: (value: Color | UIColor) => void;
|
|
11
6
|
[checkedProperty.getDefault]: () => boolean;
|
|
12
7
|
[checkedProperty.setNative]: (value: boolean) => void;
|
|
13
8
|
[colorProperty.getDefault]: () => UIColor;
|
|
@@ -6,11 +6,6 @@ import { Color } from '../../color';
|
|
|
6
6
|
import { fontSizeProperty, fontInternalProperty } from '../styling/style-properties';
|
|
7
7
|
export * from './tab-view-common';
|
|
8
8
|
export declare class TabViewItem extends TabViewItemBase {
|
|
9
|
-
[fontSizeProperty.setNative]: (value: number | {
|
|
10
|
-
nativeSize: number;
|
|
11
|
-
}) => void;
|
|
12
|
-
[fontInternalProperty.setNative]: (value: Font | android.graphics.Typeface) => void;
|
|
13
|
-
[textTransformProperty.setNative]: (value: CoreTypes.TextTransformType | "default") => void;
|
|
14
9
|
[fontSizeProperty.getDefault]: () => {
|
|
15
10
|
nativeSize: number;
|
|
16
11
|
};
|
|
@@ -36,17 +31,6 @@ export declare class TabViewItem extends TabViewItemBase {
|
|
|
36
31
|
}
|
|
37
32
|
export declare const tabs: WeakRef<TabView>[];
|
|
38
33
|
export declare class TabView extends TabViewBase {
|
|
39
|
-
[androidOffscreenTabLimitProperty.setNative]: (value: number) => void;
|
|
40
|
-
[androidIconRenderingModeProperty.setNative]: (value: "alwaysOriginal" | "alwaysTemplate") => void;
|
|
41
|
-
[selectedIndexProperty.setNative]: (value: number) => void;
|
|
42
|
-
[itemsProperty.setNative]: (value: TabViewItem[]) => void;
|
|
43
|
-
[tabBackgroundColorProperty.setNative]: (value: android.graphics.drawable.Drawable | Color) => void;
|
|
44
|
-
[tabTextFontSizeProperty.setNative]: (value: number | {
|
|
45
|
-
nativeSize: number;
|
|
46
|
-
}) => void;
|
|
47
|
-
[tabTextColorProperty.setNative]: (value: number | Color) => void;
|
|
48
|
-
[selectedTabTextColorProperty.setNative]: (value: number | Color) => void;
|
|
49
|
-
[androidSelectedTabHighlightColorProperty.setNative]: (value: number | Color) => void;
|
|
50
34
|
[androidOffscreenTabLimitProperty.getDefault]: () => number;
|
|
51
35
|
[androidOffscreenTabLimitProperty.setNative]: (value: number) => void;
|
|
52
36
|
[androidIconRenderingModeProperty.getDefault]: () => "alwaysOriginal" | "alwaysTemplate";
|
|
@@ -25,16 +25,6 @@ export declare class TabViewItem extends TabViewItemBase {
|
|
|
25
25
|
_updateTitleAndIconPositions(): void;
|
|
26
26
|
}
|
|
27
27
|
export declare class TabView extends TabViewBase {
|
|
28
|
-
[selectedIndexProperty.setNative]: (value: number) => void;
|
|
29
|
-
[itemsProperty.setNative]: (value: TabViewItem[]) => void;
|
|
30
|
-
[tabTextFontSizeProperty.setNative]: (value: number | {
|
|
31
|
-
nativeSize: number;
|
|
32
|
-
}) => void;
|
|
33
|
-
[tabTextColorProperty.setNative]: (value: UIColor | Color) => void;
|
|
34
|
-
[tabBackgroundColorProperty.setNative]: (value: UIColor | Color) => void;
|
|
35
|
-
[selectedTabTextColorProperty.setNative]: (value: UIColor) => void;
|
|
36
|
-
[fontInternalProperty.setNative]: (value: Font) => void;
|
|
37
|
-
[iosIconRenderingModeProperty.setNative]: (value: "automatic" | "alwaysOriginal" | "alwaysTemplate") => void;
|
|
38
28
|
[selectedIndexProperty.setNative]: (value: number) => void;
|
|
39
29
|
[itemsProperty.getDefault]: () => TabViewItem[];
|
|
40
30
|
[itemsProperty.setNative]: (value: TabViewItem[]) => void;
|
|
@@ -14,29 +14,6 @@ export interface TextTransformation {
|
|
|
14
14
|
new (owner: TextBase): android.text.method.TransformationMethod;
|
|
15
15
|
}
|
|
16
16
|
export declare class TextBase extends TextBaseCommon {
|
|
17
|
-
[textProperty.setNative]: (value: string | number | symbol) => void;
|
|
18
|
-
[textStrokeProperty.setNative]: (value: StrokeCSSValues) => void;
|
|
19
|
-
[formattedTextProperty.setNative]: (value: FormattedString) => void;
|
|
20
|
-
[textTransformProperty.setNative]: (value: CoreTypes.TextTransformType) => void;
|
|
21
|
-
[textAlignmentProperty.setNative]: (value: CoreTypes.TextAlignmentType) => void;
|
|
22
|
-
[whiteSpaceProperty.setNative]: (value: CoreTypes.WhiteSpaceType) => void;
|
|
23
|
-
[textOverflowProperty.setNative]: (value: CoreTypes.TextOverflowType) => void;
|
|
24
|
-
[colorProperty.setNative]: (value: Color | android.content.res.ColorStateList) => void;
|
|
25
|
-
[fontSizeProperty.setNative]: (value: number | {
|
|
26
|
-
nativeSize: number;
|
|
27
|
-
}) => void;
|
|
28
|
-
[lineHeightProperty.setNative]: (value: number) => void;
|
|
29
|
-
[fontInternalProperty.setNative]: (value: Font | android.graphics.Typeface) => void;
|
|
30
|
-
[textDecorationProperty.setNative]: (value: number | CoreTypes.TextDecorationType) => void;
|
|
31
|
-
[textShadowProperty.setNative]: (value: ShadowCSSValues) => void;
|
|
32
|
-
[letterSpacingProperty.setNative]: (value: number) => void;
|
|
33
|
-
[paddingTopProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
34
|
-
[paddingRightProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
35
|
-
[paddingBottomProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
36
|
-
[paddingLeftProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
37
|
-
[testIDProperty.setNative]: (value: string) => void;
|
|
38
|
-
[accessibilityIdentifierProperty.setNative]: (value: string) => void;
|
|
39
|
-
[maxLinesProperty.setNative]: (value: number) => void;
|
|
40
17
|
[textProperty.getDefault]: () => symbol | number;
|
|
41
18
|
[textProperty.setNative]: (value: string | number | symbol) => void;
|
|
42
19
|
[textStrokeProperty.setNative]: (value: StrokeCSSValues) => void;
|
|
@@ -54,8 +31,6 @@ export declare class TextBase extends TextBaseCommon {
|
|
|
54
31
|
[fontSizeProperty.setNative]: (value: number | {
|
|
55
32
|
nativeSize: number;
|
|
56
33
|
}) => void;
|
|
57
|
-
[lineHeightProperty.getDefault]: () => number;
|
|
58
|
-
[lineHeightProperty.setNative]: (value: number) => void;
|
|
59
34
|
[fontInternalProperty.getDefault]: () => android.graphics.Typeface;
|
|
60
35
|
[fontInternalProperty.setNative]: (value: Font | android.graphics.Typeface) => void;
|
|
61
36
|
[textDecorationProperty.getDefault]: () => number;
|
|
@@ -67,8 +42,6 @@ export declare class TextBase extends TextBaseCommon {
|
|
|
67
42
|
color: number;
|
|
68
43
|
};
|
|
69
44
|
[textShadowProperty.setNative]: (value: ShadowCSSValues) => void;
|
|
70
|
-
[letterSpacingProperty.getDefault]: () => number;
|
|
71
|
-
[letterSpacingProperty.setNative]: (value: number) => void;
|
|
72
45
|
[paddingTopProperty.getDefault]: () => CoreTypes.LengthType;
|
|
73
46
|
[paddingTopProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
74
47
|
[paddingRightProperty.getDefault]: () => CoreTypes.LengthType;
|
|
@@ -77,9 +50,13 @@ export declare class TextBase extends TextBaseCommon {
|
|
|
77
50
|
[paddingBottomProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
78
51
|
[paddingLeftProperty.getDefault]: () => CoreTypes.LengthType;
|
|
79
52
|
[paddingLeftProperty.setNative]: (value: CoreTypes.LengthType) => void;
|
|
53
|
+
[lineHeightProperty.getDefault]: () => number;
|
|
54
|
+
[lineHeightProperty.setNative]: (value: number) => void;
|
|
55
|
+
[letterSpacingProperty.getDefault]: () => number;
|
|
56
|
+
[letterSpacingProperty.setNative]: (value: number) => void;
|
|
80
57
|
[testIDProperty.setNative]: (value: string) => void;
|
|
81
58
|
[accessibilityIdentifierProperty.setNative]: (value: string) => void;
|
|
82
|
-
[maxLinesProperty.setNative]: (value:
|
|
59
|
+
[maxLinesProperty.setNative]: (value: CoreTypes.MaxLinesType) => void;
|
|
83
60
|
nativeViewProtected: org.nativescript.widgets.StyleableTextView;
|
|
84
61
|
private _defaultTransformationMethod;
|
|
85
62
|
private _paintFlags;
|
|
@@ -319,12 +319,6 @@ export class TextBase extends TextBaseCommon {
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
|
-
[lineHeightProperty.getDefault]() {
|
|
323
|
-
return this.nativeTextViewProtected.getLineSpacingExtra() / layout.getDisplayDensity();
|
|
324
|
-
}
|
|
325
|
-
[lineHeightProperty.setNative](value) {
|
|
326
|
-
this.nativeTextViewProtected.setLineSpacing(value * layout.getDisplayDensity(), 1);
|
|
327
|
-
}
|
|
328
322
|
[fontInternalProperty.getDefault]() {
|
|
329
323
|
return this.nativeTextViewProtected.getTypeface();
|
|
330
324
|
}
|
|
@@ -369,40 +363,42 @@ export class TextBase extends TextBaseCommon {
|
|
|
369
363
|
// prettier-ignore
|
|
370
364
|
this.nativeTextViewProtected.setShadowLayer(Length.toDevicePixels(value.blurRadius, java.lang.Float.MIN_VALUE), Length.toDevicePixels(value.offsetX, 0), Length.toDevicePixels(value.offsetY, 0), value.color.android);
|
|
371
365
|
}
|
|
372
|
-
[letterSpacingProperty.getDefault]() {
|
|
373
|
-
return org.nativescript.widgets.ViewHelper.getLetterspacing(this.nativeTextViewProtected);
|
|
374
|
-
}
|
|
375
|
-
[letterSpacingProperty.setNative](value) {
|
|
376
|
-
org.nativescript.widgets.ViewHelper.setLetterspacing(this.nativeTextViewProtected, value);
|
|
377
|
-
}
|
|
378
366
|
[paddingTopProperty.getDefault]() {
|
|
379
367
|
return { value: this._defaultPaddingTop, unit: 'px' };
|
|
380
368
|
}
|
|
381
|
-
// @ts-expect-error
|
|
382
369
|
[paddingTopProperty.setNative](value) {
|
|
383
370
|
org.nativescript.widgets.ViewHelper.setPaddingTop(this.nativeTextViewProtected, Length.toDevicePixels(value, 0) + Length.toDevicePixels(this.style.borderTopWidth, 0));
|
|
384
371
|
}
|
|
385
372
|
[paddingRightProperty.getDefault]() {
|
|
386
373
|
return { value: this._defaultPaddingRight, unit: 'px' };
|
|
387
374
|
}
|
|
388
|
-
// @ts-expect-error
|
|
389
375
|
[paddingRightProperty.setNative](value) {
|
|
390
376
|
org.nativescript.widgets.ViewHelper.setPaddingRight(this.nativeTextViewProtected, Length.toDevicePixels(value, 0) + Length.toDevicePixels(this.style.borderRightWidth, 0));
|
|
391
377
|
}
|
|
392
378
|
[paddingBottomProperty.getDefault]() {
|
|
393
379
|
return { value: this._defaultPaddingBottom, unit: 'px' };
|
|
394
380
|
}
|
|
395
|
-
// @ts-expect-error
|
|
396
381
|
[paddingBottomProperty.setNative](value) {
|
|
397
382
|
org.nativescript.widgets.ViewHelper.setPaddingBottom(this.nativeTextViewProtected, Length.toDevicePixels(value, 0) + Length.toDevicePixels(this.style.borderBottomWidth, 0));
|
|
398
383
|
}
|
|
399
384
|
[paddingLeftProperty.getDefault]() {
|
|
400
385
|
return { value: this._defaultPaddingLeft, unit: 'px' };
|
|
401
386
|
}
|
|
402
|
-
// @ts-expect-error
|
|
403
387
|
[paddingLeftProperty.setNative](value) {
|
|
404
388
|
org.nativescript.widgets.ViewHelper.setPaddingLeft(this.nativeTextViewProtected, Length.toDevicePixels(value, 0) + Length.toDevicePixels(this.style.borderLeftWidth, 0));
|
|
405
389
|
}
|
|
390
|
+
[lineHeightProperty.getDefault]() {
|
|
391
|
+
return this.nativeTextViewProtected.getLineSpacingExtra() / layout.getDisplayDensity();
|
|
392
|
+
}
|
|
393
|
+
[lineHeightProperty.setNative](value) {
|
|
394
|
+
this.nativeTextViewProtected.setLineSpacing(value * layout.getDisplayDensity(), 1);
|
|
395
|
+
}
|
|
396
|
+
[letterSpacingProperty.getDefault]() {
|
|
397
|
+
return org.nativescript.widgets.ViewHelper.getLetterspacing(this.nativeTextViewProtected);
|
|
398
|
+
}
|
|
399
|
+
[letterSpacingProperty.setNative](value) {
|
|
400
|
+
org.nativescript.widgets.ViewHelper.setLetterspacing(this.nativeTextViewProtected, value);
|
|
401
|
+
}
|
|
406
402
|
[testIDProperty.setNative](value) {
|
|
407
403
|
this.setAccessibilityIdentifier(this.nativeTextViewProtected, value);
|
|
408
404
|
}
|