@nativescript-community/ui-collectionview-swipemenu 6.0.8 → 6.0.10

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
+ ## [6.0.10](https://github.com/nativescript-community/ui-collectionview/compare/v6.0.9...v6.0.10) (2025-10-04)
7
+
8
+ **Note:** Version bump only for package @nativescript-community/ui-collectionview-swipemenu
9
+
10
+ ## [6.0.9](https://github.com/nativescript-community/ui-collectionview/compare/v6.0.8...v6.0.9) (2025-10-03)
11
+
12
+ **Note:** Version bump only for package @nativescript-community/ui-collectionview-swipemenu
13
+
6
14
  ## [6.0.8](https://github.com/nativescript-community/ui-collectionview/compare/v6.0.7...v6.0.8) (2025-10-02)
7
15
 
8
16
  **Note:** Version bump only for package @nativescript-community/ui-collectionview-swipemenu
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript-community/ui-collectionview-swipemenu",
3
- "version": "6.0.8",
3
+ "version": "6.0.10",
4
4
  "description": "A NativeScript CollectionView SwipeMenu Plugin.",
5
5
  "main": "./index",
6
6
  "funding": "https://github.com/sponsors/farfromrefug",
@@ -41,8 +41,8 @@
41
41
  "homepage": "https://github.com/nativescript-community/ui-collectionview#readme",
42
42
  "dependencies": {
43
43
  "@nativescript-community/class-mixins": "^1.0.0",
44
- "@nativescript-community/ui-collectionview": "^6.0.8",
45
- "@nativescript-community/ui-drawer": "^0.1.27"
44
+ "@nativescript-community/ui-collectionview": "^6.0.10",
45
+ "@nativescript-community/ui-drawer": "^0.1.31"
46
46
  },
47
- "gitHead": "93583ecdd8f9bb4d35449fe5b386398a92b509ac"
47
+ "gitHead": "d7d6da6d4ea2530cf7eb25ea3d757399cac9d881"
48
48
  }
@@ -1,3 +0,0 @@
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").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
package/vue3/component.js DELETED
@@ -1,18 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/swipemenu/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 DELETED
@@ -1,4 +0,0 @@
1
- declare const SwipeMenuPlugin: {
2
- install(app: any): void;
3
- };
4
- export default SwipeMenuPlugin;
package/vue3/index.js DELETED
@@ -1,32 +0,0 @@
1
- import { install } from '..';
2
- const SwipeMenuPlugin = {
3
- install(app) {
4
- install();
5
- app.registerElement('SwipeMenu', () => require('../index').SwipeMenu, {
6
- overwriteExisting: true,
7
- nodeOps: {
8
- insert(child, parent) {
9
- if (child.nativeView['~mainContent'] === '') {
10
- parent.nativeView.mainContent = child.nativeView;
11
- }
12
- else if (child.nativeView['~leftDrawer'] === '') {
13
- parent.nativeView.leftDrawer = child.nativeView;
14
- }
15
- else if (child.nativeView['~rightDrawer'] === '') {
16
- parent.nativeView.rightDrawer = child.nativeView;
17
- }
18
- else if (child.nativeView['~topDrawer'] === '') {
19
- parent.nativeView.topDrawer = child.nativeView;
20
- }
21
- else if (child.nativeView['~bottomDrawer'] === '') {
22
- parent.nativeView.bottomDrawer = child.nativeView;
23
- }
24
- }
25
- }
26
- });
27
- // it seems that we don't need define vue component
28
- // app.component("SwipeMenu", SwipeMenuComp)
29
- }
30
- };
31
- export default SwipeMenuPlugin;
32
- //# sourceMappingURL=index.js.map
package/vue3/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/swipemenu/vue3/index.ts"],"names":[],"mappings":"AACA,OA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