@maxtropy/v-components 0.1.17-beta.33 → 0.1.17-beta.34
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/README.md +20 -20
- package/dist/mx-vcomponents.es.js +990 -1002
- package/dist/style.css +1 -1
- package/dist/types/api/staff.d.ts +3 -3
- package/dist/types/api/tenant.d.ts +4 -4
- package/dist/types/api/user.d.ts +24 -24
- package/dist/types/assets/svg/ContainerSvg.vue.d.ts +2 -2
- package/dist/types/assets/svg/InfoCircleSvg.vue.d.ts +2 -2
- package/dist/types/assets/svg/InfoSvg.vue.d.ts +2 -2
- package/dist/types/assets/svg/UploadSvg.vue.d.ts +2 -2
- package/dist/types/common/const.d.ts +34 -34
- package/dist/types/common/entity.d.ts +112 -112
- package/dist/types/common/fetch.d.ts +12 -12
- package/dist/types/common/request.d.ts +30 -30
- package/dist/types/common/subject.d.ts +20 -20
- package/dist/types/components/alert/MxAlert.vue.d.ts +63 -63
- package/dist/types/components/alert/index.d.ts +7 -7
- package/dist/types/components/authorizedpermission/AuthorizedPermission.vue.d.ts +10 -10
- package/dist/types/components/authorizedpermission/index.d.ts +7 -7
- package/dist/types/components/autocomplete/MxAutocomplete.vue.d.ts +7 -7
- package/dist/types/components/autocomplete/index.d.ts +7 -7
- package/dist/types/components/basiclayout/BasicLayout.vue.d.ts +45 -45
- package/dist/types/components/basiclayout/index.d.ts +7 -7
- package/dist/types/components/breadcrumb/BreadCrumb.vue.d.ts +53 -53
- package/dist/types/components/breadcrumb/index.d.ts +7 -7
- package/dist/types/components/button/MxButton.vue.d.ts +133 -133
- package/dist/types/components/button/index.d.ts +7 -7
- package/dist/types/components/cascader/MxCascader.vue.d.ts +12 -12
- package/dist/types/components/cascader/index.d.ts +7 -7
- package/dist/types/components/checkbox/MxCheckbox.vue.d.ts +104 -104
- package/dist/types/components/checkbox/MxCheckboxGroup.vue.d.ts +43 -43
- package/dist/types/components/checkbox/index.d.ts +351 -351
- package/dist/types/components/datePicker/MxDatePicker.vue.d.ts +49 -49
- package/dist/types/components/datePicker/index.d.ts +7 -7
- package/dist/types/components/dialog/MxDialog.vue.d.ts +174 -174
- package/dist/types/components/dialog/index.d.ts +7 -7
- package/dist/types/components/dropdown/MxDropDownMenu.vue.d.ts +7 -7
- package/dist/types/components/dropdown/MxDropdown.vue.d.ts +76 -76
- package/dist/types/components/dropdown/{MxDropDownItem.vue.d.ts → MxDropdownItem.vue.d.ts} +7 -7
- package/dist/types/components/dropdown/index.d.ts +191 -191
- package/dist/types/components/echartsWithTheme/MxEchartsWithTheme.vue.d.ts +51 -51
- package/dist/types/components/echartsWithTheme/darkTheme.d.ts +102 -102
- package/dist/types/components/echartsWithTheme/index.d.ts +7 -7
- package/dist/types/components/echartsWithTheme/lightTheme.d.ts +102 -102
- package/dist/types/components/echartsWithTheme/pluginsEcharts.d.ts +2 -2
- package/dist/types/components/echartsWithTheme/utils.d.ts +10 -10
- package/dist/types/components/ellipsisSpan/MxEllipsisSpan.vue.d.ts +42 -42
- package/dist/types/components/ellipsisSpan/index.d.ts +7 -7
- package/dist/types/components/empty/MxEmpty.vue.d.ts +7 -7
- package/dist/types/components/empty/index.d.ts +7 -7
- package/dist/types/components/filter/MxFilter.vue.d.ts +76 -76
- package/dist/types/components/filter/index.d.ts +7 -7
- package/dist/types/components/form/MxForm.vue.d.ts +123 -123
- package/dist/types/components/form/MxFormItem.vue.d.ts +103 -103
- package/dist/types/components/form/index.d.ts +257 -257
- package/dist/types/components/formContent/FormContent.vue.d.ts +53 -53
- package/dist/types/components/formContent/index.d.ts +7 -7
- package/dist/types/components/formTitle/FormTitle.vue.d.ts +26 -26
- package/dist/types/components/formTitle/index.d.ts +7 -7
- package/dist/types/components/headnavigation/HeadNavigation.vue.d.ts +45 -45
- package/dist/types/components/headnavigation/MenuBar.vue.d.ts +35 -35
- package/dist/types/components/headnavigation/index.d.ts +7 -7
- package/dist/types/components/index.d.ts +47 -47
- package/dist/types/components/input/MxInput.vue.d.ts +7 -7
- package/dist/types/components/input/index.d.ts +7 -7
- package/dist/types/components/inputnumber/MxInputNumber.vue.d.ts +7 -7
- package/dist/types/components/inputnumber/index.d.ts +7 -7
- package/dist/types/components/loading/common/LoadingCore.vue.d.ts +31 -31
- package/dist/types/components/loading/common/loadingStyles.d.ts +1 -1
- package/dist/types/components/loading/directive.d.ts +8 -8
- package/dist/types/components/loading/index.d.ts +5 -5
- package/dist/types/components/loading/service.d.ts +7 -7
- package/dist/types/components/loading/types.d.ts +18 -18
- package/dist/types/components/message/index.d.ts +7 -7
- package/dist/types/components/message/message.d.ts +4 -4
- package/dist/types/components/messageBox/index.d.ts +7 -7
- package/dist/types/components/messageBox/message.vue.d.ts +48 -48
- package/dist/types/components/messageBox/messageBox.d.ts +4 -4
- package/dist/types/components/notification/index.d.ts +3 -3
- package/dist/types/components/notification/notification.d.ts +4 -4
- package/dist/types/components/pagination/MxPagination.vue.d.ts +38 -38
- package/dist/types/components/pagination/index.d.ts +7 -7
- package/dist/types/components/popconfirm/MxPopconfirm.vue.d.ts +60 -60
- package/dist/types/components/popconfirm/index.d.ts +7 -7
- package/dist/types/components/popover/MxPopover.vue.d.ts +22 -22
- package/dist/types/components/popover/index.d.ts +7 -7
- package/dist/types/components/radio/MxRadio.vue.d.ts +36 -36
- package/dist/types/components/radio/MxRadioButton.vue.d.ts +31 -31
- package/dist/types/components/radio/MxRadioGroup.vue.d.ts +45 -45
- package/dist/types/components/radio/index.d.ts +302 -302
- package/dist/types/components/select/MxOption.vue.d.ts +7 -7
- package/dist/types/components/select/MxOptionGroup.vue.d.ts +7 -7
- package/dist/types/components/select/MxSelect.vue.d.ts +10 -10
- package/dist/types/components/select/index.d.ts +191 -191
- package/dist/types/components/sidermenu/HambShow.vue.d.ts +16 -16
- package/dist/types/components/sidermenu/SiderMenu.vue.d.ts +46 -46
- package/dist/types/components/sidermenu/index.d.ts +7 -7
- package/dist/types/components/slider/MxSlider.vue.d.ts +32 -32
- package/dist/types/components/slider/index.d.ts +7 -7
- package/dist/types/components/steps/MxStep.vue.d.ts +7 -7
- package/dist/types/components/steps/MxSteps.vue.d.ts +29 -29
- package/dist/types/components/steps/index.d.ts +99 -99
- package/dist/types/components/subContent/SubContent.vue.d.ts +39 -39
- package/dist/types/components/subContent/index.d.ts +7 -7
- package/dist/types/components/switch/MxSwitch.vue.d.ts +2 -2
- package/dist/types/components/switch/index.d.ts +7 -7
- package/dist/types/components/switchstaff/CustomSvg.vue.d.ts +2 -2
- package/dist/types/components/switchstaff/SwitchStaff.vue.d.ts +32 -32
- package/dist/types/components/switchstaff/WarnSvg.vue.d.ts +2 -2
- package/dist/types/components/switchstaff/index.d.ts +7 -7
- package/dist/types/components/systemcontent/SystemContent.vue.d.ts +51 -51
- package/dist/types/components/systemcontent/index.d.ts +7 -7
- package/dist/types/components/table/MxTable.vue.d.ts +51 -51
- package/dist/types/components/table/MxTableColumn.vue.d.ts +12 -12
- package/dist/types/components/table/index.d.ts +104 -104
- package/dist/types/components/tabs/MxTabPane.vue.d.ts +7 -7
- package/dist/types/components/tabs/MxTabs.vue.d.ts +37 -37
- package/dist/types/components/tabs/index.d.ts +99 -99
- package/dist/types/components/tag/MxTag.vue.d.ts +40 -40
- package/dist/types/components/tag/index.d.ts +7 -7
- package/dist/types/components/timePicker/MxTimePicker.vue.d.ts +49 -49
- package/dist/types/components/timePicker/index.d.ts +7 -7
- package/dist/types/components/timeselect/MxTimeSelect.vue.d.ts +7 -7
- package/dist/types/components/timeselect/index.d.ts +7 -7
- package/dist/types/components/tooltip/MxTooltip.vue.d.ts +7 -7
- package/dist/types/components/tooltip/index.d.ts +7 -7
- package/dist/types/components/tree/MxTree.vue.d.ts +868 -868
- package/dist/types/components/tree/index.d.ts +7 -7
- package/dist/types/components/treeselect/MxTreeSelect.vue.d.ts +80 -80
- package/dist/types/components/treeselect/index.d.ts +7 -7
- package/dist/types/components/upload/MxUpload.vue.d.ts +111 -111
- package/dist/types/components/upload/index.d.ts +7 -7
- package/dist/types/components/upload/upload.d.ts +139 -139
- package/dist/types/components/upload/uploadList.vue.d.ts +15 -15
- package/dist/types/components/upload/use-handlers.d.ts +13 -13
- package/dist/types/components/usercontent/ArrowSvg.vue.d.ts +2 -2
- package/dist/types/components/usercontent/UserContent.vue.d.ts +28 -28
- package/dist/types/components/usercontent/UserSvg.vue.d.ts +2 -2
- package/dist/types/components/usercontent/index.d.ts +7 -7
- package/dist/types/components/wrapper/index.d.ts +7 -7
- package/dist/types/components/wrapper/wrapper.vue.d.ts +9 -9
- package/dist/types/constants/const.d.ts +1 -1
- package/dist/types/constants/index.d.ts +2 -2
- package/dist/types/index.d.ts +16 -16
- package/dist/types/theme/index.d.ts +19 -19
- package/dist/types/theme/types/Themes.d.ts +7 -0
- package/dist/types/theme/utils.d.ts +3 -3
- package/dist/types/utils/hooks.d.ts +23 -23
- package/dist/types/utils/index.d.ts +3 -3
- package/dist/types/utils/lib.d.ts +9 -9
- package/dist/types/utils/micro.d.ts +39 -39
- package/package.json +83 -83
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { StaffProps } from '../common/entity';
|
|
2
|
-
export declare function getStaffList(): Promise<StaffProps[]>;
|
|
3
|
-
export declare function switchStaff(id: number | string): Promise<void>;
|
|
1
|
+
import { StaffProps } from '../common/entity';
|
|
2
|
+
export declare function getStaffList(): Promise<StaffProps[]>;
|
|
3
|
+
export declare function switchStaff(id: number | string): Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuItemProps } from '../common/entity';
|
|
2
|
-
export declare function combineURL(origin: string, relativeURL?: string): string;
|
|
3
|
-
export declare function getTenantMenuList(): import("../common/request").PromiseWithErrorHandler<MenuItemProps[]>;
|
|
4
|
-
export declare function getIntegratedAuthority(): import("../common/request").PromiseWithErrorHandler<string[]>;
|
|
1
|
+
import { MenuItemProps } from '../common/entity';
|
|
2
|
+
export declare function combineURL(origin: string, relativeURL?: string): string;
|
|
3
|
+
export declare function getTenantMenuList(): import("../common/request").PromiseWithErrorHandler<MenuItemProps[]>;
|
|
4
|
+
export declare function getIntegratedAuthority(): import("../common/request").PromiseWithErrorHandler<string[]>;
|
package/dist/types/api/user.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { PlatformTitleType } from '../common/entity';
|
|
2
|
-
export interface UserInfo {
|
|
3
|
-
name?: string;
|
|
4
|
-
headPic?: string;
|
|
5
|
-
currentStaffId?: number;
|
|
6
|
-
username?: string;
|
|
7
|
-
sessionId?: string;
|
|
8
|
-
tenantUuid?: string;
|
|
9
|
-
userId?: string;
|
|
10
|
-
logoUrl?: string;
|
|
11
|
-
navigationPreference?: number;
|
|
12
|
-
navigationId?: number | null;
|
|
13
|
-
currentId?: number | null;
|
|
14
|
-
iconUrl?: string;
|
|
15
|
-
platformTitleType?: PlatformTitleType;
|
|
16
|
-
platformName?: string;
|
|
17
|
-
platformSloganName?: string;
|
|
18
|
-
}
|
|
19
|
-
export declare function getCurrent(): Promise<UserInfo>;
|
|
20
|
-
export interface UserConfig {
|
|
21
|
-
customerUrl?: string;
|
|
22
|
-
}
|
|
23
|
-
export declare function getConfig(): Promise<UserConfig | null>;
|
|
24
|
-
export declare function logout(): Promise<void>;
|
|
1
|
+
import { PlatformTitleType } from '../common/entity';
|
|
2
|
+
export interface UserInfo {
|
|
3
|
+
name?: string;
|
|
4
|
+
headPic?: string;
|
|
5
|
+
currentStaffId?: number;
|
|
6
|
+
username?: string;
|
|
7
|
+
sessionId?: string;
|
|
8
|
+
tenantUuid?: string;
|
|
9
|
+
userId?: string;
|
|
10
|
+
logoUrl?: string;
|
|
11
|
+
navigationPreference?: number;
|
|
12
|
+
navigationId?: number | null;
|
|
13
|
+
currentId?: number | null;
|
|
14
|
+
iconUrl?: string;
|
|
15
|
+
platformTitleType?: PlatformTitleType;
|
|
16
|
+
platformName?: string;
|
|
17
|
+
platformSloganName?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare function getCurrent(): Promise<UserInfo>;
|
|
20
|
+
export interface UserConfig {
|
|
21
|
+
customerUrl?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare function getConfig(): Promise<UserConfig | null>;
|
|
24
|
+
export declare function logout(): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export declare enum UserStatus {
|
|
2
|
-
ENABLE = 0,
|
|
3
|
-
DISABLE = 1,
|
|
4
|
-
FREEZE = 2
|
|
5
|
-
}
|
|
6
|
-
export declare enum Gender {
|
|
7
|
-
MALE = 0,
|
|
8
|
-
FEMALE = 1
|
|
9
|
-
}
|
|
10
|
-
export declare enum PermissionType {
|
|
11
|
-
MENU = "p",
|
|
12
|
-
BUTTON = "b"
|
|
13
|
-
}
|
|
14
|
-
export declare enum MenuLevel {
|
|
15
|
-
ONE = 1,
|
|
16
|
-
TWO = 2,
|
|
17
|
-
THREE = 3
|
|
18
|
-
}
|
|
19
|
-
export declare enum MenuOpenType {
|
|
20
|
-
CurrentPage = 0,
|
|
21
|
-
NewPage = 1,
|
|
22
|
-
CurrentPageForce = 2
|
|
23
|
-
}
|
|
24
|
-
export declare enum TenantMenuJumpType {
|
|
25
|
-
WITHINSYSTEM = 1,
|
|
26
|
-
CUSTOMIZATIONWITHINSYSTEM = 2,
|
|
27
|
-
OUTSIDESYSTEM = 3
|
|
28
|
-
}
|
|
29
|
-
export declare enum TenantMenuPermissionType {
|
|
30
|
-
PLATFORM = 1,
|
|
31
|
-
INTEGRATEDAPP = 2,
|
|
32
|
-
NOPERMISSION = 3
|
|
33
|
-
}
|
|
34
|
-
export declare const envMap: Record<string, string>;
|
|
1
|
+
export declare enum UserStatus {
|
|
2
|
+
ENABLE = 0,
|
|
3
|
+
DISABLE = 1,
|
|
4
|
+
FREEZE = 2
|
|
5
|
+
}
|
|
6
|
+
export declare enum Gender {
|
|
7
|
+
MALE = 0,
|
|
8
|
+
FEMALE = 1
|
|
9
|
+
}
|
|
10
|
+
export declare enum PermissionType {
|
|
11
|
+
MENU = "p",
|
|
12
|
+
BUTTON = "b"
|
|
13
|
+
}
|
|
14
|
+
export declare enum MenuLevel {
|
|
15
|
+
ONE = 1,
|
|
16
|
+
TWO = 2,
|
|
17
|
+
THREE = 3
|
|
18
|
+
}
|
|
19
|
+
export declare enum MenuOpenType {
|
|
20
|
+
CurrentPage = 0,
|
|
21
|
+
NewPage = 1,
|
|
22
|
+
CurrentPageForce = 2
|
|
23
|
+
}
|
|
24
|
+
export declare enum TenantMenuJumpType {
|
|
25
|
+
WITHINSYSTEM = 1,
|
|
26
|
+
CUSTOMIZATIONWITHINSYSTEM = 2,
|
|
27
|
+
OUTSIDESYSTEM = 3
|
|
28
|
+
}
|
|
29
|
+
export declare enum TenantMenuPermissionType {
|
|
30
|
+
PLATFORM = 1,
|
|
31
|
+
INTEGRATEDAPP = 2,
|
|
32
|
+
NOPERMISSION = 3
|
|
33
|
+
}
|
|
34
|
+
export declare const envMap: Record<string, string>;
|
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
import { UserStatus, Gender } from './const';
|
|
2
|
-
export declare enum NavigationPreference {
|
|
3
|
-
AUTO = 1,
|
|
4
|
-
OPEN = 2,
|
|
5
|
-
HIDE = 3
|
|
6
|
-
}
|
|
7
|
-
export interface Customer {
|
|
8
|
-
mcid: string;
|
|
9
|
-
name: string;
|
|
10
|
-
fullName: string;
|
|
11
|
-
uscc?: string;
|
|
12
|
-
address?: string;
|
|
13
|
-
phone?: string;
|
|
14
|
-
contactName?: string;
|
|
15
|
-
adCode: string;
|
|
16
|
-
logoUrl?: string;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
username?: string;
|
|
19
|
-
contactPhone: string;
|
|
20
|
-
createTime: string;
|
|
21
|
-
updateTime: string;
|
|
22
|
-
}
|
|
23
|
-
export interface Staff {
|
|
24
|
-
id: number;
|
|
25
|
-
mcid: string;
|
|
26
|
-
muid: string;
|
|
27
|
-
admin: boolean;
|
|
28
|
-
createTime: string;
|
|
29
|
-
updateTime: string;
|
|
30
|
-
status: UserStatus;
|
|
31
|
-
staffCode: string;
|
|
32
|
-
iconUrl?: string;
|
|
33
|
-
platformTitleType?: PlatformTitleType;
|
|
34
|
-
platformName?: string;
|
|
35
|
-
homePageLogoUrl?: string;
|
|
36
|
-
}
|
|
37
|
-
export interface StaffProps {
|
|
38
|
-
customerName: string;
|
|
39
|
-
customerFullName: string;
|
|
40
|
-
id: number;
|
|
41
|
-
muid: string;
|
|
42
|
-
mcid: string;
|
|
43
|
-
staffCode?: string;
|
|
44
|
-
tenantMcid: string;
|
|
45
|
-
tenantName: string;
|
|
46
|
-
customerMcid: string;
|
|
47
|
-
}
|
|
48
|
-
export interface CustomerUser {
|
|
49
|
-
muid: string;
|
|
50
|
-
username: string;
|
|
51
|
-
name: string;
|
|
52
|
-
cellphone: string;
|
|
53
|
-
expired: boolean;
|
|
54
|
-
disabled: boolean;
|
|
55
|
-
status: UserStatus;
|
|
56
|
-
gender: Gender;
|
|
57
|
-
birthday?: string;
|
|
58
|
-
email?: string;
|
|
59
|
-
wechat?: string;
|
|
60
|
-
qq?: string;
|
|
61
|
-
headPic?: string;
|
|
62
|
-
humanCode: string;
|
|
63
|
-
createTime: string;
|
|
64
|
-
updateTime: string;
|
|
65
|
-
passwordUpdateTime: string;
|
|
66
|
-
navigationPreference?: NavigationPreference;
|
|
67
|
-
}
|
|
68
|
-
export interface Tenant {
|
|
69
|
-
mcid: string;
|
|
70
|
-
name: string;
|
|
71
|
-
uscc?: string;
|
|
72
|
-
tenantCode: string;
|
|
73
|
-
}
|
|
74
|
-
export declare enum PlaceType {
|
|
75
|
-
TOP = "top",
|
|
76
|
-
NAVBAR = "navbar"
|
|
77
|
-
}
|
|
78
|
-
export interface IMenu {
|
|
79
|
-
id: number;
|
|
80
|
-
name: string;
|
|
81
|
-
code: string;
|
|
82
|
-
type: string;
|
|
83
|
-
place: PlaceType;
|
|
84
|
-
path: string;
|
|
85
|
-
origin: string;
|
|
86
|
-
}
|
|
87
|
-
export interface MenuEntry {
|
|
88
|
-
name: string;
|
|
89
|
-
url: string;
|
|
90
|
-
key: number | string;
|
|
91
|
-
children?: MenuEntry[];
|
|
92
|
-
always?: boolean;
|
|
93
|
-
origin?: string;
|
|
94
|
-
}
|
|
95
|
-
export declare enum PlatformTitleType {
|
|
96
|
-
PLATFORMNAME = 1,
|
|
97
|
-
NAVIGATIONNAME = 2,
|
|
98
|
-
PLATFORMANDNAVIGATIONNAME = 3
|
|
99
|
-
}
|
|
100
|
-
export interface MenuItemProps {
|
|
101
|
-
currentId: string;
|
|
102
|
-
level: number;
|
|
103
|
-
name: string;
|
|
104
|
-
openType: number;
|
|
105
|
-
parentId: string;
|
|
106
|
-
rootId: string;
|
|
107
|
-
transitPagePath: string | null;
|
|
108
|
-
weighting: number;
|
|
109
|
-
}
|
|
110
|
-
export interface MenuItem extends MenuItemProps {
|
|
111
|
-
children?: MenuItem[];
|
|
112
|
-
}
|
|
1
|
+
import { UserStatus, Gender } from './const';
|
|
2
|
+
export declare enum NavigationPreference {
|
|
3
|
+
AUTO = 1,
|
|
4
|
+
OPEN = 2,
|
|
5
|
+
HIDE = 3
|
|
6
|
+
}
|
|
7
|
+
export interface Customer {
|
|
8
|
+
mcid: string;
|
|
9
|
+
name: string;
|
|
10
|
+
fullName: string;
|
|
11
|
+
uscc?: string;
|
|
12
|
+
address?: string;
|
|
13
|
+
phone?: string;
|
|
14
|
+
contactName?: string;
|
|
15
|
+
adCode: string;
|
|
16
|
+
logoUrl?: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
username?: string;
|
|
19
|
+
contactPhone: string;
|
|
20
|
+
createTime: string;
|
|
21
|
+
updateTime: string;
|
|
22
|
+
}
|
|
23
|
+
export interface Staff {
|
|
24
|
+
id: number;
|
|
25
|
+
mcid: string;
|
|
26
|
+
muid: string;
|
|
27
|
+
admin: boolean;
|
|
28
|
+
createTime: string;
|
|
29
|
+
updateTime: string;
|
|
30
|
+
status: UserStatus;
|
|
31
|
+
staffCode: string;
|
|
32
|
+
iconUrl?: string;
|
|
33
|
+
platformTitleType?: PlatformTitleType;
|
|
34
|
+
platformName?: string;
|
|
35
|
+
homePageLogoUrl?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface StaffProps {
|
|
38
|
+
customerName: string;
|
|
39
|
+
customerFullName: string;
|
|
40
|
+
id: number;
|
|
41
|
+
muid: string;
|
|
42
|
+
mcid: string;
|
|
43
|
+
staffCode?: string;
|
|
44
|
+
tenantMcid: string;
|
|
45
|
+
tenantName: string;
|
|
46
|
+
customerMcid: string;
|
|
47
|
+
}
|
|
48
|
+
export interface CustomerUser {
|
|
49
|
+
muid: string;
|
|
50
|
+
username: string;
|
|
51
|
+
name: string;
|
|
52
|
+
cellphone: string;
|
|
53
|
+
expired: boolean;
|
|
54
|
+
disabled: boolean;
|
|
55
|
+
status: UserStatus;
|
|
56
|
+
gender: Gender;
|
|
57
|
+
birthday?: string;
|
|
58
|
+
email?: string;
|
|
59
|
+
wechat?: string;
|
|
60
|
+
qq?: string;
|
|
61
|
+
headPic?: string;
|
|
62
|
+
humanCode: string;
|
|
63
|
+
createTime: string;
|
|
64
|
+
updateTime: string;
|
|
65
|
+
passwordUpdateTime: string;
|
|
66
|
+
navigationPreference?: NavigationPreference;
|
|
67
|
+
}
|
|
68
|
+
export interface Tenant {
|
|
69
|
+
mcid: string;
|
|
70
|
+
name: string;
|
|
71
|
+
uscc?: string;
|
|
72
|
+
tenantCode: string;
|
|
73
|
+
}
|
|
74
|
+
export declare enum PlaceType {
|
|
75
|
+
TOP = "top",
|
|
76
|
+
NAVBAR = "navbar"
|
|
77
|
+
}
|
|
78
|
+
export interface IMenu {
|
|
79
|
+
id: number;
|
|
80
|
+
name: string;
|
|
81
|
+
code: string;
|
|
82
|
+
type: string;
|
|
83
|
+
place: PlaceType;
|
|
84
|
+
path: string;
|
|
85
|
+
origin: string;
|
|
86
|
+
}
|
|
87
|
+
export interface MenuEntry {
|
|
88
|
+
name: string;
|
|
89
|
+
url: string;
|
|
90
|
+
key: number | string;
|
|
91
|
+
children?: MenuEntry[];
|
|
92
|
+
always?: boolean;
|
|
93
|
+
origin?: string;
|
|
94
|
+
}
|
|
95
|
+
export declare enum PlatformTitleType {
|
|
96
|
+
PLATFORMNAME = 1,
|
|
97
|
+
NAVIGATIONNAME = 2,
|
|
98
|
+
PLATFORMANDNAVIGATIONNAME = 3
|
|
99
|
+
}
|
|
100
|
+
export interface MenuItemProps {
|
|
101
|
+
currentId: string;
|
|
102
|
+
level: number;
|
|
103
|
+
name: string;
|
|
104
|
+
openType: number;
|
|
105
|
+
parentId: string;
|
|
106
|
+
rootId: string;
|
|
107
|
+
transitPagePath: string | null;
|
|
108
|
+
weighting: number;
|
|
109
|
+
}
|
|
110
|
+
export interface MenuItem extends MenuItemProps {
|
|
111
|
+
children?: MenuItem[];
|
|
112
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Subscription } from 'rxjs';
|
|
2
|
-
export declare function fetch<T>(input: RequestInfo, init?: RequestInit): Promise<T>;
|
|
3
|
-
export declare class ResponseCodeError extends Error {
|
|
4
|
-
readonly status: number;
|
|
5
|
-
readonly errorType?: string;
|
|
6
|
-
readonly errorMessage?: string;
|
|
7
|
-
readonly body?: any;
|
|
8
|
-
constructor(status: number, errorType?: string, errorMessage?: string, body?: any);
|
|
9
|
-
static getMessage(err: any): string | undefined;
|
|
10
|
-
static getMessage(err: any, defaultMessage: string): string;
|
|
11
|
-
}
|
|
12
|
-
export declare function observeHttpStatus(listener: (status: number) => void): Subscription;
|
|
1
|
+
import { Subscription } from 'rxjs';
|
|
2
|
+
export declare function fetch<T>(input: RequestInfo, init?: RequestInit): Promise<T>;
|
|
3
|
+
export declare class ResponseCodeError extends Error {
|
|
4
|
+
readonly status: number;
|
|
5
|
+
readonly errorType?: string;
|
|
6
|
+
readonly errorMessage?: string;
|
|
7
|
+
readonly body?: any;
|
|
8
|
+
constructor(status: number, errorType?: string, errorMessage?: string, body?: any);
|
|
9
|
+
static getMessage(err: any): string | undefined;
|
|
10
|
+
static getMessage(err: any, defaultMessage: string): string;
|
|
11
|
+
}
|
|
12
|
+
export declare function observeHttpStatus(listener: (status: number) => void): Subscription;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { ResponseCodeError } from './fetch';
|
|
2
|
-
import 'element-plus/es/components/message-box/style/css';
|
|
3
|
-
interface ErrorHandler {
|
|
4
|
-
(err: any): boolean;
|
|
5
|
-
}
|
|
6
|
-
export type PromiseWithErrorHandler<T> = Promise<T> & ErrorHandlerReceiver<T>;
|
|
7
|
-
interface ErrorHandlerReceiver<T> {
|
|
8
|
-
onError(handler: ErrorHandler): PromiseWithErrorHandler<T>;
|
|
9
|
-
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;
|
|
10
|
-
}
|
|
11
|
-
export declare function defaultErrorHandling(err: any): boolean;
|
|
12
|
-
export declare class ResponseError extends Error {
|
|
13
|
-
readonly cause: ResponseCodeError;
|
|
14
|
-
readonly error?: string;
|
|
15
|
-
readonly errorCode?: string;
|
|
16
|
-
readonly message: string;
|
|
17
|
-
readonly path?: string;
|
|
18
|
-
readonly status?: string;
|
|
19
|
-
readonly timestamp?: string;
|
|
20
|
-
constructor(cause: ResponseCodeError);
|
|
21
|
-
}
|
|
22
|
-
interface DefaultErrorHandler {
|
|
23
|
-
(err: any): boolean;
|
|
24
|
-
}
|
|
25
|
-
interface fetchConfigProps {
|
|
26
|
-
handler: DefaultErrorHandler;
|
|
27
|
-
}
|
|
28
|
-
export declare const createFetchInstance: (defaultConfig?: fetchConfigProps) => <T>(input: RequestInfo, init?: RequestInit) => PromiseWithErrorHandler<T>;
|
|
29
|
-
declare const fetchInstance: <T>(input: RequestInfo, init?: RequestInit) => PromiseWithErrorHandler<T>;
|
|
30
|
-
export { fetchInstance as fetch };
|
|
1
|
+
import { ResponseCodeError } from './fetch';
|
|
2
|
+
import 'element-plus/es/components/message-box/style/css';
|
|
3
|
+
interface ErrorHandler {
|
|
4
|
+
(err: any): boolean;
|
|
5
|
+
}
|
|
6
|
+
export type PromiseWithErrorHandler<T> = Promise<T> & ErrorHandlerReceiver<T>;
|
|
7
|
+
interface ErrorHandlerReceiver<T> {
|
|
8
|
+
onError(handler: ErrorHandler): PromiseWithErrorHandler<T>;
|
|
9
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;
|
|
10
|
+
}
|
|
11
|
+
export declare function defaultErrorHandling(err: any): boolean;
|
|
12
|
+
export declare class ResponseError extends Error {
|
|
13
|
+
readonly cause: ResponseCodeError;
|
|
14
|
+
readonly error?: string;
|
|
15
|
+
readonly errorCode?: string;
|
|
16
|
+
readonly message: string;
|
|
17
|
+
readonly path?: string;
|
|
18
|
+
readonly status?: string;
|
|
19
|
+
readonly timestamp?: string;
|
|
20
|
+
constructor(cause: ResponseCodeError);
|
|
21
|
+
}
|
|
22
|
+
interface DefaultErrorHandler {
|
|
23
|
+
(err: any): boolean;
|
|
24
|
+
}
|
|
25
|
+
interface fetchConfigProps {
|
|
26
|
+
handler: DefaultErrorHandler;
|
|
27
|
+
}
|
|
28
|
+
export declare const createFetchInstance: (defaultConfig?: fetchConfigProps) => <T>(input: RequestInfo, init?: RequestInit) => PromiseWithErrorHandler<T>;
|
|
29
|
+
declare const fetchInstance: <T>(input: RequestInfo, init?: RequestInit) => PromiseWithErrorHandler<T>;
|
|
30
|
+
export { fetchInstance as fetch };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Subscription } from 'rxjs';
|
|
2
|
-
export interface ISubjectHolder<T> {
|
|
3
|
-
subscribe(callback: (data?: T) => void): Subscription;
|
|
4
|
-
current(): T | undefined;
|
|
5
|
-
resetData(): void;
|
|
6
|
-
refreshData(callback?: () => void): void;
|
|
7
|
-
}
|
|
8
|
-
export declare class SubjectHolder<T> implements ISubjectHolder<T> {
|
|
9
|
-
private readonly subject;
|
|
10
|
-
private data?;
|
|
11
|
-
private asyncGetData?;
|
|
12
|
-
private sending;
|
|
13
|
-
constructor(asyncGetData?: () => Promise<T>);
|
|
14
|
-
subscribe(callback: (data?: T) => void): Subscription;
|
|
15
|
-
private getData;
|
|
16
|
-
resetData(): void;
|
|
17
|
-
refreshData(callback?: () => void): void;
|
|
18
|
-
current(): T | undefined;
|
|
19
|
-
}
|
|
20
|
-
export declare function lazyHolderSingletonGetter<T>(supplier: () => ISubjectHolder<T>): () => ISubjectHolder<T>;
|
|
1
|
+
import { Subscription } from 'rxjs';
|
|
2
|
+
export interface ISubjectHolder<T> {
|
|
3
|
+
subscribe(callback: (data?: T) => void): Subscription;
|
|
4
|
+
current(): T | undefined;
|
|
5
|
+
resetData(): void;
|
|
6
|
+
refreshData(callback?: () => void): void;
|
|
7
|
+
}
|
|
8
|
+
export declare class SubjectHolder<T> implements ISubjectHolder<T> {
|
|
9
|
+
private readonly subject;
|
|
10
|
+
private data?;
|
|
11
|
+
private asyncGetData?;
|
|
12
|
+
private sending;
|
|
13
|
+
constructor(asyncGetData?: () => Promise<T>);
|
|
14
|
+
subscribe(callback: (data?: T) => void): Subscription;
|
|
15
|
+
private getData;
|
|
16
|
+
resetData(): void;
|
|
17
|
+
refreshData(callback?: () => void): void;
|
|
18
|
+
current(): T | undefined;
|
|
19
|
+
}
|
|
20
|
+
export declare function lazyHolderSingletonGetter<T>(supplier: () => ISubjectHolder<T>): () => ISubjectHolder<T>;
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
export declare const TypeComponentsMap: {
|
|
2
|
-
success: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
-
warning: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
4
|
-
error: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
-
info: import("vue").Raw<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
|
|
6
|
-
};
|
|
7
|
-
export declare const keysOf: <T extends object>(object: T) => string[];
|
|
8
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
9
|
-
type: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
values: string[];
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
title: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
showIcon: {
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
|
-
description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
23
|
-
closable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
24
|
-
closeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
25
|
-
center: BooleanConstructor;
|
|
26
|
-
effect: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "light" | "dark", unknown, "light", boolean>;
|
|
27
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
-
type: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
values: string[];
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
title: {
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
showIcon: {
|
|
38
|
-
type: BooleanConstructor;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
|
-
description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
42
|
-
closable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
43
|
-
closeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
44
|
-
center: BooleanConstructor;
|
|
45
|
-
effect: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "light" | "dark", unknown, "light", boolean>;
|
|
46
|
-
}>>, {
|
|
47
|
-
title: string;
|
|
48
|
-
type: string;
|
|
49
|
-
showIcon: boolean;
|
|
50
|
-
description: string;
|
|
51
|
-
closable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
52
|
-
closeText: string;
|
|
53
|
-
center: boolean;
|
|
54
|
-
effect: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "light" | "dark", unknown>;
|
|
55
|
-
}, {}>, Partial<Record<NonNullable<string | number>, (_: {}) => any>> & {
|
|
56
|
-
title?(_: {}): any;
|
|
57
|
-
}>;
|
|
58
|
-
export default _default;
|
|
59
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
60
|
-
new (): {
|
|
61
|
-
$slots: S;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
1
|
+
export declare const TypeComponentsMap: {
|
|
2
|
+
success: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
warning: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
4
|
+
error: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
+
info: import("vue").Raw<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
|
|
6
|
+
};
|
|
7
|
+
export declare const keysOf: <T extends object>(object: T) => string[];
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
9
|
+
type: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
values: string[];
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
title: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
showIcon: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
23
|
+
closable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
24
|
+
closeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
25
|
+
center: BooleanConstructor;
|
|
26
|
+
effect: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "light" | "dark", unknown, "light", boolean>;
|
|
27
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
type: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
values: string[];
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
title: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
showIcon: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
42
|
+
closable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
43
|
+
closeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
44
|
+
center: BooleanConstructor;
|
|
45
|
+
effect: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "light" | "dark", unknown, "light", boolean>;
|
|
46
|
+
}>>, {
|
|
47
|
+
title: string;
|
|
48
|
+
type: string;
|
|
49
|
+
showIcon: boolean;
|
|
50
|
+
description: string;
|
|
51
|
+
closable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
52
|
+
closeText: string;
|
|
53
|
+
center: boolean;
|
|
54
|
+
effect: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "light" | "dark", unknown>;
|
|
55
|
+
}, {}>, Partial<Record<NonNullable<string | number>, (_: {}) => any>> & {
|
|
56
|
+
title?(_: {}): any;
|
|
57
|
+
}>;
|
|
58
|
+
export default _default;
|
|
59
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
60
|
+
new (): {
|
|
61
|
+
$slots: S;
|
|
62
|
+
};
|
|
63
|
+
};
|