Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

swiper-next

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swiper-next - npm Package Compare versions

Comparing version 0.0.6 to 0.1.0

2

lib/src/components/swiper-item/swiper-item.js

@@ -62,3 +62,3 @@ "use strict";

},
"className": "swiper-next-item"
"class": "swiper-next-item"
}, [slots.default && slots.default()]);

@@ -65,0 +65,0 @@ }

"use strict";
const vue = require("vue");
require("@vue/shared");
const shared = require("@vue/shared");
const component = require("../../helpers/component.js");

@@ -619,18 +619,18 @@ const useEvent = require("../../helpers/useEvent.js");

"ref": rootRef,
"className": "swiper-next"
"class": "swiper-next"
}, [vue.createVNode("div", {
"ref": slidesWrapperRef,
"className": "swiper-next__wrapper"
"class": "swiper-next__wrapper"
}, [vue.createVNode("div", {
"className": "swiper-next__slides",
"class": "swiper-next__slides",
"style": slidesStyle.value
}, [vue.createVNode("div", {
"ref": slideFrameRef,
"className": "swiper-next__slide-frame",
"class": "swiper-next__slide-frame",
"style": slideFrameStyle.value
}, [defaultSlots])]), props2.indicatorDots && vue.createVNode("div", {
"className": ["swiper-next__dots", props2.vertical ? "swiper-next__dots-vertical" : "swiper-next__dots-horizontal"]
"class": ["swiper-next__dots", props2.vertical ? "swiper-next__dots-vertical" : "swiper-next__dots-horizontal"]
}, [swiperContexts.value.map((_, index, array) => vue.createVNode("div", {
"onClick": () => onSwiperDotClick(index),
"className": {
"class": {
"swiper-next__dot": true,

@@ -741,12 +741,16 @@ "swiper-next__dot-active": index < state.current + state.displayMultipleItems && index >= state.current || index < state.current + state.displayMultipleItems - array.length

function createNavigationTsx() {
({
const navigationClass = {
"swiper-next__navigation-hide": hideNavigation.value,
"swiper-next__navigation-vertical": props2.vertical
});
};
if (props2.navigation) {
return vue.createVNode(vue.Fragment, null, [vue.createVNode("div", vue.mergeProps({
"className": "swiper-next__navigation swiper-next__navigation-prev",
"class": ["swiper-next__navigation swiper-next__navigation-prev", shared.extend({
"swiper-next__navigation-disabled": prevDisabled
}, navigationClass)],
"onClick": (e) => navigationClick(e, "prev", prevDisabled)
}, navigationAttr), [createNavigationSVG()]), vue.createVNode("div", vue.mergeProps({
"className": "swiper-next__navigation swiper-next__navigation-next",
"class": ["swiper-next__navigation swiper-next__navigation-next", shared.extend({
"swiper-next__navigation-disabled": nextDisabled
}, navigationClass)],
"onClick": (e) => navigationClick(e, "next", nextDisabled)

@@ -753,0 +757,0 @@ }, navigationAttr), [createNavigationSVG()])]);

{
"name": "swiper-next",
"version": "0.0.6",
"version": "0.1.0",
"description": "Vue3 的 Swiper 组件",

@@ -39,3 +39,2 @@ "main": "lib/index.js",

"devDependencies": {
"vue": "^3.4.34",
"@rollup/plugin-replace": "^5.0.7",

@@ -46,2 +45,4 @@ "@vitejs/plugin-vue": "^5.1.1",

"cssnano": "^7.0.4",
"eslint": "^8.57.0",
"eslint-config-light-vue3": "^0.0.4",
"rollup-plugin-copy": "^3.5.0",

@@ -51,3 +52,4 @@ "rollup-plugin-delete": "^2.0.0",

"vite": "^5.3.5",
"vite-plugin-dts": "4.0.0-beta.1"
"vite-plugin-dts": "4.0.0-beta.1",
"vue": "^3.4.34"
},

@@ -54,0 +56,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc