@akylas/nativescript 8.2.1 → 8.2.2

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.
@@ -47,8 +47,9 @@ export class TouchManager {
47
47
  else {
48
48
  if (handleDown || handleUp) {
49
49
  view.on(GestureEvents.gestureAttached, (args) => {
50
+ var _a;
50
51
  if (args.type === GestureTypes.longPress) {
51
- args.ios.minimumPressDuration = 0;
52
+ args.ios.minimumPressDuration = ((_a = args.object) === null || _a === void 0 ? void 0 : _a.touchDelay) || 0;
52
53
  }
53
54
  });
54
55
  view.on(GestureTypes.longPress, (args) => {
@@ -1 +1 @@
1
- {"version":3,"file":"touch-manager.js","sourceRoot":"","sources":["../../../../../packages/core/ui/gestures/touch-manager.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAOnF,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC9B,gCAAS,CAAA;IACT,oCAAa,CAAA;AACd,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B;AAED;;;GAGG;AACH,MAAM,OAAO,YAAY;IAiCxB;;;;OAIG;IACH,MAAM,CAAC,aAAa,CAAC,IAAU;;QAC9B,MAAM,UAAU,GAAG,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,cAAc,KAAI,CAAwB,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,cAAe,CAAA,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,IAAI,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QAC7J,MAAM,QAAQ,GAAG,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AC3C,IAAI;gCACJ,IAAI;gCACJ,SAAS,EAAE,cAAc;6BACzB,CAAC,CAAC;yBACH;wBACD,cAAc,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;qBACtC;iBACD;YACF,CAAC,CAAC;YACF,oDAAoD;YACpD,IAAI,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE;gBAC/D,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC;aACnC;iBAAM,IAAI,MAAA,YAAY,CAAC,UAAU,0CAAG,IAAI,CAAC,EAAE;gBAC3C,+BAA+B;gBAC/B,OAAO,CAAC,MAAA,YAAY,CAAC,UAAU,0CAAG,IAAI,CAAC,CAAC,CAAC;aACzC;SACD;IACF,CAAC;CACD;AAED,MAAM,CAAC,IAAI,mBAEV,CAAC;AACF,0BAA0B,EAAE,CAAC;AAE7B,SAAS,0BAA0B;IAClC,IAAI,MAAM,CAAC,KAAK,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAgCjB,mBAAmB,GAAG,gBAAgB,CAAC;KACvC;AACF,CAAC"}
@@ -2,13 +2,14 @@ import { GridLayout } from '../grid-layout';
2
2
  import { View } from '../../core/view';
3
3
 
4
4
  export class RootLayout extends GridLayout {
5
- open(view: View, options?: RootLayoutOptions): Promise<void>;
5
+ open(view: View, options: RootLayoutOptions = {}): Promise<void>;
6
6
  close(view: View, exitTo?: TransitionAnimation): Promise<void>;
7
+ topmost(): View;
7
8
  bringToFront(view: View, animated?: boolean): Promise<void>;
8
- closeAll(): Promise<void>;
9
+ closeAll(): Promise<void[]>;
9
10
  getShadeCover(): View;
10
- openShadeCover(options: ShadeCoverOptions): void;
11
- closeShadeCover(shadeCoverOptions?: ShadeCoverOptions): Promise<void>;
11
+ openShadeCover(options: ShadeCoverOptions = {}): void;
12
+ closeShadeCover(shadeCoverOptions: ShadeCoverOptions = {}): Promise<void>;
12
13
  }
13
14
 
14
15
  export function getRootLayout(): RootLayout;
@@ -6,12 +6,15 @@ export declare class RootLayoutBase extends GridLayout {
6
6
  private staticChildCount;
7
7
  private popupViews;
8
8
  constructor();
9
+ onLoaded(): void;
10
+ _onLivesync(context?: ModuleContext): boolean;
9
11
  open(view: View, options?: RootLayoutOptions): Promise<void>;
10
12
  close(view: View, exitTo?: TransitionAnimation): Promise<void>;
11
- closeAll(): Promise<void>;
13
+ closeAll(): Promise<void[]>;
12
14
  getShadeCover(): View;
13
- openShadeCover(options: ShadeCoverOptions): void;
15
+ openShadeCover(options?: ShadeCoverOptions): void;
14
16
  closeShadeCover(shadeCoverOptions?: ShadeCoverOptions): Promise<void>;
17
+ topmost(): View;
15
18
  bringToFront(view: View, animated?: boolean): Promise<void>;
16
19
  private getPopupIndex;
17
20
  private getViewInitialState;
@@ -1,6 +1,6 @@
1
1
  import { CoreTypes } from '../../../core-types';
2
2
  import { Trace } from '../../../trace';
3
- import { CSSType } from '../../core/view';
3
+ import { CSSType, View } from '../../core/view';
4
4
  import { GridLayout } from '../grid-layout';
5
5
  import { Animation } from '../../animation';
6
6
  let RootLayoutBase = class RootLayoutBase extends GridLayout {
@@ -8,59 +8,62 @@ let RootLayoutBase = class RootLayoutBase extends GridLayout {
8
8
  super();
9
9
  this.popupViews = [];
10
10
  global.rootLayout = this;
11
- this.on('loaded', () => {
12
- // get actual content count of rootLayout (elements between the <RootLayout> tags in the template).
13
- // All popups will be inserted dynamically at a higher index
14
- this.staticChildCount = this.getChildrenCount();
15
- });
16
11
  }
17
- // ability to add any view instance to compositie views like layers
18
- open(view, options) {
12
+ onLoaded() {
13
+ // get actual content count of rootLayout (elements between the <RootLayout> tags in the template).
14
+ // All popups will be inserted dynamically at a higher index
15
+ this.staticChildCount = this.getChildrenCount();
16
+ super.onLoaded();
17
+ }
18
+ _onLivesync(context) {
19
+ let handled = false;
20
+ if (this.popupViews.length > 0) {
21
+ this.closeAll();
22
+ handled = true;
23
+ }
24
+ if (super._onLivesync(context)) {
25
+ handled = true;
26
+ }
27
+ return handled;
28
+ }
29
+ // ability to add any view instance to composite views like layers
30
+ open(view, options = {}) {
19
31
  return new Promise((resolve, reject) => {
20
- try {
21
- if (this.hasChild(view)) {
22
- if (Trace.isEnabled()) {
23
- Trace.write(`${view} has already been added`, Trace.categories.Layout);
24
- }
32
+ if (!(view instanceof View)) {
33
+ return reject(new Error(`Invalid open view: ${view}`));
34
+ }
35
+ if (this.hasChild(view)) {
36
+ return reject(new Error(`${view} has already been added`));
37
+ }
38
+ const enterAnimationDefinition = options.animation ? options.animation.enterFrom : null;
39
+ // keep track of the views locally to be able to use their options later
40
+ this.popupViews.push({ view: view, options: options });
41
+ if (options.shadeCover) {
42
+ // perf optimization note: we only need 1 layer of shade cover
43
+ // we just update properties if needed by additional overlaid views
44
+ if (this.shadeCover) {
45
+ // overwrite current shadeCover options if topmost popupview has additional shadeCover configurations
46
+ this.updateShadeCover(this.shadeCover, options.shadeCover);
25
47
  }
26
48
  else {
27
- // keep track of the views locally to be able to use their options later
28
- this.popupViews.push({ view: view, options: options });
29
- if (options === null || options === void 0 ? void 0 : options.shadeCover) {
30
- // perf optimization note: we only need 1 layer of shade cover
31
- // we just update properties if needed by additional overlaid views
32
- if (this.shadeCover) {
33
- // overwrite current shadeCover options if topmost popupview has additional shadeCover configurations
34
- this.updateShadeCover(this.shadeCover, options.shadeCover);
35
- }
36
- else {
37
- this.openShadeCover(options.shadeCover);
38
- }
39
- }
40
- view.opacity = 0; // always begin with view invisible when adding dynamically
41
- this.insertChild(view, this.getChildrenCount() + 1);
42
- setTimeout(() => {
43
- // only apply initial state and animate after the first tick - ensures safe areas and other measurements apply correctly
44
- this.applyInitialState(view, options.animation ? options.animation.enterFrom : null);
45
- this.getEnterAnimation(view, options.animation ? options.animation.enterFrom : null)
46
- .play()
47
- .then(() => {
48
- this.applyDefaultState(view);
49
- resolve();
50
- })
51
- .catch((ex) => {
52
- if (Trace.isEnabled()) {
53
- Trace.write(`Error playing enter animation: ${ex}`, Trace.categories.Layout, Trace.messageType.error);
54
- }
55
- });
56
- });
57
- }
58
- }
59
- catch (ex) {
60
- if (Trace.isEnabled()) {
61
- Trace.write(`Error opening popup (${view}): ${ex}`, Trace.categories.Layout, Trace.messageType.error);
49
+ this.openShadeCover(options.shadeCover);
62
50
  }
63
51
  }
52
+ view.opacity = 0; // always begin with view invisible when adding dynamically
53
+ this.insertChild(view, this.getChildrenCount() + 1);
54
+ setTimeout(() => {
55
+ // only apply initial state and animate after the first tick - ensures safe areas and other measurements apply correctly
56
+ this.applyInitialState(view, enterAnimationDefinition);
57
+ this.getEnterAnimation(view, enterAnimationDefinition)
58
+ .play()
59
+ .then(() => {
60
+ this.applyDefaultState(view);
61
+ resolve();
62
+ })
63
+ .catch((ex) => {
64
+ reject(new Error(`Error playing enter animation: ${ex}`));
65
+ });
66
+ });
64
67
  });
65
68
  }
66
69
  // optional animation parameter to overwrite close animation declared when opening popup
@@ -68,78 +71,60 @@ let RootLayoutBase = class RootLayoutBase extends GridLayout {
68
71
  close(view, exitTo) {
69
72
  return new Promise((resolve, reject) => {
70
73
  var _a, _b, _c, _d, _e;
71
- if (this.hasChild(view)) {
72
- const cleanupAndFinish = () => {
73
- this.removeChild(view);
74
- resolve();
75
- };
76
- try {
77
- const popupIndex = this.getPopupIndex(view);
78
- const poppedView = this.popupViews[popupIndex];
79
- // use exitAnimation that is passed in and fallback to the exitAnimation passed in when opening
80
- const exitAnimationDefinition = exitTo || ((_b = (_a = poppedView === null || poppedView === void 0 ? void 0 : poppedView.options) === null || _a === void 0 ? void 0 : _a.animation) === null || _b === void 0 ? void 0 : _b.exitTo);
81
- // Remove view from tracked popupviews
82
- this.popupViews.splice(popupIndex, 1);
83
- if (this.shadeCover) {
84
- // update shade cover with the topmost popupView options (if not specifically told to ignore)
85
- if (!((_c = poppedView === null || poppedView === void 0 ? void 0 : poppedView.options) === null || _c === void 0 ? void 0 : _c.shadeCover.ignoreShadeRestore)) {
86
- const shadeCoverOptions = (_e = (_d = this.popupViews[this.popupViews.length - 1]) === null || _d === void 0 ? void 0 : _d.options) === null || _e === void 0 ? void 0 : _e.shadeCover;
87
- if (shadeCoverOptions) {
88
- this.updateShadeCover(this.shadeCover, shadeCoverOptions);
89
- }
90
- }
91
- // remove shade cover animation if this is the last opened popup view
92
- if (this.popupViews.length === 0) {
93
- this.closeShadeCover(poppedView.options.shadeCover);
94
- }
95
- }
96
- if (exitAnimationDefinition) {
97
- this.getExitAnimation(view, exitAnimationDefinition)
98
- .play()
99
- .then(cleanupAndFinish.bind(this))
100
- .catch((ex) => {
101
- if (Trace.isEnabled()) {
102
- Trace.write(`Error playing exit animation: ${ex}`, Trace.categories.Layout, Trace.messageType.error);
103
- }
104
- });
105
- }
106
- else {
107
- cleanupAndFinish();
74
+ if (!(view instanceof View)) {
75
+ return reject(new Error(`Invalid close view: ${view}`));
76
+ }
77
+ if (!this.hasChild(view)) {
78
+ return reject(new Error(`Unable to close popup. ${view} not found`));
79
+ }
80
+ const popupIndex = this.getPopupIndex(view);
81
+ const poppedView = this.popupViews[popupIndex];
82
+ const cleanupAndFinish = () => {
83
+ this.removeChild(view);
84
+ resolve();
85
+ };
86
+ // use exitAnimation that is passed in and fallback to the exitAnimation passed in when opening
87
+ const exitAnimationDefinition = exitTo || ((_b = (_a = poppedView === null || poppedView === void 0 ? void 0 : poppedView.options) === null || _a === void 0 ? void 0 : _a.animation) === null || _b === void 0 ? void 0 : _b.exitTo);
88
+ // Remove view from tracked popupviews
89
+ this.popupViews.splice(popupIndex, 1);
90
+ if (this.shadeCover) {
91
+ // update shade cover with the topmost popupView options (if not specifically told to ignore)
92
+ if (!((_c = poppedView === null || poppedView === void 0 ? void 0 : poppedView.options) === null || _c === void 0 ? void 0 : _c.shadeCover.ignoreShadeRestore)) {
93
+ const shadeCoverOptions = (_e = (_d = this.popupViews[this.popupViews.length - 1]) === null || _d === void 0 ? void 0 : _d.options) === null || _e === void 0 ? void 0 : _e.shadeCover;
94
+ if (shadeCoverOptions) {
95
+ this.updateShadeCover(this.shadeCover, shadeCoverOptions);
108
96
  }
109
97
  }
110
- catch (ex) {
111
- if (Trace.isEnabled()) {
112
- Trace.write(`Error closing popup (${view}): ${ex}`, Trace.categories.Layout, Trace.messageType.error);
113
- }
98
+ // remove shade cover animation if this is the last opened popup view
99
+ if (this.popupViews.length === 0) {
100
+ this.closeShadeCover(poppedView.options.shadeCover);
114
101
  }
115
102
  }
103
+ if (exitAnimationDefinition) {
104
+ this.getExitAnimation(view, exitAnimationDefinition)
105
+ .play()
106
+ .then(cleanupAndFinish.bind(this))
107
+ .catch((ex) => {
108
+ reject(new Error(`Error playing exit animation: ${ex}`));
109
+ });
110
+ }
116
111
  else {
117
- if (Trace.isEnabled()) {
118
- Trace.write(`Unable to close popup. ${view} not found`, Trace.categories.Layout);
119
- }
112
+ cleanupAndFinish();
120
113
  }
121
114
  });
122
115
  }
123
116
  closeAll() {
124
- return new Promise((resolve, reject) => {
125
- try {
126
- while (this.popupViews.length > 0) {
127
- // remove all children in the popupViews array
128
- this.close(this.popupViews[this.popupViews.length - 1].view);
129
- }
130
- resolve();
131
- }
132
- catch (ex) {
133
- if (Trace.isEnabled()) {
134
- Trace.write(`Error closing popups: ${ex}`, Trace.categories.Layout, Trace.messageType.error);
135
- }
136
- }
137
- });
117
+ const toClose = [];
118
+ // Close all views at the same time and wait for all of them
119
+ while (this.popupViews.length > 0) {
120
+ toClose.push(this.close(this.popupViews[this.popupViews.length - 1].view));
121
+ }
122
+ return Promise.all(toClose);
138
123
  }
139
124
  getShadeCover() {
140
125
  return this.shadeCover;
141
126
  }
142
- openShadeCover(options) {
127
+ openShadeCover(options = {}) {
143
128
  if (this.shadeCover) {
144
129
  if (Trace.isEnabled()) {
145
130
  Trace.write(`RootLayout shadeCover already open.`, Trace.categories.Layout, Trace.messageType.warn);
@@ -152,7 +137,7 @@ let RootLayoutBase = class RootLayoutBase extends GridLayout {
152
137
  this.insertChild(this.shadeCover, this.staticChildCount + 1);
153
138
  }
154
139
  }
155
- closeShadeCover(shadeCoverOptions) {
140
+ closeShadeCover(shadeCoverOptions = {}) {
156
141
  return new Promise((resolve) => {
157
142
  // if shade cover is displayed and the last popup is closed, also close the shade cover
158
143
  if (this.shadeCover) {
@@ -172,72 +157,64 @@ let RootLayoutBase = class RootLayoutBase extends GridLayout {
172
157
  resolve();
173
158
  });
174
159
  }
160
+ topmost() {
161
+ return this.popupViews.length ? this.popupViews[this.popupViews.length - 1].view : null;
162
+ }
175
163
  // bring any view instance open on the rootlayout to front of all the children visually
176
164
  bringToFront(view, animated = false) {
177
165
  return new Promise((resolve, reject) => {
178
166
  var _a;
179
- try {
180
- const popupIndex = this.getPopupIndex(view);
181
- // popupview should be present and not already the topmost view
182
- if (popupIndex > -1 && popupIndex !== this.popupViews.length - 1) {
183
- // keep the popupViews array in sync with the stacking of the views
184
- const currentView = this.popupViews[this.getPopupIndex(view)];
185
- this.popupViews.splice(this.getPopupIndex(view), 1);
186
- this.popupViews.push(currentView);
187
- if (this.hasChild(view)) {
188
- const exitAnimation = this.getViewExitState(view);
189
- if (animated && exitAnimation) {
190
- this.getExitAnimation(view, exitAnimation)
191
- .play()
192
- .then(() => {
193
- this._bringToFront(view);
194
- const initialState = this.getViewInitialState(currentView.view);
195
- if (initialState) {
196
- this.applyInitialState(view, initialState);
197
- this.getEnterAnimation(view, initialState)
198
- .play()
199
- .then(() => {
200
- this.applyDefaultState(view);
201
- })
202
- .catch((ex) => {
203
- if (Trace.isEnabled()) {
204
- Trace.write(`Error playing enter animation: ${ex}`, Trace.categories.Layout, Trace.messageType.error);
205
- }
206
- });
207
- }
208
- else {
209
- this.applyDefaultState(view);
210
- }
211
- })
212
- .catch((ex) => {
213
- if (Trace.isEnabled()) {
214
- Trace.write(`Error playing exit animation: ${ex}`, Trace.categories.Layout, Trace.messageType.error);
215
- }
216
- this._bringToFront(view);
217
- });
218
- }
219
- else {
220
- this._bringToFront(view);
221
- }
222
- }
223
- // update shadeCover to reflect topmost's shadeCover options
224
- const shadeCoverOptions = (_a = currentView === null || currentView === void 0 ? void 0 : currentView.options) === null || _a === void 0 ? void 0 : _a.shadeCover;
225
- if (shadeCoverOptions) {
226
- this.updateShadeCover(this.shadeCover, shadeCoverOptions);
167
+ if (!(view instanceof View)) {
168
+ return reject(new Error(`Invalid bringToFront view: ${view}`));
169
+ }
170
+ if (!this.hasChild(view)) {
171
+ return reject(new Error(`${view} not found or already at topmost`));
172
+ }
173
+ const popupIndex = this.getPopupIndex(view);
174
+ // popupview should be present and not already the topmost view
175
+ if (popupIndex < 0 || popupIndex == this.popupViews.length - 1) {
176
+ return reject(new Error(`${view} not found or already at topmost`));
177
+ }
178
+ // keep the popupViews array in sync with the stacking of the views
179
+ const currentView = this.popupViews[this.getPopupIndex(view)];
180
+ this.popupViews.splice(this.getPopupIndex(view), 1);
181
+ this.popupViews.push(currentView);
182
+ const exitAnimation = this.getViewExitState(view);
183
+ if (animated && exitAnimation) {
184
+ this.getExitAnimation(view, exitAnimation)
185
+ .play()
186
+ .then(() => {
187
+ this._bringToFront(view);
188
+ const initialState = this.getViewInitialState(currentView.view);
189
+ if (initialState) {
190
+ this.applyInitialState(view, initialState);
191
+ this.getEnterAnimation(view, initialState)
192
+ .play()
193
+ .then(() => {
194
+ this.applyDefaultState(view);
195
+ })
196
+ .catch((ex) => {
197
+ reject(new Error(`Error playing enter animation: ${ex}`));
198
+ });
227
199
  }
228
- resolve();
229
- }
230
- else {
231
- if (Trace.isEnabled()) {
232
- Trace.write(`${view} not found or already at topmost`, Trace.categories.Layout);
200
+ else {
201
+ this.applyDefaultState(view);
233
202
  }
234
- }
203
+ })
204
+ .catch((ex) => {
205
+ this._bringToFront(view);
206
+ reject(new Error(`Error playing exit animation: ${ex}`));
207
+ });
235
208
  }
236
- catch (ex) {
237
- if (Trace.isEnabled()) {
238
- Trace.write(`Error in bringing view to front: ${ex}`, Trace.categories.Layout, Trace.messageType.error);
239
- }
209
+ else {
210
+ this._bringToFront(view);
240
211
  }
212
+ // update shadeCover to reflect topmost's shadeCover options
213
+ const shadeCoverOptions = (_a = currentView === null || currentView === void 0 ? void 0 : currentView.options) === null || _a === void 0 ? void 0 : _a.shadeCover;
214
+ if (shadeCoverOptions) {
215
+ this.updateShadeCover(this.shadeCover, shadeCoverOptions);
216
+ }
217
+ resolve();
241
218
  });
242
219
  }
243
220
  getPopupIndex(view) {
@@ -304,7 +281,7 @@ let RootLayoutBase = class RootLayoutBase extends GridLayout {
304
281
  getExitAnimationDefinition(targetView, exitTo) {
305
282
  return Object.assign(Object.assign(Object.assign({ target: targetView }, defaultTransitionAnimation), (exitTo || {})), { translate: { x: exitTo.translateX || defaultTransitionAnimation.translateX, y: exitTo.translateY || defaultTransitionAnimation.translateY }, scale: { x: exitTo.scaleX || defaultTransitionAnimation.scaleX, y: exitTo.scaleY || defaultTransitionAnimation.scaleY } });
306
283
  }
307
- createShadeCover(shadeOptions) {
284
+ createShadeCover(shadeOptions = {}) {
308
285
  const shadeCover = new GridLayout();
309
286
  shadeCover.verticalAlignment = 'bottom';
310
287
  shadeCover.on('loaded', () => {
@@ -313,7 +290,7 @@ let RootLayoutBase = class RootLayoutBase extends GridLayout {
313
290
  });
314
291
  return shadeCover;
315
292
  }
316
- updateShadeCover(shade, shadeOptions) {
293
+ updateShadeCover(shade, shadeOptions = {}) {
317
294
  if (shadeOptions.tapToClose !== undefined && shadeOptions.tapToClose !== null) {
318
295
  shade.off('tap');
319
296
  if (shadeOptions.tapToClose) {
@@ -1 +1 @@
1
- {"version":3,"file":"root-layout-common.js","sourceRoot":"","sources":["../../../../../../packages/core/ui/layouts/root-layout/root-layout-common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAQ,MAAM,iBAAiB,CAAC;AAChD,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OAAO,EAAE,CAAC,GACV,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAsB;IAC1D,OAAO,EAAE,GAAG;IACZ,KAAK,EAAE,SAAS;IAChB,UAAU,EAAE,IAAI;IAChB,SAAS,EAAE;QACV,SAAS,EAAE,oCAAoC;QAC/C,MAAM,EAAE,oCAAoC;KAC5C;IACD,kBAAkB,EAAE,KAAK;CACzB,CAAC"}
1
+ {"version":3,"file":"root-layout-common.js","sourceRoot":"","sources":["../../../../../../packages/core/ui/layouts/root-layout/root-layout-common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,IAAa,cAAc,GAA3B,MAAa,cAAe,SAAQ,UAAU;IAK7C;QACC,KAAK,EAAE,CAAC;QAHD,eAAU,GAAiD,EAAE,CAAC;QAIrE,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC;IAC1B,CAAC;IAEM,QAAQ;QACd,mGAAmG;QACnG,4DAA4D;QAC5D,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAEhD,KAAK,CAAC,QAAQ,EAAE,CAAC;IAClB,CAAC;IAEM,WAAW,CAAC,OAAuB;QACzC,IAAI,OAAO,GAAG,KAAK,CAAC;QAEpB,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE;YAC/B,IAAI,CAAC,QAAQ,EAAE,CAAC;YAChB,OAAO,GAAG,IAAI,CAAC;SACf;QAED,IAAI,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE;YAC/B,OAAO,GAAG,IAAI,CAAC;S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AAS,EAAE,oCAAoC;QAC/C,MAAM,EAAE,oCAAoC;KAC5C;IACD,kBAAkB,EAAE,KAAK;CACzB,CAAC"}
@@ -790,7 +790,7 @@ function parseBorderColor(value) {
790
790
  bottom: undefined,
791
791
  left: undefined,
792
792
  };
793
- if (value.indexOf('rgb') === 0) {
793
+ if (value.indexOf('rgb') === 0 || value.indexOf('hsl') === 0) {
794
794
  result.top = result.right = result.bottom = result.left = new Color(value);
795
795
  return result;
796
796
  }