@king-design/vue 2.0.15 → 2.0.17-beta.0
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/__tests__/__snapshots__/Vue Next Demos.md +1 -1
- package/components/cascader/styles.js +1 -1
- package/components/dropdown/dropdown.d.ts +0 -1
- package/components/dropdown/dropdown.js +19 -7
- package/components/dropdown/menu.js +1 -1
- package/components/table/column.vdt.js +43 -7
- package/components/table/index.spec.js +2 -2
- package/components/table/styles.js +7 -1
- package/components/table/useGroup.d.ts +3 -0
- package/components/table/useGroup.js +24 -1
- package/components/table/useSortable.d.ts +3 -1
- package/components/table/useSortable.js +4 -1
- package/components/tooltip/tooltip.d.ts +0 -1
- package/components/tooltip/tooltip.js +1 -12
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/package.json +2 -2
|
@@ -964,7 +964,7 @@
|
|
|
964
964
|
#### `Select basic`
|
|
965
965
|
|
|
966
966
|
```
|
|
967
|
-
"<div><div style=\"margin-bottom: 16px;\"><div class=\"k-select css-1k3uw7s
|
|
967
|
+
"<div><div style=\"margin-bottom: 16px;\"><div class=\"k-select css-1k3uw7s\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-select-placeholder c-ellipsis\">请选择</div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-x0ey6t\"></i></span></span></div><!--portal--> You selected: </div><div class=\"k-select css-1k3uw7s\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-select-placeholder c-ellipsis\">请选择</div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-rotate ion-load-c css-x0ey6t\"></i></span></span></div><!--portal--></div>"
|
|
968
968
|
```
|
|
969
969
|
|
|
970
970
|
#### `Select clearable`
|
|
@@ -43,7 +43,7 @@ setDefault(function () {
|
|
|
43
43
|
}).cascader;
|
|
44
44
|
});
|
|
45
45
|
export function makeMenuStyles() {
|
|
46
|
-
return /*#__PURE__*/css("min-width:", cascader.width, "!important;
|
|
46
|
+
return /*#__PURE__*/css("min-width:", cascader.width, "!important;height:", cascader.height, ";overflow:auto;.k-cascader-arrow{float:right;height:100%;margin-left:", cascader.arrowGap, ";line-height:inherit;}.k-cascader-loading{display:block;text-align:center;margin-top:", cascader.loadingGap, ";}.k-cascader-empty{padding:", cascader.empty.padding, ";color:", cascader.empty.color, ";text-align:center;}.k-cascader-option{&.k-selected{color:", cascader.selectedColor, ";}&.k-active{background:", cascader.activeBgColor, ";}}");
|
|
47
47
|
}
|
|
48
48
|
export function makeFilterMenuStyles() {
|
|
49
49
|
return /*#__PURE__*/css("min-width:", _filterInstanceProperty(cascader).minWidth, "!important;height:auto;max-height:", _filterInstanceProperty(cascader).maxHeight, ";em{font-style:normal;color:", _filterInstanceProperty(cascader).highlightColor, ";}");
|
|
@@ -57,7 +57,6 @@ export var Dropdown = /*#__PURE__*/function (_Component) {
|
|
|
57
57
|
_this.rootDropdown = null;
|
|
58
58
|
_this.showedDropdown = null;
|
|
59
59
|
_this.positionHook = usePosition();
|
|
60
|
-
_this.alwaysPortal = false;
|
|
61
60
|
_this.timer = undefined;
|
|
62
61
|
_this.triggerProps = null;
|
|
63
62
|
return _this;
|
|
@@ -267,11 +266,10 @@ Dropdown.template = function () {
|
|
|
267
266
|
});
|
|
268
267
|
clonedTrigger.className = className;
|
|
269
268
|
this.menuVNode = menu;
|
|
270
|
-
return [clonedTrigger,
|
|
271
|
-
this.alwaysPortal || !this.rootDropdown ? h(Portal, {
|
|
269
|
+
return [clonedTrigger, h(Portal, {
|
|
272
270
|
children: menu,
|
|
273
271
|
container: this.get('container')
|
|
274
|
-
})
|
|
272
|
+
})];
|
|
275
273
|
};
|
|
276
274
|
|
|
277
275
|
__decorate([bind], Dropdown.prototype, "position", null);
|
|
@@ -288,9 +286,10 @@ function useDocumentClickForDropdown(dropdown) {
|
|
|
288
286
|
};
|
|
289
287
|
|
|
290
288
|
var _useDocumentClick = useDocumentClick(elementRef, function (e) {
|
|
291
|
-
// case 1: if click
|
|
292
|
-
// case 2: if right click on trigger and
|
|
293
|
-
// case 3: if click on trigger and
|
|
289
|
+
// case 1: if click a trigger and its trigger type is hover, ignore it
|
|
290
|
+
// case 2: if right click on a trigger and its trigger type is contextmenu, ignore it
|
|
291
|
+
// case 3: if click on a trigger and its trigger type is focus, do nothing
|
|
292
|
+
// case 3: if click on sub-dropdown, we should also show the parent dropdown, so ignore it
|
|
294
293
|
var trigger = dropdown.get('trigger');
|
|
295
294
|
if (trigger === 'focus') return;
|
|
296
295
|
var isHover = trigger === 'hover';
|
|
@@ -305,6 +304,7 @@ function useDocumentClickForDropdown(dropdown) {
|
|
|
305
304
|
}
|
|
306
305
|
}
|
|
307
306
|
|
|
307
|
+
if (isSubDropdownElement(e.target, dropdown)) return;
|
|
308
308
|
dropdown.hide(true);
|
|
309
309
|
}, true),
|
|
310
310
|
addDocumentClick = _useDocumentClick[0],
|
|
@@ -314,6 +314,18 @@ function useDocumentClickForDropdown(dropdown) {
|
|
|
314
314
|
dropdown.on('hide', removeDocumentClick);
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
+
function isSubDropdownElement(elem, dropdown) {
|
|
318
|
+
var showedDropdown = dropdown.showedDropdown;
|
|
319
|
+
if (!showedDropdown) return false;
|
|
320
|
+
var subMenuElement = findDomFromVNode(showedDropdown.menuVNode, true);
|
|
321
|
+
|
|
322
|
+
if (containsOrEqual(subMenuElement, elem)) {
|
|
323
|
+
return true;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
return isSubDropdownElement(elem, showedDropdown);
|
|
327
|
+
}
|
|
328
|
+
|
|
317
329
|
function useHideLastMenuOnShow(dropdown) {
|
|
318
330
|
var parentDropdown = dropdown.dropdown;
|
|
319
331
|
dropdown.on('show', function () {
|
|
@@ -85,7 +85,7 @@ function useKeyboardForDropdownMenu(dropdown) {
|
|
|
85
85
|
var focus = function focus() {
|
|
86
86
|
return focusByIndex(0);
|
|
87
87
|
}; // In Cascader the menu may have been replaced by another menu, in this case,
|
|
88
|
-
// if the dropdown has showed
|
|
88
|
+
// if the dropdown has showed while we mounted the menu, add keydown listener
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
if (dropdown.get('value')) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sortInstanceProperty from "@babel/runtime-corejs3/core-js/instance/sort";
|
|
2
|
-
import { createUnknownComponentVNode as _$cc, createElementVNode as _$ce, noop as _$no, className as _$cn, map as _$ma } from 'intact-vue-next';
|
|
2
|
+
import { createUnknownComponentVNode as _$cc, createElementVNode as _$ce, noop as _$no, className as _$cn, extend as _$ex, EMPTY_OBJ as _$em, map as _$ma } from 'intact-vue-next';
|
|
3
3
|
import { getClassAndStyleForFixed } from './useFixedColumns';
|
|
4
4
|
import { Dropdown, DropdownMenu, DropdownItem } from '../dropdown';
|
|
5
5
|
import { Button } from '../button';
|
|
@@ -14,13 +14,18 @@ import { context as TableContext } from './useColumns';
|
|
|
14
14
|
import { context as ResizableContext } from './useResizable';
|
|
15
15
|
import { context as FixedColumnsContext } from './useFixedColumns';
|
|
16
16
|
import { stopPropagation } from '../utils';
|
|
17
|
+
import { Input } from '../input';
|
|
18
|
+
import { _$ } from '../../i18n';
|
|
17
19
|
var _$tmp0 = {
|
|
18
20
|
'className': 'ion-android-arrow-dropdown'
|
|
19
21
|
};
|
|
20
22
|
var _$tmp1 = {
|
|
21
|
-
'className': 'ion-
|
|
23
|
+
'className': 'ion-ios-search'
|
|
22
24
|
};
|
|
23
25
|
var _$tmp2 = {
|
|
26
|
+
'className': 'ion-android-arrow-dropup k-asc'
|
|
27
|
+
};
|
|
28
|
+
var _$tmp3 = {
|
|
24
29
|
'className': 'ion-android-arrow-dropdown k-desc'
|
|
25
30
|
};
|
|
26
31
|
export default function ($props, $blocks, $__proto__) {
|
|
@@ -45,7 +50,9 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
45
50
|
var _this$group = this.group,
|
|
46
51
|
onSelect = _this$group.onSelect,
|
|
47
52
|
isChecked = _this$group.isChecked,
|
|
48
|
-
getGroupText = _this$group.getGroupText
|
|
53
|
+
getGroupText = _this$group.getGroupText,
|
|
54
|
+
keywords = _this$group.keywords,
|
|
55
|
+
filteredGroup = _this$group.filteredGroup;
|
|
49
56
|
return _$cc(TableContext.Consumer, {
|
|
50
57
|
'children': function children(checkType) {
|
|
51
58
|
return _$cc(GroupContext.Consumer, {
|
|
@@ -98,17 +105,46 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
98
105
|
collision: 'flipfit'
|
|
99
106
|
},
|
|
100
107
|
'key': 'dropdown',
|
|
108
|
+
'trigger': 'click',
|
|
109
|
+
'ev-show': function evShow() {
|
|
110
|
+
return keywords.set('');
|
|
111
|
+
},
|
|
101
112
|
'children': [_$cc(Button, {
|
|
102
113
|
'icon': true,
|
|
103
114
|
'size': 'mini',
|
|
104
115
|
'className': 'k-table-group',
|
|
105
|
-
'ev-click':
|
|
116
|
+
'ev-click': function evClick(e) {
|
|
117
|
+
return e._ignoreSortable = true;
|
|
118
|
+
},
|
|
106
119
|
'children': _$cc(Icon, _$tmp0)
|
|
107
120
|
}), _$cc(DropdownMenu, {
|
|
108
121
|
'className': _$cn((_$cn2 = {
|
|
109
122
|
"k-table-group-dropdown": true
|
|
110
123
|
}, _$cn2[makeGroupMenuStyles()] = true, _$cn2)),
|
|
111
|
-
'children': _$
|
|
124
|
+
'children': [_$ce(2, 'div', _$cc(Input, {
|
|
125
|
+
'size': 'small',
|
|
126
|
+
'fluid': true,
|
|
127
|
+
'placeholder': _$('请输入关键字'),
|
|
128
|
+
'value': keywords.value,
|
|
129
|
+
'ev-$change:value': keywords.set,
|
|
130
|
+
'clearable': true,
|
|
131
|
+
'$blocks': function ($blocks) {
|
|
132
|
+
var _$blocks = {},
|
|
133
|
+
__$blocks = _$ex({}, $blocks);
|
|
134
|
+
|
|
135
|
+
return (_$blocks['suffix'] = function ($super) {
|
|
136
|
+
return _$cc(Icon, _$tmp1);
|
|
137
|
+
}, __$blocks['suffix'] = function ($super, data) {
|
|
138
|
+
var block = $blocks['suffix'];
|
|
139
|
+
|
|
140
|
+
var callBlock = function callBlock() {
|
|
141
|
+
return _$blocks['suffix'].call($this, $super, data);
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
return block ? block.call($this, callBlock, data) : callBlock();
|
|
145
|
+
}), __$blocks;
|
|
146
|
+
}.call($this, _$em)
|
|
147
|
+
}), 2, 'k-table-group-header'), _$ce(2, 'div', _$ma(filteredGroup.value, function ($value, $key) {
|
|
112
148
|
return _$cc(DropdownItem, {
|
|
113
149
|
'ev-select': function evSelect() {
|
|
114
150
|
return onSelect($value.value, groupValue, onChange);
|
|
@@ -122,9 +158,9 @@ export default function ($props, $blocks, $__proto__) {
|
|
|
122
158
|
'children': $value.label
|
|
123
159
|
}) : _$ce(2, 'span', $value.label, 0)
|
|
124
160
|
});
|
|
125
|
-
}, $this)
|
|
161
|
+
}, $this), 4, 'k-table-group-body')]
|
|
126
162
|
})]
|
|
127
|
-
}, 'dropdown') : undefined, sortable ? _$ce(2, 'div', [_$cc(Icon, _$
|
|
163
|
+
}, 'dropdown') : undefined, sortable ? _$ce(2, 'div', [_$cc(Icon, _$tmp2), _$cc(Icon, _$tmp3)], 4, _$cn((_$cn3 = {
|
|
128
164
|
'k-column-sort': true
|
|
129
165
|
}, _$cn3["k-" + type] = type, _$cn3))) : undefined], 0, 'k-table-title')], 0, _$cn(classNameObj), {
|
|
130
166
|
'style': style,
|
|
@@ -352,7 +352,7 @@ describe('Table', function () {
|
|
|
352
352
|
_instance$refs4 = instance.refs, __test1 = _instance$refs4.__test1, __test2 = _instance$refs4.__test2;
|
|
353
353
|
_element$querySelecto8 = element.querySelectorAll('.k-table'), table1 = _element$querySelecto8[0], table2 = _element$querySelecto8[1];
|
|
354
354
|
icon = table1.querySelector('.k-table-group');
|
|
355
|
-
dispatchEvent(icon, '
|
|
355
|
+
dispatchEvent(icon, 'click');
|
|
356
356
|
_context7.next = 7;
|
|
357
357
|
return wait();
|
|
358
358
|
|
|
@@ -370,7 +370,7 @@ describe('Table', function () {
|
|
|
370
370
|
});
|
|
371
371
|
expect(table1.innerHTML).to.matchSnapshot();
|
|
372
372
|
icon2 = table2.querySelector('.k-table-group');
|
|
373
|
-
dispatchEvent(icon2, '
|
|
373
|
+
dispatchEvent(icon2, 'click');
|
|
374
374
|
_context7.next = 19;
|
|
375
375
|
return wait();
|
|
376
376
|
|
|
@@ -53,6 +53,12 @@ var defaults = {
|
|
|
53
53
|
|
|
54
54
|
get activeColor() {
|
|
55
55
|
return theme.color.primary;
|
|
56
|
+
},
|
|
57
|
+
|
|
58
|
+
headerPadding: "8px",
|
|
59
|
+
|
|
60
|
+
get headerBorder() {
|
|
61
|
+
return "1px solid " + theme.color.bg;
|
|
56
62
|
}
|
|
57
63
|
|
|
58
64
|
},
|
|
@@ -89,5 +95,5 @@ export function makeStyles() {
|
|
|
89
95
|
}), ";");
|
|
90
96
|
}
|
|
91
97
|
export function makeGroupMenuStyles() {
|
|
92
|
-
return /*#__PURE__*/css("max-height:", table.group.menuMaxHeight, ";overflow:auto;.k-dropdown-item.k-active{color:", table.group.activeColor, ";}");
|
|
98
|
+
return /*#__PURE__*/css("max-height:", table.group.menuMaxHeight, ";overflow:auto;.k-dropdown-item.k-active{color:", table.group.activeColor, ";}.k-table-group-header{padding:", table.group.headerPadding, ";border-bottom:", table.group.headerBorder, ";}");
|
|
93
99
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TableColumnGroupItem } from './column';
|
|
1
2
|
declare type ContextValue = {
|
|
2
3
|
groupValue: any;
|
|
3
4
|
onChange: (key: string, groupValue: any) => void;
|
|
@@ -10,5 +11,7 @@ export declare function useGroup(): {
|
|
|
10
11
|
onSelect: (value: any, groupValue: any, onChange: ContextValue['onChange']) => void;
|
|
11
12
|
isChecked: (value: any, groupValue: any) => any;
|
|
12
13
|
getGroupText: (groupValue: any) => string | null;
|
|
14
|
+
keywords: import("../../hooks/useState").State<string>;
|
|
15
|
+
filteredGroup: import("../../hooks/useState").State<TableColumnGroupItem[] | undefined>;
|
|
13
16
|
};
|
|
14
17
|
export {};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import _includesInstanceProperty from "@babel/runtime-corejs3/core-js/instance/includes";
|
|
2
2
|
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js/instance/map";
|
|
3
3
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js/instance/filter";
|
|
4
|
+
import _trimInstanceProperty from "@babel/runtime-corejs3/core-js/instance/trim";
|
|
4
5
|
import { useInstance } from 'intact-vue-next';
|
|
5
6
|
import { isNullOrUndefined } from 'intact-shared';
|
|
6
7
|
import { toggleArray } from '../utils';
|
|
7
8
|
import { createContext } from '../context';
|
|
9
|
+
import { useState, watchState } from '../../hooks/useState';
|
|
8
10
|
export var context = createContext();
|
|
9
11
|
export function useGroup() {
|
|
10
12
|
var instance = useInstance();
|
|
13
|
+
var keywords = useState('');
|
|
14
|
+
var filteredGroup = useState(instance.get('group'));
|
|
11
15
|
|
|
12
16
|
function onSelect(value, groupValue, onChange) {
|
|
13
17
|
var _instance$get = instance.get(),
|
|
@@ -60,9 +64,28 @@ export function useGroup() {
|
|
|
60
64
|
return null;
|
|
61
65
|
}
|
|
62
66
|
|
|
67
|
+
watchState(keywords, function (v) {
|
|
68
|
+
var _instance$get4 = instance.get(),
|
|
69
|
+
_instance$get4$group = _instance$get4.group,
|
|
70
|
+
group = _instance$get4$group === void 0 ? [] : _instance$get4$group;
|
|
71
|
+
|
|
72
|
+
v = _trimInstanceProperty(v).call(v);
|
|
73
|
+
|
|
74
|
+
if (!v) {
|
|
75
|
+
filteredGroup.set(group);
|
|
76
|
+
} else {
|
|
77
|
+
filteredGroup.set(_filterInstanceProperty(group).call(group, function (item) {
|
|
78
|
+
var _context2, _context3;
|
|
79
|
+
|
|
80
|
+
return _includesInstanceProperty(_context2 = String(item.label)).call(_context2, v) || _includesInstanceProperty(_context3 = String(item.value)).call(_context3, v);
|
|
81
|
+
}));
|
|
82
|
+
}
|
|
83
|
+
});
|
|
63
84
|
return {
|
|
64
85
|
onSelect: onSelect,
|
|
65
86
|
isChecked: isChecked,
|
|
66
|
-
getGroupText: getGroupText
|
|
87
|
+
getGroupText: getGroupText,
|
|
88
|
+
keywords: keywords,
|
|
89
|
+
filteredGroup: filteredGroup
|
|
67
90
|
};
|
|
68
91
|
}
|
|
@@ -3,5 +3,7 @@ export declare const context: {
|
|
|
3
3
|
Consumer: import("intact").ComponentConstructor<import("intact").Component<import("../context").ConsumerProps<any>, {}, {}, {}>>;
|
|
4
4
|
};
|
|
5
5
|
export declare function useSortable(): {
|
|
6
|
-
onChange: (key: string
|
|
6
|
+
onChange: (key: string, event: Event & {
|
|
7
|
+
_ignoreSortable?: boolean;
|
|
8
|
+
}) => void;
|
|
7
9
|
};
|
|
@@ -8,7 +8,10 @@ export function useSortable() {
|
|
|
8
8
|
|
|
9
9
|
var count = 0;
|
|
10
10
|
|
|
11
|
-
function onChange(key) {
|
|
11
|
+
function onChange(key, event) {
|
|
12
|
+
// ignore when click group dropdown menu
|
|
13
|
+
if (event._ignoreSortable) return;
|
|
14
|
+
|
|
12
15
|
var sort = _extends({}, instance.get('sort'));
|
|
13
16
|
|
|
14
17
|
if (sort.key === key) {
|
|
@@ -23,6 +23,5 @@ export declare class Tooltip<T extends TooltipProps = TooltipProps, E extends To
|
|
|
23
23
|
static typeDefs: Required<TypeDefs<TooltipProps>>;
|
|
24
24
|
static defaults: () => Partial<TooltipProps>;
|
|
25
25
|
static events: Events<TooltipEvents>;
|
|
26
|
-
protected alwaysPortal: boolean;
|
|
27
26
|
hide(immediately: boolean): void;
|
|
28
27
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
2
2
|
import _extends from "@babel/runtime-corejs3/helpers/extends";
|
|
3
|
-
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
4
3
|
import { Dropdown } from '../dropdown/dropdown';
|
|
5
4
|
import { _$ } from '../../i18n';
|
|
6
5
|
import { themes } from './styles';
|
|
@@ -44,17 +43,7 @@ export var Tooltip = /*#__PURE__*/function (_Dropdown) {
|
|
|
44
43
|
_inheritsLoose(Tooltip, _Dropdown);
|
|
45
44
|
|
|
46
45
|
function Tooltip() {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
var _this;
|
|
50
|
-
|
|
51
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
52
|
-
args[_key] = arguments[_key];
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
_this = _Dropdown.call.apply(_Dropdown, _concatInstanceProperty(_context = [this]).call(_context, args)) || this;
|
|
56
|
-
_this.alwaysPortal = true;
|
|
57
|
-
return _this;
|
|
46
|
+
return _Dropdown.apply(this, arguments) || this;
|
|
58
47
|
}
|
|
59
48
|
|
|
60
49
|
var _proto = Tooltip.prototype;
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @king-design v2.0.
|
|
2
|
+
* @king-design v2.0.17-beta.0
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Kingsoft Cloud
|
|
5
5
|
* Released under the MIT License
|
|
@@ -57,7 +57,7 @@ export * from './components/tree';
|
|
|
57
57
|
export * from './components/treeSelect';
|
|
58
58
|
export * from './components/upload';
|
|
59
59
|
export * from './components/wave';
|
|
60
|
-
export declare const version = "2.0.
|
|
60
|
+
export declare const version = "2.0.17-beta.0";
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
export {normalize} from 'intact-vue-next';
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @king-design v2.0.
|
|
2
|
+
* @king-design v2.0.17-beta.0
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Kingsoft Cloud
|
|
5
5
|
* Released under the MIT License
|
|
@@ -59,7 +59,7 @@ export * from './components/tree';
|
|
|
59
59
|
export * from './components/treeSelect';
|
|
60
60
|
export * from './components/upload';
|
|
61
61
|
export * from './components/wave';
|
|
62
|
-
export var version = '2.0.
|
|
62
|
+
export var version = '2.0.17-beta.0';
|
|
63
63
|
/* generate end */
|
|
64
64
|
|
|
65
65
|
export {normalize} from 'intact-vue-next';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@king-design/vue",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.17-beta.0",
|
|
4
4
|
"description": "King-Design UI components for Vue3.0.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"component",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dayjs": "^1.10.7",
|
|
39
39
|
"downloadjs": "^1.4.7",
|
|
40
40
|
"enquire.js": "^2.1.6",
|
|
41
|
-
"intact-vue-next": "^3.0.
|
|
41
|
+
"intact-vue-next": "^3.0.16",
|
|
42
42
|
"monaco-editor": "^0.26.1",
|
|
43
43
|
"mxgraphx": "^4.0.7",
|
|
44
44
|
"resize-observer-polyfill": "^1.5.1",
|