@king-design/intact 3.1.0-beta.1 → 3.1.0-beta.3
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/components/colorpicker/styles.ts +4 -4
- package/components/copy/index.spec.ts +28 -0
- package/components/copy/index.ts +2 -0
- package/components/copy/useCopy.ts +9 -4
- package/components/dialog/base.ts +1 -1
- package/components/dialog/base.vdt +2 -2
- package/components/dialog/styles.ts +1 -0
- package/components/editable/index.vdt +7 -5
- package/components/layout/aside.ts +4 -2
- package/components/layout/body.ts +2 -0
- package/components/layout/index.md +1 -0
- package/components/layout/styles.ts +10 -2
- package/components/layout/useParse.ts +1 -1
- package/components/menu/demos/basic.md +1 -1
- package/components/menu/item.vdt +17 -2
- package/components/menu/menu.ts +4 -0
- package/components/menu/menu.vdt +1 -1
- package/components/menu/styles.ts +20 -16
- package/components/menu/useDropdown.ts +3 -6
- package/components/message/styles.ts +2 -2
- package/components/select/styles.ts +1 -1
- package/components/table/cell.vdt +1 -1
- package/components/table/column.vdt +1 -1
- package/components/table/row.vdt +2 -2
- package/components/table/styles.ts +2 -2
- package/components/table/table.vdt +1 -1
- package/components/table/useFixedColumns.ts +3 -2
- package/components/tooltip/styles.ts +1 -1
- package/components/tree/demos/draggable.md +63 -48
- package/components/tree/index.md +4 -3
- package/components/tree/index.spec.ts +39 -40
- package/components/tree/index.ts +8 -3
- package/components/tree/styles.ts +2 -0
- package/components/tree/useDraggable.ts +5 -5
- package/components/tree/useExpanded.ts +1 -1
- package/components/tree/useNodes.ts +1 -0
- package/components/treeSelect/index.md +7 -1
- package/components/treeSelect/index.ts +4 -0
- package/es/components/colorpicker/styles.js +2 -2
- package/es/components/copy/index.d.ts +1 -0
- package/es/components/copy/index.js +2 -1
- package/es/components/copy/index.spec.js +64 -1
- package/es/components/copy/useCopy.d.ts +1 -1
- package/es/components/copy/useCopy.js +11 -5
- package/es/components/dialog/base.js +1 -1
- package/es/components/dialog/base.vdt.js +3 -3
- package/es/components/dialog/styles.js +1 -1
- package/es/components/editable/index.vdt.js +8 -5
- package/es/components/layout/aside.d.ts +1 -0
- package/es/components/layout/aside.js +5 -3
- package/es/components/layout/body.js +2 -1
- package/es/components/layout/styles.d.ts +2 -1
- package/es/components/layout/styles.js +7 -2
- package/es/components/layout/useParse.js +1 -1
- package/es/components/menu/item.vdt.js +22 -2
- package/es/components/menu/menu.d.ts +1 -0
- package/es/components/menu/menu.js +2 -1
- package/es/components/menu/menu.vdt.js +1 -1
- package/es/components/menu/styles.d.ts +1 -0
- package/es/components/menu/styles.js +10 -2
- package/es/components/menu/useDropdown.js +3 -6
- package/es/components/message/styles.js +1 -1
- package/es/components/select/styles.js +1 -1
- package/es/components/table/cell.vdt.js +1 -1
- package/es/components/table/column.vdt.js +1 -1
- package/es/components/table/row.vdt.js +1 -1
- package/es/components/table/styles.js +1 -1
- package/es/components/table/table.vdt.js +1 -1
- package/es/components/table/useFixedColumns.d.ts +1 -1
- package/es/components/table/useFixedColumns.js +2 -2
- package/es/components/tooltip/styles.js +1 -1
- package/es/components/tree/index.d.ts +5 -3
- package/es/components/tree/index.js +5 -0
- package/es/components/tree/index.spec.js +60 -39
- package/es/components/tree/styles.js +1 -1
- package/es/components/tree/useDraggable.js +12 -12
- package/es/components/tree/useExpanded.d.ts +1 -0
- package/es/components/tree/useExpanded.js +2 -1
- package/es/components/tree/useNodes.d.ts +1 -0
- package/es/components/treeSelect/index.d.ts +1 -0
- package/es/components/treeSelect/index.js +4 -0
- package/es/index.d.ts +2 -2
- package/es/index.js +2 -2
- package/es/site/data/components/menu/demos/basic/react.js +2 -2
- package/es/site/data/components/tree/demos/draggable/index.d.ts +23 -17
- package/es/site/data/components/tree/demos/draggable/index.js +45 -35
- package/es/site/data/components/tree/demos/draggable/react.d.ts +23 -17
- package/es/site/data/components/tree/demos/draggable/react.js +54 -35
- package/index.ts +2 -2
- package/package.json +2 -2
|
@@ -21,6 +21,7 @@ export declare class TreeSelect<K extends Key = Key, Checkbox extends boolean =
|
|
|
21
21
|
static defaults: () => Partial<TreeSelectProps<Key, boolean, boolean>>;
|
|
22
22
|
private value;
|
|
23
23
|
init(): void;
|
|
24
|
+
expandAll(): void;
|
|
24
25
|
protected getPlaceholder(): string | number | boolean | import("misstime/dist/utils/types").VNode<any> | Children[];
|
|
25
26
|
protected getLabel(): Children;
|
|
26
27
|
private filter;
|
|
@@ -66,6 +66,10 @@ export var TreeSelect = /*#__PURE__*/function (_BaseSelect) {
|
|
|
66
66
|
});
|
|
67
67
|
};
|
|
68
68
|
|
|
69
|
+
_proto.expandAll = function expandAll() {
|
|
70
|
+
this.value.treeRef.value.expandAll();
|
|
71
|
+
};
|
|
72
|
+
|
|
69
73
|
_proto.getPlaceholder = function getPlaceholder() {
|
|
70
74
|
var _this$get = this.get(),
|
|
71
75
|
placeholder = _this$get.placeholder;
|
package/es/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @king-design v3.1.0-beta.
|
|
2
|
+
* @king-design v3.1.0-beta.3
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Kingsoft Cloud
|
|
5
5
|
* Released under the MIT License
|
|
@@ -60,4 +60,4 @@ export * from './components/tree';
|
|
|
60
60
|
export * from './components/treeSelect';
|
|
61
61
|
export * from './components/upload';
|
|
62
62
|
export * from './components/wave';
|
|
63
|
-
export declare const version = "3.1.0-beta.
|
|
63
|
+
export declare const version = "3.1.0-beta.3";
|
package/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @king-design v3.1.0-beta.
|
|
2
|
+
* @king-design v3.1.0-beta.3
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Kingsoft Cloud
|
|
5
5
|
* Released under the MIT License
|
|
@@ -62,5 +62,5 @@ export * from './components/tree';
|
|
|
62
62
|
export * from './components/treeSelect';
|
|
63
63
|
export * from './components/upload';
|
|
64
64
|
export * from './components/wave';
|
|
65
|
-
export var version = '3.1.0-beta.
|
|
65
|
+
export var version = '3.1.0-beta.3';
|
|
66
66
|
/* generate end */
|
|
@@ -66,8 +66,8 @@ var Demo = /*#__PURE__*/function (_React$Component) {
|
|
|
66
66
|
className: "ion-star"
|
|
67
67
|
}), "menu 2"), /*#__PURE__*/React.createElement(MenuItem, {
|
|
68
68
|
key: "3"
|
|
69
|
-
}, /*#__PURE__*/React.createElement(
|
|
70
|
-
className: "
|
|
69
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
70
|
+
className: "ion-heart"
|
|
71
71
|
}), "menu 3", /*#__PURE__*/React.createElement(Menu, null, /*#__PURE__*/React.createElement(MenuItem, {
|
|
72
72
|
key: "3-1"
|
|
73
73
|
}, "sub menu 1"), /*#__PURE__*/React.createElement(MenuItem, {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as data } from './index.json';
|
|
2
2
|
import { Component } from 'intact';
|
|
3
|
-
import
|
|
3
|
+
import './index.styl';
|
|
4
|
+
import { TreeDataItem, TreeNode, TreeDragEndData, TreeMode } from 'kpc';
|
|
4
5
|
interface Props {
|
|
5
6
|
data?: TreeDataItem<string>[];
|
|
6
7
|
expandedKeys?: string[];
|
|
@@ -8,29 +9,34 @@ interface Props {
|
|
|
8
9
|
export default class extends Component<Props> {
|
|
9
10
|
static template: string | import("intact").Template<any>;
|
|
10
11
|
static defaults(): {
|
|
11
|
-
data: {
|
|
12
|
+
data: ({
|
|
12
13
|
label: string;
|
|
13
14
|
key: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} | {
|
|
15
|
+
type: string;
|
|
16
|
+
children?: undefined;
|
|
17
|
+
disabled?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
label: string;
|
|
20
|
+
key: string;
|
|
21
|
+
type: string;
|
|
22
|
+
children: {
|
|
23
23
|
label: string;
|
|
24
24
|
key: string;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
25
|
+
type: string;
|
|
26
|
+
}[];
|
|
27
|
+
disabled?: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
label: string;
|
|
30
|
+
key: string;
|
|
31
|
+
type: string;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
children?: undefined;
|
|
34
|
+
})[];
|
|
35
|
+
expandedKeys: never[];
|
|
30
36
|
};
|
|
31
37
|
onDragEnd(data: TreeDragEndData<string>): void;
|
|
32
38
|
allowDrag(node: TreeNode<string>): boolean;
|
|
33
|
-
allowDrop(node: TreeNode<string
|
|
39
|
+
allowDrop(node: TreeNode<string>, srcNode: TreeNode<string>, mode: TreeMode): boolean;
|
|
34
40
|
onDenyDrag(node: TreeNode<string>): void;
|
|
35
41
|
onDenyDrop(node: TreeNode<string>): void;
|
|
36
42
|
}
|
|
@@ -2,7 +2,8 @@ import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
|
2
2
|
export { default as data } from './index.json';
|
|
3
3
|
import { Component } from 'intact';
|
|
4
4
|
import template from './index.vdt';
|
|
5
|
-
import
|
|
5
|
+
import './index.styl';
|
|
6
|
+
import { Message, TreeMode } from 'kpc';
|
|
6
7
|
|
|
7
8
|
var default_1 = /*#__PURE__*/function (_Component) {
|
|
8
9
|
_inheritsLoose(default_1, _Component);
|
|
@@ -14,43 +15,42 @@ var default_1 = /*#__PURE__*/function (_Component) {
|
|
|
14
15
|
default_1.defaults = function defaults() {
|
|
15
16
|
return {
|
|
16
17
|
data: [{
|
|
17
|
-
label: '
|
|
18
|
-
key: '
|
|
18
|
+
label: '总览',
|
|
19
|
+
key: 'summarization',
|
|
20
|
+
type: 'file'
|
|
21
|
+
}, {
|
|
22
|
+
label: '产品简介',
|
|
23
|
+
key: 'introduction',
|
|
24
|
+
type: 'file'
|
|
25
|
+
}, {
|
|
26
|
+
label: '技术实现',
|
|
27
|
+
key: 'implemention',
|
|
28
|
+
type: 'file'
|
|
29
|
+
}, {
|
|
30
|
+
label: '操作指南',
|
|
31
|
+
key: 'guide',
|
|
32
|
+
type: 'dir',
|
|
19
33
|
children: [{
|
|
20
|
-
label: '
|
|
21
|
-
key: '
|
|
22
|
-
|
|
23
|
-
label: 'This node can not be dragged and dropped.',
|
|
24
|
-
key: '1-1-1'
|
|
25
|
-
}]
|
|
34
|
+
label: '产品安装',
|
|
35
|
+
key: 'installation',
|
|
36
|
+
type: 'file'
|
|
26
37
|
}]
|
|
27
38
|
}, {
|
|
28
|
-
label: '
|
|
29
|
-
key: '
|
|
39
|
+
label: '接入说明',
|
|
40
|
+
key: 'interaction',
|
|
41
|
+
type: 'dir',
|
|
30
42
|
children: [{
|
|
31
|
-
label: '
|
|
32
|
-
key: '
|
|
33
|
-
|
|
34
|
-
label: 'Third floor-2.1.1',
|
|
35
|
-
key: '2-1-1'
|
|
36
|
-
}, {
|
|
37
|
-
label: 'Third floor-2.1.2',
|
|
38
|
-
key: '2-1-2'
|
|
39
|
-
}]
|
|
40
|
-
}, {
|
|
41
|
-
label: 'Second floor-2.2',
|
|
42
|
-
key: '2-2',
|
|
43
|
-
children: [{
|
|
44
|
-
label: 'Third floor-2.2.1',
|
|
45
|
-
key: '2-2-1'
|
|
46
|
-
}]
|
|
47
|
-
}, {
|
|
48
|
-
label: 'Second floor-2.3',
|
|
49
|
-
key: '2-3',
|
|
50
|
-
disabled: true
|
|
43
|
+
label: '使用',
|
|
44
|
+
key: 'usage',
|
|
45
|
+
type: 'file'
|
|
51
46
|
}]
|
|
47
|
+
}, {
|
|
48
|
+
label: '禁用文件',
|
|
49
|
+
key: 'disabled',
|
|
50
|
+
type: 'file',
|
|
51
|
+
disabled: true
|
|
52
52
|
}],
|
|
53
|
-
expandedKeys: [
|
|
53
|
+
expandedKeys: []
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -61,11 +61,21 @@ var default_1 = /*#__PURE__*/function (_Component) {
|
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
_proto.allowDrag = function allowDrag(node) {
|
|
64
|
-
return node.key !== '
|
|
64
|
+
return node.key !== 'summarization';
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
_proto.allowDrop = function allowDrop(node) {
|
|
68
|
-
|
|
67
|
+
_proto.allowDrop = function allowDrop(node, srcNode, mode) {
|
|
68
|
+
// 能够将文件拖入文件夹,但是不能讲文件夹拖入文件夹
|
|
69
|
+
if (mode === TreeMode.Inner) {
|
|
70
|
+
// 文件拖入文件夹
|
|
71
|
+
return srcNode.data.type === 'file' && node.data.type === 'dir';
|
|
72
|
+
} else if (srcNode.data.type === 'dir' && node.parent) {
|
|
73
|
+
// 此时插入模式是,前面或者后面插入
|
|
74
|
+
// 如果拖动的是文件夹,但是目标节点存在父元素,代表目标节点也是文件夹,不能插入
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return true;
|
|
69
79
|
};
|
|
70
80
|
|
|
71
81
|
_proto.onDenyDrag = function onDenyDrag(node) {
|
|
@@ -1,34 +1,40 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import './index.styl';
|
|
3
|
+
import { TreeDataItem, TreeNode, TreeDragEndData, TreeMode } from '@king-design/react';
|
|
3
4
|
interface Props {
|
|
4
5
|
data?: TreeDataItem<string>[];
|
|
5
6
|
expandedKeys?: string[];
|
|
6
7
|
}
|
|
7
8
|
export default class Demo extends React.Component<{}, Props> {
|
|
8
9
|
state: {
|
|
9
|
-
data: {
|
|
10
|
+
data: ({
|
|
10
11
|
label: string;
|
|
11
12
|
key: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} | {
|
|
13
|
+
type: string;
|
|
14
|
+
children?: undefined;
|
|
15
|
+
disabled?: undefined;
|
|
16
|
+
} | {
|
|
17
|
+
label: string;
|
|
18
|
+
key: string;
|
|
19
|
+
type: string;
|
|
20
|
+
children: {
|
|
21
21
|
label: string;
|
|
22
22
|
key: string;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
23
|
+
type: string;
|
|
24
|
+
}[];
|
|
25
|
+
disabled?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
label: string;
|
|
28
|
+
key: string;
|
|
29
|
+
type: string;
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
children?: undefined;
|
|
32
|
+
})[];
|
|
33
|
+
expandedKeys: never[];
|
|
28
34
|
};
|
|
29
35
|
onDragEnd(data: TreeDragEndData<string>): void;
|
|
30
36
|
allowDrag(node: TreeNode<string>): boolean;
|
|
31
|
-
allowDrop(node: TreeNode<string
|
|
37
|
+
allowDrop(node: TreeNode<string>, srcNode: TreeNode<string>, mode: TreeMode): boolean;
|
|
32
38
|
onDenyDrag(node: TreeNode<string>): void;
|
|
33
39
|
onDenyDrop(node: TreeNode<string>): void;
|
|
34
40
|
render(): JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
2
2
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { Tree } from '@king-design/react';
|
|
4
|
+
import { Tree, Icon } from '@king-design/react';
|
|
5
|
+
import './index.styl';
|
|
5
6
|
import { Message } from '@king-design/react';
|
|
6
7
|
|
|
7
8
|
var Demo = /*#__PURE__*/function (_React$Component) {
|
|
@@ -19,43 +20,42 @@ var Demo = /*#__PURE__*/function (_React$Component) {
|
|
|
19
20
|
_this = _React$Component.call.apply(_React$Component, _concatInstanceProperty(_context = [this]).call(_context, args)) || this;
|
|
20
21
|
_this.state = {
|
|
21
22
|
data: [{
|
|
22
|
-
label: '
|
|
23
|
-
key: '
|
|
23
|
+
label: '总览',
|
|
24
|
+
key: 'summarization',
|
|
25
|
+
type: 'file'
|
|
26
|
+
}, {
|
|
27
|
+
label: '产品简介',
|
|
28
|
+
key: 'introduction',
|
|
29
|
+
type: 'file'
|
|
30
|
+
}, {
|
|
31
|
+
label: '技术实现',
|
|
32
|
+
key: 'implemention',
|
|
33
|
+
type: 'file'
|
|
34
|
+
}, {
|
|
35
|
+
label: '操作指南',
|
|
36
|
+
key: 'guide',
|
|
37
|
+
type: 'dir',
|
|
24
38
|
children: [{
|
|
25
|
-
label: '
|
|
26
|
-
key: '
|
|
27
|
-
|
|
28
|
-
label: 'This node can not be dragged and dropped.',
|
|
29
|
-
key: '1-1-1'
|
|
30
|
-
}]
|
|
39
|
+
label: '产品安装',
|
|
40
|
+
key: 'installation',
|
|
41
|
+
type: 'file'
|
|
31
42
|
}]
|
|
32
43
|
}, {
|
|
33
|
-
label: '
|
|
34
|
-
key: '
|
|
44
|
+
label: '接入说明',
|
|
45
|
+
key: 'interaction',
|
|
46
|
+
type: 'dir',
|
|
35
47
|
children: [{
|
|
36
|
-
label: '
|
|
37
|
-
key: '
|
|
38
|
-
|
|
39
|
-
label: 'Third floor-2.1.1',
|
|
40
|
-
key: '2-1-1'
|
|
41
|
-
}, {
|
|
42
|
-
label: 'Third floor-2.1.2',
|
|
43
|
-
key: '2-1-2'
|
|
44
|
-
}]
|
|
45
|
-
}, {
|
|
46
|
-
label: 'Second floor-2.2',
|
|
47
|
-
key: '2-2',
|
|
48
|
-
children: [{
|
|
49
|
-
label: 'Third floor-2.2.1',
|
|
50
|
-
key: '2-2-1'
|
|
51
|
-
}]
|
|
52
|
-
}, {
|
|
53
|
-
label: 'Second floor-2.3',
|
|
54
|
-
key: '2-3',
|
|
55
|
-
disabled: true
|
|
48
|
+
label: '使用',
|
|
49
|
+
key: 'usage',
|
|
50
|
+
type: 'file'
|
|
56
51
|
}]
|
|
52
|
+
}, {
|
|
53
|
+
label: '禁用文件',
|
|
54
|
+
key: 'disabled',
|
|
55
|
+
type: 'file',
|
|
56
|
+
disabled: true
|
|
57
57
|
}],
|
|
58
|
-
expandedKeys: [
|
|
58
|
+
expandedKeys: []
|
|
59
59
|
};
|
|
60
60
|
return _this;
|
|
61
61
|
}
|
|
@@ -67,11 +67,21 @@ var Demo = /*#__PURE__*/function (_React$Component) {
|
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
_proto.allowDrag = function allowDrag(node) {
|
|
70
|
-
return node.key !== '
|
|
70
|
+
return node.key !== 'summarization';
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
_proto.allowDrop = function allowDrop(node) {
|
|
74
|
-
|
|
73
|
+
_proto.allowDrop = function allowDrop(node, srcNode, mode) {
|
|
74
|
+
// 能够将文件拖入文件夹,但是不能讲文件夹拖入文件夹
|
|
75
|
+
if (mode === TreeMode.Inner) {
|
|
76
|
+
// 文件拖入文件夹
|
|
77
|
+
return srcNode.data.type === 'file' && node.data.type === 'dir';
|
|
78
|
+
} else if (srcNode.data.type === 'dir' && node.parent) {
|
|
79
|
+
// 此时插入模式是,前面或者后面插入
|
|
80
|
+
// 如果拖动的是文件夹,但是目标节点存在父元素,代表目标节点也是文件夹,不能插入
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return true;
|
|
75
85
|
};
|
|
76
86
|
|
|
77
87
|
_proto.onDenyDrag = function onDenyDrag(node) {
|
|
@@ -86,6 +96,15 @@ var Demo = /*#__PURE__*/function (_React$Component) {
|
|
|
86
96
|
var _this2 = this;
|
|
87
97
|
|
|
88
98
|
return /*#__PURE__*/React.createElement(Tree, {
|
|
99
|
+
slotLabel: function slotLabel(_ref) {
|
|
100
|
+
var data = _ref[0],
|
|
101
|
+
node = _ref[1];
|
|
102
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, data.type === 'file' ? /*#__PURE__*/React.createElement(Icon, {
|
|
103
|
+
className: "k-icon-paper"
|
|
104
|
+
}) : /*#__PURE__*/React.createElement(Icon, {
|
|
105
|
+
className: "k-icon-folder"
|
|
106
|
+
}), data.label);
|
|
107
|
+
},
|
|
89
108
|
draggable: true,
|
|
90
109
|
onDragend: this.onDragEnd,
|
|
91
110
|
allowDrag: this.allowDrag,
|
package/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @king-design v3.1.0-beta.
|
|
2
|
+
* @king-design v3.1.0-beta.3
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Kingsoft Cloud
|
|
5
5
|
* Released under the MIT License
|
|
@@ -65,6 +65,6 @@ export * from './components/treeSelect';
|
|
|
65
65
|
export * from './components/upload';
|
|
66
66
|
export * from './components/wave';
|
|
67
67
|
|
|
68
|
-
export const version = '3.1.0-beta.
|
|
68
|
+
export const version = '3.1.0-beta.3';
|
|
69
69
|
|
|
70
70
|
/* generate end */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@king-design/intact",
|
|
3
|
-
"version": "3.1.0-beta.
|
|
3
|
+
"version": "3.1.0-beta.3",
|
|
4
4
|
"description": "A component library written in Intact for Intact, Vue, React and Angular",
|
|
5
5
|
"main": "es/index.js",
|
|
6
6
|
"engines": {
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
"dependencies": {
|
|
180
180
|
"@babel/runtime-corejs3": "^7.16.0",
|
|
181
181
|
"@emotion/css": "^11.5.0",
|
|
182
|
-
"@king-design/react": "^3.1.0-beta.
|
|
182
|
+
"@king-design/react": "^3.1.0-beta.3",
|
|
183
183
|
"dayjs": "^1.10.7",
|
|
184
184
|
"downloadjs": "^1.4.7",
|
|
185
185
|
"enquire.js": "^2.1.6",
|