@maxtropy/v-components 0.1.12-beta.9 → 0.1.13-beta.0
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/mx-vcomponents.es.js +10432 -9899
- package/dist/style.css +1 -1
- package/dist/types/components/authorizedpermission/AuthorizedPermission.vue.d.ts +1 -0
- package/dist/types/components/dialog/MxDialog.vue.d.ts +5 -5
- package/dist/types/components/dropdown/MxDropdown.vue.d.ts +12 -24
- package/dist/types/components/dropdown/index.d.ts +182 -0
- package/dist/types/components/ellipsisSpan/MxEllipsisSpan.vue.d.ts +1 -1
- package/dist/types/components/index.d.ts +3 -2
- package/dist/types/components/table/MxTable.vue.d.ts +15 -1
- package/{lib/components/steps → dist/types/components/tabs}/index.d.ts +6 -6
- package/dist/types/components/tree/MxTree.vue.d.ts +1 -1
- package/dist/types/components/treeselect/MxTreeSelect.vue.d.ts +1 -1
- package/package.json +11 -8
- package/dist/mx-vcomponents.umd.js +0 -60
- package/es/api/staff.d.ts +0 -3
- package/es/api/staff.js +0 -11
- package/es/api/tenant.d.ts +0 -4
- package/es/api/tenant.js +0 -15
- package/es/api/user.d.ts +0 -24
- package/es/api/user.js +0 -20
- package/es/assets/images/notAuthorized.png +0 -0
- package/es/assets/images/tableNoData.png +0 -0
- package/es/assets/svg/ContainerSvg.vue.d.ts +0 -2
- package/es/assets/svg/ContainerSvg.vue.js +0 -29
- package/es/assets/svg/InfoCircleSvg.vue.d.ts +0 -2
- package/es/assets/svg/InfoCircleSvg.vue.js +0 -31
- package/es/assets/svg/InfoSvg.vue.d.ts +0 -2
- package/es/assets/svg/InfoSvg.vue.js +0 -30
- package/es/assets/svg/UploadSvg.vue.d.ts +0 -2
- package/es/assets/svg/UploadSvg.vue.js +0 -29
- package/es/common/const.d.ts +0 -34
- package/es/common/const.js +0 -55
- package/es/common/entity.d.ts +0 -118
- package/es/common/entity.js +0 -32
- package/es/common/fetch.d.ts +0 -13
- package/es/common/fetch.js +0 -95
- package/es/common/request.d.ts +0 -30
- package/es/common/request.js +0 -107
- package/es/common/subject.d.ts +0 -20
- package/es/common/subject.js +0 -62
- package/es/components/alert/MxAlert.css +0 -47
- package/es/components/alert/MxAlert.vue.d.ts +0 -63
- package/es/components/alert/MxAlert.vue.js +0 -82
- package/es/components/alert/index.d.ts +0 -7
- package/es/components/alert/index.js +0 -8
- package/es/components/authorizedpermission/AuthorizedPermission.css +0 -14
- package/es/components/authorizedpermission/AuthorizedPermission.vue.d.ts +0 -10
- package/es/components/authorizedpermission/AuthorizedPermission.vue.js +0 -51
- package/es/components/authorizedpermission/index.d.ts +0 -7
- package/es/components/authorizedpermission/index.js +0 -8
- package/es/components/basiclayout/BasicLayout.css +0 -44
- package/es/components/basiclayout/BasicLayout.vue.d.ts +0 -45
- package/es/components/basiclayout/BasicLayout.vue.js +0 -64
- package/es/components/basiclayout/index.d.ts +0 -7
- package/es/components/basiclayout/index.js +0 -8
- package/es/components/breadcrumb/BreadCrumb.css +0 -20
- package/es/components/breadcrumb/BreadCrumb.vue.d.ts +0 -53
- package/es/components/breadcrumb/BreadCrumb.vue.js +0 -124
- package/es/components/breadcrumb/index.d.ts +0 -7
- package/es/components/breadcrumb/index.js +0 -8
- package/es/components/button/MxButton.css +0 -149
- package/es/components/button/MxButton.vue.d.ts +0 -107
- package/es/components/button/MxButton.vue.js +0 -76
- package/es/components/button/index.d.ts +0 -7
- package/es/components/button/index.js +0 -8
- package/es/components/checkbox/MxCheckbox.css +0 -35
- package/es/components/checkbox/MxCheckbox.vue.d.ts +0 -104
- package/es/components/checkbox/MxCheckbox.vue.js +0 -35
- package/es/components/checkbox/MxCheckboxGroup.vue.d.ts +0 -43
- package/es/components/checkbox/MxCheckboxGroup.vue.js +0 -26
- package/es/components/checkbox/index.d.ts +0 -351
- package/es/components/checkbox/index.js +0 -17
- package/es/components/datePicker/MxDatePicker.css +0 -586
- package/es/components/datePicker/MxDatePicker.vue.d.ts +0 -49
- package/es/components/datePicker/MxDatePicker.vue.js +0 -79
- package/es/components/datePicker/index.d.ts +0 -7
- package/es/components/datePicker/index.js +0 -8
- package/es/components/dialog/MxDialog.css +0 -62
- package/es/components/dialog/MxDialog.vue.d.ts +0 -164
- package/es/components/dialog/MxDialog.vue.js +0 -90
- package/es/components/dialog/index.d.ts +0 -7
- package/es/components/dialog/index.js +0 -8
- package/es/components/dropdown/MxDropdown.css +0 -30
- package/es/components/dropdown/MxDropdown.vue.d.ts +0 -71
- package/es/components/dropdown/MxDropdown.vue.js +0 -97
- package/es/components/dropdown/index.d.ts +0 -7
- package/es/components/dropdown/index.js +0 -8
- package/es/components/ellipsisSpan/MxEllipsisSpan.css +0 -3
- package/es/components/ellipsisSpan/MxEllipsisSpan.vue.d.ts +0 -42
- package/es/components/ellipsisSpan/MxEllipsisSpan.vue.js +0 -70
- package/es/components/ellipsisSpan/index.d.ts +0 -7
- package/es/components/ellipsisSpan/index.js +0 -8
- package/es/components/empty/MxEmpty.css +0 -10
- package/es/components/empty/MxEmpty.vue.js +0 -36
- package/es/components/empty/index.d.ts +0 -7
- package/es/components/empty/index.js +0 -8
- package/es/components/empty/no-data.png +0 -0
- package/es/components/form/MxForm.css +0 -26
- package/es/components/form/MxForm.vue.d.ts +0 -123
- package/es/components/form/MxForm.vue.js +0 -99
- package/es/components/form/MxFormItem.css +0 -23
- package/es/components/form/MxFormItem.vue.d.ts +0 -94
- package/es/components/form/MxFormItem.vue.js +0 -63
- package/es/components/form/index.d.ts +0 -242
- package/es/components/form/index.js +0 -12
- package/es/components/headnavigation/HeadNavigation.css +0 -144
- package/es/components/headnavigation/HeadNavigation.vue.d.ts +0 -45
- package/es/components/headnavigation/HeadNavigation.vue.js +0 -201
- package/es/components/headnavigation/MenuBar.css +0 -113
- package/es/components/headnavigation/MenuBar.vue.d.ts +0 -35
- package/es/components/headnavigation/MenuBar.vue.js +0 -31
- package/es/components/headnavigation/index.d.ts +0 -7
- package/es/components/headnavigation/index.js +0 -8
- package/es/components/index.d.ts +0 -38
- package/es/components/index.js +0 -171
- package/es/components/input/MxInput.css +0 -54
- package/es/components/input/MxInput.vue.js +0 -24
- package/es/components/input/index.d.ts +0 -7
- package/es/components/input/index.js +0 -8
- package/es/components/message/index.d.ts +0 -7
- package/es/components/message/index.js +0 -12
- package/es/components/message/message.css +0 -31
- package/es/components/message/message.d.ts +0 -4
- package/es/components/message/message.js +0 -42
- package/es/components/messageBox/index.d.ts +0 -7
- package/es/components/messageBox/index.js +0 -13
- package/es/components/messageBox/message.vue.d.ts +0 -48
- package/es/components/messageBox/message.vue.js +0 -58
- package/es/components/messageBox/messageBox.css +0 -160
- package/es/components/messageBox/messageBox.d.ts +0 -4
- package/es/components/messageBox/messageBox.js +0 -39
- package/es/components/notification/index.d.ts +0 -3
- package/es/components/notification/index.js +0 -7
- package/es/components/notification/notification.css +0 -58
- package/es/components/notification/notification.d.ts +0 -4
- package/es/components/notification/notification.js +0 -28
- package/es/components/pagination/MxPagination.css +0 -110
- package/es/components/pagination/MxPagination.vue.d.ts +0 -38
- package/es/components/pagination/MxPagination.vue.js +0 -53
- package/es/components/pagination/index.d.ts +0 -7
- package/es/components/pagination/index.js +0 -8
- package/es/components/popconfirm/MxPopconfirm.css +0 -26
- package/es/components/popconfirm/MxPopconfirm.vue.d.ts +0 -51
- package/es/components/popconfirm/MxPopconfirm.vue.js +0 -92
- package/es/components/popconfirm/index.d.ts +0 -7
- package/es/components/popconfirm/index.js +0 -8
- package/es/components/radio/MxRadio.css +0 -33
- package/es/components/radio/MxRadio.vue.d.ts +0 -36
- package/es/components/radio/MxRadio.vue.js +0 -35
- package/es/components/radio/MxRadioButton.css +0 -37
- package/es/components/radio/MxRadioButton.vue.d.ts +0 -31
- package/es/components/radio/MxRadioButton.vue.js +0 -33
- package/es/components/radio/MxRadioGroup.vue.d.ts +0 -45
- package/es/components/radio/MxRadioGroup.vue.js +0 -26
- package/es/components/radio/index.d.ts +0 -302
- package/es/components/radio/index.js +0 -16
- package/es/components/select/MxOption.vue.d.ts +0 -7
- package/es/components/select/MxOption.vue.js +0 -26
- package/es/components/select/MxOptionGroup.vue.d.ts +0 -7
- package/es/components/select/MxOptionGroup.vue.js +0 -23
- package/es/components/select/MxSelect.css +0 -91
- package/es/components/select/MxSelect.vue.d.ts +0 -7
- package/es/components/select/MxSelect.vue.js +0 -43
- package/es/components/select/index.d.ts +0 -191
- package/es/components/select/index.js +0 -16
- package/es/components/sidermenu/HambShow.css +0 -65
- package/es/components/sidermenu/HambShow.vue.d.ts +0 -16
- package/es/components/sidermenu/HambShow.vue.js +0 -76
- package/es/components/sidermenu/SiderMenu.css +0 -94
- package/es/components/sidermenu/SiderMenu.vue.d.ts +0 -46
- package/es/components/sidermenu/SiderMenu.vue.js +0 -246
- package/es/components/sidermenu/index.d.ts +0 -7
- package/es/components/sidermenu/index.js +0 -8
- package/es/components/slider/MxSlider.css +0 -54
- package/es/components/slider/MxSlider.vue.d.ts +0 -32
- package/es/components/slider/MxSlider.vue.js +0 -39
- package/es/components/slider/index.d.ts +0 -7
- package/es/components/slider/index.js +0 -8
- package/es/components/steps/MxStep.css +0 -572
- package/es/components/steps/MxStep.vue.d.ts +0 -7
- package/es/components/steps/MxStep.vue.js +0 -30
- package/es/components/steps/MxSteps.vue.d.ts +0 -29
- package/es/components/steps/MxSteps.vue.js +0 -40
- package/es/components/steps/index.d.ts +0 -99
- package/es/components/steps/index.js +0 -12
- package/es/components/switch/MxSwitch.css +0 -49
- package/es/components/switch/MxSwitch.vue.d.ts +0 -2
- package/es/components/switch/MxSwitch.vue.js +0 -23
- package/es/components/switch/index.d.ts +0 -7
- package/es/components/switch/index.js +0 -8
- package/es/components/switchstaff/CustomSvg.vue.d.ts +0 -2
- package/es/components/switchstaff/CustomSvg.vue.js +0 -28
- package/es/components/switchstaff/SwitchStaff.css +0 -132
- package/es/components/switchstaff/SwitchStaff.vue.d.ts +0 -32
- package/es/components/switchstaff/SwitchStaff.vue.js +0 -121
- package/es/components/switchstaff/WarnSvg.vue.d.ts +0 -2
- package/es/components/switchstaff/WarnSvg.vue.js +0 -28
- package/es/components/switchstaff/index.d.ts +0 -7
- package/es/components/switchstaff/index.js +0 -8
- package/es/components/systemcontent/SystemContent.css +0 -28
- package/es/components/systemcontent/SystemContent.vue.d.ts +0 -51
- package/es/components/systemcontent/SystemContent.vue.js +0 -91
- package/es/components/systemcontent/index.d.ts +0 -7
- package/es/components/systemcontent/index.js +0 -8
- package/es/components/systemcontent/logo.png +0 -0
- package/es/components/table/MxTable.css +0 -190
- package/es/components/table/MxTable.vue.d.ts +0 -37
- package/es/components/table/MxTable.vue.js +0 -63
- package/es/components/table/MxTableColumn.css +0 -31
- package/es/components/table/MxTableColumn.vue.d.ts +0 -11
- package/es/components/table/MxTableColumn.vue.js +0 -28
- package/es/components/table/index.d.ts +0 -103
- package/es/components/table/index.js +0 -12
- package/es/components/tabs/MxTabPane.vue.d.ts +0 -7
- package/es/components/tabs/MxTabPane.vue.js +0 -26
- package/es/components/tabs/MxTabs.css +0 -132
- package/es/components/tabs/MxTabs.vue.d.ts +0 -37
- package/es/components/tabs/MxTabs.vue.js +0 -44
- package/es/components/tag/MxTag.css +0 -84
- package/es/components/tag/MxTag.vue.d.ts +0 -40
- package/es/components/tag/MxTag.vue.js +0 -96
- package/es/components/tag/index.d.ts +0 -7
- package/es/components/tag/index.js +0 -8
- package/es/components/timePicker/MxTimePicker.css +0 -180
- package/es/components/timePicker/MxTimePicker.vue.d.ts +0 -49
- package/es/components/timePicker/MxTimePicker.vue.js +0 -79
- package/es/components/timePicker/index.d.ts +0 -7
- package/es/components/timePicker/index.js +0 -8
- package/es/components/tooltip/MxTooltip.css +0 -17
- package/es/components/tooltip/MxTooltip.vue.d.ts +0 -7
- package/es/components/tooltip/MxTooltip.vue.js +0 -24
- package/es/components/tooltip/index.d.ts +0 -7
- package/es/components/tooltip/index.js +0 -8
- package/es/components/tree/MxTree.css +0 -56
- package/es/components/tree/MxTree.vue.d.ts +0 -7
- package/es/components/tree/MxTree.vue.js +0 -27
- package/es/components/tree/index.d.ts +0 -7
- package/es/components/tree/index.js +0 -8
- package/es/components/treeselect/MxTreeSelect.css +0 -111
- package/es/components/treeselect/MxTreeSelect.vue.d.ts +0 -7
- package/es/components/treeselect/MxTreeSelect.vue.js +0 -35
- package/es/components/treeselect/index.d.ts +0 -7
- package/es/components/treeselect/index.js +0 -8
- package/es/components/upload/MxUpload.css +0 -111
- package/es/components/upload/MxUpload.vue.d.ts +0 -111
- package/es/components/upload/MxUpload.vue.js +0 -310
- package/es/components/upload/index.d.ts +0 -7
- package/es/components/upload/index.js +0 -8
- package/es/components/upload/upload.d.ts +0 -139
- package/es/components/upload/upload.js +0 -11
- package/es/components/upload/uploadList.css +0 -70
- package/es/components/upload/uploadList.vue.d.ts +0 -15
- package/es/components/upload/uploadList.vue.js +0 -118
- package/es/components/upload/use-handlers.d.ts +0 -13
- package/es/components/upload/use-handlers.js +0 -54
- package/es/components/usercontent/ArrowSvg.vue.d.ts +0 -2
- package/es/components/usercontent/ArrowSvg.vue.js +0 -28
- package/es/components/usercontent/UserContent.css +0 -53
- package/es/components/usercontent/UserContent.vue.d.ts +0 -28
- package/es/components/usercontent/UserContent.vue.js +0 -134
- package/es/components/usercontent/UserSvg.vue.d.ts +0 -2
- package/es/components/usercontent/UserSvg.vue.js +0 -29
- package/es/components/usercontent/index.d.ts +0 -7
- package/es/components/usercontent/index.js +0 -8
- package/es/constants/const.d.ts +0 -1
- package/es/constants/const.js +0 -4
- package/es/constants/index.d.ts +0 -2
- package/es/constants/index.js +0 -4
- package/es/env.d.ts +0 -30
- package/es/index.d.ts +0 -13
- package/es/index.js +0 -17
- package/es/utils/hooks.d.ts +0 -23
- package/es/utils/hooks.js +0 -126
- package/es/utils/index.d.ts +0 -3
- package/es/utils/index.js +0 -6
- package/es/utils/lib.d.ts +0 -9
- package/es/utils/lib.js +0 -102
- package/es/utils/micro.d.ts +0 -12
- package/es/utils/micro.js +0 -128
- package/lib/api/staff.d.ts +0 -3
- package/lib/api/staff.js +0 -11
- package/lib/api/tenant.d.ts +0 -4
- package/lib/api/tenant.js +0 -15
- package/lib/api/user.d.ts +0 -24
- package/lib/api/user.js +0 -20
- package/lib/assets/images/notAuthorized.png +0 -0
- package/lib/assets/images/tableNoData.png +0 -0
- package/lib/assets/svg/ContainerSvg.vue.d.ts +0 -2
- package/lib/assets/svg/ContainerSvg.vue.js +0 -28
- package/lib/assets/svg/InfoCircleSvg.vue.d.ts +0 -2
- package/lib/assets/svg/InfoCircleSvg.vue.js +0 -30
- package/lib/assets/svg/InfoSvg.vue.d.ts +0 -2
- package/lib/assets/svg/InfoSvg.vue.js +0 -29
- package/lib/assets/svg/UploadSvg.vue.d.ts +0 -2
- package/lib/assets/svg/UploadSvg.vue.js +0 -28
- package/lib/common/const.d.ts +0 -34
- package/lib/common/const.js +0 -55
- package/lib/common/entity.d.ts +0 -118
- package/lib/common/entity.js +0 -32
- package/lib/common/fetch.d.ts +0 -13
- package/lib/common/fetch.js +0 -95
- package/lib/common/request.d.ts +0 -30
- package/lib/common/request.js +0 -107
- package/lib/common/subject.d.ts +0 -20
- package/lib/common/subject.js +0 -62
- package/lib/components/alert/MxAlert.css +0 -47
- package/lib/components/alert/MxAlert.vue.d.ts +0 -63
- package/lib/components/alert/MxAlert.vue.js +0 -82
- package/lib/components/alert/index.d.ts +0 -7
- package/lib/components/alert/index.js +0 -6
- package/lib/components/authorizedpermission/AuthorizedPermission.css +0 -14
- package/lib/components/authorizedpermission/AuthorizedPermission.vue.d.ts +0 -10
- package/lib/components/authorizedpermission/AuthorizedPermission.vue.js +0 -50
- package/lib/components/authorizedpermission/index.d.ts +0 -7
- package/lib/components/authorizedpermission/index.js +0 -6
- package/lib/components/basiclayout/BasicLayout.css +0 -44
- package/lib/components/basiclayout/BasicLayout.vue.d.ts +0 -45
- package/lib/components/basiclayout/BasicLayout.vue.js +0 -63
- package/lib/components/basiclayout/index.d.ts +0 -7
- package/lib/components/basiclayout/index.js +0 -6
- package/lib/components/breadcrumb/BreadCrumb.css +0 -20
- package/lib/components/breadcrumb/BreadCrumb.vue.d.ts +0 -53
- package/lib/components/breadcrumb/BreadCrumb.vue.js +0 -123
- package/lib/components/breadcrumb/index.d.ts +0 -7
- package/lib/components/breadcrumb/index.js +0 -6
- package/lib/components/button/MxButton.css +0 -149
- package/lib/components/button/MxButton.vue.d.ts +0 -107
- package/lib/components/button/MxButton.vue.js +0 -75
- package/lib/components/button/index.d.ts +0 -7
- package/lib/components/button/index.js +0 -6
- package/lib/components/checkbox/MxCheckbox.css +0 -35
- package/lib/components/checkbox/MxCheckbox.vue.d.ts +0 -104
- package/lib/components/checkbox/MxCheckbox.vue.js +0 -34
- package/lib/components/checkbox/MxCheckboxGroup.vue.d.ts +0 -43
- package/lib/components/checkbox/MxCheckboxGroup.vue.js +0 -25
- package/lib/components/checkbox/index.d.ts +0 -351
- package/lib/components/checkbox/index.js +0 -16
- package/lib/components/datePicker/MxDatePicker.css +0 -586
- package/lib/components/datePicker/MxDatePicker.vue.d.ts +0 -49
- package/lib/components/datePicker/MxDatePicker.vue.js +0 -78
- package/lib/components/datePicker/index.d.ts +0 -7
- package/lib/components/datePicker/index.js +0 -6
- package/lib/components/dialog/MxDialog.css +0 -62
- package/lib/components/dialog/MxDialog.vue.d.ts +0 -164
- package/lib/components/dialog/MxDialog.vue.js +0 -89
- package/lib/components/dialog/index.d.ts +0 -7
- package/lib/components/dialog/index.js +0 -6
- package/lib/components/dropdown/MxDropdown.css +0 -30
- package/lib/components/dropdown/MxDropdown.vue.d.ts +0 -71
- package/lib/components/dropdown/MxDropdown.vue.js +0 -96
- package/lib/components/dropdown/index.d.ts +0 -7
- package/lib/components/dropdown/index.js +0 -6
- package/lib/components/ellipsisSpan/MxEllipsisSpan.css +0 -3
- package/lib/components/ellipsisSpan/MxEllipsisSpan.vue.d.ts +0 -42
- package/lib/components/ellipsisSpan/MxEllipsisSpan.vue.js +0 -69
- package/lib/components/ellipsisSpan/index.d.ts +0 -7
- package/lib/components/ellipsisSpan/index.js +0 -6
- package/lib/components/empty/MxEmpty.css +0 -10
- package/lib/components/empty/MxEmpty.vue.d.ts +0 -7
- package/lib/components/empty/MxEmpty.vue.js +0 -35
- package/lib/components/empty/index.d.ts +0 -7
- package/lib/components/empty/index.js +0 -6
- package/lib/components/empty/no-data.png +0 -0
- package/lib/components/form/MxForm.css +0 -26
- package/lib/components/form/MxForm.vue.d.ts +0 -123
- package/lib/components/form/MxForm.vue.js +0 -98
- package/lib/components/form/MxFormItem.css +0 -23
- package/lib/components/form/MxFormItem.vue.d.ts +0 -94
- package/lib/components/form/MxFormItem.vue.js +0 -63
- package/lib/components/form/index.d.ts +0 -242
- package/lib/components/form/index.js +0 -11
- package/lib/components/headnavigation/HeadNavigation.css +0 -144
- package/lib/components/headnavigation/HeadNavigation.vue.d.ts +0 -45
- package/lib/components/headnavigation/HeadNavigation.vue.js +0 -200
- package/lib/components/headnavigation/MenuBar.css +0 -113
- package/lib/components/headnavigation/MenuBar.vue.d.ts +0 -35
- package/lib/components/headnavigation/MenuBar.vue.js +0 -30
- package/lib/components/headnavigation/index.d.ts +0 -7
- package/lib/components/headnavigation/index.js +0 -6
- package/lib/components/index.d.ts +0 -38
- package/lib/components/index.js +0 -175
- package/lib/components/input/MxInput.css +0 -54
- package/lib/components/input/MxInput.vue.d.ts +0 -7
- package/lib/components/input/MxInput.vue.js +0 -23
- package/lib/components/input/index.d.ts +0 -7
- package/lib/components/input/index.js +0 -6
- package/lib/components/message/index.d.ts +0 -7
- package/lib/components/message/index.js +0 -12
- package/lib/components/message/message.css +0 -31
- package/lib/components/message/message.d.ts +0 -4
- package/lib/components/message/message.js +0 -41
- package/lib/components/messageBox/index.d.ts +0 -7
- package/lib/components/messageBox/index.js +0 -13
- package/lib/components/messageBox/message.vue.d.ts +0 -48
- package/lib/components/messageBox/message.vue.js +0 -57
- package/lib/components/messageBox/messageBox.css +0 -160
- package/lib/components/messageBox/messageBox.d.ts +0 -4
- package/lib/components/messageBox/messageBox.js +0 -38
- package/lib/components/notification/index.d.ts +0 -3
- package/lib/components/notification/index.js +0 -6
- package/lib/components/notification/notification.css +0 -58
- package/lib/components/notification/notification.d.ts +0 -4
- package/lib/components/notification/notification.js +0 -27
- package/lib/components/pagination/MxPagination.css +0 -110
- package/lib/components/pagination/MxPagination.vue.d.ts +0 -38
- package/lib/components/pagination/MxPagination.vue.js +0 -52
- package/lib/components/pagination/index.d.ts +0 -7
- package/lib/components/pagination/index.js +0 -6
- package/lib/components/popconfirm/MxPopconfirm.css +0 -26
- package/lib/components/popconfirm/MxPopconfirm.vue.d.ts +0 -51
- package/lib/components/popconfirm/MxPopconfirm.vue.js +0 -91
- package/lib/components/popconfirm/index.d.ts +0 -7
- package/lib/components/popconfirm/index.js +0 -6
- package/lib/components/radio/MxRadio.css +0 -33
- package/lib/components/radio/MxRadio.vue.d.ts +0 -36
- package/lib/components/radio/MxRadio.vue.js +0 -34
- package/lib/components/radio/MxRadioButton.css +0 -37
- package/lib/components/radio/MxRadioButton.vue.d.ts +0 -31
- package/lib/components/radio/MxRadioButton.vue.js +0 -32
- package/lib/components/radio/MxRadioGroup.vue.d.ts +0 -45
- package/lib/components/radio/MxRadioGroup.vue.js +0 -25
- package/lib/components/radio/index.d.ts +0 -302
- package/lib/components/radio/index.js +0 -15
- package/lib/components/select/MxOption.vue.d.ts +0 -7
- package/lib/components/select/MxOption.vue.js +0 -25
- package/lib/components/select/MxOptionGroup.vue.d.ts +0 -7
- package/lib/components/select/MxOptionGroup.vue.js +0 -22
- package/lib/components/select/MxSelect.css +0 -91
- package/lib/components/select/MxSelect.vue.d.ts +0 -7
- package/lib/components/select/MxSelect.vue.js +0 -42
- package/lib/components/select/index.d.ts +0 -191
- package/lib/components/select/index.js +0 -15
- package/lib/components/sidermenu/HambShow.css +0 -65
- package/lib/components/sidermenu/HambShow.vue.d.ts +0 -16
- package/lib/components/sidermenu/HambShow.vue.js +0 -75
- package/lib/components/sidermenu/SiderMenu.css +0 -94
- package/lib/components/sidermenu/SiderMenu.vue.d.ts +0 -46
- package/lib/components/sidermenu/SiderMenu.vue.js +0 -245
- package/lib/components/sidermenu/index.d.ts +0 -7
- package/lib/components/sidermenu/index.js +0 -6
- package/lib/components/slider/MxSlider.css +0 -54
- package/lib/components/slider/MxSlider.vue.d.ts +0 -32
- package/lib/components/slider/MxSlider.vue.js +0 -38
- package/lib/components/slider/index.d.ts +0 -7
- package/lib/components/slider/index.js +0 -6
- package/lib/components/steps/MxStep.css +0 -572
- package/lib/components/steps/MxStep.vue.d.ts +0 -7
- package/lib/components/steps/MxStep.vue.js +0 -29
- package/lib/components/steps/MxSteps.vue.d.ts +0 -29
- package/lib/components/steps/MxSteps.vue.js +0 -39
- package/lib/components/steps/index.js +0 -11
- package/lib/components/switch/MxSwitch.css +0 -49
- package/lib/components/switch/MxSwitch.vue.d.ts +0 -2
- package/lib/components/switch/MxSwitch.vue.js +0 -22
- package/lib/components/switch/index.d.ts +0 -7
- package/lib/components/switch/index.js +0 -6
- package/lib/components/switchstaff/CustomSvg.vue.d.ts +0 -2
- package/lib/components/switchstaff/CustomSvg.vue.js +0 -27
- package/lib/components/switchstaff/SwitchStaff.css +0 -132
- package/lib/components/switchstaff/SwitchStaff.vue.d.ts +0 -32
- package/lib/components/switchstaff/SwitchStaff.vue.js +0 -120
- package/lib/components/switchstaff/WarnSvg.vue.d.ts +0 -2
- package/lib/components/switchstaff/WarnSvg.vue.js +0 -27
- package/lib/components/switchstaff/index.d.ts +0 -7
- package/lib/components/switchstaff/index.js +0 -6
- package/lib/components/systemcontent/SystemContent.css +0 -28
- package/lib/components/systemcontent/SystemContent.vue.d.ts +0 -51
- package/lib/components/systemcontent/SystemContent.vue.js +0 -90
- package/lib/components/systemcontent/index.d.ts +0 -7
- package/lib/components/systemcontent/index.js +0 -6
- package/lib/components/systemcontent/logo.png +0 -0
- package/lib/components/table/MxTable.css +0 -190
- package/lib/components/table/MxTable.vue.d.ts +0 -37
- package/lib/components/table/MxTable.vue.js +0 -62
- package/lib/components/table/MxTableColumn.css +0 -31
- package/lib/components/table/MxTableColumn.vue.d.ts +0 -11
- package/lib/components/table/MxTableColumn.vue.js +0 -27
- package/lib/components/table/index.d.ts +0 -103
- package/lib/components/table/index.js +0 -11
- package/lib/components/tabs/MxTabPane.vue.d.ts +0 -7
- package/lib/components/tabs/MxTabPane.vue.js +0 -25
- package/lib/components/tabs/MxTabs.css +0 -132
- package/lib/components/tabs/MxTabs.vue.d.ts +0 -37
- package/lib/components/tabs/MxTabs.vue.js +0 -43
- package/lib/components/tag/MxTag.css +0 -84
- package/lib/components/tag/MxTag.vue.d.ts +0 -40
- package/lib/components/tag/MxTag.vue.js +0 -95
- package/lib/components/tag/index.d.ts +0 -7
- package/lib/components/tag/index.js +0 -6
- package/lib/components/timePicker/MxTimePicker.css +0 -180
- package/lib/components/timePicker/MxTimePicker.vue.d.ts +0 -49
- package/lib/components/timePicker/MxTimePicker.vue.js +0 -78
- package/lib/components/timePicker/index.d.ts +0 -7
- package/lib/components/timePicker/index.js +0 -6
- package/lib/components/tooltip/MxTooltip.css +0 -17
- package/lib/components/tooltip/MxTooltip.vue.d.ts +0 -7
- package/lib/components/tooltip/MxTooltip.vue.js +0 -23
- package/lib/components/tooltip/index.d.ts +0 -7
- package/lib/components/tooltip/index.js +0 -6
- package/lib/components/tree/MxTree.css +0 -56
- package/lib/components/tree/MxTree.vue.d.ts +0 -7
- package/lib/components/tree/MxTree.vue.js +0 -26
- package/lib/components/tree/index.d.ts +0 -7
- package/lib/components/tree/index.js +0 -6
- package/lib/components/treeselect/MxTreeSelect.css +0 -111
- package/lib/components/treeselect/MxTreeSelect.vue.d.ts +0 -7
- package/lib/components/treeselect/MxTreeSelect.vue.js +0 -34
- package/lib/components/treeselect/index.d.ts +0 -7
- package/lib/components/treeselect/index.js +0 -6
- package/lib/components/upload/MxUpload.css +0 -111
- package/lib/components/upload/MxUpload.vue.d.ts +0 -111
- package/lib/components/upload/MxUpload.vue.js +0 -309
- package/lib/components/upload/index.d.ts +0 -7
- package/lib/components/upload/index.js +0 -6
- package/lib/components/upload/upload.d.ts +0 -139
- package/lib/components/upload/upload.js +0 -11
- package/lib/components/upload/uploadList.css +0 -70
- package/lib/components/upload/uploadList.vue.d.ts +0 -15
- package/lib/components/upload/uploadList.vue.js +0 -117
- package/lib/components/upload/use-handlers.d.ts +0 -13
- package/lib/components/upload/use-handlers.js +0 -54
- package/lib/components/usercontent/ArrowSvg.vue.d.ts +0 -2
- package/lib/components/usercontent/ArrowSvg.vue.js +0 -27
- package/lib/components/usercontent/UserContent.css +0 -53
- package/lib/components/usercontent/UserContent.vue.d.ts +0 -28
- package/lib/components/usercontent/UserContent.vue.js +0 -133
- package/lib/components/usercontent/UserSvg.vue.d.ts +0 -2
- package/lib/components/usercontent/UserSvg.vue.js +0 -28
- package/lib/components/usercontent/index.d.ts +0 -7
- package/lib/components/usercontent/index.js +0 -6
- package/lib/constants/const.d.ts +0 -1
- package/lib/constants/const.js +0 -4
- package/lib/constants/index.d.ts +0 -2
- package/lib/constants/index.js +0 -21
- package/lib/env.d.ts +0 -30
- package/lib/index.d.ts +0 -13
- package/lib/index.js +0 -82
- package/lib/utils/hooks.d.ts +0 -23
- package/lib/utils/hooks.js +0 -126
- package/lib/utils/index.d.ts +0 -3
- package/lib/utils/index.js +0 -6
- package/lib/utils/lib.d.ts +0 -9
- package/lib/utils/lib.js +0 -102
- package/lib/utils/micro.d.ts +0 -12
- package/lib/utils/micro.js +0 -128
- /package/{es/components/empty/MxEmpty.vue.d.ts → dist/types/components/dropdown/MxDropDownItem.vue.d.ts} +0 -0
- /package/{es/components/input/MxInput.vue.d.ts → dist/types/components/dropdown/MxDropDownMenu.vue.d.ts} +0 -0
package/lib/common/const.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
var UserStatus = /* @__PURE__ */ ((UserStatus2) => {
|
|
4
|
-
UserStatus2[UserStatus2["ENABLE"] = 0] = "ENABLE";
|
|
5
|
-
UserStatus2[UserStatus2["DISABLE"] = 1] = "DISABLE";
|
|
6
|
-
UserStatus2[UserStatus2["FREEZE"] = 2] = "FREEZE";
|
|
7
|
-
return UserStatus2;
|
|
8
|
-
})(UserStatus || {});
|
|
9
|
-
var Gender = /* @__PURE__ */ ((Gender2) => {
|
|
10
|
-
Gender2[Gender2["MALE"] = 0] = "MALE";
|
|
11
|
-
Gender2[Gender2["FEMALE"] = 1] = "FEMALE";
|
|
12
|
-
return Gender2;
|
|
13
|
-
})(Gender || {});
|
|
14
|
-
var PermissionType = /* @__PURE__ */ ((PermissionType2) => {
|
|
15
|
-
PermissionType2["MENU"] = "p";
|
|
16
|
-
PermissionType2["BUTTON"] = "b";
|
|
17
|
-
return PermissionType2;
|
|
18
|
-
})(PermissionType || {});
|
|
19
|
-
var MenuLevel = /* @__PURE__ */ ((MenuLevel2) => {
|
|
20
|
-
MenuLevel2[MenuLevel2["ONE"] = 1] = "ONE";
|
|
21
|
-
MenuLevel2[MenuLevel2["TWO"] = 2] = "TWO";
|
|
22
|
-
MenuLevel2[MenuLevel2["THREE"] = 3] = "THREE";
|
|
23
|
-
return MenuLevel2;
|
|
24
|
-
})(MenuLevel || {});
|
|
25
|
-
var MenuOpenType = /* @__PURE__ */ ((MenuOpenType2) => {
|
|
26
|
-
MenuOpenType2[MenuOpenType2["CurrentPage"] = 0] = "CurrentPage";
|
|
27
|
-
MenuOpenType2[MenuOpenType2["NewPage"] = 1] = "NewPage";
|
|
28
|
-
MenuOpenType2[MenuOpenType2["CurrentPageForce"] = 2] = "CurrentPageForce";
|
|
29
|
-
return MenuOpenType2;
|
|
30
|
-
})(MenuOpenType || {});
|
|
31
|
-
var TenantMenuJumpType = /* @__PURE__ */ ((TenantMenuJumpType2) => {
|
|
32
|
-
TenantMenuJumpType2[TenantMenuJumpType2["WITHINSYSTEM"] = 1] = "WITHINSYSTEM";
|
|
33
|
-
TenantMenuJumpType2[TenantMenuJumpType2["CUSTOMIZATIONWITHINSYSTEM"] = 2] = "CUSTOMIZATIONWITHINSYSTEM";
|
|
34
|
-
TenantMenuJumpType2[TenantMenuJumpType2["OUTSIDESYSTEM"] = 3] = "OUTSIDESYSTEM";
|
|
35
|
-
return TenantMenuJumpType2;
|
|
36
|
-
})(TenantMenuJumpType || {});
|
|
37
|
-
var TenantMenuPermissionType = /* @__PURE__ */ ((TenantMenuPermissionType2) => {
|
|
38
|
-
TenantMenuPermissionType2[TenantMenuPermissionType2["PLATFORM"] = 1] = "PLATFORM";
|
|
39
|
-
TenantMenuPermissionType2[TenantMenuPermissionType2["INTEGRATEDAPP"] = 2] = "INTEGRATEDAPP";
|
|
40
|
-
TenantMenuPermissionType2[TenantMenuPermissionType2["NOPERMISSION"] = 3] = "NOPERMISSION";
|
|
41
|
-
return TenantMenuPermissionType2;
|
|
42
|
-
})(TenantMenuPermissionType || {});
|
|
43
|
-
const envMap = {
|
|
44
|
-
s35: "https://cc.s35.test.maxtropy.com",
|
|
45
|
-
test: "https://cc.test.maxtropy.com",
|
|
46
|
-
cloud: "https://cc.cloud.maxtropy.com"
|
|
47
|
-
};
|
|
48
|
-
exports.Gender = Gender;
|
|
49
|
-
exports.MenuLevel = MenuLevel;
|
|
50
|
-
exports.MenuOpenType = MenuOpenType;
|
|
51
|
-
exports.PermissionType = PermissionType;
|
|
52
|
-
exports.TenantMenuJumpType = TenantMenuJumpType;
|
|
53
|
-
exports.TenantMenuPermissionType = TenantMenuPermissionType;
|
|
54
|
-
exports.UserStatus = UserStatus;
|
|
55
|
-
exports.envMap = envMap;
|
package/lib/common/entity.d.ts
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
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
|
-
}
|
|
113
|
-
export declare enum MicroAppNameEnum {
|
|
114
|
-
WO = "ms-wo"
|
|
115
|
-
}
|
|
116
|
-
export declare enum MicroAppIdEnum {
|
|
117
|
-
WO = 1
|
|
118
|
-
}
|
package/lib/common/entity.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
var NavigationPreference = /* @__PURE__ */ ((NavigationPreference2) => {
|
|
4
|
-
NavigationPreference2[NavigationPreference2["AUTO"] = 1] = "AUTO";
|
|
5
|
-
NavigationPreference2[NavigationPreference2["OPEN"] = 2] = "OPEN";
|
|
6
|
-
NavigationPreference2[NavigationPreference2["HIDE"] = 3] = "HIDE";
|
|
7
|
-
return NavigationPreference2;
|
|
8
|
-
})(NavigationPreference || {});
|
|
9
|
-
var PlaceType = /* @__PURE__ */ ((PlaceType2) => {
|
|
10
|
-
PlaceType2["TOP"] = "top";
|
|
11
|
-
PlaceType2["NAVBAR"] = "navbar";
|
|
12
|
-
return PlaceType2;
|
|
13
|
-
})(PlaceType || {});
|
|
14
|
-
var PlatformTitleType = /* @__PURE__ */ ((PlatformTitleType2) => {
|
|
15
|
-
PlatformTitleType2[PlatformTitleType2["PLATFORMNAME"] = 1] = "PLATFORMNAME";
|
|
16
|
-
PlatformTitleType2[PlatformTitleType2["NAVIGATIONNAME"] = 2] = "NAVIGATIONNAME";
|
|
17
|
-
PlatformTitleType2[PlatformTitleType2["PLATFORMANDNAVIGATIONNAME"] = 3] = "PLATFORMANDNAVIGATIONNAME";
|
|
18
|
-
return PlatformTitleType2;
|
|
19
|
-
})(PlatformTitleType || {});
|
|
20
|
-
var MicroAppNameEnum = /* @__PURE__ */ ((MicroAppNameEnum2) => {
|
|
21
|
-
MicroAppNameEnum2["WO"] = "ms-wo";
|
|
22
|
-
return MicroAppNameEnum2;
|
|
23
|
-
})(MicroAppNameEnum || {});
|
|
24
|
-
var MicroAppIdEnum = /* @__PURE__ */ ((MicroAppIdEnum2) => {
|
|
25
|
-
MicroAppIdEnum2[MicroAppIdEnum2["WO"] = 1] = "WO";
|
|
26
|
-
return MicroAppIdEnum2;
|
|
27
|
-
})(MicroAppIdEnum || {});
|
|
28
|
-
exports.MicroAppIdEnum = MicroAppIdEnum;
|
|
29
|
-
exports.MicroAppNameEnum = MicroAppNameEnum;
|
|
30
|
-
exports.NavigationPreference = NavigationPreference;
|
|
31
|
-
exports.PlaceType = PlaceType;
|
|
32
|
-
exports.PlatformTitleType = PlatformTitleType;
|
package/lib/common/fetch.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import 'element-plus/es/components/message-box/style/css';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
export declare function fetch<T>(input: RequestInfo, init?: RequestInit): Promise<T>;
|
|
4
|
-
export declare class ResponseCodeError extends Error {
|
|
5
|
-
readonly status: number;
|
|
6
|
-
readonly errorType?: string;
|
|
7
|
-
readonly errorMessage?: string;
|
|
8
|
-
readonly body?: any;
|
|
9
|
-
constructor(status: number, errorType?: string, errorMessage?: string, body?: any);
|
|
10
|
-
static getMessage(err: any): string | undefined;
|
|
11
|
-
static getMessage(err: any, defaultMessage: string): string;
|
|
12
|
-
}
|
|
13
|
-
export declare function observeHttpStatus(listener: (status: number) => void): Subscription;
|
package/lib/common/fetch.js
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
-
var __publicField = (obj, key, value) => {
|
|
5
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6
|
-
return value;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
9
|
-
const elementPlus = require("element-plus");
|
|
10
|
-
require("element-plus/es/components/message-box/style/css");
|
|
11
|
-
const rxjs = require("rxjs");
|
|
12
|
-
const httpStatusSubject = new rxjs.Subject();
|
|
13
|
-
async function fetch(input, init) {
|
|
14
|
-
const compoundInit = {
|
|
15
|
-
credentials: "include",
|
|
16
|
-
...init
|
|
17
|
-
};
|
|
18
|
-
if (compoundInit.headers instanceof Headers) {
|
|
19
|
-
if (!compoundInit.headers.has("Accept")) {
|
|
20
|
-
compoundInit.headers.set("Accept", "application/json");
|
|
21
|
-
}
|
|
22
|
-
if (!compoundInit.headers.has("Content-Type") && (init == null ? void 0 : init.body)) {
|
|
23
|
-
compoundInit.headers.set("Content-Type", "application/json;charset=UTF-8");
|
|
24
|
-
}
|
|
25
|
-
if (compoundInit.headers.has("Content-Type") && compoundInit.headers.get("Content-Type") === "multipart/form-data") {
|
|
26
|
-
compoundInit.headers.delete("Content-Type");
|
|
27
|
-
}
|
|
28
|
-
} else {
|
|
29
|
-
const defaultHeaders = {
|
|
30
|
-
Accept: "application/json"
|
|
31
|
-
};
|
|
32
|
-
if (init == null ? void 0 : init.body) {
|
|
33
|
-
defaultHeaders["Content-Type"] = "application/json;charset=UTF-8";
|
|
34
|
-
}
|
|
35
|
-
compoundInit.headers = {
|
|
36
|
-
...defaultHeaders,
|
|
37
|
-
...compoundInit.headers
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
const response = await window.fetch(input, compoundInit);
|
|
41
|
-
httpStatusSubject.next(response.status);
|
|
42
|
-
const text = await response.text();
|
|
43
|
-
let body = void 0;
|
|
44
|
-
if (text) {
|
|
45
|
-
body = JSON.parse(text);
|
|
46
|
-
}
|
|
47
|
-
if (!response.ok) {
|
|
48
|
-
throw new ResponseCodeError(response.status, body == null ? void 0 : body.errorType, body == null ? void 0 : body.errorMessage, body);
|
|
49
|
-
} else {
|
|
50
|
-
if ((body == null ? void 0 : body.code) === 401) {
|
|
51
|
-
const url = new URL(window.location.href);
|
|
52
|
-
url.searchParams.delete("isvAppToken");
|
|
53
|
-
if (process.env.NODE_ENV === "development") {
|
|
54
|
-
elementPlus.ElMessageBox.confirm(
|
|
55
|
-
"<div><div>检测到您尚未登录登录,是否跳转到登录页面?</div><div>注意:在租户端登录后请再次打开当前站点</div></div>",
|
|
56
|
-
"账号登录",
|
|
57
|
-
{
|
|
58
|
-
dangerouslyUseHTMLString: true,
|
|
59
|
-
confirmButtonText: "确定",
|
|
60
|
-
cancelButtonText: "取消",
|
|
61
|
-
type: "warning",
|
|
62
|
-
appendTo: document.body
|
|
63
|
-
}
|
|
64
|
-
).then(() => {
|
|
65
|
-
window.location.assign("/server/landing?to=" + encodeURIComponent(url.toString()));
|
|
66
|
-
});
|
|
67
|
-
} else {
|
|
68
|
-
window.location.assign("/server/landing?to=" + encodeURIComponent(url.toString()));
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
return body == null ? void 0 : body.data;
|
|
73
|
-
}
|
|
74
|
-
class ResponseCodeError extends Error {
|
|
75
|
-
constructor(status, errorType, errorMessage, body) {
|
|
76
|
-
super();
|
|
77
|
-
__publicField(this, "status");
|
|
78
|
-
__publicField(this, "errorType");
|
|
79
|
-
__publicField(this, "errorMessage");
|
|
80
|
-
__publicField(this, "body");
|
|
81
|
-
this.status = status;
|
|
82
|
-
this.errorType = errorType;
|
|
83
|
-
this.errorMessage = errorMessage;
|
|
84
|
-
this.body = body;
|
|
85
|
-
}
|
|
86
|
-
static getMessage(err, defaultMessage) {
|
|
87
|
-
return err instanceof ResponseCodeError && err.errorMessage || defaultMessage;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
function observeHttpStatus(listener) {
|
|
91
|
-
return httpStatusSubject.subscribe(listener);
|
|
92
|
-
}
|
|
93
|
-
exports.ResponseCodeError = ResponseCodeError;
|
|
94
|
-
exports.fetch = fetch;
|
|
95
|
-
exports.observeHttpStatus = observeHttpStatus;
|
package/lib/common/request.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
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 };
|
package/lib/common/request.js
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
-
var __publicField = (obj, key, value) => {
|
|
5
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6
|
-
return value;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
9
|
-
const fetch$1 = require("./fetch");
|
|
10
|
-
require("element-plus/es/components/message-box/style/css");
|
|
11
|
-
const elementPlus = require("element-plus");
|
|
12
|
-
require("element-plus/es/components/message/style/css");
|
|
13
|
-
async function fetch(input, init) {
|
|
14
|
-
try {
|
|
15
|
-
return await fetch$1.fetch(input, init);
|
|
16
|
-
} catch (e) {
|
|
17
|
-
if (e instanceof fetch$1.ResponseCodeError) {
|
|
18
|
-
throw new ResponseError(e);
|
|
19
|
-
} else {
|
|
20
|
-
throw e;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
function defaultErrorHandling(err) {
|
|
25
|
-
let rce;
|
|
26
|
-
let defaultMessage = "未知错误! 请联系管理员。";
|
|
27
|
-
if (err instanceof fetch$1.ResponseCodeError) {
|
|
28
|
-
rce = err;
|
|
29
|
-
} else if (err instanceof ResponseError) {
|
|
30
|
-
rce = err.cause;
|
|
31
|
-
defaultMessage = err.message || err.cause.errorMessage || defaultMessage;
|
|
32
|
-
}
|
|
33
|
-
if (rce) {
|
|
34
|
-
switch (rce.status) {
|
|
35
|
-
case 400:
|
|
36
|
-
elementPlus.ElMessage({
|
|
37
|
-
message: defaultMessage,
|
|
38
|
-
type: "error"
|
|
39
|
-
});
|
|
40
|
-
return true;
|
|
41
|
-
case 500:
|
|
42
|
-
elementPlus.ElMessage({
|
|
43
|
-
message: defaultMessage,
|
|
44
|
-
type: "error"
|
|
45
|
-
});
|
|
46
|
-
return true;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
return false;
|
|
50
|
-
}
|
|
51
|
-
class ResponseError extends Error {
|
|
52
|
-
constructor(cause) {
|
|
53
|
-
var _a, _b, _c, _d, _e, _f;
|
|
54
|
-
super();
|
|
55
|
-
__publicField(this, "cause");
|
|
56
|
-
__publicField(this, "error");
|
|
57
|
-
__publicField(this, "errorCode");
|
|
58
|
-
__publicField(this, "message");
|
|
59
|
-
__publicField(this, "path");
|
|
60
|
-
__publicField(this, "status");
|
|
61
|
-
__publicField(this, "timestamp");
|
|
62
|
-
this.cause = cause;
|
|
63
|
-
this.error = (_a = cause == null ? void 0 : cause.body) == null ? void 0 : _a.error;
|
|
64
|
-
this.errorCode = (_b = cause == null ? void 0 : cause.body) == null ? void 0 : _b.error_code;
|
|
65
|
-
this.message = (_c = cause == null ? void 0 : cause.body) == null ? void 0 : _c.message;
|
|
66
|
-
this.path = (_d = cause == null ? void 0 : cause.body) == null ? void 0 : _d.path;
|
|
67
|
-
this.status = (_e = cause == null ? void 0 : cause.body) == null ? void 0 : _e.status;
|
|
68
|
-
this.timestamp = (_f = cause == null ? void 0 : cause.body) == null ? void 0 : _f.timestamp;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
const createFetchInstance = (defaultConfig) => {
|
|
72
|
-
const { handler = defaultErrorHandling } = defaultConfig ?? {};
|
|
73
|
-
return function fetchWithDefaultErrorHandling(input, init) {
|
|
74
|
-
let errorHandler;
|
|
75
|
-
let callThen = true;
|
|
76
|
-
const result = fetch(input, init).catch((e) => {
|
|
77
|
-
if (errorHandler) {
|
|
78
|
-
callThen = !errorHandler(e);
|
|
79
|
-
} else {
|
|
80
|
-
callThen = !handler(e);
|
|
81
|
-
}
|
|
82
|
-
if (callThen) {
|
|
83
|
-
throw e;
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
const mergedResult = result;
|
|
87
|
-
mergedResult.onError = (handler2) => {
|
|
88
|
-
errorHandler = handler2;
|
|
89
|
-
return mergedResult;
|
|
90
|
-
};
|
|
91
|
-
const _then = mergedResult.then;
|
|
92
|
-
mergedResult.then = (onfulfilled, onrejected) => {
|
|
93
|
-
const fulfilled = (...args) => {
|
|
94
|
-
if (callThen) {
|
|
95
|
-
return onfulfilled(...args);
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
return _then.apply(mergedResult, [fulfilled, onrejected]);
|
|
99
|
-
};
|
|
100
|
-
return mergedResult;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
const fetchInstance = /* @__PURE__ */ createFetchInstance();
|
|
104
|
-
exports.ResponseError = ResponseError;
|
|
105
|
-
exports.createFetchInstance = createFetchInstance;
|
|
106
|
-
exports.defaultErrorHandling = defaultErrorHandling;
|
|
107
|
-
exports.fetch = fetchInstance;
|
package/lib/common/subject.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
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>;
|
package/lib/common/subject.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
-
var __publicField = (obj, key, value) => {
|
|
5
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6
|
-
return value;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
9
|
-
const rxjs = require("rxjs");
|
|
10
|
-
class SubjectHolder {
|
|
11
|
-
constructor(asyncGetData) {
|
|
12
|
-
__publicField(this, "subject", new rxjs.BehaviorSubject(void 0));
|
|
13
|
-
__publicField(this, "data");
|
|
14
|
-
__publicField(this, "asyncGetData");
|
|
15
|
-
__publicField(this, "sending", false);
|
|
16
|
-
if (asyncGetData) {
|
|
17
|
-
this.asyncGetData = asyncGetData;
|
|
18
|
-
}
|
|
19
|
-
this.subscribe((data) => {
|
|
20
|
-
this.data = data;
|
|
21
|
-
});
|
|
22
|
-
this.getData();
|
|
23
|
-
}
|
|
24
|
-
subscribe(callback) {
|
|
25
|
-
return this.subject.subscribe(callback);
|
|
26
|
-
}
|
|
27
|
-
async getData(callback) {
|
|
28
|
-
if (this.sending)
|
|
29
|
-
return;
|
|
30
|
-
if (this.asyncGetData) {
|
|
31
|
-
this.sending = true;
|
|
32
|
-
try {
|
|
33
|
-
const res = await this.asyncGetData();
|
|
34
|
-
this.subject.next(res);
|
|
35
|
-
callback && callback();
|
|
36
|
-
} catch (e) {
|
|
37
|
-
console.error(e);
|
|
38
|
-
}
|
|
39
|
-
this.sending = false;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
resetData() {
|
|
43
|
-
this.subject.next(void 0);
|
|
44
|
-
}
|
|
45
|
-
refreshData(callback) {
|
|
46
|
-
this.getData(callback);
|
|
47
|
-
}
|
|
48
|
-
current() {
|
|
49
|
-
return this.data;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
function lazyHolderSingletonGetter(supplier) {
|
|
53
|
-
let instance;
|
|
54
|
-
return () => {
|
|
55
|
-
if (!instance) {
|
|
56
|
-
instance = supplier();
|
|
57
|
-
}
|
|
58
|
-
return instance;
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
exports.SubjectHolder = SubjectHolder;
|
|
62
|
-
exports.lazyHolderSingletonGetter = lazyHolderSingletonGetter;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
.mx-alert[data-v-3f2a0ebe] {
|
|
2
|
-
padding: 9px 16px;
|
|
3
|
-
border: 1px solid rgba(74, 144, 226, 0.5);
|
|
4
|
-
}
|
|
5
|
-
.mx-alert .el-alert__icon[data-v-3f2a0ebe] {
|
|
6
|
-
font-size: 16px;
|
|
7
|
-
}
|
|
8
|
-
.mx-alert[data-v-3f2a0ebe] .el-alert__content {
|
|
9
|
-
line-height: 22px;
|
|
10
|
-
padding: 0;
|
|
11
|
-
}
|
|
12
|
-
.mx-alert[data-v-3f2a0ebe] .el-alert__content .el-alert__title {
|
|
13
|
-
--el-alert-title-font-size: 14px;
|
|
14
|
-
line-height: 22px;
|
|
15
|
-
display: flex;
|
|
16
|
-
}
|
|
17
|
-
.mx-alert[data-v-3f2a0ebe] .el-alert__content .el-icon {
|
|
18
|
-
margin-right: 8px;
|
|
19
|
-
height: 22px;
|
|
20
|
-
}
|
|
21
|
-
.mx-alert[data-v-3f2a0ebe] .el-alert__content .el-alert__description {
|
|
22
|
-
margin-left: 24px;
|
|
23
|
-
}
|
|
24
|
-
.mx-alert[data-v-3f2a0ebe] .el-alert__close-btn {
|
|
25
|
-
--el-alert-close-font-size: 12px;
|
|
26
|
-
top: 14px;
|
|
27
|
-
right: 16px;
|
|
28
|
-
}
|
|
29
|
-
.mx-alert.el-alert--success[data-v-3f2a0ebe] {
|
|
30
|
-
--el-color-success: #52c41a;
|
|
31
|
-
--el-alert-bg-color: rgba(82, 196, 26, 0.1);
|
|
32
|
-
border-color: rgba(82, 196, 26, 0.5);
|
|
33
|
-
}
|
|
34
|
-
.mx-alert.el-alert--error[data-v-3f2a0ebe] {
|
|
35
|
-
--el-color-error: #e64242;
|
|
36
|
-
--el-alert-bg-color: rgba(230, 66, 66, 0.1);
|
|
37
|
-
border-color: rgba(230, 66, 66, 0.5);
|
|
38
|
-
}
|
|
39
|
-
.mx-alert.el-alert--info[data-v-3f2a0ebe] {
|
|
40
|
-
--el-color-info: #4a90e2;
|
|
41
|
-
--el-alert-bg-color: rgba(74, 144, 226, 0.1);
|
|
42
|
-
}
|
|
43
|
-
.mx-alert.el-alert--warning[data-v-3f2a0ebe] {
|
|
44
|
-
--el-color-info: #faad14;
|
|
45
|
-
--el-alert-bg-color: rgba(250, 173, 20, 0.1);
|
|
46
|
-
border-color: rgba(250, 173, 20, 0.5);
|
|
47
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
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
|
-
};
|