@yuuuu_ovo/ci-web-plugins-commom 2.0.17 → 2.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- const t={zh:{pageSizeLabel:"每页条数",rangeTotal:"显示 {start} 到 {end} 条,共 {total} 条数据",emptyRangeTotal:"显示 0 到 0 条,共 0 条数据"},en:{pageSizeLabel:"Items per page",rangeTotal:"Showing {start} to {end} of {total} items",emptyRangeTotal:"Showing 0 to 0 of 0 items"}};function e(t){const e=String(t||"").toLowerCase();return"en"===e||"en-us"===e?"en":"zh"}function a(a){return t[e(a)]}function n({currentPage:t=1,pageSize:e=20,total:n=0,locale:o}={}){const r=a(o),g=Number(n||0);if(!g)return r.emptyRangeTotal;const l=Math.max(Number(t||1),1),i=Math.max(Number(e||1),1),m=Math.min((l-1)*i+1,g),s=Math.min(l*i,g);return u=r.rangeTotal,c={start:m,end:s,total:g},u.replace(/\{(\w+)\}/g,((t,e)=>c[e]??""));var u,c}export{n as formatVxePagerRangeTotal,a as getVxePagerLocaleMessages,e as normalizeVxePagerLocale};
1
+ const t={zh:{pageSizeLabel:"每页条数",rangeTotal:"显示 {start} 到 {end} 条,共 {total} 条数据",emptyRangeTotal:""},en:{pageSizeLabel:"Items per page",rangeTotal:"Showing {start} to {end} of {total} items",emptyRangeTotal:""}};function e(t){const e=String(t||"").toLowerCase();return"en"===e||"en-us"===e?"en":"zh"}function a(a){return t[e(a)]}function n({currentPage:t=1,pageSize:e=20,total:n=0,locale:r}={}){const o=a(r),l=Number(n||0);if(!l)return o.emptyRangeTotal;const g=Math.max(Number(t||1),1),i=Math.max(Number(e||1),1),m=Math.min((g-1)*i+1,l),u=Math.min(g*i,l);return s=o.rangeTotal,c={start:m,end:u,total:l},s.replace(/\{(\w+)\}/g,((t,e)=>c[e]??""));var s,c}export{n as formatVxePagerRangeTotal,a as getVxePagerLocaleMessages,e as normalizeVxePagerLocale};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yuuuu_ovo/ci-web-plugins-commom",
3
3
  "private": false,
4
- "version": "2.0.17",
4
+ "version": "2.0.18",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "moushangjie",