@nativescript/core 9.0.0-next-11-04-2025-19077421284 → 9.0.0-next-11-05-2025-19111094761

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.
@@ -3,40 +3,44 @@
3
3
  */
4
4
  import { CubicBezierAnimationCurve } from './animation-types';
5
5
  export declare namespace CoreTypes {
6
- type CSSWideKeywords = 'initial' | 'inherit' | 'unset' | 'revert';
6
+ type AndroidOverflowSingle = 'ignore' | 'none' | 'dont-apply';
7
+ type AndroidOverflowMultiple = 'left' | 'right' | 'top' | 'bottom' | 'left-dont-consume' | 'top-dont-consume' | 'right-dont-consume' | 'bottom-dont-consume' | 'all-but-left' | 'all-but-top' | 'all-but-right' | 'all-but-bottom';
8
+ type AndroidOverflowStacked = AndroidOverflowSingle | `${AndroidOverflowSingle},${AndroidOverflowMultiple}`;
9
+ export type AndroidOverflow = AndroidOverflowSingle | AndroidOverflowStacked;
10
+ export type CSSWideKeywords = 'initial' | 'inherit' | 'unset' | 'revert';
7
11
  /**
8
12
  * Denotes a length number that is in device independent pixel units.
9
13
  */
10
- type dip = number;
14
+ export type dip = number;
11
15
  /**
12
16
  * Denotes a length number that is in physical device pixels.
13
17
  */
14
- type px = number;
18
+ export type px = number;
15
19
  /**
16
20
  * Denotes a normalized percent number.
17
21
  * 0% is represented as 0
18
22
  * 50% is represented as 0.5
19
23
  * 100% is represented as 1
20
24
  */
21
- type percent = number;
22
- type LengthDipUnit = {
25
+ export type percent = number;
26
+ export type LengthDipUnit = {
23
27
  readonly unit: 'dip';
24
28
  readonly value: dip;
25
29
  };
26
- type LengthPxUnit = {
30
+ export type LengthPxUnit = {
27
31
  readonly unit: 'px';
28
32
  readonly value: px;
29
33
  };
30
- type LengthPercentUnit = {
34
+ export type LengthPercentUnit = {
31
35
  readonly unit: '%';
32
36
  readonly value: percent;
33
37
  };
34
- type FixedLengthType = dip | LengthDipUnit | LengthPxUnit | CSSWideKeywords;
35
- type LengthType = 'auto' | FixedLengthType;
36
- type PercentLengthType = 'auto' | FixedLengthType | LengthPercentUnit;
37
- const zeroLength: LengthType;
38
- type KeyboardInputType = 'datetime' | 'phone' | 'number' | 'decimal' | 'url' | 'email' | 'integer';
39
- namespace KeyboardType {
38
+ export type FixedLengthType = dip | LengthDipUnit | LengthPxUnit | CSSWideKeywords;
39
+ export type LengthType = 'auto' | FixedLengthType;
40
+ export type PercentLengthType = 'auto' | FixedLengthType | LengthPercentUnit;
41
+ export const zeroLength: LengthType;
42
+ export type KeyboardInputType = 'datetime' | 'phone' | 'number' | 'decimal' | 'url' | 'email' | 'integer';
43
+ export namespace KeyboardType {
40
44
  const datetime = "datetime";
41
45
  const phone = "phone";
42
46
  const number = "number";
@@ -45,8 +49,8 @@ export declare namespace CoreTypes {
45
49
  const email = "email";
46
50
  const integer = "integer";
47
51
  }
48
- type AutofillType = 'username' | 'password' | 'none' | string;
49
- namespace AutofillType {
52
+ export type AutofillType = 'username' | 'password' | 'none' | string;
53
+ export namespace AutofillType {
50
54
  const username = "username";
51
55
  const password = "password";
52
56
  const newUsername = "newUsername";
@@ -54,58 +58,58 @@ export declare namespace CoreTypes {
54
58
  const oneTimeCode = "oneTimeCode";
55
59
  const none = "none";
56
60
  }
57
- type ReturnKeyButtonType = 'done' | 'next' | 'go' | 'search' | 'send';
58
- namespace ReturnKeyType {
61
+ export type ReturnKeyButtonType = 'done' | 'next' | 'go' | 'search' | 'send';
62
+ export namespace ReturnKeyType {
59
63
  const done = "done";
60
64
  const next = "next";
61
65
  const go = "go";
62
66
  const search = "search";
63
67
  const send = "send";
64
68
  }
65
- type TextAlignmentType = 'left' | 'center' | 'right' | 'justify' | CSSWideKeywords;
66
- namespace TextAlignment {
69
+ export type TextAlignmentType = 'left' | 'center' | 'right' | 'justify' | CSSWideKeywords;
70
+ export namespace TextAlignment {
67
71
  const left = "left";
68
72
  const center = "center";
69
73
  const right = "right";
70
74
  const justify = "justify";
71
75
  }
72
- type TextDecorationType = 'none' | 'underline' | 'line-through' | 'underline line-through' | CSSWideKeywords;
73
- namespace TextDecoration {
76
+ export type TextDecorationType = 'none' | 'underline' | 'line-through' | 'underline line-through' | CSSWideKeywords;
77
+ export namespace TextDecoration {
74
78
  const none = "none";
75
79
  const underline = "underline";
76
80
  const lineThrough = "line-through";
77
81
  }
78
- type TextTransformType = 'none' | 'capitalize' | 'uppercase' | 'lowercase' | CSSWideKeywords;
79
- namespace TextTransform {
82
+ export type TextTransformType = 'none' | 'capitalize' | 'uppercase' | 'lowercase' | CSSWideKeywords;
83
+ export namespace TextTransform {
80
84
  const none = "none";
81
85
  const capitalize = "capitalize";
82
86
  const uppercase = "uppercase";
83
87
  const lowercase = "lowercase";
84
88
  }
85
- type WhiteSpaceType = 'normal' | 'nowrap' | 'wrap' | CSSWideKeywords;
86
- namespace WhiteSpace {
89
+ export type WhiteSpaceType = 'normal' | 'nowrap' | 'wrap' | CSSWideKeywords;
90
+ export namespace WhiteSpace {
87
91
  const normal = "normal";
88
92
  const nowrap = "nowrap";
89
93
  }
90
- type TextOverflowType = 'clip' | 'ellipsis' | CSSWideKeywords;
91
- namespace TextOverflow {
94
+ export type TextOverflowType = 'clip' | 'ellipsis' | CSSWideKeywords;
95
+ export namespace TextOverflow {
92
96
  const clip = "clip";
93
97
  const ellipsis = "ellipsis";
94
98
  }
95
- type MaxLinesType = number;
96
- type OrientationType = 'horizontal' | 'vertical';
97
- namespace Orientation {
99
+ export type MaxLinesType = number;
100
+ export type OrientationType = 'horizontal' | 'vertical';
101
+ export namespace Orientation {
98
102
  const horizontal = "horizontal";
99
103
  const vertical = "vertical";
100
104
  }
101
- type DeviceOrientationType = 'portrait' | 'landscape' | 'unknown';
102
- namespace DeviceOrientation {
105
+ export type DeviceOrientationType = 'portrait' | 'landscape' | 'unknown';
106
+ export namespace DeviceOrientation {
103
107
  const portrait = "portrait";
104
108
  const landscape = "landscape";
105
109
  const unknown = "unknown";
106
110
  }
107
- type HorizontalAlignmentType = 'left' | 'center' | 'right' | 'stretch' | CSSWideKeywords;
108
- namespace HorizontalAlignment {
111
+ export type HorizontalAlignmentType = 'left' | 'center' | 'right' | 'stretch' | CSSWideKeywords;
112
+ export namespace HorizontalAlignment {
109
113
  const left = "left";
110
114
  const center = "center";
111
115
  const right = "right";
@@ -113,15 +117,15 @@ export declare namespace CoreTypes {
113
117
  const isValid: (value: any) => value is HorizontalAlignmentType;
114
118
  const parse: (value: any) => HorizontalAlignmentType;
115
119
  }
116
- type VerticalAlignmentType = 'top' | 'middle' | 'bottom' | 'stretch' | CSSWideKeywords;
117
- namespace VerticalAlignment {
120
+ export type VerticalAlignmentType = 'top' | 'middle' | 'bottom' | 'stretch' | CSSWideKeywords;
121
+ export namespace VerticalAlignment {
118
122
  const top = "top";
119
123
  const middle = "middle";
120
124
  const bottom = "bottom";
121
125
  const stretch = "stretch";
122
126
  }
123
- type VerticalAlignmentTextType = VerticalAlignmentType | 'text-top' | 'text-bottom' | 'sup' | 'sub' | 'baseline';
124
- namespace VerticalAlignmentText {
127
+ export type VerticalAlignmentTextType = VerticalAlignmentType | 'text-top' | 'text-bottom' | 'sup' | 'sub' | 'baseline';
128
+ export namespace VerticalAlignmentText {
125
129
  const top = "top";
126
130
  const middle = "middle";
127
131
  const bottom = "bottom";
@@ -134,15 +138,15 @@ export declare namespace CoreTypes {
134
138
  const isValid: (value: any) => value is VerticalAlignmentTextType;
135
139
  const parse: (value: string) => VerticalAlignmentTextType;
136
140
  }
137
- type ImageStretchType = 'none' | 'aspectFill' | 'aspectFit' | 'fill';
138
- namespace ImageStretch {
141
+ export type ImageStretchType = 'none' | 'aspectFill' | 'aspectFit' | 'fill';
142
+ export namespace ImageStretch {
139
143
  const none: ImageStretchType;
140
144
  const aspectFill: ImageStretchType;
141
145
  const aspectFit: ImageStretchType;
142
146
  const fill: ImageStretchType;
143
147
  }
144
- type VisibilityType = 'visible' | 'hidden' | 'collapse' | 'collapsed' | CSSWideKeywords;
145
- namespace Visibility {
148
+ export type VisibilityType = 'visible' | 'hidden' | 'collapse' | 'collapsed' | CSSWideKeywords;
149
+ export namespace Visibility {
146
150
  const visible: VisibilityType;
147
151
  const collapse: VisibilityType;
148
152
  const collapsed: VisibilityType;
@@ -150,67 +154,67 @@ export declare namespace CoreTypes {
150
154
  const isValid: (value: any) => value is VisibilityType;
151
155
  const parse: (value: string) => VisibilityType;
152
156
  }
153
- namespace FontAttributes {
157
+ export namespace FontAttributes {
154
158
  const Normal = 0;
155
159
  const Bold = 1;
156
160
  const Italic: number;
157
161
  }
158
- namespace DeviceType {
162
+ export namespace DeviceType {
159
163
  const Phone: string;
160
164
  const Tablet: string;
161
165
  }
162
- type UpdateTextTriggerType = 'focusLost' | 'textChanged';
163
- namespace UpdateTextTrigger {
166
+ export type UpdateTextTriggerType = 'focusLost' | 'textChanged';
167
+ export namespace UpdateTextTrigger {
164
168
  const focusLost: UpdateTextTriggerType;
165
169
  const textChanged: UpdateTextTriggerType;
166
170
  }
167
- namespace Accuracy {
171
+ export namespace Accuracy {
168
172
  const any: number;
169
173
  const high: number;
170
174
  }
171
- type DockType = 'left' | 'top' | 'right' | 'bottom';
172
- namespace Dock {
175
+ export type DockType = 'left' | 'top' | 'right' | 'bottom';
176
+ export namespace Dock {
173
177
  const left: DockType;
174
178
  const top: DockType;
175
179
  const right: DockType;
176
180
  const bottom: DockType;
177
181
  }
178
- type AutocapitalizationInputType = 'none' | 'words' | 'sentences' | 'allcharacters';
179
- namespace AutocapitalizationType {
182
+ export type AutocapitalizationInputType = 'none' | 'words' | 'sentences' | 'allcharacters';
183
+ export namespace AutocapitalizationType {
180
184
  const none: AutocapitalizationInputType;
181
185
  const words: AutocapitalizationInputType;
182
186
  const sentences: AutocapitalizationInputType;
183
187
  const allCharacters: AutocapitalizationInputType;
184
188
  }
185
- namespace NavigationBarVisibility {
189
+ export namespace NavigationBarVisibility {
186
190
  const auto: string;
187
191
  const never: string;
188
192
  const always: string;
189
193
  }
190
- namespace AndroidActionBarIconVisibility {
194
+ export namespace AndroidActionBarIconVisibility {
191
195
  const auto: string;
192
196
  const never: string;
193
197
  const always: string;
194
198
  }
195
- namespace AndroidActionItemPosition {
199
+ export namespace AndroidActionItemPosition {
196
200
  const actionBar: string;
197
201
  const actionBarIfRoom: string;
198
202
  const popup: string;
199
203
  }
200
- namespace IOSActionItemPosition {
204
+ export namespace IOSActionItemPosition {
201
205
  const left: string;
202
206
  const right: string;
203
207
  }
204
- namespace ImageFormat {
208
+ export namespace ImageFormat {
205
209
  const png: string;
206
210
  const jpeg: string;
207
211
  const jpg: string;
208
212
  }
209
- namespace FontStyle {
213
+ export namespace FontStyle {
210
214
  const normal: string;
211
215
  const italic: string;
212
216
  }
213
- namespace FontWeight {
217
+ export namespace FontWeight {
214
218
  const thin: string;
215
219
  const extraLight: string;
216
220
  const light: string;
@@ -221,8 +225,8 @@ export declare namespace CoreTypes {
221
225
  const extraBold: string;
222
226
  const black: string;
223
227
  }
224
- type BackgroundRepeatType = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' | CSSWideKeywords;
225
- namespace BackgroundRepeat {
228
+ export type BackgroundRepeatType = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat' | CSSWideKeywords;
229
+ export namespace BackgroundRepeat {
226
230
  const repeat: BackgroundRepeatType;
227
231
  const repeatX: BackgroundRepeatType;
228
232
  const repeatY: BackgroundRepeatType;
@@ -230,7 +234,7 @@ export declare namespace CoreTypes {
230
234
  const isValid: (value: any) => value is BackgroundRepeatType;
231
235
  const parse: (value: any) => BackgroundRepeatType;
232
236
  }
233
- namespace AnimationCurve {
237
+ export namespace AnimationCurve {
234
238
  const ease = "ease";
235
239
  const easeIn = "easeIn";
236
240
  const easeOut = "easeOut";
@@ -239,14 +243,15 @@ export declare namespace CoreTypes {
239
243
  const spring = "spring";
240
244
  function cubicBezier(x1: number, y1: number, x2: number, y2: number): CubicBezierAnimationCurve;
241
245
  }
242
- namespace StatusBarStyle {
246
+ export namespace StatusBarStyle {
243
247
  const light = "light";
244
248
  const dark = "dark";
245
249
  }
246
- namespace SystemAppearance {
250
+ export namespace SystemAppearance {
247
251
  const light = "light";
248
252
  const dark = "dark";
249
253
  }
254
+ export {};
250
255
  }
251
256
  /**
252
257
  * NOTE: Auto migrate deprecations via eslint-plugin in future
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/core/core-types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,wCAAwC;AACxC,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,MAAM,KAAW,SAAS,CAwRzB;AAxRD,WAAiB,SAAS;IA6BZ,oBAAU,GAAe;QACrC,KAAK,EAAE,CAAC;QACR,IAAI,EAAE,IAAI;KACV,CAAC;IAGF,IAAiB,YAAY,CAQ5B;IARD,WAAiB,YAAY;QACf,qBAAQ,GAAG,UAAU,CAAC;QACtB,kBAAK,GAAG,OAAO,CAAC;QAChB,mBAAM,GAAG,QAAQ,CAAC;QAClB,oBAAO,GAAG,SAAS,CAAC;QACpB,gBAAG,GAAG,KAAK,CAAC;QACZ,kBAAK,GAAG,OAAO,CAAC;QAChB,oBAAO,GAAG,SAAS,CAAC;IAClC,CAAC,EARgB,YAAY,GAAZ,sBAAY,KAAZ,sBAAY,QAQ5B;IAED,IAAiB,YAAY,CAO5B;IAPD,WAAiB,YAAY;QACf,qBAAQ,GAAG,UAAU,CAAC;QACtB,qBAAQ,GAAG,UAAU,CAAC;QACtB,wBAAW,GAAG,aAAa,CAAC;QAC5B,wBAAW,GAAG,aAAa,CAAC;QAC5B,wBAAW,GAAG,aAAa,CAAC;QAC5B,iBAAI,GAAG,MAAM,CAAC;IAC5B,CAAC,EAPgB,YAAY,GAAZ,sBAAY,KAAZ,sBAAY,QAO5B;IAGD,IAAiB,aAAa,CAM7B;IAND,WAAiB,aAAa;QAChB,kBAAI,GAAG,MAAM,CAAC;QACd,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E,SAAS,CAAC,cAAc;IACxC,sBAAsB,EAAE,SAAS,CAAC,sBAAsB;IACxD,gBAAgB,EAAE,SAAS,CAAC,gBAAgB;IAC5C,iBAAiB,EAAE,SAAS,CAAC,iBAAiB;IAC9C,UAAU,EAAE,SAAS,CAAC,UAAU;IAChC,IAAI,EAAE,SAAS,CAAC,IAAI;IACpB,cAAc,EAAE,SAAS,CAAC,cAAc;IACxC,SAAS,EAAE,SAAS,CAAC,SAAS;IAC9B,UAAU,EAAE,SAAS,CAAC,UAAU;IAChC,mBAAmB,EAAE,SAAS,CAAC,mBAAmB;IAClD,qBAAqB,EAAE,SAAS,CAAC,qBAAqB;IACtD,WAAW,EAAE,SAAS,CAAC,WAAW;IAClC,YAAY,EAAE,SAAS,CAAC,YAAY;IACpC,uBAAuB,EAAE,SAAS,CAAC,uBAAuB;IAC1D,WAAW,EAAE,SAAS,CAAC,WAAW;IAClC,aAAa,EAAE,SAAS,CAAC,aAAa;IACtC,cAAc,EAAE,SAAS,CAAC,cAAc;IACxC,OAAO,EAAE,SAAS,CAAC,YAAY;IAC/B,gBAAgB,EAAE,SAAS,CAAC,gBAAgB;IAC5C,aAAa,EAAE,SAAS,CAAC,aAAa;IACtC,cAAc,EAAE,SAAS,CAAC,cAAc;IACxC,aAAa,EAAE,SAAS,CAAC,aAAa;IACtC,iBAAiB,EAAE,SAAS,CAAC,iBAAiB;IAC9C,iBAAiB,EAAE,SAAS,CAAC,iBAAiB;IAC9C,UAAU,EAAE,SAAS,CAAC,UAAU;IAChC,UAAU,EAAE,SAAS,CAAC,UAAU;CAChC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript/core",
3
- "version": "9.0.0-next-11-04-2025-19077421284",
3
+ "version": "9.0.0-next-11-05-2025-19111094761",
4
4
  "description": "A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.",
5
5
  "type": "module",
6
6
  "main": "index",
@@ -6,11 +6,11 @@ import type { AnimationDefinition, AnimationPromise } from './animation-types';
6
6
  * Defines a animation set.
7
7
  */
8
8
  export class Animation {
9
- constructor(animationDefinitions: Array<AnimationDefinition>, playSequentially?: boolean);
10
- public play: (resetOnFinish?: boolean) => AnimationPromise;
11
- public cancel: () => void;
12
- public isPlaying: boolean;
13
- public _resolveAnimationCurve(curve: any): any;
9
+ constructor(animationDefinitions: Array<AnimationDefinition>, playSequentially?: boolean);
10
+ public play: (resetOnFinish?: boolean) => AnimationPromise;
11
+ public cancel: () => void;
12
+ public isPlaying: boolean;
13
+ public _resolveAnimationCurve(curve: any): any;
14
14
  }
15
15
 
16
16
  export function _resolveAnimationCurve(curve: any): any;
@@ -1,6 +1,6 @@
1
1
  import type { Point, Position } from './view-interfaces';
2
2
  import type { GestureTypes, GestureEventData } from '../../gestures';
3
- import { ViewCommon, isEnabledProperty, originXProperty, originYProperty, isUserInteractionEnabledProperty, testIDProperty, statusBarStyleProperty } from './view-common';
3
+ import { ViewCommon, isEnabledProperty, originXProperty, originYProperty, isUserInteractionEnabledProperty, testIDProperty, androidOverflowEdgeProperty, statusBarStyleProperty } from './view-common';
4
4
  import { ShowModalOptions, hiddenProperty } from '../view-base';
5
5
  import { EventData } from '../../../data/observable';
6
6
  import { perspectiveProperty, visibilityProperty, opacityProperty, horizontalAlignmentProperty, verticalAlignmentProperty, minWidthProperty, minHeightProperty, rotateProperty, rotateXProperty, rotateYProperty, scaleXProperty, scaleYProperty, translateXProperty, translateYProperty, zIndexProperty, backgroundInternalProperty, androidElevationProperty, androidDynamicElevationOffsetProperty } from '../../styling/style-properties';
@@ -13,6 +13,7 @@ export * from './view-common';
13
13
  export * from './view-helper';
14
14
  export * from '../properties';
15
15
  export declare class View extends ViewCommon {
16
+ [androidOverflowEdgeProperty.setNative]: (value: CoreTypes.AndroidOverflow) => void;
16
17
  [isEnabledProperty.setNative]: (value: boolean) => void;
17
18
  [originXProperty.getDefault]: () => number;
18
19
  [originXProperty.setNative]: (value: number) => void;
@@ -71,10 +72,13 @@ export declare class View extends ViewCommon {
71
72
  private layoutChangeListenerIsSet;
72
73
  private layoutChangeListener;
73
74
  private _rootManager;
75
+ private insetListenerIsSet;
76
+ private needsInsetListener;
74
77
  nativeViewProtected: android.view.View;
75
78
  _observe(type: GestureTypes, callback: (args: GestureEventData) => void, thisArg?: any): void;
76
79
  addEventListener(eventNames: string, callback: (data: EventData) => void, thisArg?: any, once?: boolean): void;
77
80
  removeEventListener(eventNames: string, callback?: (data: EventData) => void, thisArg?: any): void;
81
+ private setInsetListener;
78
82
  _getChildFragmentManager(): androidx.fragment.app.FragmentManager;
79
83
  _getRootFragmentManager(): androidx.fragment.app.FragmentManager;
80
84
  _getFragmentManager(): androidx.fragment.app.FragmentManager;
@@ -125,6 +129,7 @@ export declare class View extends ViewCommon {
125
129
  }
126
130
  export declare class ContainerView extends View {
127
131
  iosOverflowSafeArea: boolean;
132
+ constructor();
128
133
  }
129
134
  export declare class CustomLayoutView extends ContainerView {
130
135
  nativeViewProtected: android.view.ViewGroup;
@@ -1,5 +1,5 @@
1
1
  import { getNativeScriptGlobals } from '../../../globals/global-utils';
2
- import { ViewCommon, isEnabledProperty, originXProperty, originYProperty, isUserInteractionEnabledProperty, testIDProperty, AndroidHelper, statusBarStyleProperty } from './view-common';
2
+ import { ViewCommon, isEnabledProperty, originXProperty, originYProperty, isUserInteractionEnabledProperty, testIDProperty, AndroidHelper, androidOverflowEdgeProperty, statusBarStyleProperty } from './view-common';
3
3
  import { paddingLeftProperty, paddingTopProperty, paddingRightProperty, paddingBottomProperty } from '../../styling/style-properties';
4
4
  import { Length } from '../../styling/length-shared';
5
5
  import { layout } from '../../../utils';
@@ -245,6 +245,98 @@ function removeModal(domId) {
245
245
  function getModalOptions(domId) {
246
246
  return modalMap.get(domId);
247
247
  }
248
+ const INSET_LEFT = 0;
249
+ const INSET_TOP = 4;
250
+ const INSET_RIGHT = 8;
251
+ const INSET_BOTTOM = 12;
252
+ const INSET_LEFT_CONSUMED = 16;
253
+ const INSET_TOP_CONSUMED = 20;
254
+ const INSET_RIGHT_CONSUMED = 24;
255
+ const INSET_BOTTOM_CONSUMED = 28;
256
+ const OverflowEdgeIgnore = -1;
257
+ const OverflowEdgeNone = 0;
258
+ const OverflowEdgeLeft = 1 << 1;
259
+ const OverflowEdgeTop = 1 << 2;
260
+ const OverflowEdgeRight = 1 << 3;
261
+ const OverflowEdgeBottom = 1 << 4;
262
+ const OverflowEdgeDontApply = 1 << 5;
263
+ const OverflowEdgeLeftDontConsume = 1 << 6;
264
+ const OverflowEdgeTopDontConsume = 1 << 7;
265
+ const OverflowEdgeRightDontConsume = 1 << 8;
266
+ const OverflowEdgeBottomDontConsume = 1 << 9;
267
+ const OverflowEdgeAllButLeft = 1 << 10;
268
+ const OverflowEdgeAllButTop = 1 << 11;
269
+ const OverflowEdgeAllButRight = 1 << 12;
270
+ const OverflowEdgeAllButBottom = 1 << 13;
271
+ class Inset {
272
+ constructor(data) {
273
+ this.data = ArrayBuffer.from(data);
274
+ this.view = new DataView(this.data);
275
+ }
276
+ get left() {
277
+ return this.view.getInt32(INSET_LEFT, true);
278
+ }
279
+ set left(value) {
280
+ this.view.setInt32(INSET_LEFT, value, true);
281
+ }
282
+ get top() {
283
+ return this.view.getInt32(INSET_TOP, true);
284
+ }
285
+ set top(value) {
286
+ this.view.setInt32(INSET_TOP, value, true);
287
+ }
288
+ get right() {
289
+ return this.view.getInt32(INSET_RIGHT, true);
290
+ }
291
+ set right(value) {
292
+ this.view.setInt32(INSET_RIGHT, value, true);
293
+ }
294
+ get bottom() {
295
+ return this.view.getInt32(INSET_BOTTOM, true);
296
+ }
297
+ set bottom(value) {
298
+ this.view.setInt32(INSET_BOTTOM, value, true);
299
+ }
300
+ get leftConsumed() {
301
+ return this.view.getInt32(INSET_LEFT_CONSUMED, true) > 0;
302
+ }
303
+ set leftConsumed(value) {
304
+ this.view.setInt32(INSET_LEFT_CONSUMED, value ? 1 : 0, true);
305
+ }
306
+ get topConsumed() {
307
+ return this.view.getInt32(INSET_TOP_CONSUMED, true) > 0;
308
+ }
309
+ set topConsumed(value) {
310
+ this.view.setInt32(INSET_TOP_CONSUMED, value ? 1 : 0, true);
311
+ }
312
+ get rightConsumed() {
313
+ return this.view.getInt32(INSET_RIGHT_CONSUMED, true) > 0;
314
+ }
315
+ set rightConsumed(value) {
316
+ this.view.setInt32(INSET_RIGHT_CONSUMED, value ? 1 : 0, true);
317
+ }
318
+ get bottomConsumed() {
319
+ return this.view.getInt32(INSET_BOTTOM_CONSUMED, true) > 0;
320
+ }
321
+ set bottomConsumed(value) {
322
+ this.view.setInt32(INSET_BOTTOM_CONSUMED, value ? 1 : 0, true);
323
+ }
324
+ toString() {
325
+ return `Inset: left=${this.left}, top=${this.top}, right=${this.right}, bottom=${this.bottom}, ` + `leftConsumed=${this.leftConsumed}, topConsumed=${this.topConsumed}, ` + `rightConsumed=${this.rightConsumed}, bottomConsumed=${this.bottomConsumed}`;
326
+ }
327
+ toJSON() {
328
+ return {
329
+ left: this.left,
330
+ top: this.top,
331
+ right: this.right,
332
+ bottom: this.bottom,
333
+ leftConsumed: this.leftConsumed,
334
+ topConsumed: this.topConsumed,
335
+ rightConsumed: this.rightConsumed,
336
+ bottomConsumed: this.bottomConsumed,
337
+ };
338
+ }
339
+ }
248
340
  export class View extends ViewCommon {
249
341
  // TODO: Implement unobserve that detach the touchListener.
250
342
  _observe(type, callback, thisArg) {
@@ -259,6 +351,11 @@ export class View extends ViewCommon {
259
351
  if (this.isLoaded && !this.layoutChangeListenerIsSet && isLayoutEvent) {
260
352
  this.setOnLayoutChangeListener();
261
353
  }
354
+ const isInsetEvent = typeof eventNames === 'string' ? eventNames.indexOf(ViewCommon.androidOverflowInsetEvent) !== -1 : false;
355
+ // only avaiable on LayoutBase
356
+ if (!this.insetListenerIsSet && isInsetEvent) {
357
+ this.setInsetListener();
358
+ }
262
359
  }
263
360
  removeEventListener(eventNames, callback, thisArg) {
264
361
  super.removeEventListener(eventNames, callback, thisArg);
@@ -268,6 +365,38 @@ export class View extends ViewCommon {
268
365
  this.nativeViewProtected.removeOnLayoutChangeListener(this.layoutChangeListener);
269
366
  this.layoutChangeListenerIsSet = false;
270
367
  }
368
+ const isInsetEvent = typeof eventNames === 'string' ? eventNames.indexOf(ViewCommon.androidOverflowInsetEvent) !== -1 : false;
369
+ if (this.insetListenerIsSet && isInsetEvent && this.nativeViewProtected && this.nativeViewProtected.setInsetListener) {
370
+ this.nativeViewProtected.setInsetListener(null);
371
+ this.insetListenerIsSet = false;
372
+ }
373
+ }
374
+ setInsetListener() {
375
+ if (this.nativeViewProtected) {
376
+ if (this.nativeViewProtected.setInsetListener) {
377
+ const ref = new WeakRef(this);
378
+ this.nativeViewProtected.setInsetListener(new org.nativescript.widgets.LayoutBase.WindowInsetListener({
379
+ onApplyWindowInsets(param0) {
380
+ const owner = ref.get();
381
+ if (!owner) {
382
+ return;
383
+ }
384
+ const inset = new Inset(param0);
385
+ const args = {
386
+ eventName: ViewCommon.androidOverflowInsetEvent,
387
+ object: this,
388
+ inset,
389
+ };
390
+ owner.notify(args);
391
+ },
392
+ }));
393
+ this.insetListenerIsSet = true;
394
+ }
395
+ this.needsInsetListener = false;
396
+ }
397
+ else {
398
+ this.needsInsetListener = true;
399
+ }
271
400
  }
272
401
  _getChildFragmentManager() {
273
402
  return null;
@@ -316,6 +445,31 @@ export class View extends ViewCommon {
316
445
  }
317
446
  return manager;
318
447
  }
448
+ [androidOverflowEdgeProperty.setNative](value) {
449
+ const nativeView = this.nativeViewProtected;
450
+ if (typeof value !== 'string' || nativeView === null || nativeView == undefined) {
451
+ return;
452
+ }
453
+ if (!('setOverflowEdge' in nativeView)) {
454
+ return;
455
+ }
456
+ switch (value) {
457
+ case 'none':
458
+ nativeView.setOverflowEdge(OverflowEdgeNone);
459
+ break;
460
+ case 'ignore':
461
+ nativeView.setOverflowEdge(OverflowEdgeIgnore);
462
+ break;
463
+ default:
464
+ {
465
+ const edge = parseEdges(value);
466
+ if (edge != null) {
467
+ nativeView.setOverflowEdge(edge);
468
+ }
469
+ }
470
+ break;
471
+ }
472
+ }
319
473
  onLoaded() {
320
474
  this._manager = null;
321
475
  this._rootManager = null;
@@ -355,6 +509,9 @@ export class View extends ViewCommon {
355
509
  if (this.needsOnLayoutChangeListener()) {
356
510
  this.setOnLayoutChangeListener();
357
511
  }
512
+ if (!this.insetListenerIsSet && this.needsInsetListener) {
513
+ this.setInsetListener();
514
+ }
358
515
  }
359
516
  needsOnLayoutChangeListener() {
360
517
  return this.hasListeners(ViewCommon.layoutChangedEvent);
@@ -1145,7 +1302,41 @@ __decorate([
1145
1302
  __metadata("design:paramtypes", []),
1146
1303
  __metadata("design:returntype", void 0)
1147
1304
  ], View.prototype, "requestLayout", null);
1305
+ const edgeMap = {
1306
+ none: OverflowEdgeNone,
1307
+ left: OverflowEdgeLeft,
1308
+ top: OverflowEdgeTop,
1309
+ right: OverflowEdgeRight,
1310
+ bottom: OverflowEdgeBottom,
1311
+ 'dont-apply': OverflowEdgeDontApply,
1312
+ 'left-dont-consume': OverflowEdgeLeftDontConsume,
1313
+ 'top-dont-consume': OverflowEdgeTopDontConsume,
1314
+ 'right-dont-consume': OverflowEdgeRightDontConsume,
1315
+ 'bottom-dont-consume': OverflowEdgeBottomDontConsume,
1316
+ 'all-but-left': OverflowEdgeAllButLeft,
1317
+ 'all-but-top': OverflowEdgeAllButTop,
1318
+ 'all-but-right': OverflowEdgeAllButRight,
1319
+ 'all-but-bottom': OverflowEdgeAllButBottom,
1320
+ };
1321
+ function parseEdges(edges) {
1322
+ let result = 0;
1323
+ const values = edges.split(',');
1324
+ for (const raw of values) {
1325
+ const value = edgeMap[raw.trim()];
1326
+ if (value === undefined)
1327
+ continue;
1328
+ // dont-apply overrides everything else
1329
+ if (value === OverflowEdgeDontApply)
1330
+ return value;
1331
+ result |= value;
1332
+ }
1333
+ return result === 0 ? null : result;
1334
+ }
1148
1335
  export class ContainerView extends View {
1336
+ constructor() {
1337
+ super();
1338
+ this.androidOverflowEdge = 'none';
1339
+ }
1149
1340
  }
1150
1341
  export class CustomLayoutView extends ContainerView {
1151
1342
  createNativeView() {