@ditari/bsui 5.1.16 → 5.1.17
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/cjs/components/card/Card.cjs.map +1 -1
- package/dist/cjs/components/card/Card.d.ts +6 -0
- package/dist/cjs/components/card/index.d.ts +3 -0
- package/dist/cjs/components/card/style.d.ts +9 -0
- package/dist/cjs/components/date/RangePicker.vue.d.ts +64 -0
- package/dist/cjs/components/date/index.d.ts +3 -0
- package/dist/cjs/components/dic/DicReplace.d.ts +24 -0
- package/dist/cjs/components/dic/index.d.ts +3 -0
- package/dist/cjs/components/form/FormLayout.d.ts +49 -0
- package/dist/cjs/components/form/index.d.ts +3 -0
- package/dist/cjs/components/icon/index.d.ts +4 -0
- package/dist/cjs/components/index.d.ts +11 -0
- package/dist/cjs/components/layout/AppContext.d.ts +16 -0
- package/dist/cjs/components/layout/AppLayout.d.ts +3 -0
- package/dist/cjs/components/layout/Layout.vue.d.ts +269 -0
- package/dist/cjs/components/layout/List.d.ts +5 -0
- package/dist/cjs/components/layout/Show.d.ts +33 -0
- package/dist/cjs/components/layout/components/index.d.ts +5 -0
- package/dist/cjs/components/layout/components/layout/HeaderLayout.vue.d.ts +106 -0
- package/dist/cjs/components/layout/components/layout/RouterContent.vue.d.ts +11 -0
- package/dist/cjs/components/layout/components/layout/RouterContentName.vue.d.ts +19 -0
- package/dist/cjs/components/layout/components/layout/ThemeApp.vue.d.ts +24 -0
- package/dist/cjs/components/layout/components/menu/Menu.d.ts +5 -0
- package/dist/cjs/components/layout/components/mobile/MobileList.d.ts +3 -0
- package/dist/cjs/components/layout/components/settings/BlockCheckbox.vue.d.ts +47 -0
- package/dist/cjs/components/layout/components/settings/SettingDrawer.d.ts +50 -0
- package/dist/cjs/components/layout/index.d.ts +8 -0
- package/dist/cjs/components/layout/style.d.ts +5 -0
- package/dist/cjs/components/select/Select.vue.d.ts +98 -0
- package/dist/cjs/components/select/index.d.ts +3 -0
- package/dist/cjs/components/tab/Search.d.ts +3 -0
- package/dist/cjs/components/tab/Tab.vue.d.ts +78 -0
- package/dist/cjs/components/tab/index.d.ts +3 -0
- package/dist/cjs/components/table/Table.d.ts +137 -0
- package/dist/cjs/components/table/index.d.ts +4 -0
- package/dist/cjs/components/table/interface.d.ts +46 -0
- package/dist/cjs/components/table-form/TableForm.d.ts +46 -0
- package/dist/cjs/components/table-form/TableFormItem.d.ts +32 -0
- package/dist/cjs/components/table-form/index.d.ts +9 -0
- package/dist/cjs/components/table-form/interface.d.ts +56 -0
- package/dist/cjs/components/table-form/style.d.ts +12 -0
- package/dist/cjs/hooks/useDesign.d.ts +8 -0
- package/dist/cjs/index.d.ts +8 -0
- package/dist/cjs/utils/useMenuCore.d.ts +9 -0
- package/dist/cjs/utils/useTheme.d.ts +9 -0
- package/dist/cjs/utils/withInstall.d.ts +12 -0
- package/dist/esm/components/card/Card.d.ts +6 -0
- package/dist/esm/components/card/Card.mjs.map +1 -1
- package/dist/esm/components/card/index.d.ts +3 -0
- package/dist/esm/components/card/style.d.ts +9 -0
- package/dist/esm/components/date/RangePicker.vue.d.ts +64 -0
- package/dist/esm/components/date/index.d.ts +3 -0
- package/dist/esm/components/dic/DicReplace.d.ts +24 -0
- package/dist/esm/components/dic/index.d.ts +3 -0
- package/dist/esm/components/form/FormLayout.d.ts +49 -0
- package/dist/esm/components/form/index.d.ts +3 -0
- package/dist/esm/components/icon/index.d.ts +4 -0
- package/dist/esm/components/index.d.ts +11 -0
- package/dist/esm/components/layout/AppContext.d.ts +16 -0
- package/dist/esm/components/layout/AppLayout.d.ts +3 -0
- package/dist/esm/components/layout/Layout.vue.d.ts +269 -0
- package/dist/esm/components/layout/List.d.ts +5 -0
- package/dist/esm/components/layout/Show.d.ts +33 -0
- package/dist/esm/components/layout/components/index.d.ts +5 -0
- package/dist/esm/components/layout/components/layout/HeaderLayout.vue.d.ts +106 -0
- package/dist/esm/components/layout/components/layout/RouterContent.vue.d.ts +11 -0
- package/dist/esm/components/layout/components/layout/RouterContentName.vue.d.ts +19 -0
- package/dist/esm/components/layout/components/layout/ThemeApp.vue.d.ts +24 -0
- package/dist/esm/components/layout/components/menu/Menu.d.ts +5 -0
- package/dist/esm/components/layout/components/mobile/MobileList.d.ts +3 -0
- package/dist/esm/components/layout/components/settings/BlockCheckbox.vue.d.ts +47 -0
- package/dist/esm/components/layout/components/settings/SettingDrawer.d.ts +50 -0
- package/dist/esm/components/layout/index.d.ts +8 -0
- package/dist/esm/components/layout/style.d.ts +5 -0
- package/dist/esm/components/select/Select.vue.d.ts +98 -0
- package/dist/esm/components/select/index.d.ts +3 -0
- package/dist/esm/components/tab/Search.d.ts +3 -0
- package/dist/esm/components/tab/Tab.vue.d.ts +78 -0
- package/dist/esm/components/tab/index.d.ts +3 -0
- package/dist/esm/components/table/Table.d.ts +137 -0
- package/dist/esm/components/table/index.d.ts +4 -0
- package/dist/esm/components/table/interface.d.ts +46 -0
- package/dist/esm/components/table-form/TableForm.d.ts +46 -0
- package/dist/esm/components/table-form/TableFormItem.d.ts +32 -0
- package/dist/esm/components/table-form/index.d.ts +9 -0
- package/dist/esm/components/table-form/interface.d.ts +56 -0
- package/dist/esm/components/table-form/style.d.ts +12 -0
- package/dist/esm/hooks/useDesign.d.ts +8 -0
- package/dist/esm/index.d.ts +8 -0
- package/dist/esm/utils/useMenuCore.d.ts +9 -0
- package/dist/esm/utils/useTheme.d.ts +9 -0
- package/dist/esm/utils/withInstall.d.ts +12 -0
- package/dist/types/components/card/Card.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.cjs","sources":["../../../../src/components/card/Card.tsx"],"sourcesContent":["// components/card/index.tsx\r\nimport { defineComponent } from \"vue\";\r\n\r\nimport { cx } from \"@emotion/css\"; // 引入 cx\r\n\r\nimport { useDesign } from \"../../hooks/useDesign\"; // 引入我们刚才写的 hook\r\nimport { withInstall } from \"../../utils/withInstall\";\r\n\r\nimport { useStyle } from \"./style\";\r\n\r\nconst _Card = defineComponent({\r\n name: \"DCard\",\r\n props: {\r\n title: String\r\n },\r\n setup(props, { slots }) {\r\n // 初始化 Design Hook,传入组件名 'card'\r\n const { getPrefixCls } = useDesign(\"card\");\r\n\r\n // 初始化 Emotion 样式\r\n const styles = useStyle();\r\n\r\n return () => {\r\n // 生成语义化类名\r\n const rootCls = getPrefixCls();\r\n const headerCls = getPrefixCls(\"head\");\r\n const iconCls = getPrefixCls(\"icon\");\r\n const titleCls = getPrefixCls(\"title\");\r\n const actionCls = getPrefixCls(\"action\");\r\n const bodyCls = getPrefixCls(\"body\");\r\n\r\n return (\r\n <div class={cx(rootCls, styles.container)}>\r\n {/* Header 区域 */}\r\n <div class={cx(headerCls, styles.header)}>\r\n {slots.icon && <div class={cx(iconCls, styles.icon)}
|
|
1
|
+
{"version":3,"file":"Card.cjs","sources":["../../../../src/components/card/Card.tsx"],"sourcesContent":["// components/card/index.tsx\r\nimport { defineComponent } from \"vue\";\r\n\r\nimport { cx } from \"@emotion/css\"; // 引入 cx\r\n\r\nimport { useDesign } from \"../../hooks/useDesign\"; // 引入我们刚才写的 hook\r\nimport { withInstall } from \"../../utils/withInstall\";\r\n\r\nimport { useStyle } from \"./style\";\r\n\r\nconst _Card = defineComponent({\r\n name: \"DCard\",\r\n props: {\r\n title: String\r\n },\r\n setup(props, { slots }) {\r\n // 初始化 Design Hook,传入组件名 'card'\r\n const { getPrefixCls } = useDesign(\"card\");\r\n\r\n // 初始化 Emotion 样式\r\n const styles = useStyle();\r\n\r\n return () => {\r\n // 生成语义化类名\r\n const rootCls = getPrefixCls();\r\n const headerCls = getPrefixCls(\"head\");\r\n const iconCls = getPrefixCls(\"icon\");\r\n const titleCls = getPrefixCls(\"title\");\r\n const actionCls = getPrefixCls(\"action\");\r\n const bodyCls = getPrefixCls(\"body\");\r\n\r\n return (\r\n <div class={cx(rootCls, styles.container)}>\r\n {/* Header 区域 */}\r\n <div class={cx(headerCls, styles.header)}>\r\n {slots.icon && (\r\n <div class={cx(iconCls, styles.icon)}>\r\n {slots.icon()}\r\n </div>\r\n )}\r\n <div class={cx(titleCls, styles.header_title)}>\r\n {props.title}\r\n </div>\r\n </div>\r\n {/*action*/}\r\n {slots.action && (\r\n <div class={cx(actionCls, styles.action)}>\r\n {slots.action()}\r\n </div>\r\n )}\r\n\r\n {/* Body 区域 */}\r\n <div class={cx(bodyCls, styles.body)}>\r\n {slots.default?.()}\r\n </div>\r\n </div>\r\n );\r\n };\r\n }\r\n});\r\n\r\nexport const Card = withInstall(_Card);\r\n"],"names":["_Card","defineComponent","name","props","title","String","setup","slots","getPrefixCls","useDesign","styles","useStyle","rootCls","headerCls","iconCls","titleCls","actionCls","bodyCls","_createVNode","cx","container","header","icon","header_title","action","body","default","Card","withInstall"],"mappings":";;;;;;;;;AAUA,MAAMA,wBAAQC,mBAAAA,CAAgB;AAAA,EAC5BC,IAAAA,EAAM,OAAA;AAAA,EACNC,KAAAA,EAAO;AAAA,IACLC,KAAAA,EAAOC;AAAAA,GACT;AAAA,EACAC,MAAMH,KAAAA,EAAO;AAAA,IAAEI;AAAAA,GAAM,EAAG;AAEtB,IAAA,MAAM;AAAA,MAAEC;AAAAA,KAAa,GAAIC,oBAAU,MAAM,CAAA;AAGzC,IAAA,MAAMC,SAASC,cAAAA,EAAS;AAExB,IAAA,OAAO,MAAM;AAtBjB,MAAA,IAAA,EAAA;AAwBM,MAAA,MAAMC,UAAUJ,YAAAA,EAAa;AAC7B,MAAA,MAAMK,SAAAA,GAAYL,aAAa,MAAM,CAAA;AACrC,MAAA,MAAMM,OAAAA,GAAUN,aAAa,MAAM,CAAA;AACnC,MAAA,MAAMO,QAAAA,GAAWP,aAAa,OAAO,CAAA;AACrC,MAAA,MAAMQ,SAAAA,GAAYR,aAAa,QAAQ,CAAA;AACvC,MAAA,MAAMS,OAAAA,GAAUT,aAAa,MAAM,CAAA;AAEnC,MAAA,OAAAU,gBAAA,KAAA,EAAA;AAAA,QAAA,OAAA,EACcC,MAAAA,CAAGP,OAAAA,EAASF,MAAAA,CAAOU,SAAS;AAAA,OAAC,EAAA,CAAAF,eAAAA,CAAA,KAAA,EAAA;AAAA,QAAA,OAAA,EAE3BC,MAAAA,CAAGN,SAAAA,EAAWH,MAAAA,CAAOW,MAAM;AAAA,OAAC,EAAA,CACrCd,KAAAA,CAAMe,IAAAA,IAAIJ,gBAAA,KAAA,EAAA;AAAA,QAAA,OAAA,EACGC,MAAAA,CAAGL,OAAAA,EAASJ,MAAAA,CAAOY,IAAI;AAAA,OAAC,EAAA,CACjCf,KAAAA,CAAMe,IAAAA,EAAM,CAAA,CAAA,EAEhBJ,gBAAA,KAAA,EAAA;AAAA,QAAA,OAAA,EACWC,MAAAA,CAAGJ,QAAAA,EAAUL,MAAAA,CAAOa,YAAY;AAAA,OAAC,EAAA,CAC1CpB,KAAAA,CAAMC,KAAK,CAAA,CAAA,CAAA,CAAA,EAIfG,KAAAA,CAAMiB,MAAAA,IAAMN,eAAAA,CAAA,KAAA,EAAA;AAAA,QAAA,OAAA,EACCC,MAAAA,CAAGH,SAAAA,EAAWN,MAAAA,CAAOc,MAAM;AAAA,OAAC,EAAA,CACrCjB,KAAAA,CAAMiB,MAAAA,EAAQ,CAAA,CAAA,EAElBN,gBAAA,KAAA,EAAA;AAAA,QAAA,OAAA,EAGWC,MAAAA,CAAGF,OAAAA,EAASP,MAAAA,CAAOe,IAAI;AAAA,SAAC,CAAA,CACjClB,EAAAA,GAAAA,KAAAA,CAAMmB,YAANnB,IAAAA,GAAAA,KAAAA,CAAAA,GAAAA,EAAAA,CAAAA,IAAAA,CAAAA,KAAAA,CAAiB,CAAA,CAAA,CAAA,CAAA;AAAA,IAI1B,CAAA;AAAA,EACF;AACF,CAAC,CAAA;AAEM,MAAMoB,IAAAA,GAAOC,wBAAY5B,KAAK;;;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const Card: import("../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
title: StringConstructor;
|
|
3
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
title: StringConstructor;
|
|
5
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
6
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
value: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
default: () => {};
|
|
6
|
+
};
|
|
7
|
+
startField: {
|
|
8
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
9
|
+
required: false;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
endField: {
|
|
13
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
14
|
+
required: false;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
format: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
required: false;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}>, {
|
|
23
|
+
normalizePath: (field: string | string[]) => string[];
|
|
24
|
+
getNestedValue: <T extends Record<string, unknown>>(obj: T, field: string | string[]) => string | null | undefined;
|
|
25
|
+
setNestedValue: <T extends Record<string, unknown>>(obj: T, field: string | string[], value: string | null) => T;
|
|
26
|
+
props: any;
|
|
27
|
+
emits: (event: "update:value" | "change", ...args: any[]) => void;
|
|
28
|
+
attrs: {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
};
|
|
31
|
+
innerValue: import("vue").Ref<any, any>;
|
|
32
|
+
handleChange: (dates: [any, any]) => void;
|
|
33
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
value: {
|
|
35
|
+
type: ObjectConstructor;
|
|
36
|
+
required: true;
|
|
37
|
+
default: () => {};
|
|
38
|
+
};
|
|
39
|
+
startField: {
|
|
40
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
41
|
+
required: false;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
endField: {
|
|
45
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
46
|
+
required: false;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
format: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
required: false;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
}>> & Readonly<{
|
|
55
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
56
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
57
|
+
}>, {
|
|
58
|
+
value: Record<string, any>;
|
|
59
|
+
startField: string | unknown[];
|
|
60
|
+
endField: string | unknown[];
|
|
61
|
+
format: string;
|
|
62
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
|
+
export default _default;
|
|
64
|
+
//# sourceMappingURL=RangePicker.vue.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
name: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
value: {
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
name: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
value: {
|
|
16
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
name: string;
|
|
21
|
+
value: string | number;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
export default _default;
|
|
24
|
+
//# sourceMappingURL=DicReplace.d.ts.map
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 查询表单渲染
|
|
3
|
+
* 展开,隐藏功能
|
|
4
|
+
*/
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
scheme: {
|
|
7
|
+
type: () => any[] | Record<string, any>;
|
|
8
|
+
default: () => never[];
|
|
9
|
+
};
|
|
10
|
+
model: {
|
|
11
|
+
type: () => Record<string, unknown>;
|
|
12
|
+
default: () => {};
|
|
13
|
+
};
|
|
14
|
+
labelWidth: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
loading: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("query" | "reset")[], "query" | "reset", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
scheme: {
|
|
24
|
+
type: () => any[] | Record<string, any>;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
model: {
|
|
28
|
+
type: () => Record<string, unknown>;
|
|
29
|
+
default: () => {};
|
|
30
|
+
};
|
|
31
|
+
labelWidth: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
loading: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}>> & Readonly<{
|
|
40
|
+
onQuery?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
loading: boolean;
|
|
44
|
+
scheme: any[] | Record<string, any>;
|
|
45
|
+
model: Record<string, unknown>;
|
|
46
|
+
labelWidth: string;
|
|
47
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
48
|
+
export default _default;
|
|
49
|
+
//# sourceMappingURL=FormLayout.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./card";
|
|
2
|
+
export * from "./date";
|
|
3
|
+
export { default as DicRep } from "./dic";
|
|
4
|
+
export * from "./form";
|
|
5
|
+
export * from "./icon";
|
|
6
|
+
export * from "./layout";
|
|
7
|
+
export { default as Select } from "./select";
|
|
8
|
+
export { default as Tab } from "./tab";
|
|
9
|
+
export { default as Table } from "./table";
|
|
10
|
+
export * from "./table-form";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ComputedRef, VNode } from "vue";
|
|
2
|
+
export declare const AppContextKey: unique symbol;
|
|
3
|
+
export interface AppContext {
|
|
4
|
+
watermarkContent?: ComputedRef<{
|
|
5
|
+
content: string;
|
|
6
|
+
}>;
|
|
7
|
+
renderMenuIcon?: (item: {
|
|
8
|
+
icon: string;
|
|
9
|
+
}) => VNode | VNode[];
|
|
10
|
+
keepAliveMode: "Name" | "Path";
|
|
11
|
+
onReloadPage?: (item: {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}) => void;
|
|
14
|
+
enableTabContextMenu?: boolean;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=AppContext.d.ts.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const DAppLayout: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default DAppLayout;
|
|
3
|
+
//# sourceMappingURL=AppLayout.d.ts.map
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
watermark: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
default: () => {
|
|
6
|
+
content: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
isSettings: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
required: false;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
renderMenuIcon: {
|
|
15
|
+
type: FunctionConstructor;
|
|
16
|
+
required: false;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
19
|
+
keepAliveMode: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
required: false;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
enableTabContextMenu: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
required: false;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
props: any;
|
|
31
|
+
emits: (event: "onMenuClick", ...args: any[]) => void;
|
|
32
|
+
layout: import("vue").Ref<{
|
|
33
|
+
sideWidth: number;
|
|
34
|
+
headerHeight: number;
|
|
35
|
+
collapsedWidth: number;
|
|
36
|
+
collapsed: boolean;
|
|
37
|
+
}, {
|
|
38
|
+
sideWidth: number;
|
|
39
|
+
headerHeight: number;
|
|
40
|
+
collapsedWidth: number;
|
|
41
|
+
collapsed: boolean;
|
|
42
|
+
}>;
|
|
43
|
+
modeConfig: import("vue").Ref<import("@ditari/store/dist/types/modules/useAppStore").Mode, import("@ditari/store/dist/types/modules/useAppStore").Mode>;
|
|
44
|
+
sideTokenStyle: import("vue").Ref<Record<string, string>, Record<string, string>>;
|
|
45
|
+
onMenuClick: (item: never) => void;
|
|
46
|
+
routerContentRef: import("vue").Ref<any, any>;
|
|
47
|
+
onReloadPage: (item: {
|
|
48
|
+
[key: string]: unknown;
|
|
49
|
+
}) => void;
|
|
50
|
+
layoutStyle: string;
|
|
51
|
+
siderStyle: import("vue").ComputedRef<string>;
|
|
52
|
+
rightStyle: import("vue").ComputedRef<string>;
|
|
53
|
+
rightContentStyle: import("vue").ComputedRef<string>;
|
|
54
|
+
useReloadPage: () => {
|
|
55
|
+
routerContentRef: import("vue").Ref<any, any>;
|
|
56
|
+
onReloadPage: (item: {
|
|
57
|
+
[key: string]: unknown;
|
|
58
|
+
}) => void;
|
|
59
|
+
};
|
|
60
|
+
useStyle: () => {
|
|
61
|
+
layoutStyle: string;
|
|
62
|
+
siderStyle: import("vue").ComputedRef<string>;
|
|
63
|
+
rightStyle: import("vue").ComputedRef<string>;
|
|
64
|
+
rightContentStyle: import("vue").ComputedRef<string>;
|
|
65
|
+
};
|
|
66
|
+
useMenu: () => {
|
|
67
|
+
onMenuClick: (item: never) => void;
|
|
68
|
+
};
|
|
69
|
+
readonly DMenu: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onMenuClick"[], "onMenuClick", import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
70
|
+
onOnMenuClick?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
72
|
+
readonly SettingDrawer: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
|
|
73
|
+
BlockCheckbox: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
74
|
+
themes: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
required: false;
|
|
77
|
+
};
|
|
78
|
+
isDark: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
required: false;
|
|
81
|
+
};
|
|
82
|
+
checked: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
required: false;
|
|
85
|
+
};
|
|
86
|
+
t: {
|
|
87
|
+
type: FunctionConstructor;
|
|
88
|
+
required: false;
|
|
89
|
+
};
|
|
90
|
+
}>, {
|
|
91
|
+
props: any;
|
|
92
|
+
prefixCls: import("vue").ShallowRef<string, string>;
|
|
93
|
+
cls: import("vue").ComputedRef<{
|
|
94
|
+
[x: string]: any;
|
|
95
|
+
}>;
|
|
96
|
+
readonly CheckOutlined: import("@ant-design/icons-vue/lib/icons/CheckOutlined").CheckOutlinedIconType;
|
|
97
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
+
themes: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
required: false;
|
|
101
|
+
};
|
|
102
|
+
isDark: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
required: false;
|
|
105
|
+
};
|
|
106
|
+
checked: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
required: false;
|
|
109
|
+
};
|
|
110
|
+
t: {
|
|
111
|
+
type: FunctionConstructor;
|
|
112
|
+
required: false;
|
|
113
|
+
};
|
|
114
|
+
}>> & Readonly<{}>, {
|
|
115
|
+
isDark: boolean;
|
|
116
|
+
checked: boolean;
|
|
117
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
118
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
119
|
+
HeaderLayout: import("vue").DefineComponent<{}, {
|
|
120
|
+
appStore: import("pinia").Store<"_STORE_APP_ID", import("@ditari/store").App, {}, {}>;
|
|
121
|
+
layout: import("vue").Ref<{
|
|
122
|
+
sideWidth: number;
|
|
123
|
+
headerHeight: number;
|
|
124
|
+
collapsedWidth: number;
|
|
125
|
+
collapsed: boolean;
|
|
126
|
+
}, {
|
|
127
|
+
sideWidth: number;
|
|
128
|
+
headerHeight: number;
|
|
129
|
+
collapsedWidth: number;
|
|
130
|
+
collapsed: boolean;
|
|
131
|
+
}>;
|
|
132
|
+
modeConfig: import("vue").Ref<import("@ditari/store/dist/types/modules/useAppStore").Mode, import("@ditari/store/dist/types/modules/useAppStore").Mode>;
|
|
133
|
+
headerTokenStyle: import("vue").Ref<import("@ditari/store/dist/types/modules/useAppStore").HeaderStyle, import("@ditari/store/dist/types/modules/useAppStore").HeaderStyle>;
|
|
134
|
+
headerStyle: import("vue").ComputedRef<string>;
|
|
135
|
+
headerTabStyle: import("vue").ComputedRef<string>;
|
|
136
|
+
collapsedStyle: import("vue").ComputedRef<string>;
|
|
137
|
+
rightStyle: import("vue").ComputedRef<string>;
|
|
138
|
+
useStyle: () => {
|
|
139
|
+
headerStyle: import("vue").ComputedRef<string>;
|
|
140
|
+
headerTabStyle: import("vue").ComputedRef<string>;
|
|
141
|
+
collapsedStyle: import("vue").ComputedRef<string>;
|
|
142
|
+
rightStyle: import("vue").ComputedRef<string>;
|
|
143
|
+
};
|
|
144
|
+
readonly MenuFoldOutlined: import("@ant-design/icons-vue/lib/icons/MenuFoldOutlined").MenuFoldOutlinedIconType;
|
|
145
|
+
readonly MenuUnfoldOutlined: import("@ant-design/icons-vue/lib/icons/MenuUnfoldOutlined").MenuUnfoldOutlinedIconType;
|
|
146
|
+
Tab: import("vue").DefineComponent<{}, {
|
|
147
|
+
useStyle: () => {
|
|
148
|
+
tabsNavStyle: import("vue").ComputedRef<string>;
|
|
149
|
+
tabHoverBgStyle: import("vue").ComputedRef<string>;
|
|
150
|
+
closeBtnStyle: import("vue").ComputedRef<string>;
|
|
151
|
+
dynamicVars: import("vue").ComputedRef<{
|
|
152
|
+
"--active-tab-color": string | undefined;
|
|
153
|
+
"--splitColor": string | undefined;
|
|
154
|
+
"--active-text-color": string | undefined;
|
|
155
|
+
"--active-shadow-color": string | undefined;
|
|
156
|
+
"--tabs-text-color": string | undefined;
|
|
157
|
+
}>;
|
|
158
|
+
};
|
|
159
|
+
useTabAndMenu: () => {
|
|
160
|
+
activeKey: import("vue").Ref<string, string>;
|
|
161
|
+
list: import("vue").ComputedRef<{
|
|
162
|
+
closeBtnVisible: boolean;
|
|
163
|
+
menus: {
|
|
164
|
+
key: string;
|
|
165
|
+
title: string;
|
|
166
|
+
icon: import("@ant-design/icons-vue/lib/icons/ReloadOutlined").ReloadOutlinedIconType;
|
|
167
|
+
disabled: boolean;
|
|
168
|
+
}[];
|
|
169
|
+
path?: string;
|
|
170
|
+
fullPath?: string;
|
|
171
|
+
query?: import("vue-router").LocationQuery;
|
|
172
|
+
params?: import("vue-router").RouteParams;
|
|
173
|
+
meta?: import("vue-router").RouteMeta;
|
|
174
|
+
name?: string;
|
|
175
|
+
openTime?: number | undefined;
|
|
176
|
+
}[]>;
|
|
177
|
+
enableTabContextMenu: boolean;
|
|
178
|
+
onChange: (key: string | number) => void;
|
|
179
|
+
onClose: ($event: Event, key: string | undefined) => void;
|
|
180
|
+
onContextMenuClick: ({ key }: {
|
|
181
|
+
key: string | number;
|
|
182
|
+
}, item: any) => void;
|
|
183
|
+
};
|
|
184
|
+
tabsNavStyle: import("vue").ComputedRef<string>;
|
|
185
|
+
tabHoverBgStyle: import("vue").ComputedRef<string>;
|
|
186
|
+
closeBtnStyle: import("vue").ComputedRef<string>;
|
|
187
|
+
dynamicVars: import("vue").ComputedRef<{
|
|
188
|
+
"--active-tab-color": string | undefined;
|
|
189
|
+
"--splitColor": string | undefined;
|
|
190
|
+
"--active-text-color": string | undefined;
|
|
191
|
+
"--active-shadow-color": string | undefined;
|
|
192
|
+
"--tabs-text-color": string | undefined;
|
|
193
|
+
}>;
|
|
194
|
+
activeKey: import("vue").Ref<string, string>;
|
|
195
|
+
list: import("vue").ComputedRef<{
|
|
196
|
+
closeBtnVisible: boolean;
|
|
197
|
+
menus: {
|
|
198
|
+
key: string;
|
|
199
|
+
title: string;
|
|
200
|
+
icon: import("@ant-design/icons-vue/lib/icons/ReloadOutlined").ReloadOutlinedIconType;
|
|
201
|
+
disabled: boolean;
|
|
202
|
+
}[];
|
|
203
|
+
path?: string;
|
|
204
|
+
fullPath?: string;
|
|
205
|
+
query?: import("vue-router").LocationQuery;
|
|
206
|
+
params?: import("vue-router").RouteParams;
|
|
207
|
+
meta?: import("vue-router").RouteMeta;
|
|
208
|
+
name?: string;
|
|
209
|
+
openTime?: number | undefined;
|
|
210
|
+
}[]>;
|
|
211
|
+
enableTabContextMenu: boolean;
|
|
212
|
+
onChange: (key: string | number) => void;
|
|
213
|
+
onClose: ($event: Event, key: string | undefined) => void;
|
|
214
|
+
onContextMenuClick: ({ key }: {
|
|
215
|
+
key: string | number;
|
|
216
|
+
}, item: any) => void;
|
|
217
|
+
readonly Search: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
218
|
+
readonly CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
|
|
219
|
+
readonly cx: (...classNames: import("@emotion/css/dist/declarations/src/create-instance").ClassNamesArg[]) => string;
|
|
220
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
221
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
222
|
+
RouterContent: import("vue").DefineComponent<{}, {
|
|
223
|
+
list: import("vue").Ref<import("@ditari/store").NavTabsState[], import("@ditari/store").NavTabsState[]>;
|
|
224
|
+
toPascalCase: (str: string) => string;
|
|
225
|
+
refreshingPath: import("vue").Ref<string | null, string | null>;
|
|
226
|
+
wrapperMap: Map<any, any>;
|
|
227
|
+
cachedViews: import("vue").ComputedRef<string[]>;
|
|
228
|
+
getWrapper: (Component: any, route: any) => any;
|
|
229
|
+
reloadPage: (fullPath: string) => Promise<void>;
|
|
230
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
231
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onMenuClick"[], "onMenuClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
232
|
+
watermark: {
|
|
233
|
+
type: ObjectConstructor;
|
|
234
|
+
required: false;
|
|
235
|
+
default: () => {
|
|
236
|
+
content: string;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
isSettings: {
|
|
240
|
+
type: BooleanConstructor;
|
|
241
|
+
required: false;
|
|
242
|
+
default: boolean;
|
|
243
|
+
};
|
|
244
|
+
renderMenuIcon: {
|
|
245
|
+
type: FunctionConstructor;
|
|
246
|
+
required: false;
|
|
247
|
+
default: undefined;
|
|
248
|
+
};
|
|
249
|
+
keepAliveMode: {
|
|
250
|
+
type: StringConstructor;
|
|
251
|
+
required: false;
|
|
252
|
+
default: string;
|
|
253
|
+
};
|
|
254
|
+
enableTabContextMenu: {
|
|
255
|
+
type: BooleanConstructor;
|
|
256
|
+
required: false;
|
|
257
|
+
default: boolean;
|
|
258
|
+
};
|
|
259
|
+
}>> & Readonly<{
|
|
260
|
+
onOnMenuClick?: ((...args: any[]) => any) | undefined;
|
|
261
|
+
}>, {
|
|
262
|
+
enableTabContextMenu: boolean;
|
|
263
|
+
watermark: Record<string, any>;
|
|
264
|
+
isSettings: boolean;
|
|
265
|
+
renderMenuIcon: Function;
|
|
266
|
+
keepAliveMode: string;
|
|
267
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
268
|
+
export default _default;
|
|
269
|
+
//# sourceMappingURL=Layout.vue.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const list: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "refresh"[], "refresh", import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
2
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
3
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
export default list;
|
|
5
|
+
//# sourceMappingURL=List.d.ts.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const show: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
close: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
loading: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
loadingText: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
close: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
loading: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
loadingText: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
|
+
loading: boolean;
|
|
29
|
+
close: boolean;
|
|
30
|
+
loadingText: string;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
export default show;
|
|
33
|
+
//# sourceMappingURL=Show.d.ts.map
|