@pisell/materials 2.2.6 → 2.2.8
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +2 -2
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +11 -11
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +13 -13
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +16 -0
- package/es/components/drag-sort-tree/TreeItem/index.js +196 -0
- package/es/components/drag-sort-tree/TreeItem/index.less +41 -0
- package/es/components/drag-sort-tree/index.d.ts +5 -0
- package/es/components/drag-sort-tree/index.js +91 -0
- package/es/components/drag-sort-tree/index.less +4 -0
- package/es/components/drag-sort-tree/types.d.ts +20 -0
- package/es/components/drag-sort-tree/types.js +1 -0
- package/es/components/drawer/index.d.ts +1 -1
- package/es/components/drawer/index.js +23 -17
- package/es/components/drawer/index.less +25 -1
- package/es/components/table/Actions/component/ColumnsSetting/PopoverContent.less +2 -1
- package/es/components/table/BasicTable/index.js +5 -2
- package/es/components/tabs/index.d.ts +4 -4
- package/es/components/tabs/index.js +10 -9
- package/es/index.d.ts +81 -80
- package/es/index.js +40 -39
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +16 -0
- package/lib/components/drag-sort-tree/TreeItem/index.js +183 -0
- package/lib/components/drag-sort-tree/TreeItem/index.less +41 -0
- package/lib/components/drag-sort-tree/index.d.ts +5 -0
- package/lib/components/drag-sort-tree/index.js +115 -0
- package/lib/components/drag-sort-tree/index.less +4 -0
- package/lib/components/drag-sort-tree/types.d.ts +20 -0
- package/lib/components/drag-sort-tree/types.js +17 -0
- package/lib/components/drawer/index.d.ts +1 -1
- package/lib/components/drawer/index.js +4 -1
- package/lib/components/drawer/index.less +25 -1
- package/lib/components/table/Actions/component/ColumnsSetting/PopoverContent.less +2 -1
- package/lib/components/table/BasicTable/index.js +2 -2
- package/lib/components/tabs/index.d.ts +4 -4
- package/lib/components/tabs/index.js +3 -1
- package/lib/index.d.ts +81 -80
- package/lib/index.js +3 -0
- package/lowcode/drag-sort-tree/__screenshots__/drag-sort-tree.png +0 -0
- package/lowcode/drag-sort-tree/meta.ts +108 -0
- package/lowcode/drag-sort-tree/snippets.ts +57 -0
- package/lowcode/tabs/meta.ts +9 -0
- package/package.json +2 -2
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export default [
|
|
2
|
+
{
|
|
3
|
+
title: '拖拽排序',
|
|
4
|
+
// screenshot: require('./__screenshots__/drag-sort-tree.png'),
|
|
5
|
+
schema: {
|
|
6
|
+
componentName: 'DragSortTree',
|
|
7
|
+
props: {
|
|
8
|
+
value: [{
|
|
9
|
+
"id": 1,
|
|
10
|
+
"title": "资源1",
|
|
11
|
+
"show": true,
|
|
12
|
+
"children": [{
|
|
13
|
+
"id": 11,
|
|
14
|
+
"title": "资源1-1",
|
|
15
|
+
"is_available": 1,
|
|
16
|
+
"type_id": 1
|
|
17
|
+
}, {
|
|
18
|
+
"id": 12,
|
|
19
|
+
"title": "资源1-2",
|
|
20
|
+
"is_available": 1,
|
|
21
|
+
"type_id": 1
|
|
22
|
+
}]
|
|
23
|
+
}, {
|
|
24
|
+
"id": 2,
|
|
25
|
+
"title": "资源2",
|
|
26
|
+
"show": false,
|
|
27
|
+
"children": [{
|
|
28
|
+
"id": 21,
|
|
29
|
+
"title": "资源2-1",
|
|
30
|
+
"is_available": 0,
|
|
31
|
+
"type_id": 2
|
|
32
|
+
}, {
|
|
33
|
+
"id": 22,
|
|
34
|
+
"title": "资源2-2",
|
|
35
|
+
"is_available": 1,
|
|
36
|
+
"type_id": 2
|
|
37
|
+
}]
|
|
38
|
+
}, {
|
|
39
|
+
"id": 3,
|
|
40
|
+
"title": "资源3",
|
|
41
|
+
"show": true,
|
|
42
|
+
"children": [{
|
|
43
|
+
"id": 31,
|
|
44
|
+
"title": "资源3-1",
|
|
45
|
+
"is_available": 1,
|
|
46
|
+
"type_id": 3
|
|
47
|
+
}, {
|
|
48
|
+
"id": 32,
|
|
49
|
+
"title": "资源3-2",
|
|
50
|
+
"is_available": 0,
|
|
51
|
+
"type_id": 3
|
|
52
|
+
}]
|
|
53
|
+
}]
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
}
|
|
57
|
+
];
|
package/lowcode/tabs/meta.ts
CHANGED
|
@@ -380,6 +380,15 @@ export default {
|
|
|
380
380
|
setter: "NumberSetter",
|
|
381
381
|
supportVariable: true,
|
|
382
382
|
},
|
|
383
|
+
{
|
|
384
|
+
name: 'className',
|
|
385
|
+
title: {
|
|
386
|
+
label: '样式类名',
|
|
387
|
+
tip: 'className | 样式类名',
|
|
388
|
+
},
|
|
389
|
+
propType: 'string',
|
|
390
|
+
setter: 'StringSetter',
|
|
391
|
+
},
|
|
383
392
|
{
|
|
384
393
|
name: "tabBarStyle",
|
|
385
394
|
title: { label: "tab bar的样式对象", tip: "tab bar的样式对象" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.8",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"react-virtualized-auto-sizer": "^1.0.20",
|
|
63
63
|
"crypto-js": "^4.2.0",
|
|
64
64
|
"@pisell/utils": "1.0.25",
|
|
65
|
-
"@pisell/icon": "0.0.
|
|
65
|
+
"@pisell/icon": "0.0.11",
|
|
66
66
|
"@pisell/date-picker": "1.0.74"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|