@keyblade/pro-components 1.4.6 → 1.5.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/es/components.d.ts +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +19 -19
- package/es/pro-keep-alive-router-view/index.d.ts +1 -1
- package/es/pro-layout/hooks.d.ts +1 -1
- package/es/pro-layout/hooks.js +1 -1
- package/es/pro-layout/index.d.ts +31 -13
- package/es/pro-layout/pro-layout.vue.d.ts +36 -15
- package/es/pro-layout/pro-layout.vue.js +127 -115
- package/es/pro-menu/index.d.ts +24 -4
- package/es/pro-menu/index.js +7 -6
- package/es/pro-menu/pro-menu.vue.d.ts +13 -1
- package/es/pro-menu/pro-menu.vue.js +99 -34
- package/es/pro-menu/pro-menu.vue2.js +2 -2
- package/es/pro-menu/pro-menu.vue3.js +5 -0
- package/es/pro-page-container/index.d.ts +82 -109
- package/es/pro-page-container/index.js +7 -7
- package/es/pro-page-container/pro-page-container.vue.d.ts +49 -79
- package/es/pro-page-container/pro-page-container.vue.js +32 -51
- package/es/{pro-breadcrumb → pro-page-header}/index.d.ts +55 -55
- package/es/pro-page-header/index.js +13 -0
- package/es/{pro-breadcrumb/pro-breadcrumb.vue.d.ts → pro-page-header/pro-page-header.vue.d.ts} +41 -41
- package/es/pro-page-header/pro-page-header.vue.js +125 -0
- package/es/pro-page-header/pro-page-header.vue3.js +5 -0
- package/es/pro-reuse-tabs/index.d.ts +1 -1
- package/es/style.css +1 -1
- package/package.json +3 -2
- package/src/index.ts +3 -3
- package/es/pro-breadcrumb/index.js +0 -13
- package/es/pro-breadcrumb/pro-breadcrumb.vue.js +0 -102
- package/es/pro-breadcrumb/pro-breadcrumb.vue3.js +0 -5
- package/es/pro-menu/pro-menu-item.vue.d.ts +0 -14
- package/es/pro-menu/pro-menu-item.vue.js +0 -88
- package/es/pro-menu/pro-menu-item.vue2.js +0 -4
- package/es/pro-menu/pro-menu-item.vue3.js +0 -5
- /package/es/{pro-breadcrumb/pro-breadcrumb.vue2.js → pro-page-header/pro-page-header.vue2.js} +0 -0
|
@@ -4,14 +4,15 @@ declare const ProPageContainer: {
|
|
|
4
4
|
$: ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
hidePageHeader?: boolean | undefined;
|
|
8
|
+
pageHeader?: {
|
|
9
|
+
title?: string | undefined;
|
|
10
|
+
subTitle?: string | undefined;
|
|
11
|
+
titlePosition?: "top" | "bottom" | undefined;
|
|
12
|
+
hideTitle?: boolean | undefined;
|
|
13
|
+
breadcrumbPrefixIcon?: string | boolean | undefined;
|
|
14
|
+
breadcrumbItems?: string[] | undefined;
|
|
15
|
+
} | undefined;
|
|
15
16
|
key?: string | number | symbol | undefined;
|
|
16
17
|
ref?: VNodeRef | undefined;
|
|
17
18
|
ref_for?: boolean | undefined;
|
|
@@ -55,6 +56,7 @@ declare const ProPageContainer: {
|
|
|
55
56
|
[key: string]: any;
|
|
56
57
|
}>) => void)[] | undefined;
|
|
57
58
|
class?: unknown;
|
|
59
|
+
style?: unknown;
|
|
58
60
|
};
|
|
59
61
|
$attrs: {
|
|
60
62
|
[x: string]: unknown;
|
|
@@ -70,49 +72,40 @@ declare const ProPageContainer: {
|
|
|
70
72
|
$emit: (event: string, ...args: any[]) => void;
|
|
71
73
|
$el: any;
|
|
72
74
|
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
73
|
-
|
|
74
|
-
type: PropType<boolean>;
|
|
75
|
-
required: false;
|
|
76
|
-
default: boolean;
|
|
77
|
-
};
|
|
78
|
-
breadcrumbShowIcon: {
|
|
79
|
-
type: PropType<boolean>;
|
|
80
|
-
required: false;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
breadcrumbIcon: {
|
|
84
|
-
type: PropType<string>;
|
|
85
|
-
required: false;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
breadcrumbItems: {
|
|
89
|
-
type: PropType<string[]>;
|
|
90
|
-
required: false;
|
|
91
|
-
default: () => never[];
|
|
92
|
-
};
|
|
93
|
-
breadcrumbShowTitle: {
|
|
75
|
+
hidePageHeader: {
|
|
94
76
|
type: PropType<boolean>;
|
|
95
77
|
required: false;
|
|
96
78
|
default: boolean;
|
|
97
79
|
};
|
|
98
|
-
|
|
99
|
-
type: PropType<
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
80
|
+
pageHeader: {
|
|
81
|
+
type: PropType<{
|
|
82
|
+
title?: string | undefined;
|
|
83
|
+
subTitle?: string | undefined;
|
|
84
|
+
titlePosition?: "top" | "bottom" | undefined;
|
|
85
|
+
hideTitle?: boolean | undefined;
|
|
86
|
+
breadcrumbPrefixIcon?: string | boolean | undefined;
|
|
87
|
+
breadcrumbItems?: string[] | undefined;
|
|
88
|
+
}>;
|
|
105
89
|
required: false;
|
|
106
|
-
default:
|
|
90
|
+
default: () => {
|
|
91
|
+
title: string;
|
|
92
|
+
subTitle: string;
|
|
93
|
+
titlePosition: string;
|
|
94
|
+
hideTitle: boolean;
|
|
95
|
+
breadcrumbPrefixIcon: string;
|
|
96
|
+
breadcrumbItems: never[];
|
|
97
|
+
};
|
|
107
98
|
};
|
|
108
99
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
100
|
+
hidePageHeader: boolean;
|
|
101
|
+
pageHeader: {
|
|
102
|
+
title?: string | undefined;
|
|
103
|
+
subTitle?: string | undefined;
|
|
104
|
+
titlePosition?: "top" | "bottom" | undefined;
|
|
105
|
+
hideTitle?: boolean | undefined;
|
|
106
|
+
breadcrumbPrefixIcon?: string | boolean | undefined;
|
|
107
|
+
breadcrumbItems?: string[] | undefined;
|
|
108
|
+
};
|
|
116
109
|
}, {}, string, {}> & {
|
|
117
110
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
118
111
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -134,89 +127,69 @@ declare const ProPageContainer: {
|
|
|
134
127
|
$nextTick: typeof nextTick;
|
|
135
128
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
136
129
|
} & Readonly<ExtractPropTypes<{
|
|
137
|
-
|
|
130
|
+
hidePageHeader: {
|
|
138
131
|
type: PropType<boolean>;
|
|
139
132
|
required: false;
|
|
140
133
|
default: boolean;
|
|
141
134
|
};
|
|
142
|
-
|
|
143
|
-
type: PropType<
|
|
135
|
+
pageHeader: {
|
|
136
|
+
type: PropType<{
|
|
137
|
+
title?: string | undefined;
|
|
138
|
+
subTitle?: string | undefined;
|
|
139
|
+
titlePosition?: "top" | "bottom" | undefined;
|
|
140
|
+
hideTitle?: boolean | undefined;
|
|
141
|
+
breadcrumbPrefixIcon?: string | boolean | undefined;
|
|
142
|
+
breadcrumbItems?: string[] | undefined;
|
|
143
|
+
}>;
|
|
144
144
|
required: false;
|
|
145
|
-
default:
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
type: PropType<string[]>;
|
|
154
|
-
required: false;
|
|
155
|
-
default: () => never[];
|
|
156
|
-
};
|
|
157
|
-
breadcrumbShowTitle: {
|
|
158
|
-
type: PropType<boolean>;
|
|
159
|
-
required: false;
|
|
160
|
-
default: boolean;
|
|
161
|
-
};
|
|
162
|
-
breadcrumbTitle: {
|
|
163
|
-
type: PropType<string>;
|
|
164
|
-
required: false;
|
|
165
|
-
default: string;
|
|
166
|
-
};
|
|
167
|
-
breadcrumbSubTitle: {
|
|
168
|
-
type: PropType<string>;
|
|
169
|
-
required: false;
|
|
170
|
-
default: string;
|
|
145
|
+
default: () => {
|
|
146
|
+
title: string;
|
|
147
|
+
subTitle: string;
|
|
148
|
+
titlePosition: string;
|
|
149
|
+
hideTitle: boolean;
|
|
150
|
+
breadcrumbPrefixIcon: string;
|
|
151
|
+
breadcrumbItems: never[];
|
|
152
|
+
};
|
|
171
153
|
};
|
|
172
154
|
}>> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
|
|
173
155
|
__isFragment?: undefined;
|
|
174
156
|
__isTeleport?: undefined;
|
|
175
157
|
__isSuspense?: undefined;
|
|
176
158
|
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
177
|
-
|
|
159
|
+
hidePageHeader: {
|
|
178
160
|
type: PropType<boolean>;
|
|
179
161
|
required: false;
|
|
180
162
|
default: boolean;
|
|
181
163
|
};
|
|
182
|
-
|
|
183
|
-
type: PropType<
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
};
|
|
192
|
-
breadcrumbItems: {
|
|
193
|
-
type: PropType<string[]>;
|
|
194
|
-
required: false;
|
|
195
|
-
default: () => never[];
|
|
196
|
-
};
|
|
197
|
-
breadcrumbShowTitle: {
|
|
198
|
-
type: PropType<boolean>;
|
|
199
|
-
required: false;
|
|
200
|
-
default: boolean;
|
|
201
|
-
};
|
|
202
|
-
breadcrumbTitle: {
|
|
203
|
-
type: PropType<string>;
|
|
204
|
-
required: false;
|
|
205
|
-
default: string;
|
|
206
|
-
};
|
|
207
|
-
breadcrumbSubTitle: {
|
|
208
|
-
type: PropType<string>;
|
|
164
|
+
pageHeader: {
|
|
165
|
+
type: PropType<{
|
|
166
|
+
title?: string | undefined;
|
|
167
|
+
subTitle?: string | undefined;
|
|
168
|
+
titlePosition?: "top" | "bottom" | undefined;
|
|
169
|
+
hideTitle?: boolean | undefined;
|
|
170
|
+
breadcrumbPrefixIcon?: string | boolean | undefined;
|
|
171
|
+
breadcrumbItems?: string[] | undefined;
|
|
172
|
+
}>;
|
|
209
173
|
required: false;
|
|
210
|
-
default:
|
|
174
|
+
default: () => {
|
|
175
|
+
title: string;
|
|
176
|
+
subTitle: string;
|
|
177
|
+
titlePosition: string;
|
|
178
|
+
hideTitle: boolean;
|
|
179
|
+
breadcrumbPrefixIcon: string;
|
|
180
|
+
breadcrumbItems: never[];
|
|
181
|
+
};
|
|
211
182
|
};
|
|
212
183
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
184
|
+
hidePageHeader: boolean;
|
|
185
|
+
pageHeader: {
|
|
186
|
+
title?: string | undefined;
|
|
187
|
+
subTitle?: string | undefined;
|
|
188
|
+
titlePosition?: "top" | "bottom" | undefined;
|
|
189
|
+
hideTitle?: boolean | undefined;
|
|
190
|
+
breadcrumbPrefixIcon?: string | boolean | undefined;
|
|
191
|
+
breadcrumbItems?: string[] | undefined;
|
|
192
|
+
};
|
|
220
193
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
221
194
|
$slots: {
|
|
222
195
|
default?(_: {}): any;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from "./pro-page-container.vue.js";
|
|
2
2
|
import "./pro-page-container.vue2.js";
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
3
|
+
import { ProPageHeader as r } from "../pro-page-header/index.js";
|
|
4
|
+
const n = Object.assign(e, {
|
|
5
5
|
install: (o) => {
|
|
6
|
-
o.use(
|
|
6
|
+
o.use(r), o.component("KbProPageContainer", e);
|
|
7
7
|
}
|
|
8
|
-
}),
|
|
8
|
+
}), s = n;
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
n as ProPageContainer,
|
|
11
|
+
s as default
|
|
12
12
|
};
|
|
@@ -1,98 +1,68 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<{
|
|
3
|
-
/**
|
|
4
|
-
|
|
3
|
+
/** 是否隐藏页头 */
|
|
4
|
+
hidePageHeader: {
|
|
5
5
|
type: PropType<boolean>;
|
|
6
6
|
required: false;
|
|
7
7
|
default: boolean;
|
|
8
8
|
};
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
type: PropType<
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
/** 页头属性 */
|
|
10
|
+
pageHeader: {
|
|
11
|
+
type: PropType<{
|
|
12
|
+
title?: string | undefined;
|
|
13
|
+
subTitle?: string | undefined;
|
|
14
|
+
titlePosition?: "top" | "bottom" | undefined;
|
|
15
|
+
hideTitle?: boolean | undefined;
|
|
16
|
+
breadcrumbPrefixIcon?: string | boolean | undefined;
|
|
17
|
+
breadcrumbItems?: string[] | undefined;
|
|
18
|
+
}>;
|
|
18
19
|
required: false;
|
|
19
|
-
default:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/** 面包屑是否显示标题 */
|
|
28
|
-
breadcrumbShowTitle: {
|
|
29
|
-
type: PropType<boolean>;
|
|
30
|
-
required: false;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
/** 面包屑标题,不传默认展示面包屑标题最后一项 */
|
|
34
|
-
breadcrumbTitle: {
|
|
35
|
-
type: PropType<string>;
|
|
36
|
-
required: false;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
/** 面包屑副标题,不传默认不展示 */
|
|
40
|
-
breadcrumbSubTitle: {
|
|
41
|
-
type: PropType<string>;
|
|
42
|
-
required: false;
|
|
43
|
-
default: string;
|
|
20
|
+
default: () => {
|
|
21
|
+
title: string;
|
|
22
|
+
subTitle: string;
|
|
23
|
+
titlePosition: string;
|
|
24
|
+
hideTitle: boolean;
|
|
25
|
+
breadcrumbPrefixIcon: string;
|
|
26
|
+
breadcrumbItems: never[];
|
|
27
|
+
};
|
|
44
28
|
};
|
|
45
29
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
46
|
-
/**
|
|
47
|
-
|
|
30
|
+
/** 是否隐藏页头 */
|
|
31
|
+
hidePageHeader: {
|
|
48
32
|
type: PropType<boolean>;
|
|
49
33
|
required: false;
|
|
50
34
|
default: boolean;
|
|
51
35
|
};
|
|
52
|
-
/**
|
|
53
|
-
|
|
54
|
-
type: PropType<
|
|
36
|
+
/** 页头属性 */
|
|
37
|
+
pageHeader: {
|
|
38
|
+
type: PropType<{
|
|
39
|
+
title?: string | undefined;
|
|
40
|
+
subTitle?: string | undefined;
|
|
41
|
+
titlePosition?: "top" | "bottom" | undefined;
|
|
42
|
+
hideTitle?: boolean | undefined;
|
|
43
|
+
breadcrumbPrefixIcon?: string | boolean | undefined;
|
|
44
|
+
breadcrumbItems?: string[] | undefined;
|
|
45
|
+
}>;
|
|
55
46
|
required: false;
|
|
56
|
-
default:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
/** 面包屑项目 */
|
|
65
|
-
breadcrumbItems: {
|
|
66
|
-
type: PropType<string[]>;
|
|
67
|
-
required: false;
|
|
68
|
-
default: () => never[];
|
|
69
|
-
};
|
|
70
|
-
/** 面包屑是否显示标题 */
|
|
71
|
-
breadcrumbShowTitle: {
|
|
72
|
-
type: PropType<boolean>;
|
|
73
|
-
required: false;
|
|
74
|
-
default: boolean;
|
|
75
|
-
};
|
|
76
|
-
/** 面包屑标题,不传默认展示面包屑标题最后一项 */
|
|
77
|
-
breadcrumbTitle: {
|
|
78
|
-
type: PropType<string>;
|
|
79
|
-
required: false;
|
|
80
|
-
default: string;
|
|
81
|
-
};
|
|
82
|
-
/** 面包屑副标题,不传默认不展示 */
|
|
83
|
-
breadcrumbSubTitle: {
|
|
84
|
-
type: PropType<string>;
|
|
85
|
-
required: false;
|
|
86
|
-
default: string;
|
|
47
|
+
default: () => {
|
|
48
|
+
title: string;
|
|
49
|
+
subTitle: string;
|
|
50
|
+
titlePosition: string;
|
|
51
|
+
hideTitle: boolean;
|
|
52
|
+
breadcrumbPrefixIcon: string;
|
|
53
|
+
breadcrumbItems: never[];
|
|
54
|
+
};
|
|
87
55
|
};
|
|
88
56
|
}>>, {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
57
|
+
hidePageHeader: boolean;
|
|
58
|
+
pageHeader: {
|
|
59
|
+
title?: string | undefined;
|
|
60
|
+
subTitle?: string | undefined;
|
|
61
|
+
titlePosition?: "top" | "bottom" | undefined;
|
|
62
|
+
hideTitle?: boolean | undefined;
|
|
63
|
+
breadcrumbPrefixIcon?: string | boolean | undefined;
|
|
64
|
+
breadcrumbItems?: string[] | undefined;
|
|
65
|
+
};
|
|
96
66
|
}, {}>, {
|
|
97
67
|
default?(_: {}): any;
|
|
98
68
|
}>;
|
|
@@ -1,66 +1,47 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as o, resolveComponent as d, openBlock as t, createElementBlock as n, normalizeClass as a, createBlock as c, createCommentVNode as s, createElementVNode as m, renderSlot as b } from "vue";
|
|
2
|
+
const r = "keyblade-pro-page-container", f = /* @__PURE__ */ o({
|
|
3
3
|
__name: "pro-page-container",
|
|
4
4
|
props: {
|
|
5
|
-
/**
|
|
6
|
-
|
|
5
|
+
/** 是否隐藏页头 */
|
|
6
|
+
hidePageHeader: {
|
|
7
7
|
type: Boolean,
|
|
8
8
|
required: !1,
|
|
9
9
|
default: !1
|
|
10
10
|
},
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
type:
|
|
14
|
-
required: !1,
|
|
15
|
-
default: !0
|
|
16
|
-
},
|
|
17
|
-
/** 面包屑图标类型 */
|
|
18
|
-
breadcrumbIcon: {
|
|
19
|
-
type: String,
|
|
20
|
-
required: !1,
|
|
21
|
-
default: "icon-apps"
|
|
22
|
-
},
|
|
23
|
-
/** 面包屑项目 */
|
|
24
|
-
breadcrumbItems: {
|
|
25
|
-
type: Array,
|
|
26
|
-
required: !1,
|
|
27
|
-
default: () => []
|
|
28
|
-
},
|
|
29
|
-
/** 面包屑是否显示标题 */
|
|
30
|
-
breadcrumbShowTitle: {
|
|
31
|
-
type: Boolean,
|
|
32
|
-
required: !1,
|
|
33
|
-
default: !0
|
|
34
|
-
},
|
|
35
|
-
/** 面包屑标题,不传默认展示面包屑标题最后一项 */
|
|
36
|
-
breadcrumbTitle: {
|
|
37
|
-
type: String,
|
|
38
|
-
required: !1,
|
|
39
|
-
default: ""
|
|
40
|
-
},
|
|
41
|
-
/** 面包屑副标题,不传默认不展示 */
|
|
42
|
-
breadcrumbSubTitle: {
|
|
43
|
-
type: String,
|
|
11
|
+
/** 页头属性 */
|
|
12
|
+
pageHeader: {
|
|
13
|
+
type: Object,
|
|
44
14
|
required: !1,
|
|
45
|
-
default:
|
|
15
|
+
default: () => ({
|
|
16
|
+
title: "",
|
|
17
|
+
subTitle: "",
|
|
18
|
+
titlePosition: "top",
|
|
19
|
+
hideTitle: !1,
|
|
20
|
+
breadcrumbPrefixIcon: "icon-apps",
|
|
21
|
+
breadcrumbItems: []
|
|
22
|
+
})
|
|
46
23
|
}
|
|
47
24
|
},
|
|
48
25
|
setup(e) {
|
|
49
|
-
return (
|
|
50
|
-
const
|
|
51
|
-
return
|
|
52
|
-
class:
|
|
26
|
+
return (i, u) => {
|
|
27
|
+
const l = d("kb-pro-page-header");
|
|
28
|
+
return t(), n("div", {
|
|
29
|
+
class: a(r)
|
|
53
30
|
}, [
|
|
54
|
-
e.
|
|
31
|
+
e.hidePageHeader ? s("", !0) : (t(), c(l, {
|
|
55
32
|
key: 0,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}, null, 8, ["
|
|
63
|
-
|
|
33
|
+
title: e.pageHeader.title,
|
|
34
|
+
subTitle: e.pageHeader.subTitle,
|
|
35
|
+
titlePosition: e.pageHeader.titlePosition,
|
|
36
|
+
hideTitle: e.pageHeader.hideTitle,
|
|
37
|
+
breadcrumbPrefixIcon: e.pageHeader.breadcrumbPrefixIcon,
|
|
38
|
+
breadcrumbItems: e.pageHeader.breadcrumbItems
|
|
39
|
+
}, null, 8, ["title", "subTitle", "titlePosition", "hideTitle", "breadcrumbPrefixIcon", "breadcrumbItems"])),
|
|
40
|
+
m("div", {
|
|
41
|
+
class: a(`${r}-content`)
|
|
42
|
+
}, [
|
|
43
|
+
b(i.$slots, "default")
|
|
44
|
+
], 2)
|
|
64
45
|
]);
|
|
65
46
|
};
|
|
66
47
|
}
|