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

@opentiny/vue-pager-item

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-pager-item - npm Package Compare versions

Comparing version 3.12.0 to 3.13.0-alpha.0

8

lib/index.js

@@ -20,6 +20,8 @@ function _extends() {

var template = function template2(mode) {
if ("pc" === (process.env.TINY_MODE || mode)) {
var _process$env;
var tinyMode = typeof process === "object" ? (_process$env = process.env) == null ? void 0 : _process$env.TINY_MODE : null;
if ("pc" === (tinyMode || mode)) {
return PcTemplate;
}
if ("mobile-first" === (process.env.TINY_MODE || mode)) {
if ("mobile-first" === (tinyMode || mode)) {
return MobileFirstTemplate;

@@ -61,3 +63,3 @@ }

};
var version = "3.12.0";
var version = "3.13.0-alpha.0";
PagerItem.install = function(Vue) {

@@ -64,0 +66,0 @@ Vue.component(PagerItem.name, PagerItem);

@@ -59,4 +59,3 @@ import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";

var _sfc_main = defineComponent({
inheritAttrs: false,
emits: ["click"],
emits: ["click", "change"],
components: {

@@ -84,5 +83,7 @@ IconPopup: IconPopup(),

{
"data-tag": "tiny-pager-item",
class: normalizeClass(_ctx.gcls("pager-group"))
},
[createElementVNode("ul", {
"data-tag": "pager-item-content",
class: "inline-flex text-xs",

@@ -96,2 +97,3 @@ onClick: _cache[4] || (_cache[4] = function() {

key: 0,
"data-tag": "pager-item-hover",
class: normalizeClass(_ctx.m(_ctx.gcls("li"), _ctx.gcls("li-hover"), _ctx.gcls({

@@ -109,2 +111,3 @@ "is-active": _ctx.currentPage === 1

key: 1,
"data-tag": "pager-item-premore",
class: normalizeClass(_ctx.m(_ctx.gcls("li"), _ctx.gcls("dot"))),

@@ -128,2 +131,3 @@ onMouseenter: _cache[0] || (_cache[0] = function($event) {

return openBlock(), createElementBlock("li", {
"data-tag": "pager-item-pager",
key: pager,

@@ -142,2 +146,3 @@ class: normalizeClass(_ctx.m(_ctx.gcls("li"), _ctx.gcls("li-hover"), _ctx.gcls({

key: 2,
"data-tag": "pager-item-nextmore",
class: normalizeClass(_ctx.m(_ctx.gcls("li"), _ctx.gcls("dot"))),

@@ -158,2 +163,3 @@ onMouseenter: _cache[2] || (_cache[2] = function($event) {

key: 3,
"data-tag": "pager-item-active",
class: normalizeClass(["hover:text-color-brand-hover", _ctx.m(_ctx.gcls("li"), _ctx.gcls({

@@ -160,0 +166,0 @@ "is-active": _ctx.pageCount === _ctx.currentPage

@@ -52,2 +52,3 @@ import { defineComponent, $prefix, setup as _setup } from "@opentiny/vue-common";

name: $prefix + "PagerItem",
emits: ["click", "change"],
components: {

@@ -54,0 +55,0 @@ IconPopup: iconPopup(),

{
"name": "@opentiny/vue-pager-item",
"version": "3.12.0",
"version": "3.13.0-alpha.0",
"description": "",

@@ -10,5 +10,5 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-renderless": "~3.12.0",
"@opentiny/vue-icon": "~3.12.0",
"@opentiny/vue-locale": "~3.12.0"
"@opentiny/vue-renderless": "~3.13.0-alpha.0",
"@opentiny/vue-icon": "~3.13.0-alpha.0",
"@opentiny/vue-locale": "~3.13.0-alpha.0"
},

@@ -15,0 +15,0 @@ "license": "MIT",

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