@nativescript-community/ui-drawer 0.0.30 → 0.0.31

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.0.31](https://github.com/nativescript-community/ui-drawer/compare/v0.0.30...v0.0.31) (2021-10-12)
7
+
8
+ **Note:** Version bump only for package @nativescript-community/ui-drawer
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.0.30](https://github.com/nativescript-community/ui-drawer/compare/v0.0.29...v0.0.30) (2021-09-21)
7
15
 
8
16
  **Note:** Version bump only for package @nativescript-community/ui-drawer
@@ -66,7 +66,7 @@
66
66
  }
67
67
  }, encapsulation: 2 });
68
68
  (function () {
69
- i0__namespace.ɵsetClassMetadata(DrawerComponent, [{
69
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DrawerComponent, [{
70
70
  type: i0.Component,
71
71
  args: [{
72
72
  selector: 'Drawer',
@@ -92,7 +92,7 @@
92
92
  LeftDrawerDirective.ɵfac = function LeftDrawerDirective_Factory(t) { return new (t || LeftDrawerDirective)(i0__namespace.ɵɵdirectiveInject(i0.ElementRef)); };
93
93
  LeftDrawerDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: LeftDrawerDirective, selectors: [["", "leftDrawer", ""]] });
94
94
  (function () {
95
- i0__namespace.ɵsetClassMetadata(LeftDrawerDirective, [{
95
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(LeftDrawerDirective, [{
96
96
  type: i0.Directive,
97
97
  args: [{
98
98
  selector: '[leftDrawer]',
@@ -114,7 +114,7 @@
114
114
  RightDrawerDirective.ɵfac = function RightDrawerDirective_Factory(t) { return new (t || RightDrawerDirective)(i0__namespace.ɵɵdirectiveInject(i0.ElementRef)); };
115
115
  RightDrawerDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: RightDrawerDirective, selectors: [["", "rightDrawer", ""]] });
116
116
  (function () {
117
- i0__namespace.ɵsetClassMetadata(RightDrawerDirective, [{
117
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RightDrawerDirective, [{
118
118
  type: i0.Directive,
119
119
  args: [{
120
120
  selector: '[rightDrawer]',
@@ -136,7 +136,7 @@
136
136
  TopDrawerDirective.ɵfac = function TopDrawerDirective_Factory(t) { return new (t || TopDrawerDirective)(i0__namespace.ɵɵdirectiveInject(i0.ElementRef)); };
137
137
  TopDrawerDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: TopDrawerDirective, selectors: [["", "topDrawer", ""]] });
138
138
  (function () {
139
- i0__namespace.ɵsetClassMetadata(TopDrawerDirective, [{
139
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(TopDrawerDirective, [{
140
140
  type: i0.Directive,
141
141
  args: [{
142
142
  selector: '[topDrawer]',
@@ -158,7 +158,7 @@
158
158
  BottomDrawerDirective.ɵfac = function BottomDrawerDirective_Factory(t) { return new (t || BottomDrawerDirective)(i0__namespace.ɵɵdirectiveInject(i0.ElementRef)); };
159
159
  BottomDrawerDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: BottomDrawerDirective, selectors: [["", "bottomDrawer", ""]] });
160
160
  (function () {
161
- i0__namespace.ɵsetClassMetadata(BottomDrawerDirective, [{
161
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(BottomDrawerDirective, [{
162
162
  type: i0.Directive,
163
163
  args: [{
164
164
  selector: '[bottomDrawer]',
@@ -180,7 +180,7 @@
180
180
  MainContentDirective.ɵfac = function MainContentDirective_Factory(t) { return new (t || MainContentDirective)(i0__namespace.ɵɵdirectiveInject(i0.ElementRef)); };
181
181
  MainContentDirective.ɵdir = i0__namespace.ɵɵdefineDirective({ type: MainContentDirective, selectors: [["", "mainContent", ""]] });
182
182
  (function () {
183
- i0__namespace.ɵsetClassMetadata(MainContentDirective, [{
183
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(MainContentDirective, [{
184
184
  type: i0.Directive,
185
185
  args: [{
186
186
  selector: '[mainContent]',
@@ -239,11 +239,11 @@
239
239
  }
240
240
  return DrawerModule;
241
241
  }());
242
+ DrawerModule.ɵfac = function DrawerModule_Factory(t) { return new (t || DrawerModule)(); };
242
243
  DrawerModule.ɵmod = i0__namespace.ɵɵdefineNgModule({ type: DrawerModule });
243
- DrawerModule.ɵinj = i0__namespace.ɵɵdefineInjector({ factory: function DrawerModule_Factory(t) { return new (t || DrawerModule)(); } });
244
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(DrawerModule, { declarations: [DrawerComponent, LeftDrawerDirective, RightDrawerDirective, TopDrawerDirective, BottomDrawerDirective, MainContentDirective], exports: [DrawerComponent, LeftDrawerDirective, RightDrawerDirective, TopDrawerDirective, BottomDrawerDirective, MainContentDirective] }); })();
244
+ DrawerModule.ɵinj = i0__namespace.ɵɵdefineInjector({});
245
245
  (function () {
246
- i0__namespace.ɵsetClassMetadata(DrawerModule, [{
246
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(DrawerModule, [{
247
247
  type: i0.NgModule,
248
248
  args: [{
249
249
  declarations: [DrawerComponent, SIDEDRAWER_DIRECTIVES],
@@ -251,6 +251,7 @@
251
251
  }]
252
252
  }], null, null);
253
253
  })();
254
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(DrawerModule, { declarations: [DrawerComponent, LeftDrawerDirective, RightDrawerDirective, TopDrawerDirective, BottomDrawerDirective, MainContentDirective], exports: [DrawerComponent, LeftDrawerDirective, RightDrawerDirective, TopDrawerDirective, BottomDrawerDirective, MainContentDirective] }); })();
254
255
 
255
256
  exports.BottomDrawerDirective = BottomDrawerDirective;
256
257
  exports.DrawerComponent = DrawerComponent;
@@ -1,2 +1,2 @@
1
1
  export * from './module';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiL1ZvbHVtZXMvZGV2L25hdGl2ZXNjcmlwdC9uYXRpdmVzY3JpcHQtZHJhd2VyL3NyYy9hbmd1bGFyLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxVQUFVLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL21vZHVsZSc7XG4iXX0=
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdWktZHJhd2VyL2FuZ3VsYXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxVQUFVLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL21vZHVsZSc7XG4iXX0=
@@ -30,7 +30,7 @@ DrawerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DrawerComponent, selector
30
30
  i0.ɵɵprojectionDef();
31
31
  i0.ɵɵprojection(0);
32
32
  } }, encapsulation: 2 });
33
- (function () { i0.ɵsetClassMetadata(DrawerComponent, [{
33
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrawerComponent, [{
34
34
  type: Component,
35
35
  args: [{
36
36
  selector: 'Drawer',
@@ -51,7 +51,7 @@ export class LeftDrawerDirective {
51
51
  }
52
52
  LeftDrawerDirective.ɵfac = function LeftDrawerDirective_Factory(t) { return new (t || LeftDrawerDirective)(i0.ɵɵdirectiveInject(ElementRef)); };
53
53
  LeftDrawerDirective.ɵdir = i0.ɵɵdefineDirective({ type: LeftDrawerDirective, selectors: [["", "leftDrawer", ""]] });
54
- (function () { i0.ɵsetClassMetadata(LeftDrawerDirective, [{
54
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LeftDrawerDirective, [{
55
55
  type: Directive,
56
56
  args: [{
57
57
  selector: '[leftDrawer]',
@@ -68,7 +68,7 @@ export class RightDrawerDirective {
68
68
  }
69
69
  RightDrawerDirective.ɵfac = function RightDrawerDirective_Factory(t) { return new (t || RightDrawerDirective)(i0.ɵɵdirectiveInject(ElementRef)); };
70
70
  RightDrawerDirective.ɵdir = i0.ɵɵdefineDirective({ type: RightDrawerDirective, selectors: [["", "rightDrawer", ""]] });
71
- (function () { i0.ɵsetClassMetadata(RightDrawerDirective, [{
71
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RightDrawerDirective, [{
72
72
  type: Directive,
73
73
  args: [{
74
74
  selector: '[rightDrawer]',
@@ -85,7 +85,7 @@ export class TopDrawerDirective {
85
85
  }
86
86
  TopDrawerDirective.ɵfac = function TopDrawerDirective_Factory(t) { return new (t || TopDrawerDirective)(i0.ɵɵdirectiveInject(ElementRef)); };
87
87
  TopDrawerDirective.ɵdir = i0.ɵɵdefineDirective({ type: TopDrawerDirective, selectors: [["", "topDrawer", ""]] });
88
- (function () { i0.ɵsetClassMetadata(TopDrawerDirective, [{
88
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TopDrawerDirective, [{
89
89
  type: Directive,
90
90
  args: [{
91
91
  selector: '[topDrawer]',
@@ -102,7 +102,7 @@ export class BottomDrawerDirective {
102
102
  }
103
103
  BottomDrawerDirective.ɵfac = function BottomDrawerDirective_Factory(t) { return new (t || BottomDrawerDirective)(i0.ɵɵdirectiveInject(ElementRef)); };
104
104
  BottomDrawerDirective.ɵdir = i0.ɵɵdefineDirective({ type: BottomDrawerDirective, selectors: [["", "bottomDrawer", ""]] });
105
- (function () { i0.ɵsetClassMetadata(BottomDrawerDirective, [{
105
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BottomDrawerDirective, [{
106
106
  type: Directive,
107
107
  args: [{
108
108
  selector: '[bottomDrawer]',
@@ -119,7 +119,7 @@ export class MainContentDirective {
119
119
  }
120
120
  MainContentDirective.ɵfac = function MainContentDirective_Factory(t) { return new (t || MainContentDirective)(i0.ɵɵdirectiveInject(ElementRef)); };
121
121
  MainContentDirective.ɵdir = i0.ɵɵdefineDirective({ type: MainContentDirective, selectors: [["", "mainContent", ""]] });
122
- (function () { i0.ɵsetClassMetadata(MainContentDirective, [{
122
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MainContentDirective, [{
123
123
  type: Directive,
124
124
  args: [{
125
125
  selector: '[mainContent]',
@@ -172,14 +172,15 @@ export const SIDEDRAWER_DIRECTIVES = [LeftDrawerDirective, RightDrawerDirective,
172
172
  registerElement('Drawer', () => Drawer, sideDrawerMeta);
173
173
  export class DrawerModule {
174
174
  }
175
+ DrawerModule.ɵfac = function DrawerModule_Factory(t) { return new (t || DrawerModule)(); };
175
176
  DrawerModule.ɵmod = i0.ɵɵdefineNgModule({ type: DrawerModule });
176
- DrawerModule.ɵinj = i0.ɵɵdefineInjector({ factory: function DrawerModule_Factory(t) { return new (t || DrawerModule)(); } });
177
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DrawerModule, { declarations: [DrawerComponent, LeftDrawerDirective, RightDrawerDirective, TopDrawerDirective, BottomDrawerDirective, MainContentDirective], exports: [DrawerComponent, LeftDrawerDirective, RightDrawerDirective, TopDrawerDirective, BottomDrawerDirective, MainContentDirective] }); })();
178
- (function () { i0.ɵsetClassMetadata(DrawerModule, [{
177
+ DrawerModule.ɵinj = i0.ɵɵdefineInjector({});
178
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrawerModule, [{
179
179
  type: NgModule,
180
180
  args: [{
181
181
  declarations: [DrawerComponent, SIDEDRAWER_DIRECTIVES],
182
182
  exports: [DrawerComponent, SIDEDRAWER_DIRECTIVES],
183
183
  }]
184
184
  }], null, null); })();
185
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6Ii9Wb2x1bWVzL2Rldi9uYXRpdmVzY3JpcHQvbmF0aXZlc2NyaXB0LWRyYXdlci9zcmMvYW5ndWxhci8iLCJzb3VyY2VzIjpbIm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQWlDLE1BQU0sRUFBUyxRQUFRLEVBQXVCLGdCQUFnQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hLLE9BQU8sRUFBeUIsZUFBZSxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDL0UsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLG1DQUFtQyxDQUFDOzs7QUFFM0QsTUFBTSxVQUFVLEdBQVcsWUFBWSxDQUFDO0FBQ3hDLE1BQU0sV0FBVyxHQUFXLGFBQWEsQ0FBQztBQUMxQyxNQUFNLFNBQVMsR0FBVyxXQUFXLENBQUM7QUFDdEMsTUFBTSxZQUFZLEdBQVcsY0FBYyxDQUFDO0FBQzVDLE1BQU0sV0FBVyxHQUFXLGFBQWEsQ0FBQztBQWlCMUMsTUFBTSxPQUFPLGVBQWU7SUFPeEIsWUFBdUMsVUFBc0IsRUFBb0MsYUFBK0I7UUFBekYsZUFBVSxHQUFWLFVBQVUsQ0FBWTtRQUFvQyxrQkFBYSxHQUFiLGFBQWEsQ0FBa0I7UUFDNUgsSUFBSSxDQUFDLE1BQU0sR0FBRyxJQUFJLENBQUMsVUF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Gl2ZXMuXG4gKi9cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbRHJhd2VyQ29tcG9uZW50LCBTSURFRFJBV0VSX0RJUkVDVElWRVNdLFxuICAgIGV4cG9ydHM6IFtEcmF3ZXJDb21wb25lbnQsIFNJREVEUkFXRVJfRElSRUNUSVZFU10sXG59KVxuZXhwb3J0IGNsYXNzIERyYXdlck1vZHVsZSB7fVxuIl19
185
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DrawerModule, { declarations: [DrawerComponent, LeftDrawerDirective, RightDrawerDirective, TopDrawerDirective, BottomDrawerDirective, MainContentDirective], exports: [DrawerComponent, LeftDrawerDirective, RightDrawerDirective, TopDrawerDirective, BottomDrawerDirective, MainContentDirective] }); })();
186
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3VpLWRyYXdlci9hbmd1bGFyL21vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQWlDLE1BQU0sRUFBUyxRQUFRLEVBQXVCLGdCQUFnQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hLLE9BQU8sRUFBeUIsZUFBZSxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDL0UsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLG1DQUFtQyxDQUFDOzs7QUFFM0QsTUFBTSxVQUFVLEdBQVcsWUFBWSxDQUFDO0FBQ3hDLE1BQU0sV0FBVyxHQUFXLGFBQWEsQ0FBQztBQUMxQyxNQUFNLFNBQVMsR0FBVyxXQUFXLENBQUM7QUFDdEMsTUFBTSxZQUFZLEdBQVcsY0FBYyxDQUFDO0FBQzVDLE1BQ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IGlmIChjaGlsZFZpZXcuaWQgPT09IEJPVFRPTURSQVdFUikge1xuICAgICAgICAgICAgZHJhd2VyLmJvdHRvbURyYXdlciA9IGNoaWxkVmlldztcbiAgICAgICAgfVxuICAgIH0sXG4gICAgcmVtb3ZlQ2hpbGQ6IChwYXJlbnQ6IE5nVmlldywgY2hpbGQ6IE5nVmlldykgPT4ge1xuICAgICAgICBjb25zdCBkcmF3ZXIgPSAocGFyZW50IGFzIGFueSkgYXMgRHJhd2VyO1xuICAgICAgICBjb25zdCBjaGlsZFZpZXcgPSBjaGlsZDtcblxuICAgICAgICBpZiAoY2hpbGRWaWV3LmlkID09PSBNQUlOQ09OVEVOVCkge1xuICAgICAgICAgICAgZHJhd2VyLm1haW5Db250ZW50ID0gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChjaGlsZFZpZXcuaWQgPT09IExFRlREUkFXRVIpIHtcbiAgICAgICAgICAgIGRyYXdlci5sZWZ0RHJhd2VyID0gbnVsbDtcbiAgICAgICAgfVxuICAgICAgICBpZiAoY2hpbGRWaWV3LmlkID09PSBSSUdIVERSQVdFUikge1xuICAgICAgICAgICAgZHJhd2VyLnJpZ2h0RHJhd2VyID0gbnVsbDtcbiAgICAgICAgfVxuICAgICAgICBpZiAoY2hpbGRWaWV3LmlkID09PSBUT1BEUkFXRVIpIHtcbiAgICAgICAgICAgIGRyYXdlci50b3BEcmF3ZXIgPSBudWxsO1xuICAgICAgICB9XG4gICAgICAgIGlmIChjaGlsZFZpZXcuaWQgPT09IEJPVFRPTURSQVdFUikge1xuICAgICAgICAgICAgZHJhd2VyLmJvdHRvbURyYXdlciA9IG51bGw7XG4gICAgICAgIH1cbiAgICB9LFxufTtcblxuLyoqXG4gKiBEaXJlY3RpdmVzIGlkZW50aWZ5aW5nIHRoZSBEcmF3ZXIuXG4gKi9cbmV4cG9ydCBjb25zdCBTSURFRFJBV0VSX0RJUkVDVElWRVMgPSBbTGVmdERyYXdlckRpcmVjdGl2ZSwgUmlnaHREcmF3ZXJEaXJlY3RpdmUsIFRvcERyYXdlckRpcmVjdGl2ZSwgQm90dG9tRHJhd2VyRGlyZWN0aXZlLCBNYWluQ29udGVudERpcmVjdGl2ZV07XG5cbnJlZ2lzdGVyRWxlbWVudCgnRHJhd2VyJywgKCkgPT4gRHJhd2VyLCBzaWRlRHJhd2VyTWV0YSk7XG5cbi8qKlxuICogTmdNb2R1bGUgY29udGFpbmluZyBhbGwgb2YgdGhlIFJhZFNpZGVEcmF3ZXIgZGlyZWN0aXZlcy5cbiAqL1xuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtEcmF3ZXJDb21wb25lbnQsIFNJREVEUkFXRVJfRElSRUNUSVZFU10sXG4gICAgZXhwb3J0czogW0RyYXdlckNvbXBvbmVudCwgU0lERURSQVdFUl9ESVJFQ1RJVkVTXSxcbn0pXG5leHBvcnQgY2xhc3MgRHJhd2VyTW9kdWxlIHt9XG4iXX0=
@@ -1,2 +1,2 @@
1
1
  export * from './index';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aXZlc2NyaXB0LWNvbW11bml0eS11aS1kcmF3ZXItYW5ndWxhci5qcyIsInNvdXJjZVJvb3QiOiIvVm9sdW1lcy9kZXYvbmF0aXZlc2NyaXB0L25hdGl2ZXNjcmlwdC1kcmF3ZXIvc3JjL2FuZ3VsYXIvIiwic291cmNlcyI6WyJuYXRpdmVzY3JpcHQtY29tbXVuaXR5LXVpLWRyYXdlci1hbmd1bGFyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBLGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aXZlc2NyaXB0LWNvbW11bml0eS11aS1kcmF3ZXItYW5ndWxhci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy91aS1kcmF3ZXIvYW5ndWxhci9uYXRpdmVzY3JpcHQtY29tbXVuaXR5LXVpLWRyYXdlci1hbmd1bGFyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBLGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -31,7 +31,7 @@ DrawerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: DrawerComponent, selector
31
31
  i0.ɵɵprojectionDef();
32
32
  i0.ɵɵprojection(0);
33
33
  } }, encapsulation: 2 });
34
- (function () { i0.ɵsetClassMetadata(DrawerComponent, [{
34
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrawerComponent, [{
35
35
  type: Component,
36
36
  args: [{
37
37
  selector: 'Drawer',
@@ -52,7 +52,7 @@ class LeftDrawerDirective {
52
52
  }
53
53
  LeftDrawerDirective.ɵfac = function LeftDrawerDirective_Factory(t) { return new (t || LeftDrawerDirective)(i0.ɵɵdirectiveInject(ElementRef)); };
54
54
  LeftDrawerDirective.ɵdir = i0.ɵɵdefineDirective({ type: LeftDrawerDirective, selectors: [["", "leftDrawer", ""]] });
55
- (function () { i0.ɵsetClassMetadata(LeftDrawerDirective, [{
55
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LeftDrawerDirective, [{
56
56
  type: Directive,
57
57
  args: [{
58
58
  selector: '[leftDrawer]',
@@ -69,7 +69,7 @@ class RightDrawerDirective {
69
69
  }
70
70
  RightDrawerDirective.ɵfac = function RightDrawerDirective_Factory(t) { return new (t || RightDrawerDirective)(i0.ɵɵdirectiveInject(ElementRef)); };
71
71
  RightDrawerDirective.ɵdir = i0.ɵɵdefineDirective({ type: RightDrawerDirective, selectors: [["", "rightDrawer", ""]] });
72
- (function () { i0.ɵsetClassMetadata(RightDrawerDirective, [{
72
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RightDrawerDirective, [{
73
73
  type: Directive,
74
74
  args: [{
75
75
  selector: '[rightDrawer]',
@@ -86,7 +86,7 @@ class TopDrawerDirective {
86
86
  }
87
87
  TopDrawerDirective.ɵfac = function TopDrawerDirective_Factory(t) { return new (t || TopDrawerDirective)(i0.ɵɵdirectiveInject(ElementRef)); };
88
88
  TopDrawerDirective.ɵdir = i0.ɵɵdefineDirective({ type: TopDrawerDirective, selectors: [["", "topDrawer", ""]] });
89
- (function () { i0.ɵsetClassMetadata(TopDrawerDirective, [{
89
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TopDrawerDirective, [{
90
90
  type: Directive,
91
91
  args: [{
92
92
  selector: '[topDrawer]',
@@ -103,7 +103,7 @@ class BottomDrawerDirective {
103
103
  }
104
104
  BottomDrawerDirective.ɵfac = function BottomDrawerDirective_Factory(t) { return new (t || BottomDrawerDirective)(i0.ɵɵdirectiveInject(ElementRef)); };
105
105
  BottomDrawerDirective.ɵdir = i0.ɵɵdefineDirective({ type: BottomDrawerDirective, selectors: [["", "bottomDrawer", ""]] });
106
- (function () { i0.ɵsetClassMetadata(BottomDrawerDirective, [{
106
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BottomDrawerDirective, [{
107
107
  type: Directive,
108
108
  args: [{
109
109
  selector: '[bottomDrawer]',
@@ -120,7 +120,7 @@ class MainContentDirective {
120
120
  }
121
121
  MainContentDirective.ɵfac = function MainContentDirective_Factory(t) { return new (t || MainContentDirective)(i0.ɵɵdirectiveInject(ElementRef)); };
122
122
  MainContentDirective.ɵdir = i0.ɵɵdefineDirective({ type: MainContentDirective, selectors: [["", "mainContent", ""]] });
123
- (function () { i0.ɵsetClassMetadata(MainContentDirective, [{
123
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MainContentDirective, [{
124
124
  type: Directive,
125
125
  args: [{
126
126
  selector: '[mainContent]',
@@ -173,16 +173,17 @@ const SIDEDRAWER_DIRECTIVES = [LeftDrawerDirective, RightDrawerDirective, TopDra
173
173
  registerElement('Drawer', () => Drawer, sideDrawerMeta);
174
174
  class DrawerModule {
175
175
  }
176
+ DrawerModule.ɵfac = function DrawerModule_Factory(t) { return new (t || DrawerModule)(); };
176
177
  DrawerModule.ɵmod = i0.ɵɵdefineNgModule({ type: DrawerModule });
177
- DrawerModule.ɵinj = i0.ɵɵdefineInjector({ factory: function DrawerModule_Factory(t) { return new (t || DrawerModule)(); } });
178
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DrawerModule, { declarations: [DrawerComponent, LeftDrawerDirective, RightDrawerDirective, TopDrawerDirective, BottomDrawerDirective, MainContentDirective], exports: [DrawerComponent, LeftDrawerDirective, RightDrawerDirective, TopDrawerDirective, BottomDrawerDirective, MainContentDirective] }); })();
179
- (function () { i0.ɵsetClassMetadata(DrawerModule, [{
178
+ DrawerModule.ɵinj = i0.ɵɵdefineInjector({});
179
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrawerModule, [{
180
180
  type: NgModule,
181
181
  args: [{
182
182
  declarations: [DrawerComponent, SIDEDRAWER_DIRECTIVES],
183
183
  exports: [DrawerComponent, SIDEDRAWER_DIRECTIVES],
184
184
  }]
185
185
  }], null, null); })();
186
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DrawerModule, { declarations: [DrawerComponent, LeftDrawerDirective, RightDrawerDirective, TopDrawerDirective, BottomDrawerDirective, MainContentDirective], exports: [DrawerComponent, LeftDrawerDirective, RightDrawerDirective, TopDrawerDirective, BottomDrawerDirective, MainContentDirective] }); })();
186
187
 
187
188
  export { BottomDrawerDirective, DrawerComponent, DrawerModule, LeftDrawerDirective, MainContentDirective, RightDrawerDirective, SIDEDRAWER_DIRECTIVES, TopDrawerDirective };
188
189
  //# sourceMappingURL=nativescript-community-ui-drawer-angular.js.map
@@ -17,41 +17,42 @@ export declare class DrawerComponent {
17
17
  get nativeElement(): Drawer;
18
18
  set gestureEnabled(value: boolean);
19
19
  private updateGestureEnabled;
20
- static ɵfac: i0.ɵɵFactoryDef<DrawerComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDefWithMeta<DrawerComponent, "Drawer", never, {}, {}, never, ["*"]>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<DrawerComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<DrawerComponent, "Drawer", never, {}, {}, never, ["*"]>;
22
22
  }
23
23
  export declare class LeftDrawerDirective {
24
24
  private _elementRef;
25
25
  constructor(_elementRef: ElementRef);
26
- static ɵfac: i0.ɵɵFactoryDef<LeftDrawerDirective, never>;
27
- static ɵdir: i0.ɵɵDirectiveDefWithMeta<LeftDrawerDirective, "[leftDrawer]", never, {}, {}, never>;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<LeftDrawerDirective, never>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LeftDrawerDirective, "[leftDrawer]", never, {}, {}, never>;
28
28
  }
29
29
  export declare class RightDrawerDirective {
30
30
  private _elementRef;
31
31
  constructor(_elementRef: ElementRef);
32
- static ɵfac: i0.ɵɵFactoryDef<RightDrawerDirective, never>;
33
- static ɵdir: i0.ɵɵDirectiveDefWithMeta<RightDrawerDirective, "[rightDrawer]", never, {}, {}, never>;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<RightDrawerDirective, never>;
33
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RightDrawerDirective, "[rightDrawer]", never, {}, {}, never>;
34
34
  }
35
35
  export declare class TopDrawerDirective {
36
36
  private _elementRef;
37
37
  constructor(_elementRef: ElementRef);
38
- static ɵfac: i0.ɵɵFactoryDef<TopDrawerDirective, never>;
39
- static ɵdir: i0.ɵɵDirectiveDefWithMeta<TopDrawerDirective, "[topDrawer]", never, {}, {}, never>;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<TopDrawerDirective, never>;
39
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TopDrawerDirective, "[topDrawer]", never, {}, {}, never>;
40
40
  }
41
41
  export declare class BottomDrawerDirective {
42
42
  private _elementRef;
43
43
  constructor(_elementRef: ElementRef);
44
- static ɵfac: i0.ɵɵFactoryDef<BottomDrawerDirective, never>;
45
- static ɵdir: i0.ɵɵDirectiveDefWithMeta<BottomDrawerDirective, "[bottomDrawer]", never, {}, {}, never>;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<BottomDrawerDirective, never>;
45
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BottomDrawerDirective, "[bottomDrawer]", never, {}, {}, never>;
46
46
  }
47
47
  export declare class MainContentDirective {
48
48
  private _elementRef;
49
49
  constructor(_elementRef: ElementRef);
50
- static ɵfac: i0.ɵɵFactoryDef<MainContentDirective, never>;
51
- static ɵdir: i0.ɵɵDirectiveDefWithMeta<MainContentDirective, "[mainContent]", never, {}, {}, never>;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<MainContentDirective, never>;
51
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MainContentDirective, "[mainContent]", never, {}, {}, never>;
52
52
  }
53
53
  export declare const SIDEDRAWER_DIRECTIVES: (typeof LeftDrawerDirective | typeof RightDrawerDirective | typeof TopDrawerDirective | typeof BottomDrawerDirective | typeof MainContentDirective)[];
54
54
  export declare class DrawerModule {
55
- static ɵmod: i0.ɵɵNgModuleDefWithMeta<DrawerModule, [typeof DrawerComponent, typeof LeftDrawerDirective, typeof RightDrawerDirective, typeof TopDrawerDirective, typeof BottomDrawerDirective, typeof MainContentDirective], never, [typeof DrawerComponent, typeof LeftDrawerDirective, typeof RightDrawerDirective, typeof TopDrawerDirective, typeof BottomDrawerDirective, typeof MainContentDirective]>;
56
- static ɵinj: i0.ɵɵInjectorDef<DrawerModule>;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<DrawerModule, never>;
56
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DrawerModule, [typeof DrawerComponent, typeof LeftDrawerDirective, typeof RightDrawerDirective, typeof TopDrawerDirective, typeof BottomDrawerDirective, typeof MainContentDirective], never, [typeof DrawerComponent, typeof LeftDrawerDirective, typeof RightDrawerDirective, typeof TopDrawerDirective, typeof BottomDrawerDirective, typeof MainContentDirective]>;
57
+ static ɵinj: i0.ɵɵInjectorDeclaration<DrawerModule>;
57
58
  }
@@ -8,9 +8,9 @@
8
8
  "typings": "nativescript-community-ui-drawer-angular.d.ts",
9
9
  "sideEffects": false,
10
10
  "dependencies": {
11
- "tslib": "^2.0.0"
11
+ "tslib": "^2.2.0"
12
12
  },
13
13
  "scripts": {
14
- "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy. This is not allowed.\\nPlease delete and rebuild the package, without compiling with Ivy, before attempting to publish.\\n')\" && exit 1"
14
+ "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
15
15
  }
16
- }
16
+ }
package/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { GestureHandlerStateEvent, GestureHandlerTouchEvent, GestureState, HandlerType, Manager, install as installGestures } from '@nativescript-community/gesturehandler';
2
- import { Animation, Application, CSSType, Color, GridLayout, Property, Utils, booleanConverter } from '@nativescript/core';
3
- import { AnimationCurve } from '@nativescript/core/ui/enums';
2
+ import { Animation, Application, CSSType, Color, CoreTypes, GridLayout, Property, Utils, booleanConverter } from '@nativescript/core';
4
3
  installGestures(false);
5
4
  const OPEN_DURATION = 200;
6
5
  const CLOSE_DURATION = 200;
@@ -688,7 +687,7 @@ let Drawer = class Drawer extends GridLayout {
688
687
  .map((k) => this[k] &&
689
688
  Object.assign({
690
689
  target: this[k],
691
- curve: AnimationCurve.easeInOut,
690
+ curve: CoreTypes.AnimationCurve.easeInOut,
692
691
  duration
693
692
  }, transformAnimationValues(trData[k])))
694
693
  .filter((a) => !!a);
@@ -699,12 +698,15 @@ let Drawer = class Drawer extends GridLayout {
699
698
  console.error('animateToPosition', err);
700
699
  }
701
700
  finally {
702
- if ((position !== 0 && this.showingSide === side) ||
703
- (position === 0 && !this.showingSide)) {
701
+ if ((position !== 0 && this.showingSide === side) || (position === 0 && !this.showingSide)) {
704
702
  this.applyTrData(trData, side);
705
703
  if (position !== 0) {
706
704
  }
707
705
  else {
706
+ const drawer = this[side + 'Drawer'];
707
+ if (drawer) {
708
+ drawer.visibility = 'hidden';
709
+ }
708
710
  if (trData.backDrop) {
709
711
  this.backDrop.visibility = 'hidden';
710
712
  }
package/package.json CHANGED
@@ -1,10 +1,17 @@
1
1
  {
2
2
  "name": "@nativescript-community/ui-drawer",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "Easily add a side drawer (side menu) to your projects.",
5
5
  "main": "./index",
6
6
  "sideEffects": false,
7
7
  "typings": "./index.d.ts",
8
+ "scripts": {
9
+ "build": "npm run tsc",
10
+ "build.all": "npm run build && npm run build.angular",
11
+ "build.angular": "../../node_modules/.bin/ng-packagr -p ../../src/ui-drawer/angular/package.json -c ../../src/ui-drawer/angular/tsconfig.json",
12
+ "tsc": "../../node_modules/.bin/cpy '**/*.d.ts' '../../packages/ui-drawer' --parents --cwd=../../src/ui-drawer && ../../node_modules/.bin/tsc -skipLibCheck -d",
13
+ "clean": "../../node_modules/.bin/rimraf ./*.d.ts ./*.js ./*.js.map"
14
+ },
8
15
  "nativescript": {
9
16
  "platforms": {
10
17
  "android": "6.0.0",
@@ -46,5 +53,5 @@
46
53
  "dependencies": {
47
54
  "@nativescript-community/gesturehandler": "^0.1.35"
48
55
  },
49
- "gitHead": "2f3b09bb2249d7104beaf7481a6feeaf3a40a7ea"
56
+ "gitHead": "d820fb7ec84497a3bb63589f7392d66c4a6acb80"
50
57
  }
package/vue/index.js CHANGED
@@ -2,7 +2,7 @@ import DrawerComp from './component';
2
2
  const DrawerPlugin = {
3
3
  install(Vue) {
4
4
  Vue.registerElement('Drawer', () => require('../index').Drawer, {
5
- component: DrawerComp,
5
+ component: DrawerComp
6
6
  });
7
7
  }
8
8
  };
package/README.md DELETED
@@ -1,199 +0,0 @@
1
- # NativeScript Drawer
2
-
3
- NativeScript plugin that allows you to easily add a side drawer (side menu) to your projects. This can be used as an Open Source alternative to [RadSideDrawer](https://docs.nativescript.org/ui/components/sidedrawer/overview).
4
-
5
- [![npm](https://img.shields.io/npm/v/@nativescript-community/ui-drawer.svg)](https://www.npmjs.com/package/@nativescript-community/ui-drawer)
6
- [![npm downloads](https://img.shields.io/npm/dm/@nativescript-community/ui-drawer.svg)](https://www.npmjs.com/package/@nativescript-community/ui-drawer)
7
- [![npm downloads](https://img.shields.io/npm/dt/@nativescript-community/ui-drawer.svg)](https://www.npmjs.com/package/@nativescript-community/ui-drawer)
8
-
9
- | <img src="images/demo-ios.gif" height="500" /> | <img src="images/demo-android.gif" height="500" /> |
10
- | --- | ----------- |
11
- | iOS Demo | Android Demo |
12
-
13
- ---
14
- ## Table of Contents
15
- 1. [Installation](#installation)
16
- 2. [Configuration](#configuration)
17
- 3. [API](#api)
18
- 4. [Usage in Angular](#usage-in-angular)
19
- 5. [Usage in Vue](#usage-in-vue)
20
- 6. [Usage in Svelte](#usage-in-svelte)
21
- 7. [Usage in React](#usage-in-react)
22
- 8. [Demos](#demos)
23
-
24
- ## Installation
25
-
26
- ```
27
- ns plugin add @nativescript-community/ui-drawer
28
- ```
29
-
30
- ## Configuration
31
- For gestures to work, make sure to add the following code block inside the main application file (e.g. app.ts):
32
-
33
- ```typescript
34
- import { install } from '@nativescript-community/ui-drawer';
35
- install();
36
- ```
37
-
38
- ## API
39
-
40
- ### Properties
41
-
42
- | Property | Default | Type | Description |
43
- | ------------------- | --------------------------------- | --------------------------- | ------------------------------------------------------- |
44
- | leftDrawer | `undefined` | `View` | View containing the content for the left side drawer |
45
- | rightDrawer | `undefined` | `View` | View containing the content for the right side drawer |
46
- | topDrawer | `undefined` | `View` | View containing the content for the top side drawer |
47
- | bottomDrawer | `undefined` | `View` | View containing the content for the bottom side drawer |
48
- | mainContent | `undefined` | `View` | View containing the main content of the app |
49
- | gestureEnabled | `true` | `boolean` | Boolean setting if swipe gestures are enabled |
50
- | backdropColor | `new Color('rgba(0, 0, 0, 0.7)')` | `Color` | The color of the backdrop behind the drawer |
51
- | leftDrawerMode | `slide` | `Mode ('under' or 'slide')` | The color of the backdrop behind the drawer |
52
- | rightDrawerMode | `slide` | `Mode ('under' or 'slide')` | The color of the backdrop behind the drawer |
53
- | gestureMinDist | `10` | number | The min "swipe" distance to trigger the menu gesture |
54
- | leftSwipeDistance | `40` | number | The "left" zone size from where the gesture is recognized |
55
- | rightSwipeDistance | `40` | number | The "right" zone size from where the gesture is recognized |
56
- | topSwipeDistance | `40` | number | The "top" zone size from where the gesture is recognized |
57
- | bottomSwipeDistance | `40` | number | The "bottom" zone size from where the gesture is recognized |
58
- | leftOpenedDrawerAllowDraging | `true` | boolean | Allow dragging the opened menu |
59
- | rightOpenedDrawerAllowDraging | `true` | boolean | Allow dragging the opened menu |
60
- | topOpenedDrawerAllowDraging | `true` | boolean | Allow dragging the opened menu |
61
- | bottomOpenedDrawerAllowDraging | `true` | boolean | Allow dragging the opened menu |
62
-
63
-
64
-
65
- ### Methods
66
-
67
- | Name | Return | Description |
68
- | ------------ | ------ | ----------------------------------------------- |
69
- | open() | `void` | Programatically open the drawer |
70
- | close() | `void` | Programatically close the drawer |
71
- | toggle() | `void` | Programatically toggle the state of the drawer |
72
- | install() | `void` | Install gestures |
73
-
74
- ### Events
75
-
76
- | Name | Event Data | Description |
77
- | --------- | ------------------ | ---------------------------- |
78
- | open | `side`, `duration` | Drawer opens |
79
- | close | `side`, `duration` | Drawer closes |
80
-
81
- ## Usage in Angular
82
- Import the module into your project.
83
-
84
- ```typescript
85
- import { DrawerModule } from "@nativescript-community/ui-drawer/angular";
86
-
87
- @NgModule({
88
- imports: [
89
- DrawerModule
90
- ]
91
- schemas: [
92
- NO_ERRORS_SCHEMA
93
- ]
94
- })
95
-
96
- export class AppModule { }
97
- ```
98
-
99
- Then in your component add the following:
100
-
101
- ```xml
102
- <Drawer>
103
- <GridLayout leftDrawer backgroundColor="white">
104
- <Label text="This is the side drawer content"></Label>
105
- </GridLayout>
106
-
107
- <StackLayout mainContent backgroundColor="white">
108
- <Label text="This is the main content"></Label>
109
- </StackLayout>
110
- </Drawer>
111
- ```
112
- For a more complete example, look in the `demo-ng` directory.
113
-
114
- ## Usage in Vue
115
-
116
- Register the plugin in your `app.js`.
117
-
118
- ```typescript
119
- import DrawerPlugin from '@nativescript-community/ui-drawer/vue'
120
- Vue.use(DrawerPlugin);
121
- ```
122
-
123
- Then in your component add the following:
124
-
125
- ```xml
126
- <Drawer>
127
- <GridLayout ~leftDrawer backgroundColor="white">
128
- <Label text="This is the side drawer content" />
129
- </GridLayout>
130
-
131
- <StackLayout ~mainContent backgroundColor="white">
132
- <Label text="This is the main content" />
133
- </StackLayout>
134
- </Drawer>
135
- ```
136
- For a more complete example, look in the `demo-vue` directory.
137
-
138
- ## Usage in Svelte
139
-
140
- Register the plugin in your `app.ts`.
141
-
142
- ```typescript
143
- import DrawerElement from '@nativescript-community/ui-drawer/svelte';
144
- DrawerElement.register();
145
- ```
146
-
147
- Then in your component, add the following:
148
-
149
- ```xml
150
- <drawer>
151
- <gridlayout prop:leftDrawer backgroundColor="white">
152
- <Label text="This is the side drawer content" />
153
- </gridlayout>
154
-
155
- <stacklayout prop:mainContent backgroundColor="white">
156
- <Label text="This is the main content" />
157
- </stacklayout>
158
- </drawer>
159
- ```
160
- For a more complete example, look in the `demo-svelte` directory.
161
-
162
- ## Usage in React
163
-
164
- Register the plugin in your `app.ts`.
165
-
166
- ```typescript
167
- import DrawerElement from '@nativescript-community/ui-drawer/react';
168
- DrawerElement.register();
169
- ```
170
-
171
- Then in your component, add the following:
172
- ```ts
173
- import { Drawer } from "@nativescript-community/ui-drawer/react"
174
- ```
175
-
176
- ```xml
177
- <Drawer>
178
- <gridLayout nodeRole="leftDrawer" backgroundColor="white" width="300">
179
- <label text="This is the side drawer content" />
180
- </gridLayout>
181
-
182
- <stackLayout nodeRole="mainContent" backgroundColor="white">
183
- <label text="This is the main content" />
184
- </stackLayout>
185
- </Drawer>
186
- ```
187
- For a more complete example, look in the `demo-react` directory.
188
-
189
- ## Demos
190
- This repository includes Angular, Vue.js, and Svelte demos. In order to run these execute the following in your shell:
191
- ```shell
192
- $ git clone https://github.com/nativescript-community/ui-drawer
193
- $ cd ui-drawer
194
- $ npm i
195
- $ npm run setup
196
- $ npm run build && npm run build.angular
197
- $ cd demo-ng # or demo-vue or demo-svelte or demo-react
198
- $ ns run ios|android
199
- ```
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@nativescript/angular"),require("@nativescript-community/ui-drawer")):"function"==typeof define&&define.amd?define("@nativescript-community/ui-drawer-angular",["exports","@angular/core","@nativescript/angular","@nativescript-community/ui-drawer"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self)["nativescript-community"]=e["nativescript-community"]||{},e["nativescript-community"]["ui-drawer-angular"]={}),e.ng.core,e["ns-angular"],e["ns-drawer"])}(this,(function(e,t,n,r){"use strict";function i(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var a=i(t),o="LeftDrawer",c="RightDrawer",l="TopDrawer",s="BottomDrawer",u="MainContent",f=function(){function e(e,t){this.elementRef=e,this.viewContainer=t,this.drawer=this.elementRef.nativeElement}return Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this.drawer},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"gestureEnabled",{set:function(e){this._gestureEnabled=e,this.updateGestureEnabled()},enumerable:!1,configurable:!0}),e.prototype.updateGestureEnabled=function(){this.drawer.gestureEnabled=this._gestureEnabled},e}();f.ɵfac=function(e){return new(e||f)(a.ɵɵdirectiveInject(t.ElementRef),a.ɵɵdirectiveInject(t.ViewContainerRef))},f.ɵcmp=a.ɵɵdefineComponent({type:f,selectors:[["Drawer"]],ngContentSelectors:["*"],decls:1,vars:0,template:function(e,t){1&e&&(a.ɵɵprojectionDef(),a.ɵɵprojection(0))},encapsulation:2}),a.ɵsetClassMetadata(f,[{type:t.Component,args:[{selector:"Drawer",template:"<ng-content></ng-content>"}]}],(function(){return[{type:a.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:a.ViewContainerRef,decorators:[{type:t.Inject,args:[t.ViewContainerRef]}]}]}),null);var d=function(e){this._elementRef=e,this._elementRef.nativeElement.id=o};d.ɵfac=function(e){return new(e||d)(a.ɵɵdirectiveInject(t.ElementRef))},d.ɵdir=a.ɵɵdefineDirective({type:d,selectors:[["","leftDrawer",""]]}),a.ɵsetClassMetadata(d,[{type:t.Directive,args:[{selector:"[leftDrawer]"}]}],(function(){return[{type:a.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]}]}),null);var p=function(e){this._elementRef=e,this._elementRef.nativeElement.id=c};p.ɵfac=function(e){return new(e||p)(a.ɵɵdirectiveInject(t.ElementRef))},p.ɵdir=a.ɵɵdefineDirective({type:p,selectors:[["","rightDrawer",""]]}),a.ɵsetClassMetadata(p,[{type:t.Directive,args:[{selector:"[rightDrawer]"}]}],(function(){return[{type:a.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]}]}),null);var m=function(e){this._elementRef=e,this._elementRef.nativeElement.id=l};m.ɵfac=function(e){return new(e||m)(a.ɵɵdirectiveInject(t.ElementRef))},m.ɵdir=a.ɵɵdefineDirective({type:m,selectors:[["","topDrawer",""]]}),a.ɵsetClassMetadata(m,[{type:t.Directive,args:[{selector:"[topDrawer]"}]}],(function(){return[{type:a.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]}]}),null);var v=function(e){this._elementRef=e,this._elementRef.nativeElement.id=s};v.ɵfac=function(e){return new(e||v)(a.ɵɵdirectiveInject(t.ElementRef))},v.ɵdir=a.ɵɵdefineDirective({type:v,selectors:[["","bottomDrawer",""]]}),a.ɵsetClassMetadata(v,[{type:t.Directive,args:[{selector:"[bottomDrawer]"}]}],(function(){return[{type:a.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]}]}),null);var w=function(e){this._elementRef=e,this._elementRef.nativeElement.id=u};w.ɵfac=function(e){return new(e||w)(a.ɵɵdirectiveInject(t.ElementRef))},w.ɵdir=a.ɵɵdefineDirective({type:w,selectors:[["","mainContent",""]]}),a.ɵsetClassMetadata(w,[{type:t.Directive,args:[{selector:"[mainContent]"}]}],(function(){return[{type:a.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]}]}),null);var D={insertChild:function(e,t){var n=e,r=t;r.id===u&&(n.mainContent=r),r.id===o&&(n.leftDrawer=r),r.id===c&&(n.rightDrawer=r),r.id===l&&(n.topDrawer=r),r.id===s&&(n.bottomDrawer=r)},removeChild:function(e,t){var n=e,r=t;r.id===u&&(n.mainContent=null),r.id===o&&(n.leftDrawer=null),r.id===c&&(n.rightDrawer=null),r.id===l&&(n.topDrawer=null),r.id===s&&(n.bottomDrawer=null)}},g=[d,p,m,v,w];n.registerElement("Drawer",(function(){return r.Drawer}),D);var y=function(){};y.ɵmod=a.ɵɵdefineNgModule({type:y}),y.ɵinj=a.ɵɵdefineInjector({factory:function(e){return new(e||y)}}),("undefined"==typeof ngJitMode||ngJitMode)&&a.ɵɵsetNgModuleScope(y,{declarations:[f,d,p,m,v,w],exports:[f,d,p,m,v,w]}),a.ɵsetClassMetadata(y,[{type:t.NgModule,args:[{declarations:[f,g],exports:[f,g]}]}],null,null),e.BottomDrawerDirective=v,e.DrawerComponent=f,e.DrawerModule=y,e.LeftDrawerDirective=d,e.MainContentDirective=w,e.RightDrawerDirective=p,e.SIDEDRAWER_DIRECTIVES=g,e.TopDrawerDirective=m,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=nativescript-community-ui-drawer-angular.umd.min.js.map
package/pnpm-lock.yaml DELETED
@@ -1,16 +0,0 @@
1
- dependencies:
2
- '@nativescript-community/gesturehandler': 0.1.35
3
- lockfileVersion: 5.2
4
- packages:
5
- /@nativescript-community/gesturehandler/0.1.35:
6
- dependencies:
7
- '@nativescript-community/observable': 2.0.8
8
- dev: false
9
- resolution:
10
- integrity: sha512-qqlyvH3LcdfaI8gGecsX8FhcdXJ1EfFmEmTfrp0nSZe6kykcdS1kEcBUUPkiRTpzbiwPRQu67W3RCETXrHYe2Q==
11
- /@nativescript-community/observable/2.0.8:
12
- dev: false
13
- resolution:
14
- integrity: sha512-kM3lqaIy1QrBGRiZkCA3u0v/+xDBlUk/PH4N/rlJ/zpCMmkl4jtMwhEnTpmWifaR/q4dSqhpPNtAHcOGWiJGcA==
15
- specifiers:
16
- '@nativescript-community/gesturehandler': ^0.1.35
package/react/index.d.ts DELETED
@@ -1,20 +0,0 @@
1
- import * as React from "react";
2
- import { GridLayoutAttributes, NativeScriptProps, NSVElement } from "react-nativescript";
3
- import { Color, View } from "@nativescript/core";
4
- import { Drawer as NativeScriptDrawer } from '..';
5
- export declare function registerDrawer(): void;
6
- interface DrawerAttributes extends GridLayoutAttributes {
7
- backdropColor?: Color;
8
- gestureEnabled?: boolean;
9
- leftDrawer?: View;
10
- mainContent?: View;
11
- }
12
- declare global {
13
- module JSX {
14
- interface IntrinsicElements {
15
- drawer: NativeScriptProps<DrawerAttributes, NativeScriptDrawer>;
16
- }
17
- }
18
- }
19
- export declare const Drawer: React.ForwardRefExoticComponent<Pick<NativeScriptProps<DrawerAttributes, NativeScriptDrawer>, "left" | "gestureEnabled" | "backdropColor" | "leftDrawer" | "top" | "mainContent" | "nodeRole" | "children" | "style" | "key" | "onPropertyChange" | "alignSelf" | "android" | "automationText" | "bindingContext" | "className" | "col" | "colSpan" | "column" | "columnSpan" | "cssClasses" | "cssPseudoClasses" | "dock" | "domNode" | "effectiveBorderBottomWidth" | "effectiveBorderLeftWidth" | "effectiveBorderRightWidth" | "effectiveBorderTopWidth" | "effectiveHeight" | "effectiveLeft" | "effectiveMarginBottom" | "effectiveMarginLeft" | "effectiveMarginRight" | "effectiveMarginTop" | "effectiveMinHeight" | "effectiveMinWidth" | "effectivePaddingBottom" | "effectivePaddingLeft" | "effectivePaddingRight" | "effectivePaddingTop" | "effectiveTop" | "effectiveWidth" | "flexGrow" | "flexShrink" | "flexWrapBefore" | "id" | "ios" | "iosOverflowSafeArea" | "iosOverflowSafeAreaEnabled" | "isCollapsed" | "isEnabled" | "isLoaded" | "isUserInteractionEnabled" | "nativeView" | "onAutomationTextChange" | "onBindingContextChange" | "onClassNameChange" | "onIdChange" | "onIosOverflowSafeAreaChange" | "onIosOverflowSafeAreaEnabledChange" | "onIsEnabledChange" | "onIsUserInteractionEnabledChange" | "onOriginXChange" | "onOriginYChange" | "order" | "originX" | "originY" | "page" | "parent" | "parentNode" | "recycleNativeView" | "row" | "rowSpan" | "typeName" | "viewController" | "androidDynamicElevationOffset" | "androidElevation" | "background" | "backgroundColor" | "backgroundImage" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderColor" | "borderLeftColor" | "borderLeftWidth" | "borderRadius" | "borderRightColor" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "borderWidth" | "color" | "css" | "cssType" | "height" | "horizontalAlignment" | "isLayoutRequired" | "isLayoutValid" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "minHeight" | "minWidth" | "modal" | "onAndroidBackPressed" | "onColumnChange" | "onColumnSpanChange" | "onDockChange" | "onDoubleTap" | "onLeftChange" | "onLoaded" | "onLongPress" | "onPan" | "onPinch" | "onRotation" | "onRowChange" | "onRowSpanChange" | "onShowingModally" | "onShownModally" | "onLayoutChanged" | "onSwipe" | "onTap" | "onTopChange" | "onTouch" | "onUnloaded" | "opacity" | "perspective" | "rotate" | "rotateX" | "rotateY" | "scaleX" | "scaleY" | "textTransform" | "translateX" | "translateY" | "verticalAlignment" | "visibility" | "width" | "clipToBounds" | "isPassThroughParentEnabled" | "onClipToBoundsChange" | "onIsPassThroughParentEnabledChange" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "columns" | "rows"> & React.RefAttributes<NSVElement<NativeScriptDrawer>>>;
20
- export {};
package/react/index.js DELETED
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- import { registerElement } from "react-nativescript";
3
- export function registerDrawer() {
4
- registerElement('drawer', () => require('../').Drawer);
5
- }
6
- ;
7
- export const Drawer = React.forwardRef((props, ref) => React.createElement("drawer", Object.assign({}, props, { ref: ref })));
8
- //# sourceMappingURL=index.js.map