@opentiny/vue-pager-item
Advanced tools
Comparing version 3.12.0 to 3.13.0-alpha.0
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
0
100
2
15885
5
410
2
+ Added@opentiny/vue-common@3.13.1(transitive)
+ Added@opentiny/vue-icon@3.13.0(transitive)
+ Added@opentiny/vue-locale@3.13.0(transitive)
+ Added@opentiny/vue-renderless@3.13.2(transitive)
+ Added@opentiny/vue-theme@3.13.3(transitive)
+ Added@opentiny/vue-theme-mobile@3.13.0(transitive)
- Removed@opentiny/vue-common@3.12.0(transitive)
- Removed@opentiny/vue-icon@3.12.0(transitive)
- Removed@opentiny/vue-locale@3.12.0(transitive)
- Removed@opentiny/vue-renderless@3.12.1(transitive)
- Removed@opentiny/vue-theme@3.12.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.12.0(transitive)