@xiaou66/u-web-ui 0.0.4 → 0.0.6
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/components/Menu/ContextMenu/ContextMenu.vue.d.ts +35 -0
- package/dist/components/Menu/ContextMenu/ContextMenu.vue.d.ts.map +1 -0
- package/dist/components/Menu/ContextMenu/ContextMenuDivider.vue.d.ts +4 -0
- package/dist/components/Menu/ContextMenu/ContextMenuDivider.vue.d.ts.map +1 -0
- package/dist/components/Menu/ContextMenu/ContextMenuGroup.vue.d.ts +22 -0
- package/dist/components/Menu/ContextMenu/ContextMenuGroup.vue.d.ts.map +1 -0
- package/dist/components/Menu/ContextMenu/ContextMenuItem.vue.d.ts +18 -0
- package/dist/components/Menu/ContextMenu/ContextMenuItem.vue.d.ts.map +1 -0
- package/dist/components/Menu/ContextMenu/ContextMenuSubmenu.vue.d.ts +36 -0
- package/dist/components/Menu/ContextMenu/ContextMenuSubmenu.vue.d.ts.map +1 -0
- package/dist/components/Menu/ContextMenu/index.d.ts +21 -0
- package/dist/components/Menu/ContextMenu/index.d.ts.map +1 -0
- package/dist/components/Menu/LeftMenu/LeftMenu.d.ts +49 -0
- package/dist/components/Menu/LeftMenu/LeftMenu.d.ts.map +1 -0
- package/dist/components/Menu/LeftMenu/LeftMenu.vue.d.ts +34 -0
- package/dist/components/Menu/LeftMenu/LeftMenu.vue.d.ts.map +1 -0
- package/dist/components/Menu/LeftMenu/index.d.ts +3 -0
- package/dist/components/Menu/LeftMenu/index.d.ts.map +1 -0
- package/dist/components/Menu/Menu.d.ts +6 -0
- package/dist/components/Menu/Menu.d.ts.map +1 -0
- package/dist/components/Menu/index.d.ts +4 -0
- package/dist/components/Menu/index.d.ts.map +1 -0
- package/dist/components/PageHeader/PageHeader.d.ts +29 -0
- package/dist/components/PageHeader/PageHeader.d.ts.map +1 -0
- package/dist/components/PageHeader/PageHeader.vue.d.ts +26 -0
- package/dist/components/PageHeader/PageHeader.vue.d.ts.map +1 -0
- package/dist/components/PageHeader/index.d.ts +3 -0
- package/dist/components/PageHeader/index.d.ts.map +1 -0
- package/dist/components/Setting/SettingDivision/SettingDivision.vue.d.ts +4 -0
- package/dist/components/Setting/SettingDivision/SettingDivision.vue.d.ts.map +1 -0
- package/dist/components/Setting/SettingDivision/index.d.ts +2 -0
- package/dist/components/Setting/SettingDivision/index.d.ts.map +1 -0
- package/dist/components/Setting/SettingGroup/SettingGroup.vue.d.ts +23 -0
- package/dist/components/Setting/SettingGroup/SettingGroup.vue.d.ts.map +1 -0
- package/dist/components/Setting/SettingGroup/index.d.ts +2 -0
- package/dist/components/Setting/SettingGroup/index.d.ts.map +1 -0
- package/dist/components/Setting/SettingItem/SettingItem.vue.d.ts +32 -0
- package/dist/components/Setting/SettingItem/SettingItem.vue.d.ts.map +1 -0
- package/dist/components/Setting/SettingItem/index.d.ts +2 -0
- package/dist/components/Setting/SettingItem/index.d.ts.map +1 -0
- package/dist/components/Setting/index.d.ts +4 -0
- package/dist/components/Setting/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/layout/SplitPanel/SplitPanel.d.ts +83 -0
- package/dist/components/layout/SplitPanel/SplitPanel.d.ts.map +1 -0
- package/dist/components/layout/SplitPanel/SplitPanel.vue.d.ts +39 -0
- package/dist/components/layout/SplitPanel/SplitPanel.vue.d.ts.map +1 -0
- package/dist/components/layout/SplitPanel/index.d.ts +3 -0
- package/dist/components/layout/SplitPanel/index.d.ts.map +1 -0
- package/dist/components/layout/UtoolsLayout/UtoolsBaseLayout.vue.d.ts +20 -0
- package/dist/components/layout/UtoolsLayout/UtoolsBaseLayout.vue.d.ts.map +1 -0
- package/dist/components/layout/UtoolsLayout/UtoolsLayout.vue.d.ts +176 -0
- package/dist/components/layout/UtoolsLayout/UtoolsLayout.vue.d.ts.map +1 -0
- package/dist/components/layout/UtoolsLayout/index.d.ts +3 -0
- package/dist/components/layout/UtoolsLayout/index.d.ts.map +1 -0
- package/dist/components/layout/WebLayout/WebBaseLayout.vue.d.ts +31 -0
- package/dist/components/layout/WebLayout/WebBaseLayout.vue.d.ts.map +1 -0
- package/dist/components/layout/WebLayout/WebLayout.d.ts +12 -0
- package/dist/components/layout/WebLayout/WebLayout.d.ts.map +1 -0
- package/dist/components/layout/WebLayout/WebLayout.vue.d.ts +18 -0
- package/dist/components/layout/WebLayout/WebLayout.vue.d.ts.map +1 -0
- package/dist/components/layout/WebLayout/index.d.ts +4 -0
- package/dist/components/layout/WebLayout/index.d.ts.map +1 -0
- package/dist/components/layout/index.d.ts +4 -0
- package/dist/components/layout/index.d.ts.map +1 -0
- package/dist/index.d.ts +3 -143
- package/dist/index.d.ts.map +1 -0
- package/dist/index.es.js +768 -1
- package/dist/u-web-ui.css +1 -1
- package/dist/utils/cssUtils.d.ts +3 -0
- package/dist/utils/cssUtils.d.ts.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/vueUtils.d.ts +11 -0
- package/dist/utils/vueUtils.d.ts.map +1 -0
- package/package.json +21 -4
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
hideOnSelect?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
content?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {
|
|
12
|
+
triggerRef: HTMLDivElement;
|
|
13
|
+
menuRef: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
rootEl: any;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
19
|
+
select: (value: any, event: Event) => any;
|
|
20
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
21
|
+
onSelect?: ((value: any, event: Event) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
hideOnSelect: boolean;
|
|
24
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
25
|
+
triggerRef: HTMLDivElement;
|
|
26
|
+
menuRef: HTMLDivElement;
|
|
27
|
+
}, any>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=ContextMenu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/ContextMenu/ContextMenu.vue"],"names":[],"mappings":";AAmLA,UAAU,KAAK;IACb,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAgJD,iBAAS,cAAc;WAuET,OAAO,IAA6B;;yBAbrB,GAAG;yBACH,GAAG;;;;;;;EAiB/B;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;kBA/OJ,OAAO;;;;OAwPtB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
3
|
+
export default _default;
|
|
4
|
+
//# sourceMappingURL=ContextMenuDivider.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextMenuDivider.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/ContextMenu/ContextMenuDivider.vue"],"names":[],"mappings":";;AAgDA,wBAMG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
title?: string;
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=ContextMenuGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextMenuGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/ContextMenu/ContextMenuGroup.vue"],"names":[],"mappings":";AAqBA,UAAU,KAAK;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AASD,iBAAS,cAAc;WA6BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,iSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string | number;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
danger?: boolean;
|
|
7
|
+
icon?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
10
|
+
click: (value: string | number, event: Event) => any;
|
|
11
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
12
|
+
onClick?: ((value: string | number, event: Event) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
danger: boolean;
|
|
16
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=ContextMenuItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/ContextMenu/ContextMenuItem.vue"],"names":[],"mappings":";AA+EA,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;;;;;;cAHY,OAAO;YACT,OAAO;;AAiHlB,wBASG"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
label: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
icon?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {
|
|
13
|
+
triggerRef: HTMLDivElement;
|
|
14
|
+
submenuRef: HTMLDivElement;
|
|
15
|
+
};
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
20
|
+
select: (value: any, event: Event) => any;
|
|
21
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
22
|
+
onSelect?: ((value: any, event: Event) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
26
|
+
triggerRef: HTMLDivElement;
|
|
27
|
+
submenuRef: HTMLDivElement;
|
|
28
|
+
}, HTMLDivElement>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=ContextMenuSubmenu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextMenuSubmenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/ContextMenu/ContextMenuSubmenu.vue"],"names":[],"mappings":";AAmTA,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAwQD,iBAAS,cAAc;WAiET,OAAO,IAA6B;;yBAZrB,GAAG;;;;;;;EAiB/B;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;cA1WR,OAAO;;;;kBAoXlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as ContextMenu } from './ContextMenu.vue';
|
|
2
|
+
import { default as ContextMenuItem } from './ContextMenuItem.vue';
|
|
3
|
+
import { default as ContextMenuGroup } from './ContextMenuGroup.vue';
|
|
4
|
+
import { default as ContextMenuDivider } from './ContextMenuDivider.vue';
|
|
5
|
+
import { default as ContextMenuSubmenu } from './ContextMenuSubmenu.vue';
|
|
6
|
+
export { ContextMenu, ContextMenuItem, ContextMenuGroup, ContextMenuDivider, ContextMenuSubmenu };
|
|
7
|
+
export type TriggerEvent = 'hover' | 'click' | 'focus' | 'context-menu';
|
|
8
|
+
export type ContextMenuPosition = 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'left-top' | 'left-bottom' | 'right' | 'right-top' | 'right-bottom';
|
|
9
|
+
export interface ContextMenuOption {
|
|
10
|
+
label: string;
|
|
11
|
+
value: string | number;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
danger?: boolean;
|
|
14
|
+
icon?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface ContextMenuGroup {
|
|
17
|
+
title: string;
|
|
18
|
+
children: ContextMenuOption[];
|
|
19
|
+
}
|
|
20
|
+
export default ContextMenu;
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/ContextMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,mBAAmB,CAAC;AAC5C,OAAO,eAAe,MAAM,uBAAuB,CAAC;AACpD,OAAO,gBAAgB,MAAM,wBAAwB,CAAC;AACtD,OAAO,kBAAkB,MAAM,0BAA0B,CAAC;AAC1D,OAAO,kBAAkB,MAAM,0BAA0B,CAAC;AAC1D,OAAO,UAAU,CAAC;AAElB,OAAO,EACL,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EACnB,CAAC;AAGF,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,cAAc,CAAC;AAExE,MAAM,MAAM,mBAAmB,GAC3B,KAAK,GACL,UAAU,GACV,WAAW,GACX,QAAQ,GACR,aAAa,GACb,cAAc,GACd,MAAM,GACN,UAAU,GACV,aAAa,GACb,OAAO,GACP,WAAW,GACX,cAAc,CAAC;AAEnB,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,iBAAiB,EAAE,CAAC;CAC/B;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { RouteRecord, RouteRecordRaw } from 'vue-router';
|
|
2
|
+
import { MenuItem } from '../Menu';
|
|
3
|
+
/**
|
|
4
|
+
* LeftMenu 组件实例
|
|
5
|
+
*/
|
|
6
|
+
export interface LeftMenuInstance {
|
|
7
|
+
/**
|
|
8
|
+
* 切换菜单折叠状态
|
|
9
|
+
*/
|
|
10
|
+
changeCollapsed: () => void;
|
|
11
|
+
/**
|
|
12
|
+
* 刷新菜单
|
|
13
|
+
*/
|
|
14
|
+
refreshRouter: () => void;
|
|
15
|
+
}
|
|
16
|
+
export type MenuRouterItem = ((RouteRecord | RouteRecordRaw) & {
|
|
17
|
+
meta?: MenuItem;
|
|
18
|
+
});
|
|
19
|
+
export type LoadRouterType = () => MenuRouterItem[];
|
|
20
|
+
/**
|
|
21
|
+
* LeftMenu 组件 Props
|
|
22
|
+
*/
|
|
23
|
+
export interface LeftMenuProps {
|
|
24
|
+
/**
|
|
25
|
+
* 是否隐藏操作按钮
|
|
26
|
+
*/
|
|
27
|
+
hideOperations?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* 自定义加载路由事件
|
|
30
|
+
*/
|
|
31
|
+
loadRouter?: LoadRouterType;
|
|
32
|
+
/**
|
|
33
|
+
* 是否启用刷新事件监听器
|
|
34
|
+
*/
|
|
35
|
+
refreshEventListener?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export declare enum LeftMenuEvents {
|
|
38
|
+
/**
|
|
39
|
+
* 刷新菜单时间
|
|
40
|
+
*/
|
|
41
|
+
Refresh = "u:leftMenu:refresh"
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* 菜单事件派发
|
|
45
|
+
*/
|
|
46
|
+
export declare const LeftMenuEventDispatch: {
|
|
47
|
+
refresh: () => void;
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=LeftMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LeftMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/LeftMenu/LeftMenu.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAC7D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,GAAG,cAAc,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,QAAQ,CAAA;CAAE,CAAC,CAAC;AACpF,MAAM,MAAM,cAAc,GAAG,MAAM,cAAc,EAAE,CAAC;AACpD;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAGD,oBAAY,cAAc;IACxB;;OAEG;IACH,OAAO,uBAAuB;CAC/B;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB;;CAIjC,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { LeftMenuProps } from './LeftMenu';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = LeftMenuProps;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
'collapsed'?: boolean;
|
|
6
|
+
} & __VLS_Props;
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
logo?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {
|
|
17
|
+
changeCollapsed: () => void;
|
|
18
|
+
refreshRouter: () => void;
|
|
19
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
+
"update:collapsed": (value: boolean) => any;
|
|
21
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
+
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
hideOperations: boolean;
|
|
25
|
+
refreshEventListener: boolean;
|
|
26
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=LeftMenu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LeftMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/LeftMenu/LeftMenu.vue"],"names":[],"mappings":";AA8HA,OAAO,EAGL,KAAK,aAAa,EAEnB,MAAM,YAAY,CAAC;AAGpB,KAAK,WAAW,GAAG,aAAa,CAAC;AAkEjC,KAAK,iBAAiB,GAAG;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAiMT,OAAO,IAA6B;;sBAVvB,GAAG;;;;EAe7B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;6EAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,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":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/LeftMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,cAAc,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/Menu.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { JSX } from 'vue/jsx-runtime';
|
|
2
|
+
export type PageHeaderSize = 'small' | 'default' | 'large';
|
|
3
|
+
export interface PageHeaderProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
size?: PageHeaderSize;
|
|
7
|
+
}
|
|
8
|
+
export interface PageHeaderSlots {
|
|
9
|
+
/**
|
|
10
|
+
* 标题
|
|
11
|
+
*/
|
|
12
|
+
title?: () => JSX.Element;
|
|
13
|
+
/**
|
|
14
|
+
* 子标题
|
|
15
|
+
*/
|
|
16
|
+
subtitle?: () => JSX.Element;
|
|
17
|
+
/**
|
|
18
|
+
* 额外
|
|
19
|
+
*/
|
|
20
|
+
extra?: () => JSX.Element;
|
|
21
|
+
/**
|
|
22
|
+
* 标题前面
|
|
23
|
+
*/
|
|
24
|
+
prefix?: () => JSX.Element;
|
|
25
|
+
}
|
|
26
|
+
export interface PageHeaderEmits {
|
|
27
|
+
(e: 'back'): void;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=PageHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeader/PageHeader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,MAAM,cAAc,GAAI,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAE5D,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;CAC5B;AAGD,MAAM,WAAW,eAAe;IAC9B,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACnB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PageHeaderProps, PageHeaderSlots, PageHeaderSize } from './PageHeader';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: Readonly<PageHeaderSlots> & PageHeaderSlots;
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: DefineComponent<PageHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
11
|
+
back: () => any;
|
|
12
|
+
}, string, PublicProps, Readonly<PageHeaderProps> & Readonly<{
|
|
13
|
+
onBack?: (() => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
size: PageHeaderSize;
|
|
16
|
+
title: string;
|
|
17
|
+
subtitle: string;
|
|
18
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=PageHeader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeader/PageHeader.vue"],"names":[],"mappings":";AAiEA,OAAO,KAAK,EAAmB,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAoCrF,iBAAS,cAAc;WA+FT,OAAO,IAA6B;;;;EAKjD;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;wFASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,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":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAO,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
3
|
+
export default _default;
|
|
4
|
+
//# sourceMappingURL=SettingDivision.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingDivision.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Setting/SettingDivision/SettingDivision.vue"],"names":[],"mappings":";;AA+CA,wBAMG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Setting/SettingDivision/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title?: string;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
desc?(_: {}): any;
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=SettingGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Setting/SettingGroup/SettingGroup.vue"],"names":[],"mappings":";AAgCA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAMF,iBAAS,cAAc;WAyCT,OAAO,IAA6B;;sBAXxB,GAAG;yBACA,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,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":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Setting/SettingGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title?: string;
|
|
4
|
+
desc?: string;
|
|
5
|
+
click?: boolean;
|
|
6
|
+
vip?: boolean;
|
|
7
|
+
minName?: boolean;
|
|
8
|
+
background?: string;
|
|
9
|
+
};
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
title?(_: {}): any;
|
|
14
|
+
desc?(_: {}): any;
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
extra?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: HTMLDivElement;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
23
|
+
background: string;
|
|
24
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=SettingItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Setting/SettingItem/SettingItem.vue"],"names":[],"mappings":";AA4DA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAyBF,iBAAS,cAAc;WAsDT,OAAO,IAA6B;;uBAbvB,GAAG;sBACJ,GAAG;yBACA,GAAG;uBACL,GAAG;;;;EAe7B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;gBAlGN,MAAM;wFA0GnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,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":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Setting/SettingItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Setting/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { JSX } from 'vue/jsx-runtime';
|
|
2
|
+
export interface SplitPanelProps {
|
|
3
|
+
/**
|
|
4
|
+
* @zh 分割框的 html 标签
|
|
5
|
+
* @en The html tag of the split box
|
|
6
|
+
*/
|
|
7
|
+
component?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @zh 分割的方向
|
|
10
|
+
* @en Direction of division
|
|
11
|
+
*/
|
|
12
|
+
direction?: 'horizontal' | 'vertical';
|
|
13
|
+
/**
|
|
14
|
+
* @zh 分割的大小,可以是 0~1 代表百分比,或具体数值的像素,如 300px
|
|
15
|
+
* @en The size of the segmentation, it can be 0~1 representing a percentage, or a specific number of pixels, such as 300px
|
|
16
|
+
*/
|
|
17
|
+
size?: number | string;
|
|
18
|
+
/**
|
|
19
|
+
* @zh 默认分割的大小,可以是 0~1 代表百分比,或具体数值的像素,如 300px
|
|
20
|
+
* @en Default split size, it can be 0~1 representing a percentage, or a specific number of pixels, such as 300px
|
|
21
|
+
*/
|
|
22
|
+
defaultSize?: number | string;
|
|
23
|
+
/**
|
|
24
|
+
* @zh 最小阈值,可以是 0~1 代表百分比,或具体数值的像素,如 300px
|
|
25
|
+
* @en Minimum threshold, it can be 0~1 representing a percentage, or a specific number of pixels, such as 300px
|
|
26
|
+
*/
|
|
27
|
+
min?: number | string;
|
|
28
|
+
/**
|
|
29
|
+
* @zh 最大阈值,可以是 0~1 代表百分比,或具体数值的像素,如 300px
|
|
30
|
+
* @en Maximum threshold, it can be 0~1 representing a percentage, or a specific number of pixels, such as 300px
|
|
31
|
+
*/
|
|
32
|
+
max?: number | string;
|
|
33
|
+
/**
|
|
34
|
+
* @zh 是否禁用
|
|
35
|
+
* @en Whether to disable
|
|
36
|
+
*/
|
|
37
|
+
disabled?: boolean;
|
|
38
|
+
}
|
|
39
|
+
export interface SplitPanelEmits {
|
|
40
|
+
/**
|
|
41
|
+
* @zh 开始拖拽之前触发
|
|
42
|
+
* @en Triggered before dragging
|
|
43
|
+
*/
|
|
44
|
+
(e: 'moveStart', ev: MouseEvent): void;
|
|
45
|
+
/**
|
|
46
|
+
* @zh 拖拽时触发
|
|
47
|
+
* @en Triggered when dragging
|
|
48
|
+
*/
|
|
49
|
+
(e: 'moving', ev: MouseEvent): void;
|
|
50
|
+
/**
|
|
51
|
+
* @zh 拖拽结束之后触发
|
|
52
|
+
* @en Triggered after dragging ends
|
|
53
|
+
*/
|
|
54
|
+
(e: 'moveEnd', ev: MouseEvent): void;
|
|
55
|
+
/**
|
|
56
|
+
* @zh 尺寸变化时触发
|
|
57
|
+
* @en Triggered when size changes
|
|
58
|
+
*/
|
|
59
|
+
(e: 'update:size', size: number | string): void;
|
|
60
|
+
}
|
|
61
|
+
export interface SplitPanelSlots {
|
|
62
|
+
/**
|
|
63
|
+
* @zh 第一个面板的内容
|
|
64
|
+
* @en The contents of the first panel
|
|
65
|
+
*/
|
|
66
|
+
first?(): JSX.Element;
|
|
67
|
+
/**
|
|
68
|
+
* @zh 第二个面板的内容
|
|
69
|
+
* @en The contents of the second panel
|
|
70
|
+
*/
|
|
71
|
+
second?(): JSX.Element;
|
|
72
|
+
/**
|
|
73
|
+
* @zh 伸缩杆的内容
|
|
74
|
+
* @en The contents of the resize trigger
|
|
75
|
+
*/
|
|
76
|
+
'resize-trigger'?(): JSX.Element;
|
|
77
|
+
/**
|
|
78
|
+
* @zh 伸缩杆的图标
|
|
79
|
+
* @en Resize trigger icon
|
|
80
|
+
*/
|
|
81
|
+
'resize-trigger-icon'?(): JSX.Element;
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=SplitPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SplitPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/SplitPanel/SplitPanel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACtC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,CAAC,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,UAAU,GAAG,IAAI,CAAC;IACvC;;;OAGG;IACH,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC;;;OAGG;IACH,CAAC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,UAAU,GAAG,IAAI,CAAC;IACrC;;;OAGG;IACH,CAAC,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CACjD;AAED,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,KAAK,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;IACtB;;;OAGG;IACH,MAAM,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;IACvB;;;OAGG;IACH,gBAAgB,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;IACjC;;;OAGG;IACH,qBAAqB,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;CACvC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { SplitPanelProps, SplitPanelSlots } from './SplitPanel';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: Readonly<SplitPanelSlots> & SplitPanelSlots;
|
|
6
|
+
refs: {
|
|
7
|
+
wrapperRef: unknown;
|
|
8
|
+
triggerRef: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
rootEl: any;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: DefineComponent<SplitPanelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
14
|
+
moveStart: (ev: MouseEvent) => any;
|
|
15
|
+
moving: (ev: MouseEvent) => any;
|
|
16
|
+
moveEnd: (ev: MouseEvent) => any;
|
|
17
|
+
"update:size": (size: string | number) => any;
|
|
18
|
+
}, string, PublicProps, Readonly<SplitPanelProps> & Readonly<{
|
|
19
|
+
onMoveStart?: ((ev: MouseEvent) => any) | undefined;
|
|
20
|
+
onMoving?: ((ev: MouseEvent) => any) | undefined;
|
|
21
|
+
onMoveEnd?: ((ev: MouseEvent) => any) | undefined;
|
|
22
|
+
"onUpdate:size"?: ((size: string | number) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
component: string;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
direction: "horizontal" | "vertical";
|
|
27
|
+
defaultSize: number | string;
|
|
28
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
29
|
+
wrapperRef: unknown;
|
|
30
|
+
triggerRef: HTMLDivElement;
|
|
31
|
+
}, any>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=SplitPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SplitPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/SplitPanel/SplitPanel.vue"],"names":[],"mappings":";AAiVA,OAAO,KAAK,EAAE,eAAe,EAAmB,eAAe,EAAE,MAAM,cAAc,CAAC;AAkStF,iBAAS,cAAc;WAsET,OAAO,IAA6B;;;;;;;EAKjD;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;OAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,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":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/SplitPanel/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACzD,cAAc,cAAc,CAAC"}
|