@keyblade/pro-components 1.4.1 → 1.4.2
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/es/components.d.ts +0 -2
- package/es/index.d.ts +0 -2
- package/es/index.js +10 -18
- package/es/pro-layout/index.d.ts +3 -3
- package/es/pro-layout/pro-layout.vue.d.ts +1 -1
- package/es/style.css +8 -8
- package/package.json +2 -2
- package/src/index.ts +0 -8
- package/es/pro-drawer-form/index.d.ts +0 -1038
- package/es/pro-drawer-form/index.js +0 -13
- package/es/pro-drawer-form/pro-drawer-form.vue.d.ts +0 -486
- package/es/pro-drawer-form/pro-drawer-form.vue.js +0 -63
- package/es/pro-drawer-form/pro-drawer-form.vue2.js +0 -4
- package/es/pro-modal-form/index.d.ts +0 -1038
- package/es/pro-modal-form/index.js +0 -13
- package/es/pro-modal-form/pro-modal-form.vue.d.ts +0 -486
- package/es/pro-modal-form/pro-modal-form.vue.js +0 -63
- package/es/pro-modal-form/pro-modal-form.vue2.js +0 -4
package/es/components.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
declare module 'vue' {
|
|
2
2
|
interface GlobalComponents {
|
|
3
3
|
KbProBreadcrumb: typeof import('./index')['ProBreadcrumb'];
|
|
4
|
-
KbProDrawerForm: typeof import('./index')['ProDrawerForm'];
|
|
5
4
|
KbProKeepAliveRouterView: typeof import('./index')['ProKeepAliveRouterView'];
|
|
6
5
|
KbProLayout: typeof import('./index')['ProLayout'];
|
|
7
6
|
KbProMenu: typeof import('./index')['ProMenu'];
|
|
8
|
-
KbProModalForm: typeof import('./index')['ProModalForm'];
|
|
9
7
|
KbProPageContainer: typeof import('./index')['ProPageContainer'];
|
|
10
8
|
KbProReuseTabs: typeof import('./index')['ProReuseTabs'];
|
|
11
9
|
}
|
package/es/index.d.ts
CHANGED
|
@@ -4,12 +4,10 @@ declare const _default: {
|
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
6
|
export { default as ProBreadcrumb } from './pro-breadcrumb';
|
|
7
|
-
export { default as ProDrawerForm } from './pro-drawer-form';
|
|
8
7
|
export { default as ProKeepAliveRouterView } from './pro-keep-alive-router-view';
|
|
9
8
|
export { default as ProLayout } from './pro-layout';
|
|
10
9
|
export { default as ProMenu } from './pro-menu';
|
|
11
10
|
export type { IProMenuItem } from './pro-menu';
|
|
12
|
-
export { default as ProModalForm } from './pro-modal-form';
|
|
13
11
|
export { default as ProPageContainer } from './pro-page-container';
|
|
14
12
|
export { default as ProReuseTabs } from './pro-reuse-tabs';
|
|
15
13
|
export type { IProTab } from './pro-reuse-tabs';
|
package/es/index.js
CHANGED
|
@@ -1,39 +1,31 @@
|
|
|
1
1
|
import { ProBreadcrumb } from "./pro-breadcrumb/index.js";
|
|
2
2
|
import { default as default2 } from "./pro-breadcrumb/index.js";
|
|
3
|
-
import { ProDrawerForm } from "./pro-drawer-form/index.js";
|
|
4
|
-
import { default as default3 } from "./pro-drawer-form/index.js";
|
|
5
3
|
import { ProKeepAliveRouterView } from "./pro-keep-alive-router-view/index.js";
|
|
6
|
-
import { default as
|
|
4
|
+
import { default as default3 } from "./pro-keep-alive-router-view/index.js";
|
|
7
5
|
import { ProLayout } from "./pro-layout/index.js";
|
|
8
|
-
import { default as
|
|
6
|
+
import { default as default4 } from "./pro-layout/index.js";
|
|
9
7
|
import { ProMenu } from "./pro-menu/index.js";
|
|
10
|
-
import { default as
|
|
11
|
-
import { ProModalForm } from "./pro-modal-form/index.js";
|
|
12
|
-
import { default as default7 } from "./pro-modal-form/index.js";
|
|
8
|
+
import { default as default5 } from "./pro-menu/index.js";
|
|
13
9
|
import { ProPageContainer } from "./pro-page-container/index.js";
|
|
14
|
-
import { default as
|
|
10
|
+
import { default as default6 } from "./pro-page-container/index.js";
|
|
15
11
|
import { ProReuseTabs } from "./pro-reuse-tabs/index.js";
|
|
16
|
-
import { default as
|
|
12
|
+
import { default as default7 } from "./pro-reuse-tabs/index.js";
|
|
17
13
|
const index = {
|
|
18
14
|
install(app) {
|
|
19
15
|
app.use(ProBreadcrumb);
|
|
20
|
-
app.use(ProDrawerForm);
|
|
21
16
|
app.use(ProKeepAliveRouterView);
|
|
22
17
|
app.use(ProLayout);
|
|
23
18
|
app.use(ProMenu);
|
|
24
|
-
app.use(ProModalForm);
|
|
25
19
|
app.use(ProPageContainer);
|
|
26
20
|
app.use(ProReuseTabs);
|
|
27
21
|
}
|
|
28
22
|
};
|
|
29
23
|
export {
|
|
30
24
|
default2 as ProBreadcrumb,
|
|
31
|
-
default3 as
|
|
32
|
-
default4 as
|
|
33
|
-
default5 as
|
|
34
|
-
default6 as
|
|
35
|
-
default7 as
|
|
36
|
-
default8 as ProPageContainer,
|
|
37
|
-
default9 as ProReuseTabs,
|
|
25
|
+
default3 as ProKeepAliveRouterView,
|
|
26
|
+
default4 as ProLayout,
|
|
27
|
+
default5 as ProMenu,
|
|
28
|
+
default6 as ProPageContainer,
|
|
29
|
+
default7 as ProReuseTabs,
|
|
38
30
|
index as default
|
|
39
31
|
};
|
package/es/pro-layout/index.d.ts
CHANGED
|
@@ -5,9 +5,9 @@ declare const ProLayout: {
|
|
|
5
5
|
$: ComponentInternalInstance;
|
|
6
6
|
$data: {};
|
|
7
7
|
$props: {
|
|
8
|
-
layout?: "mix" | "side" | undefined;
|
|
9
8
|
title?: string | undefined;
|
|
10
9
|
theme?: "dark" | "light" | undefined;
|
|
10
|
+
layout?: "mix" | "side" | undefined;
|
|
11
11
|
menuItems?: IProMenuItem[] | undefined;
|
|
12
12
|
logo?: string | undefined;
|
|
13
13
|
footerTitle?: string | undefined;
|
|
@@ -121,9 +121,9 @@ declare const ProLayout: {
|
|
|
121
121
|
collapse: (collapsed: boolean) => true;
|
|
122
122
|
keepAliveIncludeChange: (keepAliveInclude: string[]) => true;
|
|
123
123
|
}, string, {
|
|
124
|
-
layout: "mix" | "side";
|
|
125
124
|
title: string;
|
|
126
125
|
theme: "dark" | "light";
|
|
126
|
+
layout: "mix" | "side";
|
|
127
127
|
menuItems: IProMenuItem[];
|
|
128
128
|
logo: string;
|
|
129
129
|
footerTitle: string;
|
|
@@ -245,9 +245,9 @@ declare const ProLayout: {
|
|
|
245
245
|
collapse: (collapsed: boolean) => true;
|
|
246
246
|
keepAliveIncludeChange: (keepAliveInclude: string[]) => true;
|
|
247
247
|
}, string, {
|
|
248
|
-
layout: "mix" | "side";
|
|
249
248
|
title: string;
|
|
250
249
|
theme: "dark" | "light";
|
|
250
|
+
layout: "mix" | "side";
|
|
251
251
|
menuItems: IProMenuItem[];
|
|
252
252
|
logo: string;
|
|
253
253
|
footerTitle: string;
|
|
@@ -89,9 +89,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<{
|
|
|
89
89
|
onCollapse?: ((collapsed: boolean) => any) | undefined;
|
|
90
90
|
onKeepAliveIncludeChange?: ((keepAliveInclude: string[]) => any) | undefined;
|
|
91
91
|
}, {
|
|
92
|
-
layout: "mix" | "side";
|
|
93
92
|
title: string;
|
|
94
93
|
theme: "dark" | "light";
|
|
94
|
+
layout: "mix" | "side";
|
|
95
95
|
menuItems: IProMenuItem[];
|
|
96
96
|
logo: string;
|
|
97
97
|
footerTitle: string;
|
package/es/style.css
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
.keyblade-pro-page-container {
|
|
2
|
+
padding: 0 20px 20px 20px;
|
|
3
|
+
}
|
|
4
|
+
.keyblade-pro-reuse-tabs {
|
|
5
|
+
position: relative;
|
|
6
|
+
background-color: var(--color-bg-2);
|
|
7
|
+
padding: 4px 20px;
|
|
8
|
+
}
|
|
1
9
|
.keyblade-pro-layout {
|
|
2
10
|
width: 100%;
|
|
3
11
|
height: 100%;
|
|
@@ -110,14 +118,6 @@
|
|
|
110
118
|
.keyblade-pro-breadcrumb-icon-item {
|
|
111
119
|
cursor: text;
|
|
112
120
|
}
|
|
113
|
-
.keyblade-pro-reuse-tabs {
|
|
114
|
-
position: relative;
|
|
115
|
-
background-color: var(--color-bg-2);
|
|
116
|
-
padding: 4px 20px;
|
|
117
|
-
}
|
|
118
|
-
.keyblade-pro-page-container {
|
|
119
|
-
padding: 0 20px 20px 20px;
|
|
120
|
-
}
|
|
121
121
|
.keyblade-pro-menu-item-img {
|
|
122
122
|
width: 14px;
|
|
123
123
|
height: auto;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@keyblade/pro-components",
|
|
3
3
|
"description": "KeyBlade Pro Components",
|
|
4
4
|
"author": "yangshuai <704807396@qq.com>",
|
|
5
|
-
"version": "1.4.
|
|
5
|
+
"version": "1.4.2",
|
|
6
6
|
"private": false,
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "es/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"*.css"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@arco-design/web-vue": "^2.
|
|
22
|
+
"@arco-design/web-vue": "^2.49.1",
|
|
23
23
|
"vue-router": "^4.2.4"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
package/src/index.ts
CHANGED
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import type { App } from 'vue'
|
|
2
2
|
import { ProBreadcrumb } from './pro-breadcrumb'
|
|
3
|
-
import { ProDrawerForm } from './pro-drawer-form'
|
|
4
3
|
import { ProKeepAliveRouterView } from './pro-keep-alive-router-view'
|
|
5
4
|
import { ProLayout } from './pro-layout'
|
|
6
5
|
import { ProMenu } from './pro-menu'
|
|
7
|
-
import { ProModalForm } from './pro-modal-form'
|
|
8
6
|
import { ProPageContainer } from './pro-page-container'
|
|
9
7
|
import { ProReuseTabs } from './pro-reuse-tabs'
|
|
10
8
|
|
|
11
9
|
export default {
|
|
12
10
|
install(app: App): void {
|
|
13
11
|
app.use(ProBreadcrumb)
|
|
14
|
-
app.use(ProDrawerForm)
|
|
15
12
|
app.use(ProKeepAliveRouterView)
|
|
16
13
|
app.use(ProLayout)
|
|
17
14
|
app.use(ProMenu)
|
|
18
|
-
app.use(ProModalForm)
|
|
19
15
|
app.use(ProPageContainer)
|
|
20
16
|
app.use(ProReuseTabs)
|
|
21
17
|
}
|
|
@@ -24,8 +20,6 @@ export default {
|
|
|
24
20
|
// 按组件导出
|
|
25
21
|
export { default as ProBreadcrumb } from './pro-breadcrumb'
|
|
26
22
|
|
|
27
|
-
export { default as ProDrawerForm } from './pro-drawer-form'
|
|
28
|
-
|
|
29
23
|
export { default as ProKeepAliveRouterView } from './pro-keep-alive-router-view'
|
|
30
24
|
|
|
31
25
|
export { default as ProLayout } from './pro-layout'
|
|
@@ -33,8 +27,6 @@ export { default as ProLayout } from './pro-layout'
|
|
|
33
27
|
export { default as ProMenu } from './pro-menu'
|
|
34
28
|
export type { IProMenuItem } from './pro-menu'
|
|
35
29
|
|
|
36
|
-
export { default as ProModalForm } from './pro-modal-form'
|
|
37
|
-
|
|
38
30
|
export { default as ProPageContainer } from './pro-page-container'
|
|
39
31
|
|
|
40
32
|
export { default as ProReuseTabs } from './pro-reuse-tabs'
|