@newview/ui 0.0.6 → 0.0.7
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 +7574 -3912
- package/dist/newview-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/types/Grid.d.ts +25 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newview/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"author": "newview",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/newview-ui.umd.cjs",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@newview/base-vue": "^0.0.3",
|
|
35
35
|
"@newview/infrastructure": "^0.0.4",
|
|
36
36
|
"@newview/tools": "^0.0.1",
|
|
37
|
-
"ace-builds": "1.23.1",
|
|
38
|
-
"bin-editor-next": "1.1.0",
|
|
37
|
+
"ace-builds": "^1.23.1",
|
|
38
|
+
"bin-editor-next": "^1.1.0",
|
|
39
39
|
"dayjs": "1.11.7",
|
|
40
40
|
"jquery": "3.6.3",
|
|
41
41
|
"jszip": "3.10.1",
|
package/types/Grid.d.ts
CHANGED
|
@@ -153,6 +153,18 @@ export interface GridInputNumberProp {
|
|
|
153
153
|
step?: number
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
+
/**
|
|
157
|
+
* TreeSelect data参数
|
|
158
|
+
*/
|
|
159
|
+
export interface GridTreeSelectOptionProp {
|
|
160
|
+
title: any,
|
|
161
|
+
value: any,
|
|
162
|
+
expand?: boolean,
|
|
163
|
+
selected?: boolean,
|
|
164
|
+
checked?: boolean,
|
|
165
|
+
children?: GridTreeSelectOptionProp[]
|
|
166
|
+
}
|
|
167
|
+
|
|
156
168
|
/**
|
|
157
169
|
* Option
|
|
158
170
|
*/
|
|
@@ -173,6 +185,13 @@ export interface GridSelectProp {
|
|
|
173
185
|
clearable?: boolean
|
|
174
186
|
}
|
|
175
187
|
|
|
188
|
+
/**
|
|
189
|
+
* 树形下拉配置
|
|
190
|
+
*/
|
|
191
|
+
export interface GridTreeSelectProp {
|
|
192
|
+
data?: GridTreeSelectOptionProp[]
|
|
193
|
+
}
|
|
194
|
+
|
|
176
195
|
/**
|
|
177
196
|
* 自动完成组件参数
|
|
178
197
|
*/
|
|
@@ -342,7 +361,7 @@ export interface GridColumn extends VxeColumnProps {
|
|
|
342
361
|
/**
|
|
343
362
|
* 列类型
|
|
344
363
|
*/
|
|
345
|
-
colType?: "ed" | "auto" | "num" | "select" | "date" | "time" | "ro" | 'seq' | 'radio' | 'checkbox' | 'expand';
|
|
364
|
+
colType?: "ed" | "auto" | "num" | "select" | "date" | "time" | "ro" | 'seq' | 'radio' | 'checkbox' | 'expand' | 'treeSelect';
|
|
346
365
|
|
|
347
366
|
/**
|
|
348
367
|
* 行按钮
|
|
@@ -393,6 +412,11 @@ export interface GridColumn extends VxeColumnProps {
|
|
|
393
412
|
* 默认值
|
|
394
413
|
*/
|
|
395
414
|
defaultValue?: any;
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* 树形下拉框参数
|
|
418
|
+
*/
|
|
419
|
+
treeSelect?: GridTreeSelectProp
|
|
396
420
|
}
|
|
397
421
|
|
|
398
422
|
/**
|