@newview/ui 1.1.91 → 1.1.93

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newview/ui",
3
- "version": "1.1.91",
3
+ "version": "1.1.93",
4
4
  "author": "newview",
5
5
  "type": "module",
6
6
  "main": "./dist/newview-ui.umd.cjs",
package/types/Grid.d.ts CHANGED
@@ -283,6 +283,15 @@ export interface GridMileProp {
283
283
  onChange?: (param:{number:string,mile:string,row,field}) => any;
284
284
  }
285
285
 
286
+ export interface ColorProp {
287
+ format?:String
288
+ alpha?:Boolean
289
+ recommend?:Boolean
290
+ colors?:Array<string>
291
+ capture?:Boolean
292
+ disabled?:Boolean
293
+ }
294
+
286
295
  /**
287
296
  * Option
288
297
  */
@@ -475,7 +484,22 @@ export interface PageConfig {
475
484
  /**
476
485
  * 简洁版
477
486
  */
478
- simple?: boolean
487
+ simple?: boolean,
488
+ /**
489
+ * 快速跳转
490
+ * 默认值: false
491
+ */
492
+ showElevator?: boolean,
493
+ /**
494
+ * 分页尺寸选择
495
+ * 默认值: false
496
+ */
497
+ showSizer?: boolean,
498
+ /**
499
+ * 分页尺寸选项
500
+ * 默认值: [25, 50, 100]
501
+ */
502
+ pageSizeOpts?: Array<number>,
479
503
  }
480
504
  export interface ExportExcelConfig{
481
505
  /**
@@ -668,6 +692,11 @@ export interface GridColumn extends VxeColumnProps {
668
692
  * 该列内容是否作为删除提示
669
693
  */
670
694
  isDelKey?:Boolean
695
+
696
+ /**
697
+ * 颜色选择器参数
698
+ */
699
+ color?:ColorProp
671
700
  }
672
701
 
673
702
  /**