@nativescript/core 8.8.2-next-09-03-2024-10686468786 → 8.8.3-alpha.0
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 +1 -0
- package/data/observable/index.js +1 -0
- 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 +33 -0
- package/ui/activity-indicator/index.d.ts +4 -0
- package/ui/button/index.d.ts +6 -0
- package/ui/content-view/index.d.ts +9 -0
- package/ui/core/view/index.d.ts +211 -7
- package/ui/core/view/view-common.d.ts +6 -0
- package/ui/core/view/view-common.js +12 -0
- package/ui/core/view/view-common.js.map +1 -1
- package/ui/core/view-base/index.d.ts +93 -2
- package/ui/core/view-base/index.js +18 -0
- package/ui/core/view-base/index.js.map +1 -1
- package/ui/date-picker/date-picker-common.d.ts +1 -0
- package/ui/date-picker/date-picker-common.js +1 -0
- package/ui/date-picker/date-picker-common.js.map +1 -1
- package/ui/date-picker/index.d.ts +30 -0
- package/ui/editable-text-base/editable-text-base-common.d.ts +1 -0
- package/ui/editable-text-base/editable-text-base-common.js.map +1 -1
- package/ui/editable-text-base/index.d.ts +42 -0
- 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 +39 -2
- package/ui/gestures/gestures-common.d.ts +22 -0
- package/ui/gestures/gestures-common.js +22 -0
- package/ui/gestures/gestures-common.js.map +1 -1
- package/ui/html-view/html-view-common.d.ts +1 -0
- package/ui/html-view/html-view-common.js.map +1 -1
- package/ui/html-view/index.d.ts +16 -2
- package/ui/image/image-common.d.ts +2 -0
- package/ui/image/image-common.js +1 -0
- package/ui/image/image-common.js.map +1 -1
- package/ui/image/index.d.ts +43 -1
- package/ui/index.d.ts +2 -0
- package/ui/index.js.map +1 -1
- package/ui/label/index.d.ts +4 -0
- package/ui/layouts/absolute-layout/index.d.ts +2 -0
- package/ui/layouts/dock-layout/index.d.ts +5 -1
- package/ui/layouts/flexbox-layout/index.d.ts +32 -0
- package/ui/layouts/grid-layout/index.d.ts +19 -0
- package/ui/layouts/layout-base.d.ts +14 -0
- package/ui/layouts/root-layout/index.d.ts +3 -0
- package/ui/layouts/stack-layout/index.d.ts +3 -0
- package/ui/layouts/wrap-layout/index.d.ts +8 -0
- package/ui/list-picker/index.d.ts +12 -1
- package/ui/list-picker/list-picker-common.d.ts +1 -0
- package/ui/list-picker/list-picker-common.js +1 -0
- package/ui/list-picker/list-picker-common.js.map +1 -1
- package/ui/list-view/index.d.ts +24 -0
- package/ui/page/index.d.ts +31 -2
- package/ui/placeholder/index.d.ts +4 -0
- package/ui/progress/index.d.ts +13 -0
- package/ui/proxy-view-container/index.d.ts +2 -0
- package/ui/proxy-view-container/index.js +2 -0
- package/ui/proxy-view-container/index.js.map +1 -1
- package/ui/repeater/index.d.ts +2 -0
- package/ui/repeater/index.js +2 -0
- package/ui/repeater/index.js.map +1 -1
- package/ui/scroll-view/index.d.ts +10 -0
- package/ui/search-bar/index.d.ts +14 -0
- package/ui/segmented-bar/index.d.ts +21 -5
- package/ui/slider/index.d.ts +27 -0
- package/ui/slider/slider-common.d.ts +1 -0
- package/ui/slider/slider-common.js +1 -0
- package/ui/slider/slider-common.js.map +1 -1
- package/ui/styling/style/index.d.ts +3 -1
- package/ui/styling/style/index.js.map +1 -1
- package/ui/switch/index.d.ts +11 -0
- package/ui/tab-view/index.d.ts +43 -5
- package/ui/text-base/formatted-string.d.ts +24 -0
- package/ui/text-base/index.d.ts +47 -0
- package/ui/text-base/span.d.ts +30 -0
- package/ui/text-base/text-base-common.d.ts +2 -0
- package/ui/text-base/text-base-common.js +6 -0
- package/ui/text-base/text-base-common.js.map +1 -1
- package/ui/text-field/index.d.ts +13 -0
- package/ui/text-view/index.d.ts +11 -0
- package/ui/time-picker/index.d.ts +27 -0
- package/ui/time-picker/time-picker-common.d.ts +1 -0
- package/ui/time-picker/time-picker-common.js +1 -0
- package/ui/time-picker/time-picker-common.js.map +1 -1
- package/ui/web-view/index.d.ts +12 -0
package/ui/image/index.d.ts
CHANGED
|
@@ -1,16 +1,27 @@
|
|
|
1
1
|
import { View } from '../core/view';
|
|
2
2
|
import { Style } from '../styling/style';
|
|
3
|
-
import { ImageSource } from '../../image-source';
|
|
3
|
+
import { ImageSource, iosSymbolScaleType } 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';
|
|
8
10
|
|
|
9
11
|
export { ImageSymbolEffect, ImageSymbolEffects } from './image-common';
|
|
12
|
+
|
|
10
13
|
/**
|
|
11
14
|
* Represents a class that provides functionality for loading and streching image(s).
|
|
15
|
+
*
|
|
16
|
+
* @nsView Image
|
|
12
17
|
*/
|
|
13
18
|
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;
|
|
14
25
|
/**
|
|
15
26
|
* 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.
|
|
16
27
|
*/
|
|
@@ -23,11 +34,15 @@ export class Image extends View {
|
|
|
23
34
|
|
|
24
35
|
/**
|
|
25
36
|
* Gets or sets the image source of the image.
|
|
37
|
+
*
|
|
38
|
+
* @nsProperty
|
|
26
39
|
*/
|
|
27
40
|
imageSource: ImageSource;
|
|
28
41
|
|
|
29
42
|
/**
|
|
30
43
|
* Gets or sets the source of the Image. This can be either an URL string or a native image instance.
|
|
44
|
+
*
|
|
45
|
+
* @nsProperty
|
|
31
46
|
*/
|
|
32
47
|
src: string | ImageSource | ImageAsset;
|
|
33
48
|
|
|
@@ -38,6 +53,8 @@ export class Image extends View {
|
|
|
38
53
|
|
|
39
54
|
/**
|
|
40
55
|
* Gets or sets the image stretch mode.
|
|
56
|
+
*
|
|
57
|
+
* @nsProperty
|
|
41
58
|
*/
|
|
42
59
|
stretch: CoreTypes.ImageStretchType;
|
|
43
60
|
|
|
@@ -46,25 +63,48 @@ export class Image extends View {
|
|
|
46
63
|
* - **sync** - blocks the UI if necessary to display immediately, good for small icons.
|
|
47
64
|
* - **async** *(default)* - will load in the background, may appear with short delay, good for large images.
|
|
48
65
|
* When loading images from web they are always loaded **async** no matter of loadMode value.
|
|
66
|
+
*
|
|
67
|
+
* @nsProperty
|
|
49
68
|
*/
|
|
50
69
|
loadMode: 'sync' | 'async';
|
|
51
70
|
|
|
52
71
|
/**
|
|
53
72
|
* A color used to tint template images.
|
|
73
|
+
*
|
|
74
|
+
* @nsProperty
|
|
54
75
|
*/
|
|
55
76
|
tintColor: Color;
|
|
56
77
|
|
|
57
78
|
/**
|
|
58
79
|
* Gets or sets the desired decode height of the image.
|
|
59
80
|
* This property is Android specific.
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @nsProperty
|
|
60
84
|
*/
|
|
61
85
|
decodeHeight: CoreTypes.LengthType;
|
|
62
86
|
|
|
63
87
|
/**
|
|
64
88
|
* Gets or sets the desired decode width of the image.
|
|
65
89
|
* This property is Android specific.
|
|
90
|
+
*
|
|
91
|
+
* @nsProperty
|
|
66
92
|
*/
|
|
67
93
|
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;
|
|
68
108
|
}
|
|
69
109
|
|
|
70
110
|
export const imageSourceProperty: Property<Image, ImageSource>;
|
|
@@ -75,3 +115,5 @@ export const stretchProperty: Property<Image, CoreTypes.ImageStretchType>;
|
|
|
75
115
|
export const tintColorProperty: InheritedCssProperty<Style, Color>;
|
|
76
116
|
export const decodeHeightProperty: Property<Image, CoreTypes.LengthType>;
|
|
77
117
|
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,7 +46,9 @@ 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';
|
|
49
50
|
export { Slider } from './slider';
|
|
51
|
+
export type { AccessibilityDecrementEventData, AccessibilityIncrementEventData } from './slider';
|
|
50
52
|
export { addTaggedAdditionalCSS, removeTaggedAdditionalCSS, resolveFileNameFromUrl } from './styling/style-scope';
|
|
51
53
|
export { Background } from './styling/background';
|
|
52
54
|
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,iBAAi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B,EAAE,MAAM,uCAAuC,CAAC;AAE/E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
package/ui/label/index.d.ts
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Represents a text label.
|
|
5
|
+
*
|
|
6
|
+
* @nsView Label
|
|
5
7
|
*/
|
|
6
8
|
export class Label extends TextBase {
|
|
7
9
|
/**
|
|
@@ -16,6 +18,8 @@ export class Label extends TextBase {
|
|
|
16
18
|
|
|
17
19
|
/**
|
|
18
20
|
* Gets or sets whether the Label wraps text or not.
|
|
21
|
+
*
|
|
22
|
+
* @nsProperty
|
|
19
23
|
*/
|
|
20
24
|
textWrap: boolean;
|
|
21
25
|
}
|
|
@@ -5,6 +5,8 @@ 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
|
|
8
10
|
*/
|
|
9
11
|
export class DockLayout extends LayoutBase {
|
|
10
12
|
/**
|
|
@@ -20,6 +22,8 @@ export class DockLayout extends LayoutBase {
|
|
|
20
22
|
/**
|
|
21
23
|
* Gets or sets a value that indicates whether the last child element within a DockLayout stretches to fill the remaining available space.
|
|
22
24
|
* The default value is true.
|
|
25
|
+
*
|
|
26
|
+
* @nsProperty
|
|
23
27
|
*/
|
|
24
28
|
stretchLastChild: boolean;
|
|
25
29
|
}
|
|
@@ -27,7 +31,7 @@ export class DockLayout extends LayoutBase {
|
|
|
27
31
|
/**
|
|
28
32
|
* Represents the observable property backing the dock property.
|
|
29
33
|
*/
|
|
30
|
-
export const dockProperty: Property<
|
|
34
|
+
export const dockProperty: Property<View, CoreTypes.DockType>;
|
|
31
35
|
|
|
32
36
|
/**
|
|
33
37
|
* Represents the observable property backing the stretchLastChild property of each DockLayout instance.
|
|
@@ -8,6 +8,8 @@ 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}`;
|
|
11
13
|
|
|
12
14
|
/**
|
|
13
15
|
* A flex order integer.
|
|
@@ -31,11 +33,39 @@ export type FlexWrapBefore = boolean;
|
|
|
31
33
|
|
|
32
34
|
export type AlignSelf = 'auto' | AlignItems;
|
|
33
35
|
|
|
36
|
+
/**
|
|
37
|
+
* @nsView FlexboxLayout
|
|
38
|
+
*/
|
|
34
39
|
export class FlexboxLayout extends LayoutBase {
|
|
40
|
+
/**
|
|
41
|
+
* Gets or set the direction of childern on the main axis.
|
|
42
|
+
*
|
|
43
|
+
* @nsProperty
|
|
44
|
+
*/
|
|
35
45
|
public flexDirection: FlexDirection;
|
|
46
|
+
/**
|
|
47
|
+
* Gets or sets whether children can wrap into multiple lines
|
|
48
|
+
*
|
|
49
|
+
* @nsProperty
|
|
50
|
+
*/
|
|
36
51
|
public flexWrap: FlexWrap;
|
|
52
|
+
/**
|
|
53
|
+
* Gets or sets alignment of childern on the main axis
|
|
54
|
+
*
|
|
55
|
+
* @nsProperty
|
|
56
|
+
*/
|
|
37
57
|
public justifyContent: JustifyContent;
|
|
58
|
+
/**
|
|
59
|
+
* Gets or sets alignment of the childern on cross axis
|
|
60
|
+
*
|
|
61
|
+
* @nsProperty
|
|
62
|
+
*/
|
|
38
63
|
public alignItems: AlignItems;
|
|
64
|
+
/**
|
|
65
|
+
* Gets or sets alignment of items along the cross axis
|
|
66
|
+
*
|
|
67
|
+
* @nsProperty
|
|
68
|
+
*/
|
|
39
69
|
public alignContent: AlignContent;
|
|
40
70
|
|
|
41
71
|
public static setOrder(view: View, order: number);
|
|
@@ -64,3 +94,5 @@ export const flexGrowProperty: CssProperty<Style, FlexGrow>;
|
|
|
64
94
|
export const flexShrinkProperty: CssProperty<Style, FlexShrink>;
|
|
65
95
|
export const flexWrapBeforeProperty: CssProperty<Style, FlexWrapBefore>;
|
|
66
96
|
export const alignSelfProperty: CssProperty<Style, AlignSelf>;
|
|
97
|
+
export const flexFlowProperty: CssProperty<Style, FlexFlow>;
|
|
98
|
+
export const flexProperty: CssProperty<Style, Flex>;
|
|
@@ -45,8 +45,27 @@ export class ItemSpec {
|
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* Defines a rectangular layout area that consists of columns and rows.
|
|
48
|
+
*
|
|
49
|
+
* @nsView GridLayout
|
|
48
50
|
*/
|
|
49
51
|
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
|
+
|
|
50
69
|
/**
|
|
51
70
|
* Gets the value of the Column attached property from a given View.
|
|
52
71
|
*/
|
|
@@ -65,31 +65,43 @@ export class LayoutBase extends CustomLayoutView {
|
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* Gets or sets padding style property.
|
|
68
|
+
*
|
|
69
|
+
* @nsProperty
|
|
68
70
|
*/
|
|
69
71
|
padding: string | CoreTypes.LengthType;
|
|
70
72
|
|
|
71
73
|
/**
|
|
72
74
|
* Specify the bottom padding of this layout.
|
|
75
|
+
*
|
|
76
|
+
* @nsProperty
|
|
73
77
|
*/
|
|
74
78
|
paddingBottom: CoreTypes.LengthType;
|
|
75
79
|
|
|
76
80
|
/**
|
|
77
81
|
* Specify the left padding of this layout.
|
|
82
|
+
*
|
|
83
|
+
* @nsProperty
|
|
78
84
|
*/
|
|
79
85
|
paddingLeft: CoreTypes.LengthType;
|
|
80
86
|
|
|
81
87
|
/**
|
|
82
88
|
* Specify the right padding of this layout.
|
|
89
|
+
*
|
|
90
|
+
* @nsProperty
|
|
83
91
|
*/
|
|
84
92
|
paddingRight: CoreTypes.LengthType;
|
|
85
93
|
|
|
86
94
|
/**
|
|
87
95
|
* Specify the top padding of this layout.
|
|
96
|
+
*
|
|
97
|
+
* @nsProperty
|
|
88
98
|
*/
|
|
89
99
|
paddingTop: CoreTypes.LengthType;
|
|
90
100
|
|
|
91
101
|
/**
|
|
92
102
|
* Gets or sets a value indicating whether to clip the content of this layout.
|
|
103
|
+
*
|
|
104
|
+
* @nsProperty
|
|
93
105
|
*/
|
|
94
106
|
clipToBounds: boolean;
|
|
95
107
|
|
|
@@ -97,6 +109,8 @@ export class LayoutBase extends CustomLayoutView {
|
|
|
97
109
|
* Gets or sets a value indicating whether touch event should pass through to a parent view of the
|
|
98
110
|
* layout container in case an interactive child view did not handle it.
|
|
99
111
|
* Default value of this property is false. This does not affect the appearance of the view.
|
|
112
|
+
*
|
|
113
|
+
* @nsProperty
|
|
100
114
|
*/
|
|
101
115
|
isPassThroughParentEnabled: boolean;
|
|
102
116
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { GridLayout } from '../grid-layout';
|
|
2
2
|
import { View } from '../../core/view';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* @nsView RootLayout
|
|
6
|
+
*/
|
|
4
7
|
export class RootLayout extends GridLayout {
|
|
5
8
|
open(view: View, options: RootLayoutOptions = {}): Promise<void>;
|
|
6
9
|
close(view: View, exitTo?: TransitionAnimation): Promise<void>;
|
|
@@ -4,11 +4,14 @@ 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
|
|
7
9
|
*/
|
|
8
10
|
export class StackLayout extends LayoutBase {
|
|
9
11
|
/**
|
|
10
12
|
* Gets or sets if layout should be horizontal or vertical.
|
|
11
13
|
* The default value is vertical.
|
|
14
|
+
* @nsProperty
|
|
12
15
|
*/
|
|
13
16
|
orientation: CoreTypes.OrientationType;
|
|
14
17
|
}
|
|
@@ -6,23 +6,31 @@ 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
|
|
9
11
|
*/
|
|
10
12
|
export class WrapLayout extends LayoutBase {
|
|
11
13
|
/**
|
|
12
14
|
* Gets or sets the flow direction. Default value is horizontal.
|
|
13
15
|
* If orientation is horizontal items are arranged in rows, else items are arranged in columns.
|
|
16
|
+
*
|
|
17
|
+
* @nsProperty
|
|
14
18
|
*/
|
|
15
19
|
orientation: CoreTypes.OrientationType;
|
|
16
20
|
|
|
17
21
|
/**
|
|
18
22
|
* Gets or sets the width used to measure and layout each child.
|
|
19
23
|
* Default value is Number.NaN which does not restrict children.
|
|
24
|
+
*
|
|
25
|
+
* @nsProperty
|
|
20
26
|
*/
|
|
21
27
|
itemWidth: CoreTypes.LengthType;
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
30
|
* Gets or sets the height used to measure and layout each child.
|
|
25
31
|
* Default value is Number.NaN which does not restrict children.
|
|
32
|
+
*
|
|
33
|
+
* @nsProperty
|
|
26
34
|
*/
|
|
27
35
|
itemHeight: CoreTypes.LengthType;
|
|
28
36
|
}
|
|
@@ -4,8 +4,15 @@ import { ItemsSource } from './list-picker-common';
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Represents an list picker.
|
|
7
|
+
*
|
|
8
|
+
* @nsView ListPicker
|
|
7
9
|
*/
|
|
8
10
|
export class ListPicker extends View {
|
|
11
|
+
/**
|
|
12
|
+
* @nsEvent {PropertyChangeData} selectedIndexChange
|
|
13
|
+
*/
|
|
14
|
+
public static selectedIndexChangeEvent: string;
|
|
15
|
+
|
|
9
16
|
/**
|
|
10
17
|
* 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.
|
|
11
18
|
*/
|
|
@@ -18,14 +25,18 @@ export class ListPicker extends View {
|
|
|
18
25
|
|
|
19
26
|
/**
|
|
20
27
|
* Gets or sets the selected index.
|
|
28
|
+
*
|
|
29
|
+
* @nsProperty
|
|
21
30
|
*/
|
|
22
31
|
selectedIndex: number;
|
|
23
32
|
|
|
24
33
|
/**
|
|
25
34
|
* Gets or set the items collection of the ListPicker.
|
|
26
35
|
* The items property can be set to an array or an object defining length and getItem(index) method.
|
|
36
|
+
*
|
|
37
|
+
* @nsProperty
|
|
27
38
|
*/
|
|
28
|
-
items: any;
|
|
39
|
+
items: any[] | ItemsSource;
|
|
29
40
|
}
|
|
30
41
|
|
|
31
42
|
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":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OAAO,KAAK,UAAU,CAAC;IACtD,CAAC;CACD,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,18 +8,26 @@ 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
|
|
11
13
|
*/
|
|
12
14
|
export class ListView extends View {
|
|
13
15
|
/**
|
|
14
16
|
* String value used when hooking to itemLoading event.
|
|
17
|
+
*
|
|
18
|
+
* @nsEvent {ItemEventData} itemLoading
|
|
15
19
|
*/
|
|
16
20
|
public static itemLoadingEvent: string;
|
|
17
21
|
/**
|
|
18
22
|
* String value used when hooking to itemTap event.
|
|
23
|
+
*
|
|
24
|
+
* @nsEvent {ItemEventData} itemTap
|
|
19
25
|
*/
|
|
20
26
|
public static itemTapEvent: string;
|
|
21
27
|
/**
|
|
22
28
|
* String value used when hooking to loadMoreItems event.
|
|
29
|
+
*
|
|
30
|
+
* @nsEvent itemLoading
|
|
23
31
|
*/
|
|
24
32
|
public static loadMoreItemsEvent: string;
|
|
25
33
|
|
|
@@ -36,42 +44,58 @@ export class ListView extends View {
|
|
|
36
44
|
/**
|
|
37
45
|
* Gets or set the items collection of the ListView.
|
|
38
46
|
* The items property can be set to an array or an object defining length and getItem(index) method.
|
|
47
|
+
*
|
|
48
|
+
* @nsProperty
|
|
39
49
|
*/
|
|
40
50
|
items: any[] | ItemsSource;
|
|
41
51
|
|
|
42
52
|
/**
|
|
43
53
|
* Gets or set the item template of the ListView.
|
|
54
|
+
*
|
|
55
|
+
* @nsProperty
|
|
44
56
|
*/
|
|
45
57
|
itemTemplate: string | Template;
|
|
46
58
|
|
|
47
59
|
/**
|
|
48
60
|
* Gets or set the list of item templates for the item template selector
|
|
61
|
+
*
|
|
62
|
+
* @nsProperty
|
|
49
63
|
*/
|
|
50
64
|
itemTemplates: string | Array<KeyedTemplate>;
|
|
51
65
|
|
|
52
66
|
/**
|
|
53
67
|
* A function that returns the appropriate ket template based on the data item.
|
|
68
|
+
*
|
|
69
|
+
* @nsProperty
|
|
54
70
|
*/
|
|
55
71
|
itemTemplateSelector: string | ((item: any, index: number, items: any) => string);
|
|
56
72
|
|
|
57
73
|
/**
|
|
58
74
|
* Item id generator
|
|
75
|
+
*
|
|
76
|
+
* @nsProperty
|
|
59
77
|
*/
|
|
60
78
|
itemIdGenerator: (item: any, index: number, items: any) => number;
|
|
61
79
|
|
|
62
80
|
/**
|
|
63
81
|
* Gets or set the items separator line color of the ListView.
|
|
82
|
+
*
|
|
83
|
+
* @nsProperty
|
|
64
84
|
*/
|
|
65
85
|
separatorColor: Color;
|
|
66
86
|
|
|
67
87
|
/**
|
|
68
88
|
* Gets or set row height of the ListView.
|
|
89
|
+
*
|
|
90
|
+
* @nsProperty
|
|
69
91
|
*/
|
|
70
92
|
rowHeight: CoreTypes.LengthType;
|
|
71
93
|
|
|
72
94
|
/**
|
|
73
95
|
* Gets or set the estimated height of rows in the ListView.
|
|
74
96
|
* The default value is 44px.
|
|
97
|
+
*
|
|
98
|
+
* @nsProperty
|
|
75
99
|
*/
|
|
76
100
|
iosEstimatedRowHeight: CoreTypes.LengthType;
|
|
77
101
|
|
package/ui/page/index.d.ts
CHANGED
|
@@ -26,53 +26,76 @@ export interface NavigatedData extends EventData {
|
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Represents a logical unit for navigation (inside Frame).
|
|
29
|
+
*
|
|
30
|
+
* @nsView Page
|
|
29
31
|
*/
|
|
30
32
|
export declare class Page extends PageBase {
|
|
31
33
|
/**
|
|
32
34
|
* String value used when hooking to navigatingTo event.
|
|
35
|
+
*
|
|
36
|
+
* @nsEvent {NavigatedData} navigatingTo
|
|
33
37
|
*/
|
|
34
38
|
public static readonly navigatingToEvent = 'navigatingTo';
|
|
35
39
|
|
|
36
40
|
/**
|
|
37
41
|
* String value used when hooking to navigatedTo event.
|
|
42
|
+
*
|
|
43
|
+
* @nsEvent {NavigatedData} navigatedTo
|
|
38
44
|
*/
|
|
39
45
|
public static readonly navigatedToEvent = 'navigatedTo';
|
|
40
46
|
|
|
41
47
|
/**
|
|
42
48
|
* String value used when hooking to navigatingFrom event.
|
|
49
|
+
*
|
|
50
|
+
* @nsEvent {NavigatedData} navigatingFrom
|
|
43
51
|
*/
|
|
44
52
|
public static readonly navigatingFromEvent = 'navigatingFrom';
|
|
45
53
|
|
|
46
54
|
/**
|
|
47
55
|
* String value used when hooking to navigatedFrom event.
|
|
56
|
+
*
|
|
57
|
+
* @nsEvent {NavigatedData} navigatedFrom
|
|
48
58
|
*/
|
|
49
59
|
public static readonly navigatedFromEvent = 'navigatedFrom';
|
|
50
60
|
|
|
51
61
|
/**
|
|
52
62
|
* Gets or sets whether page background spans under status bar.
|
|
63
|
+
*
|
|
64
|
+
* @nsProperty
|
|
53
65
|
*/
|
|
54
66
|
public backgroundSpanUnderStatusBar: boolean;
|
|
55
67
|
|
|
56
68
|
/**
|
|
57
69
|
* Gets or sets the style of the status bar.
|
|
70
|
+
*
|
|
71
|
+
* @nsProperty
|
|
58
72
|
*/
|
|
59
73
|
// @ts-ignore
|
|
60
74
|
public statusBarStyle: 'light' | 'dark';
|
|
61
75
|
|
|
62
76
|
/**
|
|
63
77
|
* Gets or sets the color of the status bar in Android.
|
|
78
|
+
*
|
|
79
|
+
* @nsProperty
|
|
64
80
|
*/
|
|
65
81
|
// @ts-ignore
|
|
66
82
|
public androidStatusBarBackground: Color;
|
|
67
83
|
|
|
68
84
|
/**
|
|
69
85
|
* Used to hide the Navigation Bar in iOS and the Action Bar in Android.
|
|
86
|
+
*
|
|
87
|
+
* @nsProperty
|
|
70
88
|
*/
|
|
71
89
|
// @ts-ignore
|
|
72
90
|
public actionBarHidden: boolean;
|
|
73
91
|
|
|
74
92
|
/**
|
|
75
|
-
* Used to control if swipe back navigation in iOS is enabled.
|
|
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
|
|
76
99
|
*/
|
|
77
100
|
public enableSwipeBackNavigation: boolean;
|
|
78
101
|
|
|
@@ -83,6 +106,8 @@ export declare class Page extends PageBase {
|
|
|
83
106
|
|
|
84
107
|
/**
|
|
85
108
|
* A property that is used to pass a data from another page (while navigate to).
|
|
109
|
+
*
|
|
110
|
+
* @nsProperty
|
|
86
111
|
*/
|
|
87
112
|
// @ts-ignore
|
|
88
113
|
public navigationContext: any;
|
|
@@ -102,11 +127,15 @@ export declare class Page extends PageBase {
|
|
|
102
127
|
/**
|
|
103
128
|
* iOS Only
|
|
104
129
|
* Perform an action when user performans the "escape" gesture
|
|
130
|
+
*
|
|
131
|
+
* @nsProperty
|
|
105
132
|
*/
|
|
106
133
|
public onAccessibilityPerformEscape?: () => boolean;
|
|
107
134
|
|
|
108
135
|
/**
|
|
109
|
-
* Should page changed be
|
|
136
|
+
* Should page changed be announced to the screen reader.
|
|
137
|
+
*
|
|
138
|
+
* @nsProperty
|
|
110
139
|
*/
|
|
111
140
|
public accessibilityAnnouncePageEnabled: boolean;
|
|
112
141
|
|
|
@@ -5,10 +5,14 @@ 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
|
|
8
10
|
*/
|
|
9
11
|
export class Placeholder extends View {
|
|
10
12
|
/**
|
|
11
13
|
* String value used when hooking to creatingView event.
|
|
14
|
+
*
|
|
15
|
+
* @nsEvent {CreateViewEventData} creatingView
|
|
12
16
|
*/
|
|
13
17
|
public static creatingViewEvent: string;
|
|
14
18
|
|