@newview/ui 1.1.91 → 1.1.92
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.
- package/README.md +3 -0
- package/dist/newview-ui.js +64 -11
- package/dist/newview-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/types/Grid.d.ts +16 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newview/ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.92",
|
|
4
4
|
"author": "newview",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/newview-ui.umd.cjs",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"build-watch": "vite build --watch",
|
|
24
24
|
"type-check": "vue-tsc --noEmit",
|
|
25
25
|
"p": "npm publish --access public",
|
|
26
|
-
"build-p": "run-
|
|
26
|
+
"build-p": "run-s type-check build-only p"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@js-preview/docx": "^1.6.2",
|
package/types/Grid.d.ts
CHANGED
|
@@ -475,7 +475,22 @@ export interface PageConfig {
|
|
|
475
475
|
/**
|
|
476
476
|
* 简洁版
|
|
477
477
|
*/
|
|
478
|
-
simple?: boolean
|
|
478
|
+
simple?: boolean,
|
|
479
|
+
/**
|
|
480
|
+
* 快速跳转
|
|
481
|
+
* 默认值: false
|
|
482
|
+
*/
|
|
483
|
+
showElevator?: boolean,
|
|
484
|
+
/**
|
|
485
|
+
* 分页尺寸选择
|
|
486
|
+
* 默认值: false
|
|
487
|
+
*/
|
|
488
|
+
showSizer?: boolean,
|
|
489
|
+
/**
|
|
490
|
+
* 分页尺寸选项
|
|
491
|
+
* 默认值: [25, 50, 100]
|
|
492
|
+
*/
|
|
493
|
+
pageSizeOpts?: Array<number>,
|
|
479
494
|
}
|
|
480
495
|
export interface ExportExcelConfig{
|
|
481
496
|
/**
|