@nativescript/core 8.8.3-alpha.0 → 8.8.3
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/data/observable/index.d.ts +0 -1
- package/data/observable/index.js +0 -1
- package/data/observable/index.js.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/ui/action-bar/index.d.ts +0 -33
- package/ui/activity-indicator/index.d.ts +0 -4
- package/ui/button/index.d.ts +0 -6
- package/ui/content-view/index.d.ts +0 -9
- package/ui/core/view/index.d.ts +7 -211
- package/ui/core/view/view-common.d.ts +0 -6
- package/ui/core/view/view-common.js +0 -12
- package/ui/core/view/view-common.js.map +1 -1
- package/ui/core/view-base/index.d.ts +2 -93
- package/ui/core/view-base/index.js +0 -18
- package/ui/core/view-base/index.js.map +1 -1
- package/ui/date-picker/date-picker-common.d.ts +0 -1
- package/ui/date-picker/date-picker-common.js +0 -1
- package/ui/date-picker/date-picker-common.js.map +1 -1
- package/ui/date-picker/index.d.ts +0 -30
- package/ui/editable-text-base/editable-text-base-common.d.ts +0 -1
- package/ui/editable-text-base/editable-text-base-common.js.map +1 -1
- package/ui/editable-text-base/index.d.ts +0 -42
- package/ui/frame/frame-common.d.ts +1 -1
- package/ui/frame/frame-common.js +2 -2
- package/ui/frame/frame-common.js.map +1 -1
- package/ui/frame/index.d.ts +2 -39
- package/ui/gestures/gestures-common.d.ts +0 -22
- package/ui/gestures/gestures-common.js +0 -22
- package/ui/gestures/gestures-common.js.map +1 -1
- package/ui/html-view/html-view-common.d.ts +0 -1
- package/ui/html-view/html-view-common.js.map +1 -1
- package/ui/html-view/index.d.ts +2 -16
- package/ui/image/image-common.d.ts +0 -2
- package/ui/image/image-common.js +0 -1
- package/ui/image/image-common.js.map +1 -1
- package/ui/image/index.d.ts +1 -43
- package/ui/index.d.ts +0 -2
- package/ui/index.js.map +1 -1
- package/ui/label/index.d.ts +0 -4
- package/ui/layouts/absolute-layout/index.d.ts +0 -2
- package/ui/layouts/dock-layout/index.d.ts +1 -5
- package/ui/layouts/flexbox-layout/index.d.ts +0 -32
- package/ui/layouts/grid-layout/index.d.ts +0 -19
- package/ui/layouts/layout-base.d.ts +0 -14
- package/ui/layouts/root-layout/index.d.ts +0 -3
- package/ui/layouts/stack-layout/index.d.ts +0 -3
- package/ui/layouts/wrap-layout/index.d.ts +0 -8
- package/ui/list-picker/index.d.ts +1 -12
- package/ui/list-picker/list-picker-common.d.ts +0 -1
- package/ui/list-picker/list-picker-common.js +0 -1
- package/ui/list-picker/list-picker-common.js.map +1 -1
- package/ui/list-view/index.d.ts +0 -24
- package/ui/page/index.d.ts +2 -31
- package/ui/placeholder/index.d.ts +0 -4
- package/ui/progress/index.d.ts +0 -13
- package/ui/proxy-view-container/index.d.ts +0 -2
- package/ui/proxy-view-container/index.js +0 -2
- package/ui/proxy-view-container/index.js.map +1 -1
- package/ui/repeater/index.d.ts +0 -2
- package/ui/repeater/index.js +0 -2
- package/ui/repeater/index.js.map +1 -1
- package/ui/scroll-view/index.d.ts +0 -10
- package/ui/search-bar/index.d.ts +0 -14
- package/ui/segmented-bar/index.d.ts +5 -21
- package/ui/slider/index.d.ts +0 -27
- package/ui/slider/slider-common.d.ts +0 -1
- package/ui/slider/slider-common.js +0 -1
- package/ui/slider/slider-common.js.map +1 -1
- package/ui/styling/style/index.d.ts +1 -3
- package/ui/styling/style/index.js.map +1 -1
- package/ui/switch/index.d.ts +0 -11
- package/ui/tab-view/index.d.ts +5 -43
- package/ui/text-base/formatted-string.d.ts +0 -24
- package/ui/text-base/index.d.ts +0 -47
- package/ui/text-base/span.d.ts +0 -30
- package/ui/text-base/text-base-common.d.ts +0 -2
- package/ui/text-base/text-base-common.js +0 -6
- package/ui/text-base/text-base-common.js.map +1 -1
- package/ui/text-field/index.d.ts +0 -13
- package/ui/text-view/index.d.ts +0 -11
- package/ui/time-picker/index.d.ts +0 -27
- package/ui/time-picker/time-picker-common.d.ts +0 -1
- package/ui/time-picker/time-picker-common.js +0 -1
- package/ui/time-picker/time-picker-common.js.map +1 -1
- package/ui/web-view/index.d.ts +0 -12
- package/utils/index.ios.js +3 -2
- package/utils/index.ios.js.map +1 -1
package/ui/image/index.d.ts
CHANGED
|
@@ -1,27 +1,16 @@
|
|
|
1
1
|
import { View } from '../core/view';
|
|
2
2
|
import { Style } from '../styling/style';
|
|
3
|
-
import { ImageSource
|
|
3
|
+
import { ImageSource } from '../../image-source';
|
|
4
4
|
import { ImageAsset } from '../../image-asset';
|
|
5
5
|
import { Color } from '../../color';
|
|
6
6
|
import { Property, InheritedCssProperty } from '../core/properties';
|
|
7
7
|
import { CoreTypes } from '../../core-types';
|
|
8
|
-
import { ImageSymbolEffect, ImageSymbolEffects } from './symbol-effects';
|
|
9
|
-
import { PropertyChangeData } from '../../data/observable';
|
|
10
8
|
|
|
11
9
|
export { ImageSymbolEffect, ImageSymbolEffects } from './image-common';
|
|
12
|
-
|
|
13
10
|
/**
|
|
14
11
|
* Represents a class that provides functionality for loading and streching image(s).
|
|
15
|
-
*
|
|
16
|
-
* @nsView Image
|
|
17
12
|
*/
|
|
18
13
|
export class Image extends View {
|
|
19
|
-
/**
|
|
20
|
-
* String value used when hooking to the isLoadingChange event.
|
|
21
|
-
*
|
|
22
|
-
* @nsEvent {PropertyChangeData} isLoading
|
|
23
|
-
*/
|
|
24
|
-
public static isLoadingChangeEvent: string;
|
|
25
14
|
/**
|
|
26
15
|
* Gets the native [android widget](http://developer.android.com/reference/android/widget/ImageView.html) that represents the user interface for this component. Valid only when running on Android OS.
|
|
27
16
|
*/
|
|
@@ -34,15 +23,11 @@ export class Image extends View {
|
|
|
34
23
|
|
|
35
24
|
/**
|
|
36
25
|
* Gets or sets the image source of the image.
|
|
37
|
-
*
|
|
38
|
-
* @nsProperty
|
|
39
26
|
*/
|
|
40
27
|
imageSource: ImageSource;
|
|
41
28
|
|
|
42
29
|
/**
|
|
43
30
|
* Gets or sets the source of the Image. This can be either an URL string or a native image instance.
|
|
44
|
-
*
|
|
45
|
-
* @nsProperty
|
|
46
31
|
*/
|
|
47
32
|
src: string | ImageSource | ImageAsset;
|
|
48
33
|
|
|
@@ -53,8 +38,6 @@ export class Image extends View {
|
|
|
53
38
|
|
|
54
39
|
/**
|
|
55
40
|
* Gets or sets the image stretch mode.
|
|
56
|
-
*
|
|
57
|
-
* @nsProperty
|
|
58
41
|
*/
|
|
59
42
|
stretch: CoreTypes.ImageStretchType;
|
|
60
43
|
|
|
@@ -63,48 +46,25 @@ export class Image extends View {
|
|
|
63
46
|
* - **sync** - blocks the UI if necessary to display immediately, good for small icons.
|
|
64
47
|
* - **async** *(default)* - will load in the background, may appear with short delay, good for large images.
|
|
65
48
|
* When loading images from web they are always loaded **async** no matter of loadMode value.
|
|
66
|
-
*
|
|
67
|
-
* @nsProperty
|
|
68
49
|
*/
|
|
69
50
|
loadMode: 'sync' | 'async';
|
|
70
51
|
|
|
71
52
|
/**
|
|
72
53
|
* A color used to tint template images.
|
|
73
|
-
*
|
|
74
|
-
* @nsProperty
|
|
75
54
|
*/
|
|
76
55
|
tintColor: Color;
|
|
77
56
|
|
|
78
57
|
/**
|
|
79
58
|
* Gets or sets the desired decode height of the image.
|
|
80
59
|
* This property is Android specific.
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
* @nsProperty
|
|
84
60
|
*/
|
|
85
61
|
decodeHeight: CoreTypes.LengthType;
|
|
86
62
|
|
|
87
63
|
/**
|
|
88
64
|
* Gets or sets the desired decode width of the image.
|
|
89
65
|
* This property is Android specific.
|
|
90
|
-
*
|
|
91
|
-
* @nsProperty
|
|
92
66
|
*/
|
|
93
67
|
decodeWidth: CoreTypes.LengthType;
|
|
94
|
-
/**
|
|
95
|
-
* Get or set the symbol effect used to animate the SF symbol image
|
|
96
|
-
* Symbol effects: https://developer.apple.com/documentation/symbols?language=objc
|
|
97
|
-
*
|
|
98
|
-
* @nsProperty
|
|
99
|
-
*/
|
|
100
|
-
iosSymbolEffect: ImageSymbolEffect | ImageSymbolEffects;
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Get or set the SF Symbol scale to use.
|
|
104
|
-
*
|
|
105
|
-
* @nsProperty
|
|
106
|
-
*/
|
|
107
|
-
iosSymbolScale: iosSymbolScaleType;
|
|
108
68
|
}
|
|
109
69
|
|
|
110
70
|
export const imageSourceProperty: Property<Image, ImageSource>;
|
|
@@ -115,5 +75,3 @@ export const stretchProperty: Property<Image, CoreTypes.ImageStretchType>;
|
|
|
115
75
|
export const tintColorProperty: InheritedCssProperty<Style, Color>;
|
|
116
76
|
export const decodeHeightProperty: Property<Image, CoreTypes.LengthType>;
|
|
117
77
|
export const decodeWidthProperty: Property<Image, CoreTypes.LengthType>;
|
|
118
|
-
export const iosSymbolScaleProperty: Property<Image, iosSymbolScaleType>;
|
|
119
|
-
export const iosSymbolEffectProperty: Property<Image, ImageSymbolEffect | ImageSymbolEffects>;
|
package/ui/index.d.ts
CHANGED
|
@@ -46,9 +46,7 @@ export { ScrollView } from './scroll-view';
|
|
|
46
46
|
export type { ScrollEventData } from './scroll-view';
|
|
47
47
|
export { SearchBar } from './search-bar';
|
|
48
48
|
export { SegmentedBar, SegmentedBarItem } from './segmented-bar';
|
|
49
|
-
export type { SelectedIndexChangedEventData } from './segmented-bar';
|
|
50
49
|
export { Slider } from './slider';
|
|
51
|
-
export type { AccessibilityDecrementEventData, AccessibilityIncrementEventData } from './slider';
|
|
52
50
|
export { addTaggedAdditionalCSS, removeTaggedAdditionalCSS, resolveFileNameFromUrl } from './styling/style-scope';
|
|
53
51
|
export { Background } from './styling/background';
|
|
54
52
|
export type { CacheMode } from './styling/background';
|
package/ui/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/core/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACpF,OAAO,EAAE,i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AsB,EAAE,MAAM,uCAAuC,CAAC;AAE/E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
package/ui/label/index.d.ts
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Represents a text label.
|
|
5
|
-
*
|
|
6
|
-
* @nsView Label
|
|
7
5
|
*/
|
|
8
6
|
export class Label extends TextBase {
|
|
9
7
|
/**
|
|
@@ -18,8 +16,6 @@ export class Label extends TextBase {
|
|
|
18
16
|
|
|
19
17
|
/**
|
|
20
18
|
* Gets or sets whether the Label wraps text or not.
|
|
21
|
-
*
|
|
22
|
-
* @nsProperty
|
|
23
19
|
*/
|
|
24
20
|
textWrap: boolean;
|
|
25
21
|
}
|
|
@@ -5,8 +5,6 @@ import { CoreTypes } from '../../../core-types';
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* A Layout that arranges its children at its outer edges, and allows its last child to take up the remaining space.
|
|
8
|
-
*
|
|
9
|
-
* @nsView DockLayout
|
|
10
8
|
*/
|
|
11
9
|
export class DockLayout extends LayoutBase {
|
|
12
10
|
/**
|
|
@@ -22,8 +20,6 @@ export class DockLayout extends LayoutBase {
|
|
|
22
20
|
/**
|
|
23
21
|
* Gets or sets a value that indicates whether the last child element within a DockLayout stretches to fill the remaining available space.
|
|
24
22
|
* The default value is true.
|
|
25
|
-
*
|
|
26
|
-
* @nsProperty
|
|
27
23
|
*/
|
|
28
24
|
stretchLastChild: boolean;
|
|
29
25
|
}
|
|
@@ -31,7 +27,7 @@ export class DockLayout extends LayoutBase {
|
|
|
31
27
|
/**
|
|
32
28
|
* Represents the observable property backing the dock property.
|
|
33
29
|
*/
|
|
34
|
-
export const dockProperty: Property<
|
|
30
|
+
export const dockProperty: Property<DockLayout, CoreTypes.DockType>;
|
|
35
31
|
|
|
36
32
|
/**
|
|
37
33
|
* Represents the observable property backing the stretchLastChild property of each DockLayout instance.
|
|
@@ -8,8 +8,6 @@ export type FlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
|
8
8
|
export type JustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';
|
|
9
9
|
export type AlignItems = 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
|
|
10
10
|
export type AlignContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';
|
|
11
|
-
export type FlexFlow = `${FlexDirection} ${FlexWrap}`;
|
|
12
|
-
export type Flex = number | 'initial' | 'auto' | 'none' | `${FlexGrow} ${FlexShrink}`;
|
|
13
11
|
|
|
14
12
|
/**
|
|
15
13
|
* A flex order integer.
|
|
@@ -33,39 +31,11 @@ export type FlexWrapBefore = boolean;
|
|
|
33
31
|
|
|
34
32
|
export type AlignSelf = 'auto' | AlignItems;
|
|
35
33
|
|
|
36
|
-
/**
|
|
37
|
-
* @nsView FlexboxLayout
|
|
38
|
-
*/
|
|
39
34
|
export class FlexboxLayout extends LayoutBase {
|
|
40
|
-
/**
|
|
41
|
-
* Gets or set the direction of childern on the main axis.
|
|
42
|
-
*
|
|
43
|
-
* @nsProperty
|
|
44
|
-
*/
|
|
45
35
|
public flexDirection: FlexDirection;
|
|
46
|
-
/**
|
|
47
|
-
* Gets or sets whether children can wrap into multiple lines
|
|
48
|
-
*
|
|
49
|
-
* @nsProperty
|
|
50
|
-
*/
|
|
51
36
|
public flexWrap: FlexWrap;
|
|
52
|
-
/**
|
|
53
|
-
* Gets or sets alignment of childern on the main axis
|
|
54
|
-
*
|
|
55
|
-
* @nsProperty
|
|
56
|
-
*/
|
|
57
37
|
public justifyContent: JustifyContent;
|
|
58
|
-
/**
|
|
59
|
-
* Gets or sets alignment of the childern on cross axis
|
|
60
|
-
*
|
|
61
|
-
* @nsProperty
|
|
62
|
-
*/
|
|
63
38
|
public alignItems: AlignItems;
|
|
64
|
-
/**
|
|
65
|
-
* Gets or sets alignment of items along the cross axis
|
|
66
|
-
*
|
|
67
|
-
* @nsProperty
|
|
68
|
-
*/
|
|
69
39
|
public alignContent: AlignContent;
|
|
70
40
|
|
|
71
41
|
public static setOrder(view: View, order: number);
|
|
@@ -94,5 +64,3 @@ export const flexGrowProperty: CssProperty<Style, FlexGrow>;
|
|
|
94
64
|
export const flexShrinkProperty: CssProperty<Style, FlexShrink>;
|
|
95
65
|
export const flexWrapBeforeProperty: CssProperty<Style, FlexWrapBefore>;
|
|
96
66
|
export const alignSelfProperty: CssProperty<Style, AlignSelf>;
|
|
97
|
-
export const flexFlowProperty: CssProperty<Style, FlexFlow>;
|
|
98
|
-
export const flexProperty: CssProperty<Style, Flex>;
|
|
@@ -45,27 +45,8 @@ export class ItemSpec {
|
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* Defines a rectangular layout area that consists of columns and rows.
|
|
48
|
-
*
|
|
49
|
-
* @nsView GridLayout
|
|
50
48
|
*/
|
|
51
49
|
export class GridLayout extends LayoutBase {
|
|
52
|
-
/**
|
|
53
|
-
* A string value representing row heights delimited with commas.
|
|
54
|
-
*
|
|
55
|
-
* Valid values: an absolute number, auto, or *:
|
|
56
|
-
*
|
|
57
|
-
* @nsProperty
|
|
58
|
-
*/
|
|
59
|
-
rows: string;
|
|
60
|
-
/**
|
|
61
|
-
* A string value representing column widths delimited with commas.
|
|
62
|
-
*
|
|
63
|
-
* Valid values: an absolute number, auto, or *:
|
|
64
|
-
*
|
|
65
|
-
* @nsProperty
|
|
66
|
-
*/
|
|
67
|
-
columns: string;
|
|
68
|
-
|
|
69
50
|
/**
|
|
70
51
|
* Gets the value of the Column attached property from a given View.
|
|
71
52
|
*/
|
|
@@ -65,43 +65,31 @@ export class LayoutBase extends CustomLayoutView {
|
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* Gets or sets padding style property.
|
|
68
|
-
*
|
|
69
|
-
* @nsProperty
|
|
70
68
|
*/
|
|
71
69
|
padding: string | CoreTypes.LengthType;
|
|
72
70
|
|
|
73
71
|
/**
|
|
74
72
|
* Specify the bottom padding of this layout.
|
|
75
|
-
*
|
|
76
|
-
* @nsProperty
|
|
77
73
|
*/
|
|
78
74
|
paddingBottom: CoreTypes.LengthType;
|
|
79
75
|
|
|
80
76
|
/**
|
|
81
77
|
* Specify the left padding of this layout.
|
|
82
|
-
*
|
|
83
|
-
* @nsProperty
|
|
84
78
|
*/
|
|
85
79
|
paddingLeft: CoreTypes.LengthType;
|
|
86
80
|
|
|
87
81
|
/**
|
|
88
82
|
* Specify the right padding of this layout.
|
|
89
|
-
*
|
|
90
|
-
* @nsProperty
|
|
91
83
|
*/
|
|
92
84
|
paddingRight: CoreTypes.LengthType;
|
|
93
85
|
|
|
94
86
|
/**
|
|
95
87
|
* Specify the top padding of this layout.
|
|
96
|
-
*
|
|
97
|
-
* @nsProperty
|
|
98
88
|
*/
|
|
99
89
|
paddingTop: CoreTypes.LengthType;
|
|
100
90
|
|
|
101
91
|
/**
|
|
102
92
|
* Gets or sets a value indicating whether to clip the content of this layout.
|
|
103
|
-
*
|
|
104
|
-
* @nsProperty
|
|
105
93
|
*/
|
|
106
94
|
clipToBounds: boolean;
|
|
107
95
|
|
|
@@ -109,8 +97,6 @@ export class LayoutBase extends CustomLayoutView {
|
|
|
109
97
|
* Gets or sets a value indicating whether touch event should pass through to a parent view of the
|
|
110
98
|
* layout container in case an interactive child view did not handle it.
|
|
111
99
|
* Default value of this property is false. This does not affect the appearance of the view.
|
|
112
|
-
*
|
|
113
|
-
* @nsProperty
|
|
114
100
|
*/
|
|
115
101
|
isPassThroughParentEnabled: boolean;
|
|
116
102
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { GridLayout } from '../grid-layout';
|
|
2
2
|
import { View } from '../../core/view';
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
* @nsView RootLayout
|
|
6
|
-
*/
|
|
7
4
|
export class RootLayout extends GridLayout {
|
|
8
5
|
open(view: View, options: RootLayoutOptions = {}): Promise<void>;
|
|
9
6
|
close(view: View, exitTo?: TransitionAnimation): Promise<void>;
|
|
@@ -4,14 +4,11 @@ import { CoreTypes } from '../../../core-types';
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* A Layout that arranges its children horizontally or vertically. The direction can be set by orientation property.
|
|
7
|
-
*
|
|
8
|
-
* @nsView StackLayout
|
|
9
7
|
*/
|
|
10
8
|
export class StackLayout extends LayoutBase {
|
|
11
9
|
/**
|
|
12
10
|
* Gets or sets if layout should be horizontal or vertical.
|
|
13
11
|
* The default value is vertical.
|
|
14
|
-
* @nsProperty
|
|
15
12
|
*/
|
|
16
13
|
orientation: CoreTypes.OrientationType;
|
|
17
14
|
}
|
|
@@ -6,31 +6,23 @@ import { CoreTypes } from '../../../core-types';
|
|
|
6
6
|
/**
|
|
7
7
|
* WrapLayout position children in rows or columns depending on orientation property
|
|
8
8
|
* until space is filled and then wraps them on new row or column.
|
|
9
|
-
*
|
|
10
|
-
* @nsView WrapLayout
|
|
11
9
|
*/
|
|
12
10
|
export class WrapLayout extends LayoutBase {
|
|
13
11
|
/**
|
|
14
12
|
* Gets or sets the flow direction. Default value is horizontal.
|
|
15
13
|
* If orientation is horizontal items are arranged in rows, else items are arranged in columns.
|
|
16
|
-
*
|
|
17
|
-
* @nsProperty
|
|
18
14
|
*/
|
|
19
15
|
orientation: CoreTypes.OrientationType;
|
|
20
16
|
|
|
21
17
|
/**
|
|
22
18
|
* Gets or sets the width used to measure and layout each child.
|
|
23
19
|
* Default value is Number.NaN which does not restrict children.
|
|
24
|
-
*
|
|
25
|
-
* @nsProperty
|
|
26
20
|
*/
|
|
27
21
|
itemWidth: CoreTypes.LengthType;
|
|
28
22
|
|
|
29
23
|
/**
|
|
30
24
|
* Gets or sets the height used to measure and layout each child.
|
|
31
25
|
* Default value is Number.NaN which does not restrict children.
|
|
32
|
-
*
|
|
33
|
-
* @nsProperty
|
|
34
26
|
*/
|
|
35
27
|
itemHeight: CoreTypes.LengthType;
|
|
36
28
|
}
|
|
@@ -4,15 +4,8 @@ import { ItemsSource } from './list-picker-common';
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Represents an list picker.
|
|
7
|
-
*
|
|
8
|
-
* @nsView ListPicker
|
|
9
7
|
*/
|
|
10
8
|
export class ListPicker extends View {
|
|
11
|
-
/**
|
|
12
|
-
* @nsEvent {PropertyChangeData} selectedIndexChange
|
|
13
|
-
*/
|
|
14
|
-
public static selectedIndexChangeEvent: string;
|
|
15
|
-
|
|
16
9
|
/**
|
|
17
10
|
* Gets the native [android.widget.NumberPicker](http://developer.android.com/reference/android/widget/NumberPicker.html) that represents the user interface for this component. Valid only when running on Android OS.
|
|
18
11
|
*/
|
|
@@ -25,18 +18,14 @@ export class ListPicker extends View {
|
|
|
25
18
|
|
|
26
19
|
/**
|
|
27
20
|
* Gets or sets the selected index.
|
|
28
|
-
*
|
|
29
|
-
* @nsProperty
|
|
30
21
|
*/
|
|
31
22
|
selectedIndex: number;
|
|
32
23
|
|
|
33
24
|
/**
|
|
34
25
|
* Gets or set the items collection of the ListPicker.
|
|
35
26
|
* The items property can be set to an array or an object defining length and getItem(index) method.
|
|
36
|
-
*
|
|
37
|
-
* @nsProperty
|
|
38
27
|
*/
|
|
39
|
-
items: any
|
|
28
|
+
items: any;
|
|
40
29
|
}
|
|
41
30
|
|
|
42
31
|
export const selectedIndexProperty: Property<ListPicker, number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-picker-common.js","sourceRoot":"","sources":["../../../../../packages/core/ui/list-picker/list-picker-common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAQ1D,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,IAAI;
|
|
1
|
+
{"version":3,"file":"list-picker-common.js","sourceRoot":"","sources":["../../../../../packages/core/ui/list-picker/list-picker-common.ts"],"names":[],"mappings":"AAA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D,CAAC,CAAC;AACH,aAAa,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;AAEvC,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,QAAQ,CAAyB;IACrE,IAAI,EAAE,WAAW;IACjB,YAAY,EAAE,EAAE;CAChB,CAAC,CAAC;AACH,iBAAiB,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,QAAQ,CAAyB;IACtE,IAAI,EAAE,YAAY;IAClB,YAAY,EAAE,EAAE;CAChB,CAAC,CAAC;AACH,kBAAkB,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;AAE5C,MAAM,CAAC,MAAM,qBAAqB,GAAG,IAAI,QAAQ,CAAyB;IACzE,IAAI,EAAE,eAAe;IACrB,YAAY,EAAE,IAAI;CAClB,CAAC,CAAC;AACH,qBAAqB,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC"}
|
package/ui/list-view/index.d.ts
CHANGED
|
@@ -8,26 +8,18 @@ import { Property, CssProperty } from '../core/properties';
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Represents a view that shows items in a vertically scrolling list.
|
|
11
|
-
*
|
|
12
|
-
* @nsView ListView
|
|
13
11
|
*/
|
|
14
12
|
export class ListView extends View {
|
|
15
13
|
/**
|
|
16
14
|
* String value used when hooking to itemLoading event.
|
|
17
|
-
*
|
|
18
|
-
* @nsEvent {ItemEventData} itemLoading
|
|
19
15
|
*/
|
|
20
16
|
public static itemLoadingEvent: string;
|
|
21
17
|
/**
|
|
22
18
|
* String value used when hooking to itemTap event.
|
|
23
|
-
*
|
|
24
|
-
* @nsEvent {ItemEventData} itemTap
|
|
25
19
|
*/
|
|
26
20
|
public static itemTapEvent: string;
|
|
27
21
|
/**
|
|
28
22
|
* String value used when hooking to loadMoreItems event.
|
|
29
|
-
*
|
|
30
|
-
* @nsEvent itemLoading
|
|
31
23
|
*/
|
|
32
24
|
public static loadMoreItemsEvent: string;
|
|
33
25
|
|
|
@@ -44,58 +36,42 @@ export class ListView extends View {
|
|
|
44
36
|
/**
|
|
45
37
|
* Gets or set the items collection of the ListView.
|
|
46
38
|
* The items property can be set to an array or an object defining length and getItem(index) method.
|
|
47
|
-
*
|
|
48
|
-
* @nsProperty
|
|
49
39
|
*/
|
|
50
40
|
items: any[] | ItemsSource;
|
|
51
41
|
|
|
52
42
|
/**
|
|
53
43
|
* Gets or set the item template of the ListView.
|
|
54
|
-
*
|
|
55
|
-
* @nsProperty
|
|
56
44
|
*/
|
|
57
45
|
itemTemplate: string | Template;
|
|
58
46
|
|
|
59
47
|
/**
|
|
60
48
|
* Gets or set the list of item templates for the item template selector
|
|
61
|
-
*
|
|
62
|
-
* @nsProperty
|
|
63
49
|
*/
|
|
64
50
|
itemTemplates: string | Array<KeyedTemplate>;
|
|
65
51
|
|
|
66
52
|
/**
|
|
67
53
|
* A function that returns the appropriate ket template based on the data item.
|
|
68
|
-
*
|
|
69
|
-
* @nsProperty
|
|
70
54
|
*/
|
|
71
55
|
itemTemplateSelector: string | ((item: any, index: number, items: any) => string);
|
|
72
56
|
|
|
73
57
|
/**
|
|
74
58
|
* Item id generator
|
|
75
|
-
*
|
|
76
|
-
* @nsProperty
|
|
77
59
|
*/
|
|
78
60
|
itemIdGenerator: (item: any, index: number, items: any) => number;
|
|
79
61
|
|
|
80
62
|
/**
|
|
81
63
|
* Gets or set the items separator line color of the ListView.
|
|
82
|
-
*
|
|
83
|
-
* @nsProperty
|
|
84
64
|
*/
|
|
85
65
|
separatorColor: Color;
|
|
86
66
|
|
|
87
67
|
/**
|
|
88
68
|
* Gets or set row height of the ListView.
|
|
89
|
-
*
|
|
90
|
-
* @nsProperty
|
|
91
69
|
*/
|
|
92
70
|
rowHeight: CoreTypes.LengthType;
|
|
93
71
|
|
|
94
72
|
/**
|
|
95
73
|
* Gets or set the estimated height of rows in the ListView.
|
|
96
74
|
* The default value is 44px.
|
|
97
|
-
*
|
|
98
|
-
* @nsProperty
|
|
99
75
|
*/
|
|
100
76
|
iosEstimatedRowHeight: CoreTypes.LengthType;
|
|
101
77
|
|
package/ui/page/index.d.ts
CHANGED
|
@@ -26,76 +26,53 @@ export interface NavigatedData extends EventData {
|
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Represents a logical unit for navigation (inside Frame).
|
|
29
|
-
*
|
|
30
|
-
* @nsView Page
|
|
31
29
|
*/
|
|
32
30
|
export declare class Page extends PageBase {
|
|
33
31
|
/**
|
|
34
32
|
* String value used when hooking to navigatingTo event.
|
|
35
|
-
*
|
|
36
|
-
* @nsEvent {NavigatedData} navigatingTo
|
|
37
33
|
*/
|
|
38
34
|
public static readonly navigatingToEvent = 'navigatingTo';
|
|
39
35
|
|
|
40
36
|
/**
|
|
41
37
|
* String value used when hooking to navigatedTo event.
|
|
42
|
-
*
|
|
43
|
-
* @nsEvent {NavigatedData} navigatedTo
|
|
44
38
|
*/
|
|
45
39
|
public static readonly navigatedToEvent = 'navigatedTo';
|
|
46
40
|
|
|
47
41
|
/**
|
|
48
42
|
* String value used when hooking to navigatingFrom event.
|
|
49
|
-
*
|
|
50
|
-
* @nsEvent {NavigatedData} navigatingFrom
|
|
51
43
|
*/
|
|
52
44
|
public static readonly navigatingFromEvent = 'navigatingFrom';
|
|
53
45
|
|
|
54
46
|
/**
|
|
55
47
|
* String value used when hooking to navigatedFrom event.
|
|
56
|
-
*
|
|
57
|
-
* @nsEvent {NavigatedData} navigatedFrom
|
|
58
48
|
*/
|
|
59
49
|
public static readonly navigatedFromEvent = 'navigatedFrom';
|
|
60
50
|
|
|
61
51
|
/**
|
|
62
52
|
* Gets or sets whether page background spans under status bar.
|
|
63
|
-
*
|
|
64
|
-
* @nsProperty
|
|
65
53
|
*/
|
|
66
54
|
public backgroundSpanUnderStatusBar: boolean;
|
|
67
55
|
|
|
68
56
|
/**
|
|
69
57
|
* Gets or sets the style of the status bar.
|
|
70
|
-
*
|
|
71
|
-
* @nsProperty
|
|
72
58
|
*/
|
|
73
59
|
// @ts-ignore
|
|
74
60
|
public statusBarStyle: 'light' | 'dark';
|
|
75
61
|
|
|
76
62
|
/**
|
|
77
63
|
* Gets or sets the color of the status bar in Android.
|
|
78
|
-
*
|
|
79
|
-
* @nsProperty
|
|
80
64
|
*/
|
|
81
65
|
// @ts-ignore
|
|
82
66
|
public androidStatusBarBackground: Color;
|
|
83
67
|
|
|
84
68
|
/**
|
|
85
69
|
* Used to hide the Navigation Bar in iOS and the Action Bar in Android.
|
|
86
|
-
*
|
|
87
|
-
* @nsProperty
|
|
88
70
|
*/
|
|
89
71
|
// @ts-ignore
|
|
90
72
|
public actionBarHidden: boolean;
|
|
91
73
|
|
|
92
74
|
/**
|
|
93
|
-
* Used to control if swipe back navigation in iOS is enabled.
|
|
94
|
-
*
|
|
95
|
-
* This property is iOS specific.
|
|
96
|
-
* Default value: true
|
|
97
|
-
*
|
|
98
|
-
* @nsProperty
|
|
75
|
+
* Used to control if swipe back navigation in iOS is enabled. This property is iOS specific. Default value: true
|
|
99
76
|
*/
|
|
100
77
|
public enableSwipeBackNavigation: boolean;
|
|
101
78
|
|
|
@@ -106,8 +83,6 @@ export declare class Page extends PageBase {
|
|
|
106
83
|
|
|
107
84
|
/**
|
|
108
85
|
* A property that is used to pass a data from another page (while navigate to).
|
|
109
|
-
*
|
|
110
|
-
* @nsProperty
|
|
111
86
|
*/
|
|
112
87
|
// @ts-ignore
|
|
113
88
|
public navigationContext: any;
|
|
@@ -127,15 +102,11 @@ export declare class Page extends PageBase {
|
|
|
127
102
|
/**
|
|
128
103
|
* iOS Only
|
|
129
104
|
* Perform an action when user performans the "escape" gesture
|
|
130
|
-
*
|
|
131
|
-
* @nsProperty
|
|
132
105
|
*/
|
|
133
106
|
public onAccessibilityPerformEscape?: () => boolean;
|
|
134
107
|
|
|
135
108
|
/**
|
|
136
|
-
* Should page changed be
|
|
137
|
-
*
|
|
138
|
-
* @nsProperty
|
|
109
|
+
* Should page changed be annnounced to the screen reader.
|
|
139
110
|
*/
|
|
140
111
|
public accessibilityAnnouncePageEnabled: boolean;
|
|
141
112
|
|
|
@@ -5,14 +5,10 @@ export * from './placeholder-common';
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Represents a Placeholder, which is used to add a native view to the visual tree.
|
|
8
|
-
*
|
|
9
|
-
* @nsView Placeholder
|
|
10
8
|
*/
|
|
11
9
|
export class Placeholder extends View {
|
|
12
10
|
/**
|
|
13
11
|
* String value used when hooking to creatingView event.
|
|
14
|
-
*
|
|
15
|
-
* @nsEvent {CreateViewEventData} creatingView
|
|
16
12
|
*/
|
|
17
13
|
public static creatingViewEvent: string;
|
|
18
14
|
|