@maxtropy/v-components 0.1.12-beta.5 → 0.1.12-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mx-vcomponents.es.js +3497 -3442
- package/dist/mx-vcomponents.umd.js +60 -0
- package/dist/types/common/request.d.ts +3 -3
- package/dist/types/components/alert/MxAlert.vue.d.ts +2 -2
- package/dist/types/components/authorizedpermission/AuthorizedPermission.vue.d.ts +1 -1
- package/dist/types/components/basiclayout/BasicLayout.vue.d.ts +5 -5
- package/dist/types/components/breadcrumb/BreadCrumb.vue.d.ts +4 -4
- package/dist/types/components/button/MxButton.vue.d.ts +18 -18
- package/dist/types/components/checkbox/MxCheckbox.vue.d.ts +4 -4
- package/dist/types/components/checkbox/MxCheckboxGroup.vue.d.ts +11 -11
- package/dist/types/components/checkbox/index.d.ts +1 -1
- package/dist/types/components/datePicker/MxDatePicker.vue.d.ts +2 -2
- package/dist/types/components/dialog/MxDialog.vue.d.ts +2 -2
- package/dist/types/components/empty/MxEmpty.vue.d.ts +2 -2
- package/dist/types/components/form/MxForm.vue.d.ts +28 -28
- package/dist/types/components/form/MxFormItem.vue.d.ts +4 -4
- package/dist/types/components/form/index.d.ts +5 -5
- package/dist/types/components/headnavigation/HeadNavigation.vue.d.ts +4 -4
- package/dist/types/components/headnavigation/MenuBar.vue.d.ts +5 -5
- package/dist/types/components/input/MxInput.vue.d.ts +2 -2
- package/dist/types/components/message/index.d.ts +2 -2
- package/dist/types/components/messageBox/index.d.ts +2 -2
- package/dist/types/components/messageBox/message.vue.d.ts +4 -4
- package/dist/types/components/pagination/MxPagination.vue.d.ts +2 -2
- package/dist/types/components/popconfirm/MxPopconfirm.vue.d.ts +1 -1
- package/dist/types/components/radio/MxRadio.vue.d.ts +11 -11
- package/dist/types/components/radio/MxRadioButton.vue.d.ts +9 -9
- package/dist/types/components/radio/MxRadioGroup.vue.d.ts +19 -19
- package/dist/types/components/radio/index.d.ts +2 -2
- package/dist/types/components/select/MxOption.vue.d.ts +2 -2
- package/dist/types/components/select/MxOptionGroup.vue.d.ts +2 -2
- package/dist/types/components/select/MxSelect.vue.d.ts +2 -2
- package/dist/types/components/select/index.d.ts +2 -2
- package/dist/types/components/sidermenu/SiderMenu.vue.d.ts +4 -4
- package/dist/types/components/slider/MxSlider.vue.d.ts +2 -2
- package/dist/types/components/steps/MxStep.vue.d.ts +2 -2
- package/dist/types/components/steps/MxSteps.vue.d.ts +2 -2
- package/dist/types/components/steps/index.d.ts +1 -1
- package/dist/types/components/switchstaff/SwitchStaff.vue.d.ts +4 -4
- package/dist/types/components/systemcontent/SystemContent.vue.d.ts +4 -4
- package/dist/types/components/table/MxTable.vue.d.ts +2 -2
- package/dist/types/components/table/MxTableColumn.vue.d.ts +2 -2
- package/dist/types/components/table/index.d.ts +1 -1
- package/dist/types/components/tabs/MxTabPane.vue.d.ts +2 -2
- package/dist/types/components/tabs/MxTabs.vue.d.ts +7 -7
- package/dist/types/components/tag/MxTag.vue.d.ts +2 -2
- package/dist/types/components/timePicker/MxTimePicker.vue.d.ts +2 -2
- package/dist/types/components/tooltip/MxTooltip.vue.d.ts +2 -2
- package/dist/types/components/tree/MxTree.vue.d.ts +2 -2
- package/dist/types/components/treeselect/MxTreeSelect.vue.d.ts +2 -2
- package/dist/types/components/upload/MxUpload.vue.d.ts +1 -1
- package/dist/types/components/upload/upload.d.ts +6 -6
- package/dist/types/components/upload/uploadList.vue.d.ts +1 -1
- package/dist/types/components/usercontent/UserContent.vue.d.ts +4 -4
- package/es/api/staff.d.ts +3 -0
- package/es/api/staff.js +11 -0
- package/es/api/tenant.d.ts +4 -0
- package/es/api/tenant.js +15 -0
- package/es/api/user.d.ts +24 -0
- package/es/api/user.js +20 -0
- package/es/assets/svg/ContainerSvg.vue.d.ts +2 -0
- package/es/assets/svg/ContainerSvg.vue.js +29 -0
- package/es/assets/svg/InfoCircleSvg.vue.d.ts +2 -0
- package/es/assets/svg/InfoCircleSvg.vue.js +31 -0
- package/es/assets/svg/InfoSvg.vue.d.ts +2 -0
- package/es/assets/svg/InfoSvg.vue.js +30 -0
- package/es/assets/svg/UploadSvg.vue.d.ts +2 -0
- package/es/assets/svg/UploadSvg.vue.js +29 -0
- package/es/common/const.d.ts +34 -0
- package/es/common/const.js +55 -0
- package/es/common/entity.d.ts +118 -0
- package/es/common/entity.js +32 -0
- package/es/common/fetch.d.ts +13 -0
- package/es/common/fetch.js +95 -0
- package/es/common/request.d.ts +30 -0
- package/es/common/request.js +107 -0
- package/es/common/subject.d.ts +20 -0
- package/es/common/subject.js +62 -0
- package/es/components/alert/MxAlert.css +47 -0
- package/es/components/alert/MxAlert.vue.d.ts +63 -0
- package/es/components/alert/MxAlert.vue.js +82 -0
- package/es/components/alert/index.d.ts +7 -0
- package/es/components/alert/index.js +8 -0
- package/es/components/authorizedpermission/AuthorizedPermission.css +14 -0
- package/es/components/authorizedpermission/AuthorizedPermission.vue.d.ts +10 -0
- package/es/components/authorizedpermission/AuthorizedPermission.vue.js +51 -0
- package/es/components/authorizedpermission/index.d.ts +7 -0
- package/es/components/authorizedpermission/index.js +8 -0
- package/es/components/basiclayout/BasicLayout.css +44 -0
- package/es/components/basiclayout/BasicLayout.vue.d.ts +45 -0
- package/es/components/basiclayout/BasicLayout.vue.js +64 -0
- package/es/components/basiclayout/index.d.ts +7 -0
- package/es/components/basiclayout/index.js +8 -0
- package/es/components/breadcrumb/BreadCrumb.css +20 -0
- package/es/components/breadcrumb/BreadCrumb.vue.d.ts +53 -0
- package/es/components/breadcrumb/BreadCrumb.vue.js +124 -0
- package/es/components/breadcrumb/index.d.ts +7 -0
- package/es/components/breadcrumb/index.js +8 -0
- package/es/components/button/MxButton.css +149 -0
- package/es/components/button/MxButton.vue.d.ts +107 -0
- package/es/components/button/MxButton.vue.js +76 -0
- package/es/components/button/index.d.ts +7 -0
- package/es/components/button/index.js +8 -0
- package/es/components/checkbox/MxCheckbox.css +35 -0
- package/es/components/checkbox/MxCheckbox.vue.d.ts +104 -0
- package/es/components/checkbox/MxCheckbox.vue.js +35 -0
- package/es/components/checkbox/MxCheckboxGroup.vue.d.ts +43 -0
- package/es/components/checkbox/MxCheckboxGroup.vue.js +26 -0
- package/es/components/checkbox/index.d.ts +351 -0
- package/es/components/checkbox/index.js +17 -0
- package/es/components/datePicker/MxDatePicker.css +586 -0
- package/es/components/datePicker/MxDatePicker.vue.d.ts +49 -0
- package/es/components/datePicker/MxDatePicker.vue.js +79 -0
- package/es/components/datePicker/index.d.ts +7 -0
- package/es/components/datePicker/index.js +8 -0
- package/es/components/dialog/MxDialog.css +62 -0
- package/es/components/dialog/MxDialog.vue.d.ts +164 -0
- package/es/components/dialog/MxDialog.vue.js +90 -0
- package/es/components/dialog/index.d.ts +7 -0
- package/es/components/dialog/index.js +8 -0
- package/es/components/dropdown/MxDropdown.css +30 -0
- package/es/components/dropdown/MxDropdown.vue.d.ts +71 -0
- package/es/components/dropdown/MxDropdown.vue.js +97 -0
- package/es/components/dropdown/index.d.ts +7 -0
- package/es/components/dropdown/index.js +8 -0
- package/es/components/ellipsisSpan/MxEllipsisSpan.css +3 -0
- package/es/components/ellipsisSpan/MxEllipsisSpan.vue.d.ts +42 -0
- package/es/components/ellipsisSpan/MxEllipsisSpan.vue.js +70 -0
- package/es/components/ellipsisSpan/index.d.ts +7 -0
- package/es/components/ellipsisSpan/index.js +8 -0
- package/es/components/empty/MxEmpty.css +10 -0
- package/es/components/empty/MxEmpty.vue.d.ts +7 -0
- package/es/components/empty/MxEmpty.vue.js +36 -0
- package/es/components/empty/index.d.ts +7 -0
- package/es/components/empty/index.js +8 -0
- package/es/components/form/MxForm.css +26 -0
- package/es/components/form/MxForm.vue.d.ts +123 -0
- package/es/components/form/MxForm.vue.js +99 -0
- package/es/components/form/MxFormItem.css +23 -0
- package/es/components/form/MxFormItem.vue.d.ts +94 -0
- package/es/components/form/MxFormItem.vue.js +63 -0
- package/es/components/form/index.d.ts +242 -0
- package/es/components/form/index.js +12 -0
- package/es/components/headnavigation/HeadNavigation.css +144 -0
- package/es/components/headnavigation/HeadNavigation.vue.d.ts +45 -0
- package/es/components/headnavigation/HeadNavigation.vue.js +201 -0
- package/es/components/headnavigation/MenuBar.css +113 -0
- package/es/components/headnavigation/MenuBar.vue.d.ts +35 -0
- package/es/components/headnavigation/MenuBar.vue.js +31 -0
- package/es/components/headnavigation/index.d.ts +7 -0
- package/es/components/headnavigation/index.js +8 -0
- package/es/components/index.d.ts +38 -0
- package/es/components/index.js +171 -0
- package/es/components/input/MxInput.css +54 -0
- package/es/components/input/MxInput.vue.d.ts +7 -0
- package/es/components/input/MxInput.vue.js +24 -0
- package/es/components/input/index.d.ts +7 -0
- package/es/components/input/index.js +8 -0
- package/es/components/message/index.d.ts +7 -0
- package/es/components/message/index.js +12 -0
- package/es/components/message/message.css +31 -0
- package/es/components/message/message.d.ts +4 -0
- package/es/components/message/message.js +42 -0
- package/es/components/messageBox/index.d.ts +7 -0
- package/es/components/messageBox/index.js +13 -0
- package/es/components/messageBox/message.vue.d.ts +48 -0
- package/es/components/messageBox/message.vue.js +58 -0
- package/es/components/messageBox/messageBox.css +160 -0
- package/es/components/messageBox/messageBox.d.ts +4 -0
- package/es/components/messageBox/messageBox.js +39 -0
- package/es/components/notification/index.d.ts +3 -0
- package/es/components/notification/index.js +7 -0
- package/es/components/notification/notification.css +58 -0
- package/es/components/notification/notification.d.ts +4 -0
- package/es/components/notification/notification.js +28 -0
- package/es/components/pagination/MxPagination.css +110 -0
- package/es/components/pagination/MxPagination.vue.d.ts +38 -0
- package/es/components/pagination/MxPagination.vue.js +53 -0
- package/es/components/pagination/index.d.ts +7 -0
- package/es/components/pagination/index.js +8 -0
- package/es/components/popconfirm/MxPopconfirm.css +26 -0
- package/es/components/popconfirm/MxPopconfirm.vue.d.ts +51 -0
- package/es/components/popconfirm/MxPopconfirm.vue.js +92 -0
- package/es/components/popconfirm/index.d.ts +7 -0
- package/es/components/popconfirm/index.js +8 -0
- package/es/components/radio/MxRadio.css +33 -0
- package/es/components/radio/MxRadio.vue.d.ts +36 -0
- package/es/components/radio/MxRadio.vue.js +35 -0
- package/es/components/radio/MxRadioButton.css +37 -0
- package/es/components/radio/MxRadioButton.vue.d.ts +31 -0
- package/es/components/radio/MxRadioButton.vue.js +33 -0
- package/es/components/radio/MxRadioGroup.vue.d.ts +45 -0
- package/es/components/radio/MxRadioGroup.vue.js +26 -0
- package/es/components/radio/index.d.ts +302 -0
- package/es/components/radio/index.js +16 -0
- package/es/components/select/MxOption.vue.d.ts +7 -0
- package/es/components/select/MxOption.vue.js +26 -0
- package/es/components/select/MxOptionGroup.vue.d.ts +7 -0
- package/es/components/select/MxOptionGroup.vue.js +23 -0
- package/es/components/select/MxSelect.css +91 -0
- package/es/components/select/MxSelect.vue.d.ts +7 -0
- package/es/components/select/MxSelect.vue.js +43 -0
- package/es/components/select/index.d.ts +191 -0
- package/es/components/select/index.js +16 -0
- package/es/components/sidermenu/HambShow.css +65 -0
- package/es/components/sidermenu/HambShow.vue.d.ts +16 -0
- package/es/components/sidermenu/HambShow.vue.js +76 -0
- package/es/components/sidermenu/SiderMenu.css +94 -0
- package/es/components/sidermenu/SiderMenu.vue.d.ts +46 -0
- package/es/components/sidermenu/SiderMenu.vue.js +246 -0
- package/es/components/sidermenu/index.d.ts +7 -0
- package/es/components/sidermenu/index.js +8 -0
- package/es/components/slider/MxSlider.css +54 -0
- package/es/components/slider/MxSlider.vue.d.ts +32 -0
- package/es/components/slider/MxSlider.vue.js +39 -0
- package/es/components/slider/index.d.ts +7 -0
- package/es/components/slider/index.js +8 -0
- package/es/components/steps/MxStep.css +572 -0
- package/es/components/steps/MxStep.vue.d.ts +7 -0
- package/es/components/steps/MxStep.vue.js +30 -0
- package/es/components/steps/MxSteps.vue.d.ts +29 -0
- package/es/components/steps/MxSteps.vue.js +40 -0
- package/es/components/steps/index.d.ts +99 -0
- package/es/components/steps/index.js +12 -0
- package/es/components/switch/MxSwitch.css +49 -0
- package/es/components/switch/MxSwitch.vue.d.ts +2 -0
- package/es/components/switch/MxSwitch.vue.js +23 -0
- package/es/components/switch/index.d.ts +7 -0
- package/es/components/switch/index.js +8 -0
- package/es/components/switchstaff/CustomSvg.vue.d.ts +2 -0
- package/es/components/switchstaff/CustomSvg.vue.js +28 -0
- package/es/components/switchstaff/SwitchStaff.css +132 -0
- package/es/components/switchstaff/SwitchStaff.vue.d.ts +32 -0
- package/es/components/switchstaff/SwitchStaff.vue.js +121 -0
- package/es/components/switchstaff/WarnSvg.vue.d.ts +2 -0
- package/es/components/switchstaff/WarnSvg.vue.js +28 -0
- package/es/components/switchstaff/index.d.ts +7 -0
- package/es/components/switchstaff/index.js +8 -0
- package/es/components/systemcontent/SystemContent.css +28 -0
- package/es/components/systemcontent/SystemContent.vue.d.ts +51 -0
- package/es/components/systemcontent/SystemContent.vue.js +91 -0
- package/es/components/systemcontent/index.d.ts +7 -0
- package/es/components/systemcontent/index.js +8 -0
- package/es/components/table/MxTable.css +190 -0
- package/es/components/table/MxTable.vue.d.ts +37 -0
- package/es/components/table/MxTable.vue.js +63 -0
- package/es/components/table/MxTableColumn.css +31 -0
- package/es/components/table/MxTableColumn.vue.d.ts +11 -0
- package/es/components/table/MxTableColumn.vue.js +28 -0
- package/es/components/table/index.d.ts +103 -0
- package/es/components/table/index.js +12 -0
- package/es/components/tabs/MxTabPane.vue.d.ts +7 -0
- package/es/components/tabs/MxTabPane.vue.js +26 -0
- package/es/components/tabs/MxTabs.css +132 -0
- package/es/components/tabs/MxTabs.vue.d.ts +37 -0
- package/es/components/tabs/MxTabs.vue.js +44 -0
- package/es/components/tag/MxTag.css +84 -0
- package/es/components/tag/MxTag.vue.d.ts +40 -0
- package/es/components/tag/MxTag.vue.js +96 -0
- package/es/components/tag/index.d.ts +7 -0
- package/es/components/tag/index.js +8 -0
- package/es/components/timePicker/MxTimePicker.css +180 -0
- package/es/components/timePicker/MxTimePicker.vue.d.ts +49 -0
- package/es/components/timePicker/MxTimePicker.vue.js +79 -0
- package/es/components/timePicker/index.d.ts +7 -0
- package/es/components/timePicker/index.js +8 -0
- package/es/components/tooltip/MxTooltip.css +17 -0
- package/es/components/tooltip/MxTooltip.vue.d.ts +7 -0
- package/es/components/tooltip/MxTooltip.vue.js +24 -0
- package/es/components/tooltip/index.d.ts +7 -0
- package/es/components/tooltip/index.js +8 -0
- package/es/components/tree/MxTree.css +56 -0
- package/es/components/tree/MxTree.vue.d.ts +7 -0
- package/es/components/tree/MxTree.vue.js +27 -0
- package/es/components/tree/index.d.ts +7 -0
- package/es/components/tree/index.js +8 -0
- package/es/components/treeselect/MxTreeSelect.css +111 -0
- package/es/components/treeselect/MxTreeSelect.vue.d.ts +7 -0
- package/es/components/treeselect/MxTreeSelect.vue.js +35 -0
- package/es/components/treeselect/index.d.ts +7 -0
- package/es/components/treeselect/index.js +8 -0
- package/es/components/upload/MxUpload.css +111 -0
- package/es/components/upload/MxUpload.vue.d.ts +111 -0
- package/es/components/upload/MxUpload.vue.js +311 -0
- package/es/components/upload/index.d.ts +7 -0
- package/es/components/upload/index.js +8 -0
- package/es/components/upload/upload.d.ts +139 -0
- package/es/components/upload/upload.js +11 -0
- package/es/components/upload/uploadList.css +70 -0
- package/es/components/upload/uploadList.vue.d.ts +15 -0
- package/es/components/upload/uploadList.vue.js +118 -0
- package/es/components/upload/use-handlers.d.ts +13 -0
- package/es/components/upload/use-handlers.js +54 -0
- package/es/components/usercontent/ArrowSvg.vue.d.ts +2 -0
- package/es/components/usercontent/ArrowSvg.vue.js +28 -0
- package/es/components/usercontent/UserContent.css +53 -0
- package/es/components/usercontent/UserContent.vue.d.ts +28 -0
- package/es/components/usercontent/UserContent.vue.js +134 -0
- package/es/components/usercontent/UserSvg.vue.d.ts +2 -0
- package/es/components/usercontent/UserSvg.vue.js +29 -0
- package/es/components/usercontent/index.d.ts +7 -0
- package/es/components/usercontent/index.js +8 -0
- package/es/constants/const.d.ts +1 -0
- package/es/constants/const.js +4 -0
- package/es/constants/index.d.ts +2 -0
- package/es/constants/index.js +4 -0
- package/es/env.d.ts +30 -0
- package/es/index.d.ts +13 -0
- package/es/index.js +17 -0
- package/es/utils/hooks.d.ts +23 -0
- package/es/utils/hooks.js +126 -0
- package/es/utils/index.d.ts +3 -0
- package/es/utils/index.js +6 -0
- package/es/utils/lib.d.ts +9 -0
- package/es/utils/lib.js +102 -0
- package/es/utils/micro.d.ts +12 -0
- package/es/utils/micro.js +128 -0
- package/lib/api/staff.d.ts +3 -0
- package/lib/api/staff.js +11 -0
- package/lib/api/tenant.d.ts +4 -0
- package/lib/api/tenant.js +15 -0
- package/lib/api/user.d.ts +24 -0
- package/lib/api/user.js +20 -0
- package/lib/assets/svg/ContainerSvg.vue.d.ts +2 -0
- package/lib/assets/svg/ContainerSvg.vue.js +28 -0
- package/lib/assets/svg/InfoCircleSvg.vue.d.ts +2 -0
- package/lib/assets/svg/InfoCircleSvg.vue.js +30 -0
- package/lib/assets/svg/InfoSvg.vue.d.ts +2 -0
- package/lib/assets/svg/InfoSvg.vue.js +29 -0
- package/lib/assets/svg/UploadSvg.vue.d.ts +2 -0
- package/lib/assets/svg/UploadSvg.vue.js +28 -0
- package/lib/common/const.d.ts +34 -0
- package/lib/common/const.js +55 -0
- package/lib/common/entity.d.ts +118 -0
- package/lib/common/entity.js +32 -0
- package/lib/common/fetch.d.ts +13 -0
- package/lib/common/fetch.js +95 -0
- package/lib/common/request.d.ts +30 -0
- package/lib/common/request.js +107 -0
- package/lib/common/subject.d.ts +20 -0
- package/lib/common/subject.js +62 -0
- package/lib/components/alert/MxAlert.css +47 -0
- package/lib/components/alert/MxAlert.vue.d.ts +63 -0
- package/lib/components/alert/MxAlert.vue.js +82 -0
- package/lib/components/alert/index.d.ts +7 -0
- package/lib/components/alert/index.js +6 -0
- package/lib/components/authorizedpermission/AuthorizedPermission.css +14 -0
- package/lib/components/authorizedpermission/AuthorizedPermission.vue.d.ts +10 -0
- package/lib/components/authorizedpermission/AuthorizedPermission.vue.js +50 -0
- package/lib/components/authorizedpermission/index.d.ts +7 -0
- package/lib/components/authorizedpermission/index.js +6 -0
- package/lib/components/basiclayout/BasicLayout.css +44 -0
- package/lib/components/basiclayout/BasicLayout.vue.d.ts +45 -0
- package/lib/components/basiclayout/BasicLayout.vue.js +63 -0
- package/lib/components/basiclayout/index.d.ts +7 -0
- package/lib/components/basiclayout/index.js +6 -0
- package/lib/components/breadcrumb/BreadCrumb.css +20 -0
- package/lib/components/breadcrumb/BreadCrumb.vue.d.ts +53 -0
- package/lib/components/breadcrumb/BreadCrumb.vue.js +123 -0
- package/lib/components/breadcrumb/index.d.ts +7 -0
- package/lib/components/breadcrumb/index.js +6 -0
- package/lib/components/button/MxButton.css +149 -0
- package/lib/components/button/MxButton.vue.d.ts +107 -0
- package/lib/components/button/MxButton.vue.js +75 -0
- package/lib/components/button/index.d.ts +7 -0
- package/lib/components/button/index.js +6 -0
- package/lib/components/checkbox/MxCheckbox.css +35 -0
- package/lib/components/checkbox/MxCheckbox.vue.d.ts +104 -0
- package/lib/components/checkbox/MxCheckbox.vue.js +34 -0
- package/lib/components/checkbox/MxCheckboxGroup.vue.d.ts +43 -0
- package/lib/components/checkbox/MxCheckboxGroup.vue.js +25 -0
- package/lib/components/checkbox/index.d.ts +351 -0
- package/lib/components/checkbox/index.js +16 -0
- package/lib/components/datePicker/MxDatePicker.css +586 -0
- package/lib/components/datePicker/MxDatePicker.vue.d.ts +49 -0
- package/lib/components/datePicker/MxDatePicker.vue.js +78 -0
- package/lib/components/datePicker/index.d.ts +7 -0
- package/lib/components/datePicker/index.js +6 -0
- package/lib/components/dialog/MxDialog.css +62 -0
- package/lib/components/dialog/MxDialog.vue.d.ts +164 -0
- package/lib/components/dialog/MxDialog.vue.js +89 -0
- package/lib/components/dialog/index.d.ts +7 -0
- package/lib/components/dialog/index.js +6 -0
- package/lib/components/dropdown/MxDropdown.css +30 -0
- package/lib/components/dropdown/MxDropdown.vue.d.ts +71 -0
- package/lib/components/dropdown/MxDropdown.vue.js +96 -0
- package/lib/components/dropdown/index.d.ts +7 -0
- package/lib/components/dropdown/index.js +6 -0
- package/lib/components/ellipsisSpan/MxEllipsisSpan.css +3 -0
- package/lib/components/ellipsisSpan/MxEllipsisSpan.vue.d.ts +42 -0
- package/lib/components/ellipsisSpan/MxEllipsisSpan.vue.js +69 -0
- package/lib/components/ellipsisSpan/index.d.ts +7 -0
- package/lib/components/ellipsisSpan/index.js +6 -0
- package/lib/components/empty/MxEmpty.css +10 -0
- package/lib/components/empty/MxEmpty.vue.d.ts +7 -0
- package/lib/components/empty/MxEmpty.vue.js +35 -0
- package/lib/components/empty/index.d.ts +7 -0
- package/lib/components/empty/index.js +6 -0
- package/lib/components/form/MxForm.css +26 -0
- package/lib/components/form/MxForm.vue.d.ts +123 -0
- package/lib/components/form/MxForm.vue.js +98 -0
- package/lib/components/form/MxFormItem.css +23 -0
- package/lib/components/form/MxFormItem.vue.d.ts +94 -0
- package/lib/components/form/MxFormItem.vue.js +63 -0
- package/lib/components/form/index.d.ts +242 -0
- package/lib/components/form/index.js +11 -0
- package/lib/components/headnavigation/HeadNavigation.css +144 -0
- package/lib/components/headnavigation/HeadNavigation.vue.d.ts +45 -0
- package/lib/components/headnavigation/HeadNavigation.vue.js +200 -0
- package/lib/components/headnavigation/MenuBar.css +113 -0
- package/lib/components/headnavigation/MenuBar.vue.d.ts +35 -0
- package/lib/components/headnavigation/MenuBar.vue.js +30 -0
- package/lib/components/headnavigation/index.d.ts +7 -0
- package/lib/components/headnavigation/index.js +6 -0
- package/lib/components/index.d.ts +38 -0
- package/lib/components/index.js +175 -0
- package/lib/components/input/MxInput.css +54 -0
- package/lib/components/input/MxInput.vue.d.ts +7 -0
- package/lib/components/input/MxInput.vue.js +23 -0
- package/lib/components/input/index.d.ts +7 -0
- package/lib/components/input/index.js +6 -0
- package/lib/components/message/index.d.ts +7 -0
- package/lib/components/message/index.js +12 -0
- package/lib/components/message/message.css +31 -0
- package/lib/components/message/message.d.ts +4 -0
- package/lib/components/message/message.js +41 -0
- package/lib/components/messageBox/index.d.ts +7 -0
- package/lib/components/messageBox/index.js +13 -0
- package/lib/components/messageBox/message.vue.d.ts +48 -0
- package/lib/components/messageBox/message.vue.js +57 -0
- package/lib/components/messageBox/messageBox.css +160 -0
- package/lib/components/messageBox/messageBox.d.ts +4 -0
- package/lib/components/messageBox/messageBox.js +38 -0
- package/lib/components/notification/index.d.ts +3 -0
- package/lib/components/notification/index.js +6 -0
- package/lib/components/notification/notification.css +58 -0
- package/lib/components/notification/notification.d.ts +4 -0
- package/lib/components/notification/notification.js +27 -0
- package/lib/components/pagination/MxPagination.css +110 -0
- package/lib/components/pagination/MxPagination.vue.d.ts +38 -0
- package/lib/components/pagination/MxPagination.vue.js +52 -0
- package/lib/components/pagination/index.d.ts +7 -0
- package/lib/components/pagination/index.js +6 -0
- package/lib/components/popconfirm/MxPopconfirm.css +26 -0
- package/lib/components/popconfirm/MxPopconfirm.vue.d.ts +51 -0
- package/lib/components/popconfirm/MxPopconfirm.vue.js +91 -0
- package/lib/components/popconfirm/index.d.ts +7 -0
- package/lib/components/popconfirm/index.js +6 -0
- package/lib/components/radio/MxRadio.css +33 -0
- package/lib/components/radio/MxRadio.vue.d.ts +36 -0
- package/lib/components/radio/MxRadio.vue.js +34 -0
- package/lib/components/radio/MxRadioButton.css +37 -0
- package/lib/components/radio/MxRadioButton.vue.d.ts +31 -0
- package/lib/components/radio/MxRadioButton.vue.js +32 -0
- package/lib/components/radio/MxRadioGroup.vue.d.ts +45 -0
- package/lib/components/radio/MxRadioGroup.vue.js +25 -0
- package/lib/components/radio/index.d.ts +302 -0
- package/lib/components/radio/index.js +15 -0
- package/lib/components/select/MxOption.vue.d.ts +7 -0
- package/lib/components/select/MxOption.vue.js +25 -0
- package/lib/components/select/MxOptionGroup.vue.d.ts +7 -0
- package/lib/components/select/MxOptionGroup.vue.js +22 -0
- package/lib/components/select/MxSelect.css +91 -0
- package/lib/components/select/MxSelect.vue.d.ts +7 -0
- package/lib/components/select/MxSelect.vue.js +42 -0
- package/lib/components/select/index.d.ts +191 -0
- package/lib/components/select/index.js +15 -0
- package/lib/components/sidermenu/HambShow.css +65 -0
- package/lib/components/sidermenu/HambShow.vue.d.ts +16 -0
- package/lib/components/sidermenu/HambShow.vue.js +75 -0
- package/lib/components/sidermenu/SiderMenu.css +94 -0
- package/lib/components/sidermenu/SiderMenu.vue.d.ts +46 -0
- package/lib/components/sidermenu/SiderMenu.vue.js +245 -0
- package/lib/components/sidermenu/index.d.ts +7 -0
- package/lib/components/sidermenu/index.js +6 -0
- package/lib/components/slider/MxSlider.css +54 -0
- package/lib/components/slider/MxSlider.vue.d.ts +32 -0
- package/lib/components/slider/MxSlider.vue.js +38 -0
- package/lib/components/slider/index.d.ts +7 -0
- package/lib/components/slider/index.js +6 -0
- package/lib/components/steps/MxStep.css +572 -0
- package/lib/components/steps/MxStep.vue.d.ts +7 -0
- package/lib/components/steps/MxStep.vue.js +29 -0
- package/lib/components/steps/MxSteps.vue.d.ts +29 -0
- package/lib/components/steps/MxSteps.vue.js +39 -0
- package/lib/components/steps/index.d.ts +99 -0
- package/lib/components/steps/index.js +11 -0
- package/lib/components/switch/MxSwitch.css +49 -0
- package/lib/components/switch/MxSwitch.vue.d.ts +2 -0
- package/lib/components/switch/MxSwitch.vue.js +22 -0
- package/lib/components/switch/index.d.ts +7 -0
- package/lib/components/switch/index.js +6 -0
- package/lib/components/switchstaff/CustomSvg.vue.d.ts +2 -0
- package/lib/components/switchstaff/CustomSvg.vue.js +27 -0
- package/lib/components/switchstaff/SwitchStaff.css +132 -0
- package/lib/components/switchstaff/SwitchStaff.vue.d.ts +32 -0
- package/lib/components/switchstaff/SwitchStaff.vue.js +120 -0
- package/lib/components/switchstaff/WarnSvg.vue.d.ts +2 -0
- package/lib/components/switchstaff/WarnSvg.vue.js +27 -0
- package/lib/components/switchstaff/index.d.ts +7 -0
- package/lib/components/switchstaff/index.js +6 -0
- package/lib/components/systemcontent/SystemContent.css +28 -0
- package/lib/components/systemcontent/SystemContent.vue.d.ts +51 -0
- package/lib/components/systemcontent/SystemContent.vue.js +90 -0
- package/lib/components/systemcontent/index.d.ts +7 -0
- package/lib/components/systemcontent/index.js +6 -0
- package/lib/components/table/MxTable.css +190 -0
- package/lib/components/table/MxTable.vue.d.ts +37 -0
- package/lib/components/table/MxTable.vue.js +62 -0
- package/lib/components/table/MxTableColumn.css +31 -0
- package/lib/components/table/MxTableColumn.vue.d.ts +11 -0
- package/lib/components/table/MxTableColumn.vue.js +27 -0
- package/lib/components/table/index.d.ts +103 -0
- package/lib/components/table/index.js +11 -0
- package/lib/components/tabs/MxTabPane.vue.d.ts +7 -0
- package/lib/components/tabs/MxTabPane.vue.js +25 -0
- package/lib/components/tabs/MxTabs.css +132 -0
- package/lib/components/tabs/MxTabs.vue.d.ts +37 -0
- package/lib/components/tabs/MxTabs.vue.js +43 -0
- package/lib/components/tag/MxTag.css +84 -0
- package/lib/components/tag/MxTag.vue.d.ts +40 -0
- package/lib/components/tag/MxTag.vue.js +95 -0
- package/lib/components/tag/index.d.ts +7 -0
- package/lib/components/tag/index.js +6 -0
- package/lib/components/timePicker/MxTimePicker.css +180 -0
- package/lib/components/timePicker/MxTimePicker.vue.d.ts +49 -0
- package/lib/components/timePicker/MxTimePicker.vue.js +78 -0
- package/lib/components/timePicker/index.d.ts +7 -0
- package/lib/components/timePicker/index.js +6 -0
- package/lib/components/tooltip/MxTooltip.css +17 -0
- package/lib/components/tooltip/MxTooltip.vue.d.ts +7 -0
- package/lib/components/tooltip/MxTooltip.vue.js +23 -0
- package/lib/components/tooltip/index.d.ts +7 -0
- package/lib/components/tooltip/index.js +6 -0
- package/lib/components/tree/MxTree.css +56 -0
- package/lib/components/tree/MxTree.vue.d.ts +7 -0
- package/lib/components/tree/MxTree.vue.js +26 -0
- package/lib/components/tree/index.d.ts +7 -0
- package/lib/components/tree/index.js +6 -0
- package/lib/components/treeselect/MxTreeSelect.css +111 -0
- package/lib/components/treeselect/MxTreeSelect.vue.d.ts +7 -0
- package/lib/components/treeselect/MxTreeSelect.vue.js +34 -0
- package/lib/components/treeselect/index.d.ts +7 -0
- package/lib/components/treeselect/index.js +6 -0
- package/lib/components/upload/MxUpload.css +111 -0
- package/lib/components/upload/MxUpload.vue.d.ts +111 -0
- package/lib/components/upload/MxUpload.vue.js +310 -0
- package/lib/components/upload/index.d.ts +7 -0
- package/lib/components/upload/index.js +6 -0
- package/lib/components/upload/upload.d.ts +139 -0
- package/lib/components/upload/upload.js +11 -0
- package/lib/components/upload/uploadList.css +70 -0
- package/lib/components/upload/uploadList.vue.d.ts +15 -0
- package/lib/components/upload/uploadList.vue.js +117 -0
- package/lib/components/upload/use-handlers.d.ts +13 -0
- package/lib/components/upload/use-handlers.js +54 -0
- package/lib/components/usercontent/ArrowSvg.vue.d.ts +2 -0
- package/lib/components/usercontent/ArrowSvg.vue.js +27 -0
- package/lib/components/usercontent/UserContent.css +53 -0
- package/lib/components/usercontent/UserContent.vue.d.ts +28 -0
- package/lib/components/usercontent/UserContent.vue.js +133 -0
- package/lib/components/usercontent/UserSvg.vue.d.ts +2 -0
- package/lib/components/usercontent/UserSvg.vue.js +28 -0
- package/lib/components/usercontent/index.d.ts +7 -0
- package/lib/components/usercontent/index.js +6 -0
- package/lib/constants/const.d.ts +1 -0
- package/lib/constants/const.js +4 -0
- package/lib/constants/index.d.ts +2 -0
- package/lib/constants/index.js +21 -0
- package/lib/env.d.ts +30 -0
- package/lib/index.d.ts +13 -0
- package/lib/index.js +82 -0
- package/lib/utils/hooks.d.ts +23 -0
- package/lib/utils/hooks.js +126 -0
- package/lib/utils/index.d.ts +3 -0
- package/lib/utils/index.js +6 -0
- package/lib/utils/lib.d.ts +9 -0
- package/lib/utils/lib.js +102 -0
- package/lib/utils/micro.d.ts +12 -0
- package/lib/utils/micro.js +128 -0
- package/package.json +8 -13
- package/dist/mx-vcomponents.es2.js +0 -70
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
.menu-item-bar {
|
|
2
|
+
-webkit-font-smoothing: initial;
|
|
3
|
+
}
|
|
4
|
+
.menu-item-bar .menu-content {
|
|
5
|
+
width: 5px;
|
|
6
|
+
background-color: #1b1b1b;
|
|
7
|
+
pointer-events: none;
|
|
8
|
+
position: relative;
|
|
9
|
+
}
|
|
10
|
+
.menu-item-bar .menu-dropdown-trigger {
|
|
11
|
+
color: rgba(255, 255, 255, 0.8);
|
|
12
|
+
}
|
|
13
|
+
.menu-item-bar .menu-dropdown-trigger:hover {
|
|
14
|
+
color: white;
|
|
15
|
+
}
|
|
16
|
+
.menu-actived-bar {
|
|
17
|
+
height: 30px;
|
|
18
|
+
line-height: 30px;
|
|
19
|
+
position: relative;
|
|
20
|
+
display: flex;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
margin: 0 -20px;
|
|
23
|
+
}
|
|
24
|
+
.menu-actived-bar::before, .menu-actived-bar::after {
|
|
25
|
+
content: "";
|
|
26
|
+
position: absolute;
|
|
27
|
+
opacity: 0.5;
|
|
28
|
+
width: 7px;
|
|
29
|
+
top: 0;
|
|
30
|
+
bottom: 0;
|
|
31
|
+
border: 1px solid #fff;
|
|
32
|
+
z-index: 1;
|
|
33
|
+
}
|
|
34
|
+
.menu-actived-bar::before {
|
|
35
|
+
left: 10px;
|
|
36
|
+
border-right: none;
|
|
37
|
+
}
|
|
38
|
+
.menu-actived-bar::after {
|
|
39
|
+
right: 10px;
|
|
40
|
+
border-left: none;
|
|
41
|
+
}
|
|
42
|
+
.menu-actived-bar .menu-content:first-child::before, .menu-actived-bar .menu-content:last-child::after {
|
|
43
|
+
content: "";
|
|
44
|
+
position: absolute;
|
|
45
|
+
opacity: 0.5;
|
|
46
|
+
width: 4px;
|
|
47
|
+
height: 4px;
|
|
48
|
+
top: 50%;
|
|
49
|
+
background: #fff;
|
|
50
|
+
border-radius: 50%;
|
|
51
|
+
z-index: 10;
|
|
52
|
+
margin-top: -2px;
|
|
53
|
+
}
|
|
54
|
+
.menu-actived-bar .menu-content:first-child::before {
|
|
55
|
+
left: 8px;
|
|
56
|
+
}
|
|
57
|
+
.menu-actived-bar .menu-content:last-child::after {
|
|
58
|
+
left: -8px;
|
|
59
|
+
}
|
|
60
|
+
.menu-actived-bar .menu-dropdown-trigger {
|
|
61
|
+
background-color: #4a90e2 !important;
|
|
62
|
+
color: #fff !important;
|
|
63
|
+
padding: 0 20px;
|
|
64
|
+
border-radius: 3px;
|
|
65
|
+
background: linear-gradient(270deg, #2cc4f9 0%, #0277bd 100%);
|
|
66
|
+
box-shadow: 0px 10px 15px 0px rgba(44, 196, 249, 0.26);
|
|
67
|
+
border-radius: 2px;
|
|
68
|
+
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.16);
|
|
69
|
+
font-weight: 600;
|
|
70
|
+
position: relative;
|
|
71
|
+
}
|
|
72
|
+
.menu-actived-bar .menu-dropdown-trigger::before, .menu-actived-bar .menu-dropdown-trigger::after {
|
|
73
|
+
content: "";
|
|
74
|
+
position: absolute;
|
|
75
|
+
opacity: 0.5;
|
|
76
|
+
border-radius: 1px;
|
|
77
|
+
width: 2px;
|
|
78
|
+
top: 0;
|
|
79
|
+
height: 100%;
|
|
80
|
+
background: #fff;
|
|
81
|
+
}
|
|
82
|
+
.menu-actived-bar .menu-dropdown-trigger::before {
|
|
83
|
+
left: 0;
|
|
84
|
+
}
|
|
85
|
+
.menu-actived-bar .menu-dropdown-trigger::after {
|
|
86
|
+
right: 0;
|
|
87
|
+
}
|
|
88
|
+
.el-menu--popup .menu-actived-bar {
|
|
89
|
+
background-color: #4a90e2;
|
|
90
|
+
width: 100%;
|
|
91
|
+
margin: 0;
|
|
92
|
+
height: 40px;
|
|
93
|
+
line-height: 40px;
|
|
94
|
+
}
|
|
95
|
+
.el-menu--popup .menu-actived-bar::before, .el-menu--popup .menu-actived-bar::after {
|
|
96
|
+
display: none;
|
|
97
|
+
}
|
|
98
|
+
.el-menu--popup .menu-actived-bar .menu-content {
|
|
99
|
+
background: transparent;
|
|
100
|
+
}
|
|
101
|
+
.el-menu--popup .menu-actived-bar .menu-content:first-child::before, .el-menu--popup .menu-actived-bar .menu-content:last-child::after {
|
|
102
|
+
display: none;
|
|
103
|
+
}
|
|
104
|
+
.el-menu--popup .menu-actived-bar .menu-dropdown-trigger {
|
|
105
|
+
background: transparent !important;
|
|
106
|
+
padding: 0 !important;
|
|
107
|
+
}
|
|
108
|
+
.el-menu--popup .menu-actived-bar .menu-dropdown-trigger::before, .el-menu--popup .menu-actived-bar .menu-dropdown-trigger::after {
|
|
109
|
+
display: none;
|
|
110
|
+
}
|
|
111
|
+
.el-menu--popup .menu-actived-bar .menu-dropdown-trigger:hover {
|
|
112
|
+
color: rgba(255, 255, 255, 0.8);
|
|
113
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
actived?: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
5
|
+
actived: boolean;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
7
|
+
actived: boolean;
|
|
8
|
+
}>>>, {
|
|
9
|
+
actived: boolean;
|
|
10
|
+
}, {}>, {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
type __VLS_WithDefaults<P, D> = {
|
|
24
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
25
|
+
default: D[K];
|
|
26
|
+
}> : P[K];
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Prettify<T> = {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} & {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const _hoisted_1 = { style: { "display": "flex" } };
|
|
4
|
+
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("div", { class: "menu-content" }, null, -1);
|
|
5
|
+
const _hoisted_3 = { class: "menu-dropdown-trigger menu-link" };
|
|
6
|
+
const _hoisted_4 = /* @__PURE__ */ vue.createElementVNode("div", { class: "menu-content" }, null, -1);
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
8
|
+
__name: "MenuBar",
|
|
9
|
+
props: {
|
|
10
|
+
actived: { type: Boolean, default: false }
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
return (_ctx, _cache) => {
|
|
15
|
+
return vue.openBlock(), vue.createElementBlock("span", {
|
|
16
|
+
class: vue.normalizeClass(["menu-item-bar", { "menu-actived-bar": props.actived }])
|
|
17
|
+
}, [
|
|
18
|
+
vue.createElementVNode("span", _hoisted_1, [
|
|
19
|
+
_hoisted_2,
|
|
20
|
+
vue.createElementVNode("span", _hoisted_3, [
|
|
21
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
22
|
+
]),
|
|
23
|
+
_hoisted_4
|
|
24
|
+
])
|
|
25
|
+
], 2);
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
const MenuBar_vue_vue_type_style_index_0_lang = "";
|
|
30
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import MxButton from './button';
|
|
2
|
+
import MxInput from './input';
|
|
3
|
+
import SwitchStaff from './switchstaff';
|
|
4
|
+
import HeadNavigation from './headnavigation';
|
|
5
|
+
import MxSwitch from './switch';
|
|
6
|
+
import MxSelect, { MxOption, MxOptionGroup } from './select';
|
|
7
|
+
import MxRadio, { MxRadioButton, MxRadioGroup } from './radio';
|
|
8
|
+
import MxCheckbox, { MxCheckboxButton, MxCheckboxGroup } from './checkbox';
|
|
9
|
+
import SiderMenu from './sidermenu';
|
|
10
|
+
import UserContent from './usercontent';
|
|
11
|
+
import SystemContent from './systemcontent';
|
|
12
|
+
import BreadCrumb from './breadcrumb';
|
|
13
|
+
import BasicLayout from './basiclayout';
|
|
14
|
+
import AuthorizedPermission from './authorizedpermission';
|
|
15
|
+
import { usePermission, useStaffTitle, useIntegratedAuthorityList } from '../utils/hooks';
|
|
16
|
+
import MxTooltip from './tooltip';
|
|
17
|
+
import MxDropdown from './dropdown';
|
|
18
|
+
import MxDialog from './dialog';
|
|
19
|
+
import MxAlert from './alert';
|
|
20
|
+
import MxSlider from './slider';
|
|
21
|
+
import MxDatePicker from './datePicker';
|
|
22
|
+
import MxTimePicker from './timePicker';
|
|
23
|
+
import MxPopconfirm from './popconfirm';
|
|
24
|
+
import MxTree from './tree';
|
|
25
|
+
import MxTreeSelect from './treeselect';
|
|
26
|
+
import MxUpload from './upload';
|
|
27
|
+
import MxEllipsisSpan from './ellipsisSpan';
|
|
28
|
+
import MxEmpty from './empty';
|
|
29
|
+
import MxSteps, { MxStep } from './steps';
|
|
30
|
+
import MxTag from './tag';
|
|
31
|
+
import MxTable, { MxTableColumn } from './table';
|
|
32
|
+
import MxPagination from './pagination';
|
|
33
|
+
import MxForm, { MxFormItem } from './form';
|
|
34
|
+
export { MxInput, MxButton, MxSwitch, MxSelect, MxOption, MxOptionGroup, MxRadio, MxRadioGroup, MxRadioButton, MxCheckbox, MxCheckboxButton, MxCheckboxGroup, SwitchStaff, HeadNavigation, SiderMenu, UserContent, SystemContent, BreadCrumb, BasicLayout, AuthorizedPermission, usePermission, useStaffTitle, useIntegratedAuthorityList, MxTooltip, MxDropdown, MxAlert, MxDialog, MxSlider, MxDatePicker, MxTimePicker, MxPopconfirm, MxTree, MxTreeSelect, MxUpload, MxEllipsisSpan, MxEmpty, MxSteps, MxStep, MxTag, MxTable, MxTableColumn, MxPagination, MxForm, MxFormItem, };
|
|
35
|
+
declare const _default: {
|
|
36
|
+
install: any;
|
|
37
|
+
};
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const MxButton = require("./button");
|
|
4
|
+
const MxInput = require("./input");
|
|
5
|
+
const SwitchStaff = require("./switchstaff");
|
|
6
|
+
const HeadNavigation = require("./headnavigation");
|
|
7
|
+
const MxSwitch = require("./switch");
|
|
8
|
+
const MxSelect = require("./select");
|
|
9
|
+
const MxRadio = require("./radio");
|
|
10
|
+
const MxCheckbox = require("./checkbox");
|
|
11
|
+
const SiderMenu = require("./sidermenu");
|
|
12
|
+
const UserContent = require("./usercontent");
|
|
13
|
+
const SystemContent = require("./systemcontent");
|
|
14
|
+
const BreadCrumb = require("./breadcrumb");
|
|
15
|
+
const BasicLayout = require("./basiclayout");
|
|
16
|
+
const AuthorizedPermission = require("./authorizedpermission");
|
|
17
|
+
const hooks = require("../utils/hooks");
|
|
18
|
+
const MxTooltip = require("./tooltip");
|
|
19
|
+
const MxDropdown = require("./dropdown");
|
|
20
|
+
const MxDialog = require("./dialog");
|
|
21
|
+
const MxAlert = require("./alert");
|
|
22
|
+
const MxTabs = require("./tabs/MxTabs.vue");
|
|
23
|
+
const MxTabPane = require("./tabs/MxTabPane.vue");
|
|
24
|
+
const MxSlider = require("./slider");
|
|
25
|
+
const MxDatePicker = require("./datePicker");
|
|
26
|
+
const MxTimePicker = require("./timePicker");
|
|
27
|
+
const MxPopconfirm = require("./popconfirm");
|
|
28
|
+
const MxTree = require("./tree");
|
|
29
|
+
const MxTreeSelect = require("./treeselect");
|
|
30
|
+
const MxUpload = require("./upload");
|
|
31
|
+
const MxEllipsisSpan = require("./ellipsisSpan");
|
|
32
|
+
const MxEmpty = require("./empty");
|
|
33
|
+
const MxSteps = require("./steps");
|
|
34
|
+
const MxTag = require("./tag");
|
|
35
|
+
const MxTable = require("./table");
|
|
36
|
+
const MxPagination = require("./pagination");
|
|
37
|
+
const MxForm = require("./form");
|
|
38
|
+
const components = {
|
|
39
|
+
MxInput,
|
|
40
|
+
MxButton,
|
|
41
|
+
MxSwitch,
|
|
42
|
+
MxRadio,
|
|
43
|
+
MxRadioGroup: MxRadio.MxRadioGroup,
|
|
44
|
+
MxRadioButton: MxRadio.MxRadioButton,
|
|
45
|
+
MxCheckbox,
|
|
46
|
+
MxCheckboxButton: MxCheckbox.MxCheckboxButton,
|
|
47
|
+
MxCheckboxGroup: MxCheckbox.MxCheckboxGroup,
|
|
48
|
+
MxSelect,
|
|
49
|
+
MxOption: MxSelect.MxOption,
|
|
50
|
+
MxOptionGroup: MxSelect.MxOptionGroup,
|
|
51
|
+
SwitchStaff,
|
|
52
|
+
HeadNavigation,
|
|
53
|
+
SiderMenu,
|
|
54
|
+
UserContent,
|
|
55
|
+
SystemContent,
|
|
56
|
+
BreadCrumb,
|
|
57
|
+
BasicLayout,
|
|
58
|
+
AuthorizedPermission,
|
|
59
|
+
MxTooltip,
|
|
60
|
+
MxDropdown,
|
|
61
|
+
MxDialog,
|
|
62
|
+
MxAlert,
|
|
63
|
+
MxTabs,
|
|
64
|
+
MxTabPane,
|
|
65
|
+
MxSlider,
|
|
66
|
+
MxDatePicker,
|
|
67
|
+
MxTimePicker,
|
|
68
|
+
MxPopconfirm,
|
|
69
|
+
MxTree,
|
|
70
|
+
MxTreeSelect,
|
|
71
|
+
MxUpload,
|
|
72
|
+
MxEllipsisSpan,
|
|
73
|
+
MxEmpty,
|
|
74
|
+
MxSteps,
|
|
75
|
+
MxStep: MxSteps.MxStep,
|
|
76
|
+
MxTag,
|
|
77
|
+
MxTable,
|
|
78
|
+
MxTableColumn: MxTable.MxTableColumn,
|
|
79
|
+
MxPagination,
|
|
80
|
+
MxForm,
|
|
81
|
+
MxFormItem: MxForm.MxFormItem
|
|
82
|
+
};
|
|
83
|
+
const installComponents = (app) => {
|
|
84
|
+
for (const key in components) {
|
|
85
|
+
app.component(key, components[key]);
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
const install = (app, router) => {
|
|
89
|
+
installComponents(app);
|
|
90
|
+
};
|
|
91
|
+
const index = {
|
|
92
|
+
// 导出的对象必须具有 install,才能被 Vue.use() 方法安装
|
|
93
|
+
install
|
|
94
|
+
};
|
|
95
|
+
exports.MxButton = MxButton;
|
|
96
|
+
exports.MxInput = MxInput;
|
|
97
|
+
exports.SwitchStaff = SwitchStaff;
|
|
98
|
+
exports.HeadNavigation = HeadNavigation;
|
|
99
|
+
exports.MxSwitch = MxSwitch;
|
|
100
|
+
Object.defineProperty(exports, "MxOption", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: () => MxSelect.MxOption
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "MxOptionGroup", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: () => MxSelect.MxOptionGroup
|
|
107
|
+
});
|
|
108
|
+
exports.MxSelect = MxSelect;
|
|
109
|
+
exports.MxRadio = MxRadio;
|
|
110
|
+
Object.defineProperty(exports, "MxRadioButton", {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: () => MxRadio.MxRadioButton
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, "MxRadioGroup", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: () => MxRadio.MxRadioGroup
|
|
117
|
+
});
|
|
118
|
+
exports.MxCheckbox = MxCheckbox;
|
|
119
|
+
Object.defineProperty(exports, "MxCheckboxButton", {
|
|
120
|
+
enumerable: true,
|
|
121
|
+
get: () => MxCheckbox.MxCheckboxButton
|
|
122
|
+
});
|
|
123
|
+
Object.defineProperty(exports, "MxCheckboxGroup", {
|
|
124
|
+
enumerable: true,
|
|
125
|
+
get: () => MxCheckbox.MxCheckboxGroup
|
|
126
|
+
});
|
|
127
|
+
exports.SiderMenu = SiderMenu;
|
|
128
|
+
exports.UserContent = UserContent;
|
|
129
|
+
exports.SystemContent = SystemContent;
|
|
130
|
+
exports.BreadCrumb = BreadCrumb;
|
|
131
|
+
exports.BasicLayout = BasicLayout;
|
|
132
|
+
exports.AuthorizedPermission = AuthorizedPermission;
|
|
133
|
+
Object.defineProperty(exports, "useIntegratedAuthorityList", {
|
|
134
|
+
enumerable: true,
|
|
135
|
+
get: () => hooks.useIntegratedAuthorityList
|
|
136
|
+
});
|
|
137
|
+
Object.defineProperty(exports, "usePermission", {
|
|
138
|
+
enumerable: true,
|
|
139
|
+
get: () => hooks.usePermission
|
|
140
|
+
});
|
|
141
|
+
Object.defineProperty(exports, "useStaffTitle", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: () => hooks.useStaffTitle
|
|
144
|
+
});
|
|
145
|
+
exports.MxTooltip = MxTooltip;
|
|
146
|
+
exports.MxDropdown = MxDropdown;
|
|
147
|
+
exports.MxDialog = MxDialog;
|
|
148
|
+
exports.MxAlert = MxAlert;
|
|
149
|
+
exports.MxSlider = MxSlider;
|
|
150
|
+
exports.MxDatePicker = MxDatePicker;
|
|
151
|
+
exports.MxTimePicker = MxTimePicker;
|
|
152
|
+
exports.MxPopconfirm = MxPopconfirm;
|
|
153
|
+
exports.MxTree = MxTree;
|
|
154
|
+
exports.MxTreeSelect = MxTreeSelect;
|
|
155
|
+
exports.MxUpload = MxUpload;
|
|
156
|
+
exports.MxEllipsisSpan = MxEllipsisSpan;
|
|
157
|
+
exports.MxEmpty = MxEmpty;
|
|
158
|
+
Object.defineProperty(exports, "MxStep", {
|
|
159
|
+
enumerable: true,
|
|
160
|
+
get: () => MxSteps.MxStep
|
|
161
|
+
});
|
|
162
|
+
exports.MxSteps = MxSteps;
|
|
163
|
+
exports.MxTag = MxTag;
|
|
164
|
+
exports.MxTable = MxTable;
|
|
165
|
+
Object.defineProperty(exports, "MxTableColumn", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: () => MxTable.MxTableColumn
|
|
168
|
+
});
|
|
169
|
+
exports.MxPagination = MxPagination;
|
|
170
|
+
exports.MxForm = MxForm;
|
|
171
|
+
Object.defineProperty(exports, "MxFormItem", {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: () => MxForm.MxFormItem
|
|
174
|
+
});
|
|
175
|
+
exports.default = index;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.mx-input.el-input,
|
|
2
|
+
.mx-input.el-textarea {
|
|
3
|
+
--el-input-border-color: rgba(0, 173, 255, 0.5);
|
|
4
|
+
--el-input-border-radius: 2px;
|
|
5
|
+
--el-input-bg-color: rgba(74, 144, 226, 0.16);
|
|
6
|
+
--el-input-hover-border-color: rgba(0, 173, 255, 0.8);
|
|
7
|
+
--el-input-text-color: rgba(255, 255, 255, 0.85);
|
|
8
|
+
--el-input-border-radius: 2px;
|
|
9
|
+
}
|
|
10
|
+
.mx-input.el-input.is-disabled {
|
|
11
|
+
--el-disabled-bg-color: rgba(255, 255, 255, 0.1);
|
|
12
|
+
--el-disabled-border-color: rgba(0, 173, 255, 0.5);
|
|
13
|
+
box-shadow: none;
|
|
14
|
+
}
|
|
15
|
+
.mx-input input::placeholder {
|
|
16
|
+
color: rgba(255, 255, 255, 0.45);
|
|
17
|
+
}
|
|
18
|
+
.mx-input .el-input-group__append {
|
|
19
|
+
--el-fill-color-light: #4a90e24d;
|
|
20
|
+
--el-color-info: rgba(255, 255, 255, 0.85);
|
|
21
|
+
padding: 0 12px;
|
|
22
|
+
}
|
|
23
|
+
.mx-input .el-input-group__prepend {
|
|
24
|
+
--el-fill-color-light: #4a90e24d;
|
|
25
|
+
--el-color-info: rgba(255, 255, 255, 0.85);
|
|
26
|
+
}
|
|
27
|
+
.mx-input .el-select {
|
|
28
|
+
--el-input-text-color: rgba(255, 255, 255, 0.85);
|
|
29
|
+
}
|
|
30
|
+
.mx-input .el-select:hover .el-input__wrapper {
|
|
31
|
+
--el-input-hover-border-color: #4a90e2;
|
|
32
|
+
}
|
|
33
|
+
.mx-input .el-select .el-input__wrapper {
|
|
34
|
+
--el-input-border-color: transparent;
|
|
35
|
+
}
|
|
36
|
+
.mx-input .el-input-group__append .el-select .el-input .el-input__wrapper {
|
|
37
|
+
box-shadow: none;
|
|
38
|
+
}
|
|
39
|
+
.mx-input .el-input-group__append .el-button,
|
|
40
|
+
.mx-input .el-input-group__append .el-select {
|
|
41
|
+
margin: 0 -12px;
|
|
42
|
+
}
|
|
43
|
+
.mx-input.el-textarea {
|
|
44
|
+
margin-bottom: 28px;
|
|
45
|
+
position: relative;
|
|
46
|
+
}
|
|
47
|
+
.mx-input.el-textarea .el-input__count {
|
|
48
|
+
position: absolute;
|
|
49
|
+
bottom: -24px;
|
|
50
|
+
right: 0px;
|
|
51
|
+
background-color: transparent;
|
|
52
|
+
color: rgba(255, 255, 255, 0.45);
|
|
53
|
+
line-height: 20px;
|
|
54
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Partial<Record<NonNullable<string | number>, (_: {}) => any>>>;
|
|
2
|
+
export default _default;
|
|
3
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
4
|
+
new (): {
|
|
5
|
+
$slots: S;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const elementPlus = require("element-plus");
|
|
4
|
+
require("element-plus/es/components/input/style/css");
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
6
|
+
__name: "MxInput",
|
|
7
|
+
setup(__props) {
|
|
8
|
+
return (_ctx, _cache) => {
|
|
9
|
+
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElInput), vue.mergeProps({ class: "mx-input" }, _ctx.$attrs), vue.createSlots({ _: 2 }, [
|
|
10
|
+
vue.renderList(_ctx.$slots, (item, key, index) => {
|
|
11
|
+
return {
|
|
12
|
+
name: key,
|
|
13
|
+
fn: vue.withCtx(() => [
|
|
14
|
+
vue.renderSlot(_ctx.$slots, key)
|
|
15
|
+
])
|
|
16
|
+
};
|
|
17
|
+
})
|
|
18
|
+
]), 1040);
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
const MxInput_vue_vue_type_style_index_0_lang = "";
|
|
23
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AppContext, Plugin } from 'vue';
|
|
2
|
+
type SFCWithInstall<T> = T & Plugin;
|
|
3
|
+
type SFCInstallWithContext<T> = SFCWithInstall<T> & {
|
|
4
|
+
_context: AppContext | null;
|
|
5
|
+
};
|
|
6
|
+
export declare const MxMessage: SFCInstallWithContext<import("element-plus").Message>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const Message = require("./message");
|
|
4
|
+
const withInstallFunction = (fn, name) => {
|
|
5
|
+
fn.install = (app) => {
|
|
6
|
+
fn._context = app._context;
|
|
7
|
+
app.config.globalProperties[name] = fn;
|
|
8
|
+
};
|
|
9
|
+
return fn;
|
|
10
|
+
};
|
|
11
|
+
const MxMessage = withInstallFunction(Message, "$mxMessage");
|
|
12
|
+
exports.MxMessage = MxMessage;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.mx-message.el-message {
|
|
2
|
+
max-width: 480px;
|
|
3
|
+
width: max-content;
|
|
4
|
+
padding: 9px 16px;
|
|
5
|
+
background: #1f1f1f;
|
|
6
|
+
border-color: #1f1f1f;
|
|
7
|
+
box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.2), 0px 6px 16px 0px rgba(0, 0, 0, 0.32), 0px 3px 6px -4px rgba(0, 0, 0, 0.48);
|
|
8
|
+
}
|
|
9
|
+
.mx-message.el-message .el-message__icon {
|
|
10
|
+
align-self: flex-start;
|
|
11
|
+
height: 22px;
|
|
12
|
+
font-size: 16px;
|
|
13
|
+
margin-right: 8px;
|
|
14
|
+
}
|
|
15
|
+
.mx-message.el-message .el-message-icon--error {
|
|
16
|
+
color: #e64242;
|
|
17
|
+
}
|
|
18
|
+
.mx-message.el-message .el-message-icon--success {
|
|
19
|
+
color: #52c41a;
|
|
20
|
+
}
|
|
21
|
+
.mx-message.el-message .el-message-icon--info {
|
|
22
|
+
color: #4a90e2;
|
|
23
|
+
}
|
|
24
|
+
.mx-message.el-message .el-message-icon--warning {
|
|
25
|
+
color: #faad14;
|
|
26
|
+
}
|
|
27
|
+
.mx-message.el-message .el-message__content {
|
|
28
|
+
font-size: 14px;
|
|
29
|
+
line-height: 22px;
|
|
30
|
+
color: rgba(255, 255, 255, 0.65);
|
|
31
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const elementPlus = require("element-plus");
|
|
4
|
+
require("element-plus/es/components/message/style/css");
|
|
5
|
+
const lodashEs = require("lodash-es");
|
|
6
|
+
const InfoSvg = require("../../assets/svg/InfoSvg.vue");
|
|
7
|
+
const index = "";
|
|
8
|
+
function transOptions(options) {
|
|
9
|
+
let content = options;
|
|
10
|
+
if (lodashEs.isString(options) || vue.isVNode(options) || lodashEs.isFunction(options)) {
|
|
11
|
+
content = { message: content, customClass: "mx-message" };
|
|
12
|
+
} else if (Object.prototype.toString.call(options) === "[object Object]") {
|
|
13
|
+
if (content.type === "info") {
|
|
14
|
+
content.icon = vue.markRaw(InfoSvg);
|
|
15
|
+
}
|
|
16
|
+
content.customClass = options.customClass ? `mx-message ${options.customClass}` : "mx-message";
|
|
17
|
+
}
|
|
18
|
+
return content;
|
|
19
|
+
}
|
|
20
|
+
const MxMessage = (options = {}, context) => {
|
|
21
|
+
return elementPlus.ElMessage(transOptions(options), context);
|
|
22
|
+
};
|
|
23
|
+
const info = (options, appContext) => {
|
|
24
|
+
return elementPlus.ElMessage.info(transOptions(options), appContext);
|
|
25
|
+
};
|
|
26
|
+
const success = (options, appContext) => {
|
|
27
|
+
return elementPlus.ElMessage.success(transOptions(options), appContext);
|
|
28
|
+
};
|
|
29
|
+
const warning = (options, appContext) => {
|
|
30
|
+
return elementPlus.ElMessage.warning(transOptions(options), appContext);
|
|
31
|
+
};
|
|
32
|
+
const error = (options, appContext) => {
|
|
33
|
+
return elementPlus.ElMessage.error(transOptions(options), appContext);
|
|
34
|
+
};
|
|
35
|
+
MxMessage.info = info;
|
|
36
|
+
MxMessage.success = success;
|
|
37
|
+
MxMessage.warning = warning;
|
|
38
|
+
MxMessage.error = error;
|
|
39
|
+
MxMessage.closeAll = elementPlus.ElMessage.closeAll;
|
|
40
|
+
MxMessage._context = elementPlus.ElMessage._context;
|
|
41
|
+
module.exports = MxMessage;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AppContext, Plugin } from 'vue';
|
|
2
|
+
type SFCWithInstall<T> = T & Plugin;
|
|
3
|
+
type SFCInstallWithContext<T> = SFCWithInstall<T> & {
|
|
4
|
+
_context: AppContext | null;
|
|
5
|
+
};
|
|
6
|
+
export declare const MxMessageBox: SFCInstallWithContext<import("element-plus").IElMessageBox>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const MessageBox = require("./messageBox");
|
|
4
|
+
const withInstallFunction = (fn, name) => {
|
|
5
|
+
fn.install = (app) => {
|
|
6
|
+
fn._context = app._context;
|
|
7
|
+
app.config.globalProperties[name] = fn;
|
|
8
|
+
};
|
|
9
|
+
return fn;
|
|
10
|
+
};
|
|
11
|
+
const _MxMessageBox = withInstallFunction(MessageBox, "$mxMessageBox");
|
|
12
|
+
const MxMessageBox = _MxMessageBox;
|
|
13
|
+
exports.MxMessageBox = MxMessageBox;
|