@keyblade/pro-components 1.0.0 → 1.0.1
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 +2 -1
- package/es/index.d.ts +2 -1
- package/es/index.js +16 -12
- package/es/pro-breadcrumb/index.js +1 -0
- package/es/pro-breadcrumb/pro-breadcrumb.vue.js +14 -6
- package/es/pro-breadcrumb/pro-breadcrumb.vue2.js +2 -2
- package/es/pro-breadcrumb/pro-breadcrumb.vue3.js +5 -0
- package/es/pro-keep-alive-router-view/index.d.ts +124 -0
- package/es/pro-keep-alive-router-view/index.js +11 -0
- package/es/pro-keep-alive-router-view/pro-keep-alive-router-view.vue.d.ts +45 -0
- package/es/pro-keep-alive-router-view/pro-keep-alive-router-view.vue.js +57 -0
- package/es/pro-keep-alive-router-view/pro-keep-alive-router-view.vue2.js +4 -0
- package/es/pro-layout/hooks.d.ts +3 -2
- package/es/pro-layout/hooks.js +38 -8
- package/es/pro-layout/index.d.ts +15 -9
- package/es/pro-layout/index.js +3 -6
- package/es/pro-layout/pro-layout.vue.d.ts +5 -3
- package/es/pro-layout/pro-layout.vue.js +34 -59
- package/es/pro-menu/index.d.ts +1 -13
- package/es/pro-menu/interface.d.ts +5 -9
- package/es/pro-menu/pro-menu-item.vue.js +28 -4
- package/es/pro-menu/pro-menu-item.vue2.js +2 -2
- package/es/pro-menu/pro-menu-item.vue3.js +5 -0
- package/es/pro-menu/pro-menu.vue.d.ts +1 -5
- package/es/pro-menu/pro-menu.vue.js +3 -8
- package/es/{pro-page-wrapper → pro-page-container}/index.d.ts +11 -11
- package/es/pro-page-container/index.js +14 -0
- package/es/{pro-page-wrapper/pro-page-wrapper.vue.d.ts → pro-page-container/pro-page-container.vue.d.ts} +3 -3
- package/es/{pro-page-wrapper/pro-page-wrapper.vue.js → pro-page-container/pro-page-container.vue.js} +6 -8
- package/es/pro-page-container/pro-page-container.vue2.js +4 -0
- package/es/pro-page-container/pro-page-container.vue3.js +5 -0
- package/es/style.css +24 -15
- package/package.json +1 -1
- package/src/index.ts +7 -3
- package/es/pro-page-wrapper/index.js +0 -14
- package/es/pro-page-wrapper/pro-page-wrapper.vue2.js +0 -4
- package/es/pro-page-wrapper/pro-page-wrapper.vue3.js +0 -5
package/es/style.css
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
.keyblade-pro-
|
|
2
|
-
|
|
1
|
+
.keyblade-pro-breadcrumb {
|
|
2
|
+
margin: 16px 0;
|
|
3
|
+
}
|
|
4
|
+
.keyblade-pro-breadcrumb-icon-item {
|
|
5
|
+
cursor: text;
|
|
3
6
|
}
|
|
4
7
|
.keyblade-pro-layout {
|
|
5
8
|
width: 100%;
|
|
@@ -13,7 +16,7 @@
|
|
|
13
16
|
top: 0;
|
|
14
17
|
left: 0;
|
|
15
18
|
width: 100%;
|
|
16
|
-
height: var(--
|
|
19
|
+
height: var(--c766e2a6);
|
|
17
20
|
z-index: 100;
|
|
18
21
|
display: flex;
|
|
19
22
|
align-items: center;
|
|
@@ -35,7 +38,7 @@
|
|
|
35
38
|
font-size: 18px;
|
|
36
39
|
}
|
|
37
40
|
.keyblade-pro-layout-sider {
|
|
38
|
-
padding-top: var(--
|
|
41
|
+
padding-top: var(--c766e2a6);
|
|
39
42
|
position: fixed;
|
|
40
43
|
top: 0;
|
|
41
44
|
left: 0;
|
|
@@ -44,24 +47,23 @@
|
|
|
44
47
|
transition: all 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
45
48
|
}
|
|
46
49
|
.keyblade-pro-layout-sider-content {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
min-height: 100%;
|
|
50
|
+
position: relative;
|
|
51
|
+
height: 100%;
|
|
50
52
|
overflow: auto;
|
|
51
53
|
}
|
|
54
|
+
.keyblade-pro-layout-sider-collapsed {
|
|
55
|
+
position: absolute;
|
|
56
|
+
right: 12px;
|
|
57
|
+
bottom: 12px;
|
|
58
|
+
}
|
|
52
59
|
.keyblade-pro-layout-body {
|
|
53
|
-
padding-top: var(--
|
|
54
|
-
padding-left: var(--
|
|
60
|
+
padding-top: var(--c766e2a6);
|
|
61
|
+
padding-left: var(--2eb6eb40);
|
|
55
62
|
min-height: 100vh;
|
|
56
63
|
overflow-y: hidden;
|
|
57
64
|
background-color: var(--color-fill-2);
|
|
58
65
|
transition: padding 0.2s cubic-bezier(0.34, 0.69, 0.1, 1);
|
|
59
66
|
}
|
|
60
|
-
.keyblade-pro-layout-body-container {
|
|
61
|
-
background-color: var(--color-fill-2);
|
|
62
|
-
padding: 16px 20px 0;
|
|
63
|
-
display: flex;
|
|
64
|
-
}
|
|
65
67
|
.keyblade-pro-layout-body-footer {
|
|
66
68
|
display: flex;
|
|
67
69
|
align-items: center;
|
|
@@ -71,10 +73,17 @@
|
|
|
71
73
|
text-align: center;
|
|
72
74
|
}
|
|
73
75
|
.keyblade-pro-layout-body-collapsed {
|
|
74
|
-
padding-left: var(--
|
|
76
|
+
padding-left: var(--4059c865);
|
|
77
|
+
}
|
|
78
|
+
.keyblade-pro-page-container {
|
|
79
|
+
padding: 0 20px 20px 20px;
|
|
75
80
|
}
|
|
76
81
|
.keyblade-pro-reuse-tabs {
|
|
77
82
|
position: relative;
|
|
78
83
|
background-color: var(--color-bg-2);
|
|
79
84
|
padding: 4px 20px;
|
|
80
85
|
}
|
|
86
|
+
.keyblade-pro-menu-item-img {
|
|
87
|
+
width: 14px;
|
|
88
|
+
height: auto;
|
|
89
|
+
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import type { App } from 'vue'
|
|
2
2
|
import { ProBreadcrumb } from './pro-breadcrumb'
|
|
3
3
|
import { ProDrawerForm } from './pro-drawer-form'
|
|
4
|
+
import { ProKeepAliveRouterView } from './pro-keep-alive-router-view'
|
|
4
5
|
import { ProLayout } from './pro-layout'
|
|
5
6
|
import { ProMenu } from './pro-menu'
|
|
6
7
|
import { ProModalForm } from './pro-modal-form'
|
|
7
|
-
import {
|
|
8
|
+
import { ProPageContainer } from './pro-page-container'
|
|
8
9
|
import { ProReuseTabs } from './pro-reuse-tabs'
|
|
9
10
|
|
|
10
11
|
export default {
|
|
11
12
|
install(app: App): void {
|
|
12
13
|
app.use(ProBreadcrumb)
|
|
13
14
|
app.use(ProDrawerForm)
|
|
15
|
+
app.use(ProKeepAliveRouterView)
|
|
14
16
|
app.use(ProLayout)
|
|
15
17
|
app.use(ProMenu)
|
|
16
18
|
app.use(ProModalForm)
|
|
17
|
-
app.use(
|
|
19
|
+
app.use(ProPageContainer)
|
|
18
20
|
app.use(ProReuseTabs)
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -24,6 +26,8 @@ export { default as ProBreadcrumb } from './pro-breadcrumb'
|
|
|
24
26
|
|
|
25
27
|
export { default as ProDrawerForm } from './pro-drawer-form'
|
|
26
28
|
|
|
29
|
+
export { default as ProKeepAliveRouterView } from './pro-keep-alive-router-view'
|
|
30
|
+
|
|
27
31
|
export { default as ProLayout } from './pro-layout'
|
|
28
32
|
|
|
29
33
|
export { default as ProMenu } from './pro-menu'
|
|
@@ -31,7 +35,7 @@ export type { IProMenuItem } from './pro-menu'
|
|
|
31
35
|
|
|
32
36
|
export { default as ProModalForm } from './pro-modal-form'
|
|
33
37
|
|
|
34
|
-
export { default as
|
|
38
|
+
export { default as ProPageContainer } from './pro-page-container'
|
|
35
39
|
|
|
36
40
|
export { default as ProReuseTabs } from './pro-reuse-tabs'
|
|
37
41
|
export type { IProTab } from './pro-reuse-tabs'
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "./pro-page-wrapper.vue.js";
|
|
2
|
-
import "./pro-page-wrapper.vue2.js";
|
|
3
|
-
import { ProBreadcrumb } from "../pro-breadcrumb/index.js";
|
|
4
|
-
const ProPageWrapper = Object.assign(_sfc_main, {
|
|
5
|
-
install: (app) => {
|
|
6
|
-
app.use(ProBreadcrumb);
|
|
7
|
-
app.component("KbProPageWrapper", _sfc_main);
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
const ProPageWrapper$1 = ProPageWrapper;
|
|
11
|
-
export {
|
|
12
|
-
ProPageWrapper,
|
|
13
|
-
ProPageWrapper$1 as default
|
|
14
|
-
};
|