@newview/ui 1.1.12 → 1.1.13
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/dist/newview-ui.js +626 -461
- package/dist/newview-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +6 -4
- package/types/Grid.d.ts +8 -0
- package/types/Toolbar.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newview/ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"author": "newview",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/newview-ui.umd.cjs",
|
|
@@ -25,11 +25,13 @@
|
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"dev": "vite",
|
|
28
|
-
"build": "run-p type-check build-
|
|
28
|
+
"build": "run-p type-check build-watch",
|
|
29
29
|
"preview": "vite preview",
|
|
30
|
-
"build-only": "vite build
|
|
30
|
+
"build-only": "vite build",
|
|
31
|
+
"build-watch": "vite build --watch",
|
|
31
32
|
"type-check": "vue-tsc --noEmit",
|
|
32
|
-
"p": "npm publish --access public"
|
|
33
|
+
"p": "npm publish --access public",
|
|
34
|
+
"build-p":"run-p type-check build-only p"
|
|
33
35
|
},
|
|
34
36
|
"dependencies": {
|
|
35
37
|
"@newview/base-vue": "^1.1.0",
|
package/types/Grid.d.ts
CHANGED
|
@@ -301,6 +301,14 @@ export interface GridSetting {
|
|
|
301
301
|
* 显示标题
|
|
302
302
|
*/
|
|
303
303
|
showHeader?: boolean;
|
|
304
|
+
/**
|
|
305
|
+
* 给行附加 className
|
|
306
|
+
*/
|
|
307
|
+
rowClassName?: VxeTablePropTypes.RowClassName;
|
|
308
|
+
/**
|
|
309
|
+
* 给单元格附加 className
|
|
310
|
+
*/
|
|
311
|
+
cellClassName?: VxeTablePropTypes.CellClassName;
|
|
304
312
|
/**
|
|
305
313
|
* 双切换展开树
|
|
306
314
|
*/
|
package/types/Toolbar.d.ts
CHANGED
|
@@ -23,9 +23,9 @@ export declare interface ToolbarOption {
|
|
|
23
23
|
*/
|
|
24
24
|
onclick?: Function;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* 类型
|
|
27
27
|
*/
|
|
28
|
-
type?: "default" | "primary" | "dashed" | "text" | "info" | "success" | "warning" | "error";
|
|
28
|
+
type?: "divider" | "default" | "primary" | "dashed" | "text" | "info" | "success" | "warning" | "error";
|
|
29
29
|
/**
|
|
30
30
|
* 样式
|
|
31
31
|
*/
|