@opentiny/vue-pager
Advanced tools
Comparing version 3.1.0-alpha.0 to 3.4.7
@@ -130,2 +130,3 @@ import { createVNode, resolveComponent, createTextVNode } from 'vue'; | ||
}, null), | ||
current: createVNode(resolveComponent("current"), null, null), | ||
pager: createVNode(resolveComponent("pager"), { | ||
@@ -190,2 +191,15 @@ "isBeforePageChange": this.isBeforePageChange, | ||
}, | ||
Current: { | ||
render: function render() { | ||
var internalCurrentPage = this.$parent.internalCurrentPage; | ||
return createVNode("div", { | ||
"class": "tiny-pager__group tiny-unselect" | ||
}, [createVNode("ul", { | ||
"class": "tiny-pager__pages" | ||
}, [createVNode("li", { | ||
"class": "is-active", | ||
"textContent": internalCurrentPage | ||
}, null)])]); | ||
} | ||
}, | ||
Sizes: { | ||
@@ -242,3 +256,3 @@ props: { | ||
return createVNode("div", { | ||
"class": "tiny-pager__selector-body" | ||
"class": "tiny-pager tiny-pager__selector-body" | ||
}, [createVNode("ul", { | ||
@@ -425,3 +439,3 @@ "class": "tiny-pager__selector-poplist" | ||
} | ||
}, ['GO'])])]); | ||
}, [t('ui.page.goto')])])]); | ||
} | ||
@@ -617,3 +631,3 @@ }, | ||
this.mode === 'number' && (layout = 'total, sizes, prev, pager, next, jumper'); | ||
this.mode === 'simple' && (layout = 'sizes, total, prev, next, '); | ||
this.mode === 'simple' && (layout = 'sizes, total, prev, current, next'); | ||
this.mode === 'complete' && (layout = 'sizes, total, prev, pager, next, jumper'); | ||
@@ -668,4 +682,4 @@ this.mode === 'fixed' && (layout = 'prev,pager,next'); | ||
}; | ||
script.version = '3.1.0-alpha.0'; | ||
script.version = '3.4.7'; | ||
export { script as default }; |
{ | ||
"name": "@opentiny/vue-pager", | ||
"version": "3.1.0-alpha.0", | ||
"version": "3.4.7", | ||
"description": "", | ||
@@ -12,13 +12,14 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.1.0-alpha.0", | ||
"@opentiny/vue-icon": "~3.1.0-alpha.0", | ||
"@opentiny/vue-popover": "~3.1.0-alpha.0", | ||
"@opentiny/vue-locale": "~3.1.0-alpha.0", | ||
"@opentiny/vue-pager-item": "~3.1.0-alpha.0", | ||
"@opentiny/vue-common": "~3.1.0-alpha.0", | ||
"@opentiny/vue-theme": "~3.1.0-alpha.0", | ||
"@opentiny/vue-theme-mobile": "~3.1.0-alpha.0" | ||
"@opentiny/vue-renderless": "~3.4.0", | ||
"@opentiny/vue-icon": "~3.4.7", | ||
"@opentiny/vue-popover": "~3.4.7", | ||
"@opentiny/vue-locale": "~3.4.7", | ||
"@opentiny/vue-pager-item": "~3.4.7", | ||
"@opentiny/vue-common": "~3.4.7", | ||
"@opentiny/vue-theme": "~3.4.0", | ||
"@opentiny/vue-theme-mobile": "~3.4.0" | ||
}, | ||
"license": "MIT", | ||
"types": "index.d.ts", | ||
"sideEffects": false | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
27909
4
808
1
2
80
+ Added@babel/runtime@7.18.3(transitive)
+ Added@opentiny/vue-common@3.4.7(transitive)
+ Added@opentiny/vue-icon@3.4.8(transitive)
+ Added@opentiny/vue-locale@3.4.7(transitive)
+ Added@opentiny/vue-pager-item@3.4.7(transitive)
+ Added@opentiny/vue-popover@3.4.7(transitive)
+ Added@opentiny/vue-renderless@3.4.7(transitive)
+ Added@opentiny/vue-theme@3.4.7(transitive)
+ Added@opentiny/vue-theme-mobile@3.4.7(transitive)
+ Addedregenerator-runtime@0.13.11(transitive)
- Removed@babel/runtime@7.26.9(transitive)
- Removed@opentiny/vue-common@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-icon@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-locale@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-pager-item@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-popover@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-renderless@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-theme@3.1.0-alpha.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.1.0-alpha.0(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
Updated@opentiny/vue-common@~3.4.7
Updated@opentiny/vue-icon@~3.4.7
Updated@opentiny/vue-locale@~3.4.7
Updated@opentiny/vue-popover@~3.4.7
Updated@opentiny/vue-theme@~3.4.0