@opentiny/vue-pager-item
Advanced tools
Comparing version 3.13.0 to 3.14.0
@@ -62,3 +62,3 @@ function _extends() { | ||
}; | ||
var version = "3.13.0"; | ||
var version = "3.14.0"; | ||
PagerItem.install = function(Vue) { | ||
@@ -65,0 +65,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.13.0", | ||
"version": "3.14.0", | ||
"description": "", | ||
@@ -10,5 +10,6 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.13.0", | ||
"@opentiny/vue-icon": "~3.13.0", | ||
"@opentiny/vue-locale": "~3.13.0" | ||
"@opentiny/vue-renderless": "~3.14.0", | ||
"@opentiny/vue-icon": "~3.14.0", | ||
"@opentiny/vue-locale": "~3.14.0", | ||
"@opentiny/vue-common": "~3.14.0" | ||
}, | ||
@@ -15,0 +16,0 @@ "license": "MIT", |
@@ -17,3 +17,3 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
doubleRightIcon?: any; | ||
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "click"[], "click", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "click")[], "change" | "click", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
disabled?: any; | ||
@@ -35,2 +35,3 @@ tiny_mode?: any; | ||
}>>> & { | ||
onChange?: ((...args: any[]) => any) | undefined; | ||
onClick?: ((...args: any[]) => any) | undefined; | ||
@@ -37,0 +38,0 @@ }, { |
@@ -36,3 +36,3 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{ | ||
gcls: (key: any) => any; | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{ | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "click")[], "change" | "click", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{ | ||
disabled: { | ||
@@ -64,3 +64,6 @@ type: BooleanConstructor; | ||
isBeforePageChange: BooleanConstructor; | ||
}>>, { | ||
}>> & { | ||
onChange?: ((...args: any[]) => any) | undefined; | ||
onClick?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
disabled: boolean; | ||
@@ -67,0 +70,0 @@ isBeforePageChange: boolean; |
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
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
26872
609
4
+ Added@opentiny/vue-common@~3.14.0
+ Added@opentiny/vue-common@3.14.0(transitive)
+ Added@opentiny/vue-icon@3.14.0(transitive)
+ Added@opentiny/vue-locale@3.14.0(transitive)
+ Added@opentiny/vue-renderless@3.14.1(transitive)
+ Added@opentiny/vue-theme@3.14.1(transitive)
+ Added@opentiny/vue-theme-mobile@3.14.2(transitive)
- Removed@opentiny/vue-common@3.13.1(transitive)
- Removed@opentiny/vue-icon@3.13.0(transitive)
- Removed@opentiny/vue-locale@3.13.0(transitive)
- Removed@opentiny/vue-renderless@3.13.2(transitive)
- Removed@opentiny/vue-theme@3.13.3(transitive)
- Removed@opentiny/vue-theme-mobile@3.13.0(transitive)
Updated@opentiny/vue-icon@~3.14.0
Updated@opentiny/vue-locale@~3.14.0