@newview/ui 1.1.92 → 1.1.94
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 +6 -0
- package/dist/newview-ui.js +15 -7
- package/dist/newview-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/types/Grid.d.ts +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newview/ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.94",
|
|
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-p type-check build-only p"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@js-preview/docx": "^1.6.2",
|
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
|
*/
|
|
@@ -683,6 +692,11 @@ export interface GridColumn extends VxeColumnProps {
|
|
|
683
692
|
* 该列内容是否作为删除提示
|
|
684
693
|
*/
|
|
685
694
|
isDelKey?:Boolean
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* 颜色选择器参数
|
|
698
|
+
*/
|
|
699
|
+
color?:ColorProp
|
|
686
700
|
}
|
|
687
701
|
|
|
688
702
|
/**
|