@cyberpunk-vue/components 1.4.0 → 1.5.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/dist/avatar/index.d.ts.map +1 -1
- package/dist/avatar/src/avatar.vue.d.ts.map +1 -1
- package/dist/breadcrumb/index.d.ts +117 -0
- package/dist/breadcrumb/index.d.ts.map +1 -0
- package/dist/breadcrumb/src/breadcrumb.d.ts +79 -0
- package/dist/breadcrumb/src/breadcrumb.d.ts.map +1 -0
- package/dist/breadcrumb/src/breadcrumb.vue.d.ts +66 -0
- package/dist/breadcrumb/src/breadcrumb.vue.d.ts.map +1 -0
- package/dist/breadcrumb/src/instance.d.ts +3 -0
- package/dist/breadcrumb/src/instance.d.ts.map +1 -0
- package/dist/breadcrumb-item/index.d.ts +69 -0
- package/dist/breadcrumb-item/index.d.ts.map +1 -0
- package/dist/breadcrumb-item/src/breadcrumb-item.d.ts +32 -0
- package/dist/breadcrumb-item/src/breadcrumb-item.d.ts.map +1 -0
- package/dist/breadcrumb-item/src/breadcrumb-item.vue.d.ts +40 -0
- package/dist/breadcrumb-item/src/breadcrumb-item.vue.d.ts.map +1 -0
- package/dist/breadcrumb-item/src/instance.d.ts +3 -0
- package/dist/breadcrumb-item/src/instance.d.ts.map +1 -0
- package/dist/checkbox-group/src/checkbox-group.d.ts.map +1 -1
- package/dist/checkbox-group/src/checkbox-group.vue.d.ts +6 -6
- package/dist/checkbox-group/src/checkbox-group.vue.d.ts.map +1 -1
- package/dist/checkbox-group/src/constants.d.ts.map +1 -1
- package/dist/container/index.d.ts +2 -16
- package/dist/container/index.d.ts.map +1 -1
- package/dist/container/src/aside.vue.d.ts +3 -9
- package/dist/container/src/aside.vue.d.ts.map +1 -1
- package/dist/container/src/main.vue.d.ts +3 -9
- package/dist/container/src/main.vue.d.ts.map +1 -1
- package/dist/form-item/src/form-item.d.ts.map +1 -1
- package/dist/form-item/src/form-item.vue.d.ts.map +1 -1
- package/dist/image/index.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +4512 -3543
- package/dist/menu-item/src/menu-item.d.ts.map +1 -1
- package/dist/menu-item/src/menu-item.vue.d.ts +3 -3
- package/dist/menu-nav/src/menu-nav.d.ts.map +1 -1
- package/dist/menu-nav/src/menu-nav.vue.d.ts +12 -12
- package/dist/pagination/src/pagination.d.ts.map +1 -1
- package/dist/pagination/src/pagination.vue.d.ts.map +1 -1
- package/dist/radio-group/src/constants.d.ts.map +1 -1
- package/dist/radio-group/src/radio-group.d.ts.map +1 -1
- package/dist/radio-group/src/radio-group.vue.d.ts +3 -3
- package/dist/radio-group/src/radio-group.vue.d.ts.map +1 -1
- package/dist/spacer/index.d.ts.map +1 -1
- package/dist/sub-menu/src/sub-menu.d.ts.map +1 -1
- package/dist/sub-menu/src/sub-menu.vue.d.ts +3 -3
- package/dist/textarea/index.d.ts.map +1 -1
- package/dist/upload/index.d.ts +484 -0
- package/dist/upload/index.d.ts.map +1 -0
- package/dist/upload/src/instance.d.ts +3 -0
- package/dist/upload/src/instance.d.ts.map +1 -0
- package/dist/upload/src/upload.d.ts +304 -0
- package/dist/upload/src/upload.d.ts.map +1 -0
- package/dist/upload/src/upload.vue.d.ts +289 -0
- package/dist/upload/src/upload.vue.d.ts.map +1 -0
- package/dist/vite.config.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../avatar/index.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../avatar/index.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gFAoB6hD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gFAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAAD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GApBxgD,CAAA;AAE3C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wFAA2B,CAAA;AAErD,eAAe,QAAQ,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA;AAClC,YAAY,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.vue.d.ts","sourceRoot":"","sources":["../../../avatar/src/avatar.vue"],"names":[],"mappings":"AAgQA,iBAAS,cAAc;WAoET,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA1MrB;;;WAGG;QACH,CA/
|
|
1
|
+
{"version":3,"file":"avatar.vue.d.ts","sourceRoot":"","sources":["../../../avatar/src/avatar.vue"],"names":[],"mappings":"AAgQA,iBAAS,cAAc;WAoET,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA1MrB;;;WAGG;QACH,CA/DS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA2DT;;;WAGG;QACH,CA/DS;;;;;;;;;;;;;;;;;;;;;;;;;wFA6QP,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CpBreadcrumb 面包屑导航
|
|
3
|
+
*
|
|
4
|
+
* @description 赛博朋克风格面包屑导航,展示当前页面的路径层级。
|
|
5
|
+
* 支持自定义分隔符(文本/图标/插槽)、多种颜色类型。
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```vue
|
|
9
|
+
* <CpBreadcrumb>
|
|
10
|
+
* <CpBreadcrumbItem>首页</CpBreadcrumbItem>
|
|
11
|
+
* <CpBreadcrumbItem to="/system">系统管理</CpBreadcrumbItem>
|
|
12
|
+
* <CpBreadcrumbItem>用户管理</CpBreadcrumbItem>
|
|
13
|
+
* </CpBreadcrumb>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare const CpBreadcrumb: import('../utils').SFCWithInstall<{
|
|
17
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
+
readonly separator: {
|
|
19
|
+
readonly type: StringConstructor;
|
|
20
|
+
readonly default: "/";
|
|
21
|
+
};
|
|
22
|
+
readonly separatorIcon: {
|
|
23
|
+
readonly type: import('vue').PropType<import('vue').Component>;
|
|
24
|
+
readonly default: undefined;
|
|
25
|
+
};
|
|
26
|
+
readonly variant: {
|
|
27
|
+
readonly type: import('vue').PropType<import('.').BreadcrumbVariant>;
|
|
28
|
+
readonly default: "default";
|
|
29
|
+
};
|
|
30
|
+
readonly type: {
|
|
31
|
+
readonly type: import('vue').PropType<import('.').BreadcrumbType>;
|
|
32
|
+
readonly default: "default";
|
|
33
|
+
};
|
|
34
|
+
readonly color: {
|
|
35
|
+
readonly type: StringConstructor;
|
|
36
|
+
readonly default: "";
|
|
37
|
+
};
|
|
38
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
39
|
+
readonly type: import('.').BreadcrumbType;
|
|
40
|
+
readonly variant: import('.').BreadcrumbVariant;
|
|
41
|
+
readonly color: string;
|
|
42
|
+
readonly separator: string;
|
|
43
|
+
readonly separatorIcon: import('vue').Component;
|
|
44
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLElement, import('vue').ComponentProvideOptions, {
|
|
45
|
+
P: {};
|
|
46
|
+
B: {};
|
|
47
|
+
D: {};
|
|
48
|
+
C: {};
|
|
49
|
+
M: {};
|
|
50
|
+
Defaults: {};
|
|
51
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
52
|
+
readonly separator: {
|
|
53
|
+
readonly type: StringConstructor;
|
|
54
|
+
readonly default: "/";
|
|
55
|
+
};
|
|
56
|
+
readonly separatorIcon: {
|
|
57
|
+
readonly type: import('vue').PropType<import('vue').Component>;
|
|
58
|
+
readonly default: undefined;
|
|
59
|
+
};
|
|
60
|
+
readonly variant: {
|
|
61
|
+
readonly type: import('vue').PropType<import('.').BreadcrumbVariant>;
|
|
62
|
+
readonly default: "default";
|
|
63
|
+
};
|
|
64
|
+
readonly type: {
|
|
65
|
+
readonly type: import('vue').PropType<import('.').BreadcrumbType>;
|
|
66
|
+
readonly default: "default";
|
|
67
|
+
};
|
|
68
|
+
readonly color: {
|
|
69
|
+
readonly type: StringConstructor;
|
|
70
|
+
readonly default: "";
|
|
71
|
+
};
|
|
72
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
73
|
+
readonly type: import('.').BreadcrumbType;
|
|
74
|
+
readonly variant: import('.').BreadcrumbVariant;
|
|
75
|
+
readonly color: string;
|
|
76
|
+
readonly separator: string;
|
|
77
|
+
readonly separatorIcon: import('vue').Component;
|
|
78
|
+
}>;
|
|
79
|
+
__isFragment?: never;
|
|
80
|
+
__isTeleport?: never;
|
|
81
|
+
__isSuspense?: never;
|
|
82
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
83
|
+
readonly separator: {
|
|
84
|
+
readonly type: StringConstructor;
|
|
85
|
+
readonly default: "/";
|
|
86
|
+
};
|
|
87
|
+
readonly separatorIcon: {
|
|
88
|
+
readonly type: import('vue').PropType<import('vue').Component>;
|
|
89
|
+
readonly default: undefined;
|
|
90
|
+
};
|
|
91
|
+
readonly variant: {
|
|
92
|
+
readonly type: import('vue').PropType<import('.').BreadcrumbVariant>;
|
|
93
|
+
readonly default: "default";
|
|
94
|
+
};
|
|
95
|
+
readonly type: {
|
|
96
|
+
readonly type: import('vue').PropType<import('.').BreadcrumbType>;
|
|
97
|
+
readonly default: "default";
|
|
98
|
+
};
|
|
99
|
+
readonly color: {
|
|
100
|
+
readonly type: StringConstructor;
|
|
101
|
+
readonly default: "";
|
|
102
|
+
};
|
|
103
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
104
|
+
readonly type: import('.').BreadcrumbType;
|
|
105
|
+
readonly variant: import('.').BreadcrumbVariant;
|
|
106
|
+
readonly color: string;
|
|
107
|
+
readonly separator: string;
|
|
108
|
+
readonly separatorIcon: import('vue').Component;
|
|
109
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
110
|
+
$slots: {
|
|
111
|
+
default?(_: {}): any;
|
|
112
|
+
};
|
|
113
|
+
})>;
|
|
114
|
+
export default CpBreadcrumb;
|
|
115
|
+
export * from './src/breadcrumb';
|
|
116
|
+
export type { CpBreadcrumbInstance } from './src/instance';
|
|
117
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../breadcrumb/index.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA0B,CAAA;AAEnD,eAAe,YAAY,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,YAAY,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType, Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* 面包屑颜色类型
|
|
4
|
+
*/
|
|
5
|
+
export type BreadcrumbType = 'default' | 'primary' | 'success' | 'warning' | 'error' | 'info';
|
|
6
|
+
/**
|
|
7
|
+
* 面包屑变体
|
|
8
|
+
* - `default` - 纯文本 + 下划线动画(默认)
|
|
9
|
+
* - `plain` - 仅文字颜色变化,无装饰
|
|
10
|
+
* - `outline` - 边框描边
|
|
11
|
+
* - `background` - 背景填充
|
|
12
|
+
*/
|
|
13
|
+
export type BreadcrumbVariant = 'default' | 'plain' | 'outline' | 'background';
|
|
14
|
+
/**
|
|
15
|
+
* CpBreadcrumb 组件 Props 定义
|
|
16
|
+
*
|
|
17
|
+
* @description 赛博朋克风格面包屑导航,展示当前页面在层级结构中的位置。
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```vue
|
|
21
|
+
* <CpBreadcrumb>
|
|
22
|
+
* <CpBreadcrumbItem>首页</CpBreadcrumbItem>
|
|
23
|
+
* <CpBreadcrumbItem>系统管理</CpBreadcrumbItem>
|
|
24
|
+
* <CpBreadcrumbItem>用户管理</CpBreadcrumbItem>
|
|
25
|
+
* </CpBreadcrumb>
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare const breadcrumbProps: {
|
|
29
|
+
/**
|
|
30
|
+
* 分隔符文本
|
|
31
|
+
* @default '/'
|
|
32
|
+
*/
|
|
33
|
+
readonly separator: {
|
|
34
|
+
readonly type: StringConstructor;
|
|
35
|
+
readonly default: "/";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* 分隔符图标(优先级高于 separator 文本)
|
|
39
|
+
* 支持 Vue 组件(如 unplugin-icons)
|
|
40
|
+
*/
|
|
41
|
+
readonly separatorIcon: {
|
|
42
|
+
readonly type: PropType<Component>;
|
|
43
|
+
readonly default: undefined;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* 变体样式
|
|
47
|
+
* @default 'default'
|
|
48
|
+
*/
|
|
49
|
+
readonly variant: {
|
|
50
|
+
readonly type: PropType<BreadcrumbVariant>;
|
|
51
|
+
readonly default: "default";
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* 颜色预设类型
|
|
55
|
+
* @default 'default'
|
|
56
|
+
*/
|
|
57
|
+
readonly type: {
|
|
58
|
+
readonly type: PropType<BreadcrumbType>;
|
|
59
|
+
readonly default: "default";
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* 自定义主题色(覆盖 type 预设)
|
|
63
|
+
* @default ''
|
|
64
|
+
*/
|
|
65
|
+
readonly color: {
|
|
66
|
+
readonly type: StringConstructor;
|
|
67
|
+
readonly default: "";
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
export type BreadcrumbProps = ExtractPropTypes<typeof breadcrumbProps>;
|
|
71
|
+
/**
|
|
72
|
+
* Breadcrumb provide/inject key
|
|
73
|
+
*/
|
|
74
|
+
export declare const BREADCRUMB_INJECTION_KEY: unique symbol;
|
|
75
|
+
export interface BreadcrumbContext {
|
|
76
|
+
separator: string;
|
|
77
|
+
separatorIcon?: Component;
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../breadcrumb/src/breadcrumb.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;AAE7F;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,YAAY,CAAA;AAE9E;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,eAAe;IACxB;;;OAGG;;;;;IAKH;;;OAGG;;uBAE6B,QAAQ,CAAC,SAAS,CAAC;;;IAGnD;;;OAGG;;uBAEiB,QAAQ,CAAC,iBAAiB,CAAC;;;IAG/C;;;OAGG;;uBAEiB,QAAQ,CAAC,cAAc,CAAC;;;IAG5C;;;OAGG;;;;;CAKG,CAAA;AAEV,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,OAAO,eAAe,CAAC,CAAA;AAEtE;;GAEG;AACH,eAAO,MAAM,wBAAwB,eAAuB,CAAA;AAE5D,MAAM,WAAW,iBAAiB;IAC9B,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,SAAS,CAAA;CAC5B"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
|
+
readonly separator: {
|
|
12
|
+
readonly type: StringConstructor;
|
|
13
|
+
readonly default: "/";
|
|
14
|
+
};
|
|
15
|
+
readonly separatorIcon: {
|
|
16
|
+
readonly type: import('vue').PropType<import('vue').Component>;
|
|
17
|
+
readonly default: undefined;
|
|
18
|
+
};
|
|
19
|
+
readonly variant: {
|
|
20
|
+
readonly type: import('vue').PropType<import('./breadcrumb').BreadcrumbVariant>;
|
|
21
|
+
readonly default: "default";
|
|
22
|
+
};
|
|
23
|
+
readonly type: {
|
|
24
|
+
readonly type: import('vue').PropType<import('./breadcrumb').BreadcrumbType>;
|
|
25
|
+
readonly default: "default";
|
|
26
|
+
};
|
|
27
|
+
readonly color: {
|
|
28
|
+
readonly type: StringConstructor;
|
|
29
|
+
readonly default: "";
|
|
30
|
+
};
|
|
31
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
32
|
+
readonly separator: {
|
|
33
|
+
readonly type: StringConstructor;
|
|
34
|
+
readonly default: "/";
|
|
35
|
+
};
|
|
36
|
+
readonly separatorIcon: {
|
|
37
|
+
readonly type: import('vue').PropType<import('vue').Component>;
|
|
38
|
+
readonly default: undefined;
|
|
39
|
+
};
|
|
40
|
+
readonly variant: {
|
|
41
|
+
readonly type: import('vue').PropType<import('./breadcrumb').BreadcrumbVariant>;
|
|
42
|
+
readonly default: "default";
|
|
43
|
+
};
|
|
44
|
+
readonly type: {
|
|
45
|
+
readonly type: import('vue').PropType<import('./breadcrumb').BreadcrumbType>;
|
|
46
|
+
readonly default: "default";
|
|
47
|
+
};
|
|
48
|
+
readonly color: {
|
|
49
|
+
readonly type: StringConstructor;
|
|
50
|
+
readonly default: "";
|
|
51
|
+
};
|
|
52
|
+
}>> & Readonly<{}>, {
|
|
53
|
+
readonly type: import('./breadcrumb').BreadcrumbType;
|
|
54
|
+
readonly variant: import('./breadcrumb').BreadcrumbVariant;
|
|
55
|
+
readonly color: string;
|
|
56
|
+
readonly separator: string;
|
|
57
|
+
readonly separatorIcon: import('vue').Component;
|
|
58
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
|
59
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
60
|
+
export default _default;
|
|
61
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
|
+
new (): {
|
|
63
|
+
$slots: S;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=breadcrumb.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.vue.d.ts","sourceRoot":"","sources":["../../../breadcrumb/src/breadcrumb.vue"],"names":[],"mappings":"AAqHA,iBAAS,cAAc;WA4BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../../breadcrumb/src/instance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,kBAAkB,CAAA;AAEhD,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,GAAG,OAAO,CAAA"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CpBreadcrumbItem 面包屑子项
|
|
3
|
+
*
|
|
4
|
+
* @description 面包屑导航中的单个层级项,支持路由跳转。
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```vue
|
|
8
|
+
* <CpBreadcrumbItem to="/home">首页</CpBreadcrumbItem>
|
|
9
|
+
* <CpBreadcrumbItem>当前页</CpBreadcrumbItem>
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export declare const CpBreadcrumbItem: import('../utils').SFCWithInstall<{
|
|
13
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
readonly to: {
|
|
15
|
+
readonly type: import('vue').PropType<string | Record<string, unknown>>;
|
|
16
|
+
readonly default: "";
|
|
17
|
+
};
|
|
18
|
+
readonly replace: {
|
|
19
|
+
readonly type: BooleanConstructor;
|
|
20
|
+
readonly default: false;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
23
|
+
readonly replace: boolean;
|
|
24
|
+
readonly to: string | Record<string, unknown>;
|
|
25
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLLIElement, import('vue').ComponentProvideOptions, {
|
|
26
|
+
P: {};
|
|
27
|
+
B: {};
|
|
28
|
+
D: {};
|
|
29
|
+
C: {};
|
|
30
|
+
M: {};
|
|
31
|
+
Defaults: {};
|
|
32
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
readonly to: {
|
|
34
|
+
readonly type: import('vue').PropType<string | Record<string, unknown>>;
|
|
35
|
+
readonly default: "";
|
|
36
|
+
};
|
|
37
|
+
readonly replace: {
|
|
38
|
+
readonly type: BooleanConstructor;
|
|
39
|
+
readonly default: false;
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
42
|
+
readonly replace: boolean;
|
|
43
|
+
readonly to: string | Record<string, unknown>;
|
|
44
|
+
}>;
|
|
45
|
+
__isFragment?: never;
|
|
46
|
+
__isTeleport?: never;
|
|
47
|
+
__isSuspense?: never;
|
|
48
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
49
|
+
readonly to: {
|
|
50
|
+
readonly type: import('vue').PropType<string | Record<string, unknown>>;
|
|
51
|
+
readonly default: "";
|
|
52
|
+
};
|
|
53
|
+
readonly replace: {
|
|
54
|
+
readonly type: BooleanConstructor;
|
|
55
|
+
readonly default: false;
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
58
|
+
readonly replace: boolean;
|
|
59
|
+
readonly to: string | Record<string, unknown>;
|
|
60
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
61
|
+
$slots: {
|
|
62
|
+
default?(_: {}): any;
|
|
63
|
+
separator?(_: {}): any;
|
|
64
|
+
};
|
|
65
|
+
})>;
|
|
66
|
+
export default CpBreadcrumbItem;
|
|
67
|
+
export * from './src/breadcrumb-item';
|
|
68
|
+
export type { CpBreadcrumbItemInstance } from './src/instance';
|
|
69
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../breadcrumb-item/index.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA8B,CAAA;AAE3D,eAAe,gBAAgB,CAAA;AAC/B,cAAc,uBAAuB,CAAA;AACrC,YAAY,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* CpBreadcrumbItem 组件 Props 定义
|
|
4
|
+
*
|
|
5
|
+
* @description 面包屑子项,表示路径中的一个层级。
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```vue
|
|
9
|
+
* <CpBreadcrumbItem to="/home">首页</CpBreadcrumbItem>
|
|
10
|
+
* <CpBreadcrumbItem>当前页</CpBreadcrumbItem>
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare const breadcrumbItemProps: {
|
|
14
|
+
/**
|
|
15
|
+
* 路由跳转目标(vue-router 的 `to`)
|
|
16
|
+
* 不设置则渲染为纯文本
|
|
17
|
+
*/
|
|
18
|
+
readonly to: {
|
|
19
|
+
readonly type: PropType<string | Record<string, unknown>>;
|
|
20
|
+
readonly default: "";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* 使用 router.replace 替代 router.push
|
|
24
|
+
* @default false
|
|
25
|
+
*/
|
|
26
|
+
readonly replace: {
|
|
27
|
+
readonly type: BooleanConstructor;
|
|
28
|
+
readonly default: false;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export type BreadcrumbItemProps = ExtractPropTypes<typeof breadcrumbItemProps>;
|
|
32
|
+
//# sourceMappingURL=breadcrumb-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb-item.d.ts","sourceRoot":"","sources":["../../../breadcrumb-item/src/breadcrumb-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAErD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB;IAC5B;;;OAGG;;uBAE2B,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;;;IAGxE;;;OAGG;;;;;CAKG,CAAA;AAEV,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
separator?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLLIElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
12
|
+
readonly to: {
|
|
13
|
+
readonly type: import('vue').PropType<string | Record<string, unknown>>;
|
|
14
|
+
readonly default: "";
|
|
15
|
+
};
|
|
16
|
+
readonly replace: {
|
|
17
|
+
readonly type: BooleanConstructor;
|
|
18
|
+
readonly default: false;
|
|
19
|
+
};
|
|
20
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
readonly to: {
|
|
22
|
+
readonly type: import('vue').PropType<string | Record<string, unknown>>;
|
|
23
|
+
readonly default: "";
|
|
24
|
+
};
|
|
25
|
+
readonly replace: {
|
|
26
|
+
readonly type: BooleanConstructor;
|
|
27
|
+
readonly default: false;
|
|
28
|
+
};
|
|
29
|
+
}>> & Readonly<{}>, {
|
|
30
|
+
readonly replace: boolean;
|
|
31
|
+
readonly to: string | Record<string, unknown>;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLLIElement>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=breadcrumb-item.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb-item.vue.d.ts","sourceRoot":"","sources":["../../../breadcrumb-item/src/breadcrumb-item.vue"],"names":[],"mappings":"AAqHA,iBAAS,cAAc;WAgDT,OAAO,IAA6B;;yBAXrB,GAAG;2BACD,GAAG;;;;EAejC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;sFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../../breadcrumb-item/src/instance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAA;AAEzD,MAAM,MAAM,wBAAwB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,GAAG,OAAO,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-group.d.ts","sourceRoot":"","sources":["../../../checkbox-group/src/checkbox-group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACrD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"checkbox-group.d.ts","sourceRoot":"","sources":["../../../checkbox-group/src/checkbox-group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACrD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAA;AAErH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB;IAC7B;;OAEG;;uBAEc,QAAQ,CAAC,iBAAiB,EAAE,CAAC;;;IAG9C;;;OAGG;;;;;IAKH;;;OAGG;;uBAEyB,QAAQ,CAAC,IAAI,CAAC;;;IAG1C;;;OAGG;;uBAEe,QAAQ,CAAC,YAAY,CAAC;;;IAGxC;;;OAGG;;uBAEe,QAAQ,CAAC,aAAa,CAAC;;;IAGzC;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;;OAGG;;uBAEe,QAAQ,CAAC,YAAY,GAAG,UAAU,CAAC;;;CAG7C,CAAA;AAEV,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE5E;;GAEG;AACH,eAAO,MAAM,kBAAkB;IAC7B;;OAEG;iCAC0B,iBAAiB,EAAE;IAChD;;OAEG;oBACa,iBAAiB,EAAE;CACpC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAA"}
|
|
@@ -22,11 +22,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
22
22
|
readonly default: "md";
|
|
23
23
|
};
|
|
24
24
|
readonly type: {
|
|
25
|
-
readonly type: import('vue').PropType<import('
|
|
25
|
+
readonly type: import('vue').PropType<import('../../checkbox/src/checkbox').CheckboxType>;
|
|
26
26
|
readonly default: "primary";
|
|
27
27
|
};
|
|
28
28
|
readonly shape: {
|
|
29
|
-
readonly type: import('vue').PropType<import('
|
|
29
|
+
readonly type: import('vue').PropType<import('../../checkbox/src/checkbox').CheckboxShape>;
|
|
30
30
|
readonly default: "clip";
|
|
31
31
|
};
|
|
32
32
|
readonly min: {
|
|
@@ -61,11 +61,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
61
61
|
readonly default: "md";
|
|
62
62
|
};
|
|
63
63
|
readonly type: {
|
|
64
|
-
readonly type: import('vue').PropType<import('
|
|
64
|
+
readonly type: import('vue').PropType<import('../../checkbox/src/checkbox').CheckboxType>;
|
|
65
65
|
readonly default: "primary";
|
|
66
66
|
};
|
|
67
67
|
readonly shape: {
|
|
68
|
-
readonly type: import('vue').PropType<import('
|
|
68
|
+
readonly type: import('vue').PropType<import('../../checkbox/src/checkbox').CheckboxShape>;
|
|
69
69
|
readonly default: "clip";
|
|
70
70
|
};
|
|
71
71
|
readonly min: {
|
|
@@ -85,9 +85,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
85
85
|
onChange?: ((value: CheckboxValueType[]) => any) | undefined;
|
|
86
86
|
}>, {
|
|
87
87
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
88
|
-
readonly type: import('
|
|
88
|
+
readonly type: import('../../checkbox/src/checkbox').CheckboxType;
|
|
89
89
|
readonly disabled: boolean;
|
|
90
|
-
readonly shape: import('
|
|
90
|
+
readonly shape: import('../../checkbox/src/checkbox').CheckboxShape;
|
|
91
91
|
readonly modelValue: CheckboxValueType[];
|
|
92
92
|
readonly min: number;
|
|
93
93
|
readonly max: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-group.vue.d.ts","sourceRoot":"","sources":["../../../checkbox-group/src/checkbox-group.vue"],"names":[],"mappings":"AAsFA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"checkbox-group.vue.d.ts","sourceRoot":"","sources":["../../../checkbox-group/src/checkbox-group.vue"],"names":[],"mappings":"AAsFA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAA;AAiExF,iBAAS,cAAc;WAwBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAlDnB,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uFA2D1B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../checkbox-group/src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../checkbox-group/src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAA;AAEnI,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,GAAG,CAAC,iBAAiB,EAAE,CAAC,CAAA;IACpC,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACtB,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,CAAA;IACvB,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,CAAA;IACvB,KAAK,EAAE,GAAG,CAAC,aAAa,CAAC,CAAA;IACzB,GAAG,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC5B,GAAG,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC5B,YAAY,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAA;CACjD;AAED,eAAO,MAAM,uBAAuB,EAAE,YAAY,CAAC,oBAAoB,CAAkC,CAAA"}
|
|
@@ -253,8 +253,6 @@ export declare const CpMain: import('../utils').SFCWithInstall<{
|
|
|
253
253
|
readonly default: false;
|
|
254
254
|
};
|
|
255
255
|
}>> & Readonly<{}>, {
|
|
256
|
-
bodyHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
257
|
-
bodyFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
258
256
|
getPlaceholderHeights: () => {
|
|
259
257
|
header: number;
|
|
260
258
|
footer: number;
|
|
@@ -263,8 +261,7 @@ export declare const CpMain: import('../utils').SFCWithInstall<{
|
|
|
263
261
|
readonly scrollUnderHeader: boolean;
|
|
264
262
|
readonly scrollUnderFooter: boolean;
|
|
265
263
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
266
|
-
|
|
267
|
-
bodyFooterPlaceholderRef: HTMLDivElement;
|
|
264
|
+
mainRef: HTMLElement;
|
|
268
265
|
}, HTMLElement, import('vue').ComponentProvideOptions, {
|
|
269
266
|
P: {};
|
|
270
267
|
B: {};
|
|
@@ -282,8 +279,6 @@ export declare const CpMain: import('../utils').SFCWithInstall<{
|
|
|
282
279
|
readonly default: false;
|
|
283
280
|
};
|
|
284
281
|
}>> & Readonly<{}>, {
|
|
285
|
-
bodyHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
286
|
-
bodyFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
287
282
|
getPlaceholderHeights: () => {
|
|
288
283
|
header: number;
|
|
289
284
|
footer: number;
|
|
@@ -305,8 +300,6 @@ export declare const CpMain: import('../utils').SFCWithInstall<{
|
|
|
305
300
|
readonly default: false;
|
|
306
301
|
};
|
|
307
302
|
}>> & Readonly<{}>, {
|
|
308
|
-
bodyHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
309
|
-
bodyFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
310
303
|
getPlaceholderHeights: () => {
|
|
311
304
|
header: number;
|
|
312
305
|
footer: number;
|
|
@@ -350,8 +343,6 @@ export declare const CpAside: import('../utils').SFCWithInstall<{
|
|
|
350
343
|
readonly default: "left";
|
|
351
344
|
};
|
|
352
345
|
}>> & Readonly<{}>, {
|
|
353
|
-
sidebarHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
354
|
-
sidebarFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
355
346
|
getPlaceholderHeights: () => {
|
|
356
347
|
header: number;
|
|
357
348
|
footer: number;
|
|
@@ -365,8 +356,7 @@ export declare const CpAside: import('../utils').SFCWithInstall<{
|
|
|
365
356
|
readonly scrollUnderHeader: boolean;
|
|
366
357
|
readonly scrollUnderFooter: boolean;
|
|
367
358
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
368
|
-
|
|
369
|
-
sidebarFooterPlaceholderRef: HTMLDivElement;
|
|
359
|
+
contentRef: HTMLDivElement;
|
|
370
360
|
}, HTMLElement, import('vue').ComponentProvideOptions, {
|
|
371
361
|
P: {};
|
|
372
362
|
B: {};
|
|
@@ -404,8 +394,6 @@ export declare const CpAside: import('../utils').SFCWithInstall<{
|
|
|
404
394
|
readonly default: "left";
|
|
405
395
|
};
|
|
406
396
|
}>> & Readonly<{}>, {
|
|
407
|
-
sidebarHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
408
|
-
sidebarFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
409
397
|
getPlaceholderHeights: () => {
|
|
410
398
|
header: number;
|
|
411
399
|
footer: number;
|
|
@@ -452,8 +440,6 @@ export declare const CpAside: import('../utils').SFCWithInstall<{
|
|
|
452
440
|
readonly default: "left";
|
|
453
441
|
};
|
|
454
442
|
}>> & Readonly<{}>, {
|
|
455
|
-
sidebarHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
456
|
-
sidebarFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
457
443
|
getPlaceholderHeights: () => {
|
|
458
444
|
header: number;
|
|
459
445
|
footer: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../container/index.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyB,CAAA;AACjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsB,CAAA;AAC3C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsB,CAAA;AAC3C,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../container/index.ts"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyB,CAAA;AACjD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsB,CAAA;AAC3C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsB,CAAA;AAC3C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoB,CAAA;AACvC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAqB,CAAA;AAEzC,eAAe,WAAW,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,YAAY,EACR,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,eAAe,GAClB,MAAM,gBAAgB,CAAA"}
|
|
@@ -4,8 +4,7 @@ declare function __VLS_template(): {
|
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
6
|
refs: {
|
|
7
|
-
|
|
8
|
-
sidebarFooterPlaceholderRef: HTMLDivElement;
|
|
7
|
+
contentRef: HTMLDivElement;
|
|
9
8
|
};
|
|
10
9
|
rootEl: HTMLElement;
|
|
11
10
|
};
|
|
@@ -40,11 +39,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
40
39
|
readonly default: "left";
|
|
41
40
|
};
|
|
42
41
|
}>, {
|
|
43
|
-
/** @description sidebar
|
|
44
|
-
sidebarHeaderPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
45
|
-
/** @description sidebar 底部占位块元素 */
|
|
46
|
-
sidebarFooterPlaceholderRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
47
|
-
/** @description 获取 sidebar 占位块高度(px) */
|
|
42
|
+
/** @description 获取 sidebar 占位块高度(px)(由 padding 实现) */
|
|
48
43
|
getPlaceholderHeights: () => {
|
|
49
44
|
header: number;
|
|
50
45
|
footer: number;
|
|
@@ -87,8 +82,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
87
82
|
readonly scrollUnderHeader: boolean;
|
|
88
83
|
readonly scrollUnderFooter: boolean;
|
|
89
84
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
90
|
-
|
|
91
|
-
sidebarFooterPlaceholderRef: HTMLDivElement;
|
|
85
|
+
contentRef: HTMLDivElement;
|
|
92
86
|
}, HTMLElement>;
|
|
93
87
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
94
88
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aside.vue.d.ts","sourceRoot":"","sources":["../../../container/src/aside.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"aside.vue.d.ts","sourceRoot":"","sources":["../../../container/src/aside.vue"],"names":[],"mappings":"AAmIA,iBAAS,cAAc;WA0DT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAzFnB,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAkGtD,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|