@dt-frames/ui 1.0.53 → 1.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/curd/src/components/dialog.d.ts +10 -267
- package/es/components/forms/src/components/formIcon.d.ts +14 -1690
- package/es/components/forms/src/components/formInputUseDialog.d.ts +1 -894
- package/es/components/forms/src/index.d.ts +4 -4
- package/es/components/forms/src/prop.d.ts +1 -1
- package/es/components/icons/src/pick-icon.d.ts +5 -262
- package/es/components/iframe/src/index.d.ts +1 -928
- package/es/components/modal/src/components/close-icon.d.ts +1 -258
- package/es/components/modal/src/components/modal-wrap.d.ts +1 -1
- package/es/components/modal/src/components/modal.d.ts +1 -1
- package/es/components/modal/src/index.d.ts +6 -264
- package/es/components/source/src/types/source.type.d.ts +1 -0
- package/es/components/table/src/components/TableActions.d.ts +4 -1096
- package/es/components/table/src/components/setting/Column.d.ts +6 -1203
- package/es/components/table/src/components/setting/Download.d.ts +14 -2081
- package/es/components/table/src/components/setting/DownloadCtrl.d.ts +10 -985
- package/es/components/table/src/components/setting/Fullscreen.d.ts +1 -258
- package/es/components/table/src/index.d.ts +26 -19
- package/es/components/table/src/props.d.ts +3 -0
- package/es/components/tree/src/index.d.ts +6849 -0
- package/es/index.js +33 -18
- package/es/theme/feature/back-top.d.ts +1 -100
- package/es/theme/feature/index.d.ts +1 -100
- package/es/theme/footer/index.d.ts +1 -1
- package/es/theme/header/components/bread-crumb.d.ts +1 -122
- package/es/theme/header/components/lang-picker.d.ts +1 -262
- package/es/theme/header/components/menu-search.d.ts +181 -0
- package/es/theme/header/components/notify.d.ts +1 -262
- package/es/theme/header/components/size.d.ts +1 -262
- package/es/theme/header/components/theme-drawer/feature.d.ts +3 -928
- package/es/theme/header/components/theme-drawer/menu-type.d.ts +1 -258
- package/es/theme/header/components/theme-drawer/select-item.d.ts +1 -694
- package/es/theme/header/components/theme-drawer/switch-item.d.ts +2 -234
- package/es/theme/header/components/user-info.d.ts +2 -447
- package/es/theme/sider/components/basic-menu/basic-menu-item.d.ts +2 -2
- package/es/theme/sider/components/basic-menu/basic-menu.d.ts +7 -422
- package/es/theme/sider/components/basic-menu/basic-sub-menu-item.d.ts +4 -4
- package/es/theme/tabs/components/TabContent.d.ts +4 -839
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -4962,6 +4962,9 @@ const TableProps = {
|
|
|
4962
4962
|
type: [Object, Boolean],
|
|
4963
4963
|
default: {}
|
|
4964
4964
|
},
|
|
4965
|
+
pageSize: {
|
|
4966
|
+
type: Number
|
|
4967
|
+
},
|
|
4965
4968
|
loading: { type: Boolean, default: false },
|
|
4966
4969
|
rowClassName: { type: Function },
|
|
4967
4970
|
scroll: {
|
|
@@ -5059,7 +5062,7 @@ function usePagination(props) {
|
|
|
5059
5062
|
}
|
|
5060
5063
|
});
|
|
5061
5064
|
const getPaginationInfo = computed(() => {
|
|
5062
|
-
const { pagination } = unref(props);
|
|
5065
|
+
const { pagination, pageSize: tPageSize } = unref(props);
|
|
5063
5066
|
if (!unref(show) || isBoolean(pagination) && !pagination) {
|
|
5064
5067
|
return false;
|
|
5065
5068
|
}
|
|
@@ -5067,8 +5070,8 @@ function usePagination(props) {
|
|
|
5067
5070
|
const { defaultPageSize, pageSizeOptions } = appConf.ui.table;
|
|
5068
5071
|
return {
|
|
5069
5072
|
current: 1,
|
|
5070
|
-
pageSize: defaultPageSize,
|
|
5071
|
-
defaultPageSize,
|
|
5073
|
+
pageSize: tPageSize || defaultPageSize,
|
|
5074
|
+
defaultPageSize: tPageSize || defaultPageSize,
|
|
5072
5075
|
showTotal: (total, range) => t("TOTAL_PAGE", { total }),
|
|
5073
5076
|
showSizeChanger: true,
|
|
5074
5077
|
pageSizeOptions,
|
|
@@ -5130,19 +5133,19 @@ function useDataSource(propsRef, {
|
|
|
5130
5133
|
return onTableChange2({
|
|
5131
5134
|
pagination: {
|
|
5132
5135
|
current,
|
|
5133
|
-
pageSize
|
|
5136
|
+
pageSize: tPageSize || pageSize
|
|
5134
5137
|
},
|
|
5135
5138
|
sort: sorter,
|
|
5136
5139
|
filter: toRaw(unref(params.filterInfo)),
|
|
5137
5140
|
showBtnLoading: false
|
|
5138
5141
|
});
|
|
5139
5142
|
}
|
|
5140
|
-
const { defSort, onTableChange } = unref(propsRef);
|
|
5143
|
+
const { defSort, onTableChange, pageSize: tPageSize } = unref(propsRef);
|
|
5141
5144
|
const { appConf } = useAppStore();
|
|
5142
5145
|
onTableChange({
|
|
5143
5146
|
pagination: {
|
|
5144
5147
|
current: 1,
|
|
5145
|
-
pageSize: appConf.ui.table.defaultPageSize
|
|
5148
|
+
pageSize: tPageSize || appConf.ui.table.defaultPageSize
|
|
5146
5149
|
},
|
|
5147
5150
|
sort: defSort,
|
|
5148
5151
|
filter: null,
|
|
@@ -5540,7 +5543,7 @@ function sortFixedColumn(columns) {
|
|
|
5540
5543
|
function handleIndexColumn(propsRef, getPaginationRef, columns) {
|
|
5541
5544
|
const { getIsZH } = useHeader();
|
|
5542
5545
|
const { t } = useI18n("UI");
|
|
5543
|
-
const { showIndexColumn, indexColumnProps, isTreeTable } = unref(propsRef);
|
|
5546
|
+
const { showIndexColumn, indexColumnProps, isTreeTable, pageSize: tPageSize } = unref(propsRef);
|
|
5544
5547
|
let pushIndexColumns = false;
|
|
5545
5548
|
if (unref(isTreeTable)) {
|
|
5546
5549
|
return;
|
|
@@ -5569,7 +5572,7 @@ function handleIndexColumn(propsRef, getPaginationRef, columns) {
|
|
|
5569
5572
|
return `${index2 + 1}`;
|
|
5570
5573
|
}
|
|
5571
5574
|
const { current = 1, pageSize = defaultPageSize } = getPagination;
|
|
5572
|
-
return ((current < 1 ? 1 : current) - 1) * pageSize + index2 + 1;
|
|
5575
|
+
return ((current < 1 ? 1 : current) - 1) * (tPageSize || pageSize) + index2 + 1;
|
|
5573
5576
|
},
|
|
5574
5577
|
...isFixedLeft ? {
|
|
5575
5578
|
fixed: "left"
|
|
@@ -6944,14 +6947,15 @@ function useDownload(exportUrl, exportName) {
|
|
|
6944
6947
|
};
|
|
6945
6948
|
}
|
|
6946
6949
|
function useSource(opt) {
|
|
6947
|
-
var _a, _b, _c, _d
|
|
6950
|
+
var _a, _b, _c, _d;
|
|
6948
6951
|
const { t } = useI18n("UI");
|
|
6949
6952
|
const loading = {
|
|
6950
6953
|
onSearch: ref(false),
|
|
6951
6954
|
onReset: ref(false)
|
|
6952
6955
|
};
|
|
6956
|
+
const { appConf } = useAppStore();
|
|
6953
6957
|
const { baseUrl = "", api = {}, exportName = "", clearKeys = () => {
|
|
6954
|
-
} } = opt;
|
|
6958
|
+
}, defaultSize = (_b = (_a = appConf == null ? void 0 : appConf.ui) == null ? void 0 : _a.table) == null ? void 0 : _b.defaultPageSize } = opt;
|
|
6955
6959
|
const { add, deletes, update, queryById, queryPage } = api;
|
|
6956
6960
|
const { message } = useMessage();
|
|
6957
6961
|
const apiFul = {};
|
|
@@ -6968,10 +6972,9 @@ function useSource(opt) {
|
|
|
6968
6972
|
}
|
|
6969
6973
|
apiPath[it] = isString(api[it]) ? api[it] : api[it].api;
|
|
6970
6974
|
}
|
|
6971
|
-
const { appConf } = useAppStore();
|
|
6972
6975
|
const pagination = ref({
|
|
6973
|
-
current: ((
|
|
6974
|
-
pageSize:
|
|
6976
|
+
current: ((_d = (_c = appConf == null ? void 0 : appConf.ui) == null ? void 0 : _c.table) == null ? void 0 : _d.defaultPageNo) || 1,
|
|
6977
|
+
pageSize: defaultSize || 20,
|
|
6975
6978
|
total: 0
|
|
6976
6979
|
});
|
|
6977
6980
|
const dataSource = ref([]);
|
|
@@ -6979,7 +6982,7 @@ function useSource(opt) {
|
|
|
6979
6982
|
entityDTO: {},
|
|
6980
6983
|
pageDTO: {
|
|
6981
6984
|
pageNo: 0,
|
|
6982
|
-
pageSize:
|
|
6985
|
+
pageSize: defaultSize
|
|
6983
6986
|
},
|
|
6984
6987
|
orderDTOs: []
|
|
6985
6988
|
});
|
|
@@ -7020,7 +7023,7 @@ function useSource(opt) {
|
|
|
7020
7023
|
const { fetch } = useFetch(queryPage, baseUrl);
|
|
7021
7024
|
loading.onQuerypage.value = true;
|
|
7022
7025
|
fetch(toRaw(baseData)).then((rsp) => {
|
|
7023
|
-
var _a2, _b2, _c2, _d2,
|
|
7026
|
+
var _a2, _b2, _c2, _d2, _e;
|
|
7024
7027
|
if (isArray$1(rsp)) {
|
|
7025
7028
|
dataSource.value.splice(0, dataSource.value.length, ...rsp);
|
|
7026
7029
|
return;
|
|
@@ -7030,7 +7033,7 @@ function useSource(opt) {
|
|
|
7030
7033
|
pagination.value = {
|
|
7031
7034
|
current: ((_a2 = pageDTO == null ? void 0 : pageDTO.pageNo) != null ? _a2 : 0) + 1,
|
|
7032
7035
|
pageSize: (_d2 = pageDTO == null ? void 0 : pageDTO.pageSize) != null ? _d2 : (_c2 = (_b2 = appConf == null ? void 0 : appConf.ui) == null ? void 0 : _b2.table) == null ? void 0 : _c2.defaultPageSize,
|
|
7033
|
-
total: (
|
|
7036
|
+
total: (_e = pageDTO == null ? void 0 : pageDTO.totalCount) != null ? _e : 0
|
|
7034
7037
|
};
|
|
7035
7038
|
}).finally(() => {
|
|
7036
7039
|
loading.onSearch.value = false;
|
|
@@ -8303,15 +8306,27 @@ function getBreadCrumb(path, menus) {
|
|
|
8303
8306
|
}
|
|
8304
8307
|
function getFilterMenu(filter2 = "", flag = false) {
|
|
8305
8308
|
var _a;
|
|
8309
|
+
const { getIsZH } = useHeader();
|
|
8306
8310
|
let _menus = [];
|
|
8307
8311
|
if (!trim(filter2) && !flag)
|
|
8308
8312
|
return _menus;
|
|
8309
8313
|
let getTargetMenus = (menusArr) => {
|
|
8310
8314
|
menusArr.forEach((menu) => {
|
|
8315
|
+
var _a2, _b;
|
|
8311
8316
|
if (menu.children && menu.children.length) {
|
|
8312
8317
|
getTargetMenus(menu.children);
|
|
8313
|
-
} else
|
|
8314
|
-
|
|
8318
|
+
} else {
|
|
8319
|
+
let isMatched = false;
|
|
8320
|
+
if (!unref(getIsZH)) {
|
|
8321
|
+
if (((_a2 = menu.enLabel) == null ? void 0 : _a2.toLowerCase().indexOf(filter2.toLowerCase())) !== -1)
|
|
8322
|
+
isMatched = true;
|
|
8323
|
+
} else {
|
|
8324
|
+
if (((_b = menu.label) == null ? void 0 : _b.indexOf(filter2)) !== -1)
|
|
8325
|
+
isMatched = true;
|
|
8326
|
+
}
|
|
8327
|
+
if (isMatched || flag && !trim(filter2)) {
|
|
8328
|
+
_menus.push(menu);
|
|
8329
|
+
}
|
|
8315
8330
|
}
|
|
8316
8331
|
});
|
|
8317
8332
|
};
|
|
@@ -1,105 +1,6 @@
|
|
|
1
1
|
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
2
|
getTarget: () => HTMLElement;
|
|
3
3
|
getShowBackToTop: import("vue").ComputedRef<boolean>;
|
|
4
|
-
BackTop:
|
|
5
|
-
new (...args: any[]): {
|
|
6
|
-
$: import("vue").ComponentInternalInstance;
|
|
7
|
-
$data: {};
|
|
8
|
-
$props: Partial<{
|
|
9
|
-
duration: number;
|
|
10
|
-
visibilityHeight: number;
|
|
11
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
visibilityHeight: {
|
|
13
|
-
type: NumberConstructor;
|
|
14
|
-
default: number;
|
|
15
|
-
};
|
|
16
|
-
duration: {
|
|
17
|
-
type: NumberConstructor;
|
|
18
|
-
default: number;
|
|
19
|
-
};
|
|
20
|
-
target: import("vue").PropType<() => Window | HTMLElement | Document>;
|
|
21
|
-
prefixCls: StringConstructor;
|
|
22
|
-
onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
|
|
23
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visibilityHeight" | "duration">;
|
|
24
|
-
$attrs: {
|
|
25
|
-
[x: string]: unknown;
|
|
26
|
-
};
|
|
27
|
-
$refs: {
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
30
|
-
$slots: Readonly<{
|
|
31
|
-
[name: string]: import("vue").Slot;
|
|
32
|
-
}>;
|
|
33
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
34
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
35
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
36
|
-
$el: any;
|
|
37
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
-
visibilityHeight: {
|
|
39
|
-
type: NumberConstructor;
|
|
40
|
-
default: number;
|
|
41
|
-
};
|
|
42
|
-
duration: {
|
|
43
|
-
type: NumberConstructor;
|
|
44
|
-
default: number;
|
|
45
|
-
};
|
|
46
|
-
target: import("vue").PropType<() => Window | HTMLElement | Document>;
|
|
47
|
-
prefixCls: StringConstructor;
|
|
48
|
-
onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
|
|
49
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
50
|
-
duration: number;
|
|
51
|
-
visibilityHeight: number;
|
|
52
|
-
}> & {
|
|
53
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
54
|
-
created?: (() => void) | (() => void)[];
|
|
55
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
56
|
-
mounted?: (() => void) | (() => void)[];
|
|
57
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
58
|
-
updated?: (() => void) | (() => void)[];
|
|
59
|
-
activated?: (() => void) | (() => void)[];
|
|
60
|
-
deactivated?: (() => void) | (() => void)[];
|
|
61
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
62
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
63
|
-
destroyed?: (() => void) | (() => void)[];
|
|
64
|
-
unmounted?: (() => void) | (() => void)[];
|
|
65
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
66
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
67
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
|
68
|
-
};
|
|
69
|
-
$forceUpdate: () => void;
|
|
70
|
-
$nextTick: typeof import("vue").nextTick;
|
|
71
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
72
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
|
73
|
-
visibilityHeight: {
|
|
74
|
-
type: NumberConstructor;
|
|
75
|
-
default: number;
|
|
76
|
-
};
|
|
77
|
-
duration: {
|
|
78
|
-
type: NumberConstructor;
|
|
79
|
-
default: number;
|
|
80
|
-
};
|
|
81
|
-
target: import("vue").PropType<() => Window | HTMLElement | Document>;
|
|
82
|
-
prefixCls: StringConstructor;
|
|
83
|
-
onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
|
|
84
|
-
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & import("vue").ComponentCustomProperties;
|
|
85
|
-
__isFragment?: never;
|
|
86
|
-
__isTeleport?: never;
|
|
87
|
-
__isSuspense?: never;
|
|
88
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
89
|
-
visibilityHeight: {
|
|
90
|
-
type: NumberConstructor;
|
|
91
|
-
default: number;
|
|
92
|
-
};
|
|
93
|
-
duration: {
|
|
94
|
-
type: NumberConstructor;
|
|
95
|
-
default: number;
|
|
96
|
-
};
|
|
97
|
-
target: import("vue").PropType<() => Window | HTMLElement | Document>;
|
|
98
|
-
prefixCls: StringConstructor;
|
|
99
|
-
onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
|
|
100
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
101
|
-
duration: number;
|
|
102
|
-
visibilityHeight: number;
|
|
103
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
4
|
+
BackTop: any;
|
|
104
5
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
105
6
|
export default _sfc_main;
|
|
@@ -2,106 +2,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
2
2
|
DtBackTop: import("vue").DefineComponent<{}, {
|
|
3
3
|
getTarget: () => HTMLElement;
|
|
4
4
|
getShowBackToTop: import("vue").ComputedRef<boolean>;
|
|
5
|
-
BackTop:
|
|
6
|
-
new (...args: any[]): {
|
|
7
|
-
$: import("vue").ComponentInternalInstance;
|
|
8
|
-
$data: {};
|
|
9
|
-
$props: Partial<{
|
|
10
|
-
duration: number;
|
|
11
|
-
visibilityHeight: number;
|
|
12
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
visibilityHeight: {
|
|
14
|
-
type: NumberConstructor;
|
|
15
|
-
default: number;
|
|
16
|
-
};
|
|
17
|
-
duration: {
|
|
18
|
-
type: NumberConstructor;
|
|
19
|
-
default: number;
|
|
20
|
-
};
|
|
21
|
-
target: import("vue").PropType<() => Window | HTMLElement | Document>;
|
|
22
|
-
prefixCls: StringConstructor;
|
|
23
|
-
onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
|
|
24
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visibilityHeight" | "duration">;
|
|
25
|
-
$attrs: {
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
};
|
|
28
|
-
$refs: {
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
};
|
|
31
|
-
$slots: Readonly<{
|
|
32
|
-
[name: string]: import("vue").Slot;
|
|
33
|
-
}>;
|
|
34
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
35
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
36
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
37
|
-
$el: any;
|
|
38
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
-
visibilityHeight: {
|
|
40
|
-
type: NumberConstructor;
|
|
41
|
-
default: number;
|
|
42
|
-
};
|
|
43
|
-
duration: {
|
|
44
|
-
type: NumberConstructor;
|
|
45
|
-
default: number;
|
|
46
|
-
};
|
|
47
|
-
target: import("vue").PropType<() => Window | HTMLElement | Document>;
|
|
48
|
-
prefixCls: StringConstructor;
|
|
49
|
-
onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
|
|
50
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
51
|
-
duration: number;
|
|
52
|
-
visibilityHeight: number;
|
|
53
|
-
}> & {
|
|
54
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
55
|
-
created?: (() => void) | (() => void)[];
|
|
56
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
57
|
-
mounted?: (() => void) | (() => void)[];
|
|
58
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
59
|
-
updated?: (() => void) | (() => void)[];
|
|
60
|
-
activated?: (() => void) | (() => void)[];
|
|
61
|
-
deactivated?: (() => void) | (() => void)[];
|
|
62
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
63
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
64
|
-
destroyed?: (() => void) | (() => void)[];
|
|
65
|
-
unmounted?: (() => void) | (() => void)[];
|
|
66
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
67
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
68
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
|
69
|
-
};
|
|
70
|
-
$forceUpdate: () => void;
|
|
71
|
-
$nextTick: typeof import("vue").nextTick;
|
|
72
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
73
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
-
visibilityHeight: {
|
|
75
|
-
type: NumberConstructor;
|
|
76
|
-
default: number;
|
|
77
|
-
};
|
|
78
|
-
duration: {
|
|
79
|
-
type: NumberConstructor;
|
|
80
|
-
default: number;
|
|
81
|
-
};
|
|
82
|
-
target: import("vue").PropType<() => Window | HTMLElement | Document>;
|
|
83
|
-
prefixCls: StringConstructor;
|
|
84
|
-
onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
|
|
85
|
-
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & import("vue").ComponentCustomProperties;
|
|
86
|
-
__isFragment?: never;
|
|
87
|
-
__isTeleport?: never;
|
|
88
|
-
__isSuspense?: never;
|
|
89
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
90
|
-
visibilityHeight: {
|
|
91
|
-
type: NumberConstructor;
|
|
92
|
-
default: number;
|
|
93
|
-
};
|
|
94
|
-
duration: {
|
|
95
|
-
type: NumberConstructor;
|
|
96
|
-
default: number;
|
|
97
|
-
};
|
|
98
|
-
target: import("vue").PropType<() => Window | HTMLElement | Document>;
|
|
99
|
-
prefixCls: StringConstructor;
|
|
100
|
-
onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
|
|
101
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
102
|
-
duration: number;
|
|
103
|
-
visibilityHeight: number;
|
|
104
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
5
|
+
BackTop: any;
|
|
105
6
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
106
7
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
107
8
|
export default _sfc_main;
|
|
@@ -16,7 +16,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
16
16
|
default: any;
|
|
17
17
|
};
|
|
18
18
|
tagName: StringConstructor;
|
|
19
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
19
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
prefixCls: StringConstructor;
|
|
21
21
|
hasSider: {
|
|
22
22
|
type: BooleanConstructor;
|
|
@@ -2,127 +2,6 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
2
2
|
getIsZH: import("vue").ComputedRef<boolean>;
|
|
3
3
|
routes: import("vue").Ref<any[]>;
|
|
4
4
|
currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>;
|
|
5
|
-
Breadcrumb:
|
|
6
|
-
new (...args: any[]): {
|
|
7
|
-
$: import("vue").ComponentInternalInstance;
|
|
8
|
-
$data: {};
|
|
9
|
-
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
-
prefixCls: StringConstructor;
|
|
11
|
-
routes: {
|
|
12
|
-
type: import("vue").PropType<import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[]>;
|
|
13
|
-
};
|
|
14
|
-
params: import("vue-types").VueTypeValidableDef<any>;
|
|
15
|
-
separator: import("vue-types").VueTypeValidableDef<any>;
|
|
16
|
-
itemRender: {
|
|
17
|
-
type: import("vue").PropType<(opt: {
|
|
18
|
-
route: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route;
|
|
19
|
-
params: unknown;
|
|
20
|
-
routes: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[];
|
|
21
|
-
paths: string[];
|
|
22
|
-
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
23
|
-
};
|
|
24
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
25
|
-
$attrs: {
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
};
|
|
28
|
-
$refs: {
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
};
|
|
31
|
-
$slots: Readonly<{
|
|
32
|
-
[name: string]: import("vue").Slot;
|
|
33
|
-
}>;
|
|
34
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
35
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
36
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
37
|
-
$el: any;
|
|
38
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
-
prefixCls: StringConstructor;
|
|
40
|
-
routes: {
|
|
41
|
-
type: import("vue").PropType<import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[]>;
|
|
42
|
-
};
|
|
43
|
-
params: import("vue-types").VueTypeValidableDef<any>;
|
|
44
|
-
separator: import("vue-types").VueTypeValidableDef<any>;
|
|
45
|
-
itemRender: {
|
|
46
|
-
type: import("vue").PropType<(opt: {
|
|
47
|
-
route: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route;
|
|
48
|
-
params: unknown;
|
|
49
|
-
routes: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[];
|
|
50
|
-
paths: string[];
|
|
51
|
-
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
52
|
-
};
|
|
53
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
|
|
54
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
55
|
-
created?: (() => void) | (() => void)[];
|
|
56
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
57
|
-
mounted?: (() => void) | (() => void)[];
|
|
58
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
59
|
-
updated?: (() => void) | (() => void)[];
|
|
60
|
-
activated?: (() => void) | (() => void)[];
|
|
61
|
-
deactivated?: (() => void) | (() => void)[];
|
|
62
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
63
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
64
|
-
destroyed?: (() => void) | (() => void)[];
|
|
65
|
-
unmounted?: (() => void) | (() => void)[];
|
|
66
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
67
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
68
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
|
69
|
-
};
|
|
70
|
-
$forceUpdate: () => void;
|
|
71
|
-
$nextTick: typeof import("vue").nextTick;
|
|
72
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
73
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
-
prefixCls: StringConstructor;
|
|
75
|
-
routes: {
|
|
76
|
-
type: import("vue").PropType<import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[]>;
|
|
77
|
-
};
|
|
78
|
-
params: import("vue-types").VueTypeValidableDef<any>;
|
|
79
|
-
separator: import("vue-types").VueTypeValidableDef<any>;
|
|
80
|
-
itemRender: {
|
|
81
|
-
type: import("vue").PropType<(opt: {
|
|
82
|
-
route: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route;
|
|
83
|
-
params: unknown;
|
|
84
|
-
routes: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[];
|
|
85
|
-
paths: string[];
|
|
86
|
-
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
87
|
-
};
|
|
88
|
-
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & import("vue").ComponentCustomProperties;
|
|
89
|
-
__isFragment?: never;
|
|
90
|
-
__isTeleport?: never;
|
|
91
|
-
__isSuspense?: never;
|
|
92
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
93
|
-
prefixCls: StringConstructor;
|
|
94
|
-
routes: {
|
|
95
|
-
type: import("vue").PropType<import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[]>;
|
|
96
|
-
};
|
|
97
|
-
params: import("vue-types").VueTypeValidableDef<any>;
|
|
98
|
-
separator: import("vue-types").VueTypeValidableDef<any>;
|
|
99
|
-
itemRender: {
|
|
100
|
-
type: import("vue").PropType<(opt: {
|
|
101
|
-
route: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route;
|
|
102
|
-
params: unknown;
|
|
103
|
-
routes: import("ant-design-vue/lib/breadcrumb/Breadcrumb").Route[];
|
|
104
|
-
paths: string[];
|
|
105
|
-
}) => import("ant-design-vue/lib/_util/type").VueNode>;
|
|
106
|
-
};
|
|
107
|
-
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
|
|
108
|
-
readonly Item: import("vue").DefineComponent<{
|
|
109
|
-
prefixCls: StringConstructor;
|
|
110
|
-
href: StringConstructor;
|
|
111
|
-
separator: import("vue-types").VueTypeValidableDef<any>;
|
|
112
|
-
overlay: import("vue-types").VueTypeValidableDef<any>;
|
|
113
|
-
onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
|
|
114
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
115
|
-
prefixCls: StringConstructor;
|
|
116
|
-
href: StringConstructor;
|
|
117
|
-
separator: import("vue-types").VueTypeValidableDef<any>;
|
|
118
|
-
overlay: import("vue-types").VueTypeValidableDef<any>;
|
|
119
|
-
onClick: import("vue").PropType<import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler>;
|
|
120
|
-
}>>, {}>;
|
|
121
|
-
readonly Separator: import("vue").DefineComponent<{
|
|
122
|
-
prefixCls: StringConstructor;
|
|
123
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
124
|
-
prefixCls: StringConstructor;
|
|
125
|
-
}>>, {}>;
|
|
126
|
-
};
|
|
5
|
+
Breadcrumb: any;
|
|
127
6
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
128
7
|
export default _sfc_main;
|