@king-design/vue 3.4.3 → 3.4.5
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 +162 -150
- package/components/button/group.d.ts +1 -0
- package/components/button/group.js +4 -0
- package/components/button/group.vdt.js +3 -2
- package/components/button/styles.js +3 -3
- package/components/table/cell.d.ts +1 -0
- package/components/table/cell.vdt.js +5 -3
- package/components/table/column.vdt.js +15 -12
- package/components/table/row.d.ts +1 -0
- package/components/table/row.vdt.js +4 -2
- package/components/table/styles.d.ts +49 -0
- package/components/table/styles.js +2 -1
- package/components/table/table.d.ts +1 -0
- package/components/table/table.js +1 -0
- package/components/table/table.vdt.js +11 -2
- package/components/table/useColumns.d.ts +9 -0
- package/components/table/useColumns.js +29 -1
- package/components/tip/index.d.ts +6 -1
- package/components/tip/index.js +12 -1
- package/components/tip/index.vdt.js +25 -5
- package/components/tip/styles.js +44 -2
- package/components/tooltip/tooltip.js +5 -1
- package/components/transfer/index.vdt.js +2 -4
- package/components/upload/index.vdt.js +4 -1
- package/components/upload/styles.js +1 -1
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/install.js +6 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @king-design v3.4.
|
|
2
|
+
* @king-design v3.4.5
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Kingsoft Cloud
|
|
5
5
|
* Released under the MIT License
|
|
@@ -64,7 +64,7 @@ export * from './components/treeSelect';
|
|
|
64
64
|
export * from './components/upload';
|
|
65
65
|
export * from './components/view';
|
|
66
66
|
export * from './components/wave';
|
|
67
|
-
export declare const version = "3.4.
|
|
67
|
+
export declare const version = "3.4.5";
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
export {normalize} from 'intact-vue-next';
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @king-design v3.4.
|
|
2
|
+
* @king-design v3.4.5
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Kingsoft Cloud
|
|
5
5
|
* Released under the MIT License
|
|
@@ -65,7 +65,7 @@ export * from './components/treeSelect';
|
|
|
65
65
|
export * from './components/upload';
|
|
66
66
|
export * from './components/view';
|
|
67
67
|
export * from './components/wave';
|
|
68
|
-
export var version = '3.4.
|
|
68
|
+
export var version = '3.4.5';
|
|
69
69
|
/* generate end */
|
|
70
70
|
|
|
71
71
|
export {normalize} from 'intact-vue-next';
|
package/install.js
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import * as components from './index';
|
|
2
|
+
import { isFunction } from 'intact-shared';
|
|
2
3
|
|
|
3
4
|
export function install(Vue) {
|
|
4
5
|
for (let key in components) {
|
|
6
|
+
// exclude the non-component properties
|
|
5
7
|
// the name of component starts with an upper case char
|
|
8
|
+
// and the value is a function
|
|
6
9
|
const charCode = key.charCodeAt(0);
|
|
7
|
-
if (charCode < 'A'.charCodeAt(0)
|
|
10
|
+
if (charCode < 'A'.charCodeAt(0) || charCode > 'Z'.charCodeAt(0)) continue;
|
|
8
11
|
|
|
9
12
|
const component = components[key];
|
|
13
|
+
if (!isFunction(component)) continue;
|
|
14
|
+
|
|
10
15
|
Vue.component(`K${key}`, component);
|
|
11
16
|
// support call method like this.$message.success('test'), #88
|
|
12
17
|
const obj = Vue.config.globalProperties;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@king-design/vue",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.5",
|
|
4
4
|
"description": "King-Design UI components for Vue3.0.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"component",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@emotion/css": "^11.5.0",
|
|
38
38
|
"dayjs": "^1.10.7",
|
|
39
39
|
"enquire.js": "^2.1.6",
|
|
40
|
-
"intact-vue-next": "3.0.
|
|
40
|
+
"intact-vue-next": "3.0.39",
|
|
41
41
|
"monaco-editor": "^0.26.1",
|
|
42
42
|
"mxgraphx": "^4.0.7",
|
|
43
43
|
"resize-observer-polyfill": "^1.5.1",
|