@nativescript-community/ui-collectionview-swipemenu 5.1.0 → 5.1.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.
- package/CHANGELOG.md +16 -0
- package/index.d.ts +4 -1
- package/index.js +47 -17
- package/index.js.map +1 -1
- package/package.json +4 -4
- package/tsconfig.tsbuildinfo +1 -0
- package/vue3/component.d.ts +3 -0
- package/vue3/component.js +18 -0
- package/vue3/component.js.map +1 -0
- package/vue3/index.d.ts +4 -0
- package/vue3/index.js +33 -0
- package/vue3/index.js.map +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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
|
+
## [5.1.2](https://github.com/nativescript-community/ui-collectionview/compare/v5.1.1...v5.1.2) (2023-04-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @nativescript-community/ui-collectionview-swipemenu
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [5.1.1](https://github.com/nativescript-community/ui-collectionview/compare/v5.1.0...v5.1.1) (2023-04-25)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @nativescript-community/ui-collectionview-swipemenu
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [5.1.0](https://github.com/nativescript-community/ui-collectionview/compare/v5.0.4...v5.1.0) (2023-04-25)
|
|
7
23
|
|
|
8
24
|
|
package/index.d.ts
CHANGED
|
@@ -8,11 +8,14 @@ declare module '@nativescript-community/ui-collectionview' {
|
|
|
8
8
|
notifyForItemAtIndex(eventName: string, view: View, index: number, bindingContext?: any, native?: any): any;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
declare class CollectionViewWithSwipeMenu extends CollectionView {
|
|
11
|
+
export declare class CollectionViewWithSwipeMenu extends CollectionView {
|
|
12
|
+
static swipeMenuOpenEvent: string;
|
|
13
|
+
static swipeMenuCloseEvent: string;
|
|
12
14
|
onlyOneMenuOpened: any;
|
|
13
15
|
openedDrawerIndex: number;
|
|
14
16
|
setItemAtIndex(index: number, item: any): any;
|
|
15
17
|
closeCurrentMenu(): Promise<void>;
|
|
18
|
+
getCellView(view: View): View;
|
|
16
19
|
onItemMenuStart(event: any): Promise<void>;
|
|
17
20
|
onItemMenuOpened(event: any): void;
|
|
18
21
|
onItemMenuClosed(event: any): void;
|
package/index.js
CHANGED
|
@@ -8,7 +8,7 @@ export const onlyOneMenuOpenedProperty = new Property({
|
|
|
8
8
|
name: 'onlyOneMenuOpened'
|
|
9
9
|
});
|
|
10
10
|
let mixinInstalled = false;
|
|
11
|
-
class CollectionViewWithSwipeMenu extends CollectionView {
|
|
11
|
+
export class CollectionViewWithSwipeMenu extends CollectionView {
|
|
12
12
|
setItemAtIndex(index, item) {
|
|
13
13
|
// will be overriden in onItemsChangedInternal
|
|
14
14
|
const thisItems = this.items;
|
|
@@ -19,26 +19,45 @@ class CollectionViewWithSwipeMenu extends CollectionView {
|
|
|
19
19
|
thisItems[index] = item;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
+
// getItemSourceAtIndex(index: number) {
|
|
23
|
+
// const result = (this.items as ItemsSource).getItem(index);
|
|
24
|
+
// if (result) {
|
|
25
|
+
// result.startingSide = result.startingSide || null;
|
|
26
|
+
// }
|
|
27
|
+
// return result;
|
|
28
|
+
// }
|
|
29
|
+
// getItemArrayAtIndex(index: number) {
|
|
30
|
+
// const result = this.items[index];
|
|
31
|
+
// if (result) {
|
|
32
|
+
// result.startingSide = result.startingSide || null;
|
|
33
|
+
// }
|
|
34
|
+
// return result;
|
|
35
|
+
// }
|
|
22
36
|
async closeCurrentMenu() {
|
|
23
37
|
try {
|
|
24
38
|
const openedIndex = this.openedDrawerIndex;
|
|
25
39
|
this.openedDrawerIndex = -1;
|
|
26
|
-
|
|
40
|
+
const oldItem = this.items ? this.getItemAtIndex(openedIndex) : null;
|
|
41
|
+
if (!oldItem) {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
const view = this.getViewForItemAtIndex(openedIndex);
|
|
45
|
+
let drawer = view;
|
|
27
46
|
// console.log('closeCurrentMenu', openedIndex, view, view.bindingContext);
|
|
28
|
-
if (
|
|
29
|
-
|
|
47
|
+
if (drawer instanceof ContentView) {
|
|
48
|
+
drawer = drawer.content;
|
|
30
49
|
}
|
|
31
|
-
if (
|
|
32
|
-
|
|
50
|
+
if (drawer instanceof Drawer) {
|
|
51
|
+
drawer.close();
|
|
33
52
|
}
|
|
34
53
|
else {
|
|
35
|
-
const oldItem = this.getItemAtIndex(openedIndex);
|
|
36
54
|
// console.log('closeCurrentMenu', view, openedIndex, oldItem, new Error().stack);
|
|
37
55
|
oldItem.startingSide = null;
|
|
38
56
|
// this.notifyForItemAtIndex(CollectionViewBase.itemLoadingEvent, view, openedIndex, oldItem);
|
|
39
|
-
setTimeout(() => {
|
|
40
|
-
|
|
41
|
-
|
|
57
|
+
// setTimeout(() => {
|
|
58
|
+
this.setItemAtIndex(openedIndex, oldItem);
|
|
59
|
+
this.notifyForItemAtIndex(CollectionViewWithSwipeMenu.swipeMenuCloseEvent, view, openedIndex, oldItem);
|
|
60
|
+
// }, 0);
|
|
42
61
|
}
|
|
43
62
|
}
|
|
44
63
|
catch (error) {
|
|
@@ -47,8 +66,14 @@ class CollectionViewWithSwipeMenu extends CollectionView {
|
|
|
47
66
|
finally {
|
|
48
67
|
}
|
|
49
68
|
}
|
|
69
|
+
getCellView(view) {
|
|
70
|
+
if (view && view.parent instanceof ContentView && view.parent['__SvelteComponent__']) {
|
|
71
|
+
view = view.parent;
|
|
72
|
+
}
|
|
73
|
+
return view;
|
|
74
|
+
}
|
|
50
75
|
async onItemMenuStart(event) {
|
|
51
|
-
const view = event.object;
|
|
76
|
+
const view = this.getCellView(event.object);
|
|
52
77
|
const bindingContext = view.bindingContext;
|
|
53
78
|
const index = this.items.findIndex((i) => i === bindingContext);
|
|
54
79
|
// console.error('onItemMenuStart', index, bindingContext, view, this.openedDrawerIndex);
|
|
@@ -58,7 +83,7 @@ class CollectionViewWithSwipeMenu extends CollectionView {
|
|
|
58
83
|
this.openedDrawerIndex = index;
|
|
59
84
|
}
|
|
60
85
|
onItemMenuOpened(event) {
|
|
61
|
-
const view = event.object;
|
|
86
|
+
const view = this.getCellView(event.object);
|
|
62
87
|
const bindingContext = view.bindingContext;
|
|
63
88
|
const index = this.items.findIndex((i) => i === bindingContext);
|
|
64
89
|
// console.error('onItemMenuOpened', index, bindingContext, view, this.openedDrawerIndex);
|
|
@@ -66,11 +91,12 @@ class CollectionViewWithSwipeMenu extends CollectionView {
|
|
|
66
91
|
this.closeCurrentMenu();
|
|
67
92
|
}
|
|
68
93
|
this.openedDrawerIndex = index;
|
|
69
|
-
bindingContext.startingSide =
|
|
94
|
+
bindingContext.startingSide = 'left';
|
|
95
|
+
this.notifyForItemAtIndex(CollectionViewWithSwipeMenu.swipeMenuOpenEvent, view, index, bindingContext);
|
|
70
96
|
this.notifyForItemAtIndex(CollectionViewBase.itemLoadingEvent, view, index, bindingContext);
|
|
71
97
|
}
|
|
72
98
|
onItemMenuClosed(event) {
|
|
73
|
-
const view = event.object;
|
|
99
|
+
const view = this.getCellView(event.object);
|
|
74
100
|
const bindingContext = view.bindingContext;
|
|
75
101
|
const index = this.items.findIndex((i) => i === bindingContext);
|
|
76
102
|
// console.error('onItemMenuClosed', index, bindingContext, view, this.openedDrawerIndex);
|
|
@@ -78,13 +104,16 @@ class CollectionViewWithSwipeMenu extends CollectionView {
|
|
|
78
104
|
if (index === this.openedDrawerIndex) {
|
|
79
105
|
this.openedDrawerIndex = -1;
|
|
80
106
|
}
|
|
81
|
-
bindingContext.startingSide =
|
|
107
|
+
bindingContext.startingSide = null;
|
|
108
|
+
this.notifyForItemAtIndex(CollectionViewWithSwipeMenu.swipeMenuCloseEvent, view, index, bindingContext);
|
|
82
109
|
this.notifyForItemAtIndex(CollectionViewBase.itemLoadingEvent, view, index, bindingContext);
|
|
83
110
|
}
|
|
84
111
|
}
|
|
85
112
|
}
|
|
113
|
+
CollectionViewWithSwipeMenu.swipeMenuOpenEvent = 'swipeMenuOpen';
|
|
114
|
+
CollectionViewWithSwipeMenu.swipeMenuCloseEvent = 'swipeMenuClose';
|
|
86
115
|
export function overrideCollectionView() {
|
|
87
|
-
applyMixins(CollectionView, [CollectionViewWithSwipeMenu]);
|
|
116
|
+
applyMixins(CollectionView, [CollectionViewWithSwipeMenu], { override: true });
|
|
88
117
|
}
|
|
89
118
|
let SwipeMenu = class SwipeMenu extends Drawer {
|
|
90
119
|
constructor() {
|
|
@@ -94,8 +123,9 @@ let SwipeMenu = class SwipeMenu extends Drawer {
|
|
|
94
123
|
this.rightOpenedDrawerAllowDraging = true;
|
|
95
124
|
this.topOpenedDrawerAllowDraging = true;
|
|
96
125
|
this.bottomOpenedDrawerAllowDraging = true;
|
|
126
|
+
this.openAnimationDuration = 100;
|
|
127
|
+
this.closeAnimationDuration = 100;
|
|
97
128
|
this.iosIgnoreSafeArea = true;
|
|
98
|
-
this.backDropEnabled = false;
|
|
99
129
|
this.leftDrawerMode = 'under';
|
|
100
130
|
this.rightDrawerMode = 'under';
|
|
101
131
|
this.topDrawerMode = 'under';
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,EAAE,MAAM,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,OAAO,EAAE,WAAW,EAAe,QAAQ,EAAE,IAAI,EAAE,gBAAgB,EAA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AAiB;QACb,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,MAAM,cAAc,GAAG,IAAI,CAAC,uBAAuB,EAAE,CAAC;QACtD,IAAI,cAAc,EAAE;YAChB,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC;YACjE,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;YACjE,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;SACrE;IACL,CAAC;CACJ,CAAA;AAzCY,SAAS;IADrB,OAAO,CAAC,WAAW,CAAC;GACR,SAAS,CAyCrB;SAzCY,SAAS;AA2CtB,MAAM,UAAU,OAAO;IACnB,IAAI,CAAC,cAAc,EAAE;QACjB,cAAc,GAAG,IAAI,CAAC;QACtB,aAAa,EAAE,CAAC;QAChB,sBAAsB,EAAE,CAAC;KAC5B;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nativescript-community/ui-collectionview-swipemenu",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.2",
|
|
4
4
|
"description": "A NativeScript CollectionView SwipeMenu Plugin.",
|
|
5
5
|
"main": "./index",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"homepage": "https://github.com/nativescript-community/ui-collectionview#readme",
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@nativescript-community/class-mixins": "^1.0.0",
|
|
43
|
-
"@nativescript-community/ui-collectionview": "^5.1.
|
|
44
|
-
"@nativescript-community/ui-drawer": "^0.1.
|
|
43
|
+
"@nativescript-community/ui-collectionview": "^5.1.2",
|
|
44
|
+
"@nativescript-community/ui-drawer": "^0.1.13"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "a8b42c1fec503859b5bc851ee1f99427dca0abfe"
|
|
47
47
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../src/collectionview/index-common.ts","../../src/collectionview/index.d.ts","../../src/swipemenu/index.ts","../../src/swipemenu/svelte/index.ts","../../src/swipemenu/vue/component.ts","../../src/swipemenu/vue/index.ts","../../src/swipemenu/vue3/component.ts","../../src/swipemenu/vue3/index.ts","../../references.d.ts","../../tools/references.d.ts","../../node_modules/@nativescript/types-android/lib/android-31.d.ts","../../node_modules/@nativescript/core/global-types.d.ts","../../node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!CoreFoundation.d.ts","../../node_modules/@nativescript/types-ios/lib/ios/interop.d.ts","../../node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!Foundation.d.ts","../../node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!UIKit.d.ts","../../node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!CoreGraphics.d.ts","../../node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!ObjectiveC.d.ts","../../node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!QuartzCore.d.ts","../../node_modules/@types/node/ts4.8/util.d.ts","../../node_modules/@nativescript/core/ui/gestures/index.d.ts","../../node_modules/@nativescript/core/index.d.ts","../../node_modules/svelte-native/dom/index.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"9cae5fe73922b9c7418f56be716bdbe98ee03a1753a8d52c74254d63fdbdd005","signature":"978dcd24f504ea5b8b65773eb41d75236a22e12252c126584de1c0e1ed165d2d"},"64bb5f46eda4915d986c5beaf7c29f26493cd89c5e9c9ddff87b12c582b8c730",{"version":"2c8b160faa55572a38927adc65ef22e8034820cc9ef6d726914bee06c37a9bda","signature":"5e2346f5ebd2e56d073ff340e97b59eef2689e62d36c4d7039b37f205526b134"},{"version":"b3e5d10ee30b875096788e59d254962b3ed7df2f5712504879091dda09768245","signature":"880c4657980a6971e1c2a8333ffcde19793984e3f440a921bf69f7fdbd99ea2f"},{"version":"178d08459995b4e922031b5cee4b536f192c28f099faaeaf0ba758782c665420","signature":"31a3c60c891dd07cf7f1b671858ef4e8773113ef7ad4b9aa86d0fe9343f14dc8"},{"version":"d24a23b04437d564cee229241986879f60d64989feb395d9230eb5fa9077a7e6","signature":"9283fa48c05c0a2269853bc136ed26b3ecf9a8e0024d79f840adcb6415e08b0b"},{"version":"2d05b24629cfd6b7f2d7b8fe275d466f690f3dfe8fa853153383c5a39dc5de84","signature":"3885b9bf88ea2a8840647111c1a324d1476373a0f4112f0e139e8bb2269c37b1"},{"version":"3b63c61dd684d8bc8a4c175d1c0d1690b6d02097e8af55bb0ab6270528fc4bb7","signature":"e6655aa0cc7ff373352cb2ca26e2593854765aba64b2713e9a9b496dd5c8ec16"},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","014ced70ab629fd3788992850b36cf476a9df347c967dd65de11206e319bccb8"],"options":{"allowSyntheticDefaultImports":true,"allowUnreachableCode":false,"allowUnusedLabels":false,"composite":true,"declaration":true,"emitDecoratorMetadata":false,"esModuleInterop":true,"experimentalDecorators":true,"jsx":2,"module":99,"noEmitHelpers":true,"noEmitOnError":false,"noFallthroughCasesInSwitch":true,"noImplicitAny":false,"noImplicitReturns":true,"outDir":"./","preserveValueImports":true,"removeComments":false,"rootDir":"../../src/swipemenu","skipDefaultLibCheck":true,"skipLibCheck":true,"sourceMap":true,"sourceRoot":"../src","target":7},"fileIdsList":[[56,57],[55],[57],[57,59],[57,61],[65,66,67,68,69,70,71,72,73],[74],[55,74,75,76],[57,77],[65,66,67,68,69,70,71,72,73,74]],"referencedMap":[[55,1],[56,2],[57,1],[58,3],[60,4],[62,5],[64,6]],"exportedModulesMap":[[63,7],[55,1],[56,8],[57,1],[58,9],[64,10]],"latestChangedDtsFile":"./index.d.ts"},"version":"4.8.4"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const SwipeMenuComp: import("nativescript-vue").DefineComponent<{}, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {}, string, import("nativescript-vue").VNodeProps & import("nativescript-vue").AllowedComponentProps & import("nativescript-vue").ComponentCustomProps, Readonly<import("nativescript-vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineComponent, h, ref } from 'nativescript-vue';
|
|
2
|
+
export const SwipeMenuComp = defineComponent({
|
|
3
|
+
setup() {
|
|
4
|
+
const swipeMenu = ref();
|
|
5
|
+
const open = (side) => swipeMenu.value.nativeView.open(side);
|
|
6
|
+
const close = (side) => swipeMenu.value.nativeView.close(side);
|
|
7
|
+
const isOpened = (side) => swipeMenu.value.nativeView.isOpened(side);
|
|
8
|
+
const toggle = (side) => swipeMenu.value.nativeView.toggle(side);
|
|
9
|
+
return () => h('SwipeMenu', {
|
|
10
|
+
ref: swipeMenu,
|
|
11
|
+
open,
|
|
12
|
+
close,
|
|
13
|
+
isOpened,
|
|
14
|
+
toggle
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"../src/","sources":["vue3/component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAE3D,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAC;IACzC,KAAK;QACD,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC;QACxB,MAAM,IAAI,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7D,MAAM,KAAK,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAC/D,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAEjE,OAAO,GAAG,EAAE,CACR,CAAC,CAAC,WAAW,EAAE;YACX,GAAG,EAAE,SAAS;YACd,IAAI;YACJ,KAAK;YACL,QAAQ;YACR,MAAM;SACT,CAAC,CAAC;IACX,CAAC;CACJ,CAAC,CAAC"}
|
package/vue3/index.d.ts
ADDED
package/vue3/index.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { SwipeMenuComp } from './component';
|
|
2
|
+
import { install } from '..';
|
|
3
|
+
const SwipeMenuPlugin = {
|
|
4
|
+
install(app) {
|
|
5
|
+
install();
|
|
6
|
+
app.registerElement('SwipeMenu', () => require('../index').SwipeMenu, {
|
|
7
|
+
overwriteExisting: true,
|
|
8
|
+
nodeOps: {
|
|
9
|
+
insert(child, parent) {
|
|
10
|
+
if (child.nativeView['~mainContent'] === '') {
|
|
11
|
+
parent.nativeView.mainContent = child.nativeView;
|
|
12
|
+
}
|
|
13
|
+
else if (child.nativeView['~leftDrawer'] === '') {
|
|
14
|
+
parent.nativeView.leftDrawer = child.nativeView;
|
|
15
|
+
}
|
|
16
|
+
else if (child.nativeView['~rightDrawer'] === '') {
|
|
17
|
+
parent.nativeView.rightDrawer = child.nativeView;
|
|
18
|
+
}
|
|
19
|
+
else if (child.nativeView['~topDrawer'] === '') {
|
|
20
|
+
parent.nativeView.topDrawer = child.nativeView;
|
|
21
|
+
}
|
|
22
|
+
else if (child.nativeView['~bottomDrawer'] === '') {
|
|
23
|
+
parent.nativeView.bottomDrawer = child.nativeView;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
// it seems that we don't need define vue component
|
|
29
|
+
// app.component("SwipeMenu", SwipeMenuComp)
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
export default SwipeMenuPlugin;
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["vue3/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAE7B,MAAM,eAAe,GAAG;IACpB,OAAO,CAAC,GAAQ;QACZ,OAAO,EAAE,CAAC;QAC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