@maxtropy/v-components 0.1.12-beta.10 → 0.1.12-beta.11
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 +4001 -3990
- package/dist/mx-vcomponents.umd.js +60 -0
- package/dist/types/components/tag/MxTag.vue.d.ts +3 -3
- package/dist/types/components/upload/MxUpload.vue.d.ts +1 -1
- package/dist/types/utils/micro.d.ts +3 -0
- 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/images/notAuthorized.png +0 -0
- package/es/assets/images/tableNoData.png +0 -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/empty/no-data.png +0 -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/systemcontent/logo.png +0 -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 +310 -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/images/notAuthorized.png +0 -0
- package/lib/assets/images/tableNoData.png +0 -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/empty/no-data.png +0 -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/systemcontent/logo.png +0 -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 +309 -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 +9 -11
|
@@ -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,31 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot } from "vue";
|
|
2
|
+
const _hoisted_1 = { style: { "display": "flex" } };
|
|
3
|
+
const _hoisted_2 = /* @__PURE__ */ createElementVNode("div", { class: "menu-content" }, null, -1);
|
|
4
|
+
const _hoisted_3 = { class: "menu-dropdown-trigger menu-link" };
|
|
5
|
+
const _hoisted_4 = /* @__PURE__ */ createElementVNode("div", { class: "menu-content" }, null, -1);
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "MenuBar",
|
|
8
|
+
props: {
|
|
9
|
+
actived: { type: Boolean, default: false }
|
|
10
|
+
},
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
return (_ctx, _cache) => {
|
|
14
|
+
return openBlock(), createElementBlock("span", {
|
|
15
|
+
class: normalizeClass(["menu-item-bar", { "menu-actived-bar": props.actived }])
|
|
16
|
+
}, [
|
|
17
|
+
createElementVNode("span", _hoisted_1, [
|
|
18
|
+
_hoisted_2,
|
|
19
|
+
createElementVNode("span", _hoisted_3, [
|
|
20
|
+
renderSlot(_ctx.$slots, "default")
|
|
21
|
+
]),
|
|
22
|
+
_hoisted_4
|
|
23
|
+
])
|
|
24
|
+
], 2);
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
const MenuBar_vue_vue_type_style_index_0_lang = "";
|
|
29
|
+
export {
|
|
30
|
+
_sfc_main as default
|
|
31
|
+
};
|
|
@@ -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,171 @@
|
|
|
1
|
+
import MxButton from "./button";
|
|
2
|
+
import { default as default2 } from "./button";
|
|
3
|
+
import MxInput from "./input";
|
|
4
|
+
import { default as default3 } from "./input";
|
|
5
|
+
import SwitchStaff from "./switchstaff";
|
|
6
|
+
import { default as default4 } from "./switchstaff";
|
|
7
|
+
import HeadNavigation from "./headnavigation";
|
|
8
|
+
import { default as default5 } from "./headnavigation";
|
|
9
|
+
import MxSwitch from "./switch";
|
|
10
|
+
import { default as default6 } from "./switch";
|
|
11
|
+
import MxSelect, { MxOption, MxOptionGroup } from "./select";
|
|
12
|
+
import { MxOption as MxOption2, MxOptionGroup as MxOptionGroup2, default as default7 } from "./select";
|
|
13
|
+
import MxRadio, { MxRadioGroup, MxRadioButton } from "./radio";
|
|
14
|
+
import { default as default8, MxRadioButton as MxRadioButton2, MxRadioGroup as MxRadioGroup2 } from "./radio";
|
|
15
|
+
import MxCheckbox, { MxCheckboxButton, MxCheckboxGroup } from "./checkbox";
|
|
16
|
+
import { default as default9, MxCheckboxButton as MxCheckboxButton2, MxCheckboxGroup as MxCheckboxGroup2 } from "./checkbox";
|
|
17
|
+
import SiderMenu from "./sidermenu";
|
|
18
|
+
import { default as default10 } from "./sidermenu";
|
|
19
|
+
import UserContent from "./usercontent";
|
|
20
|
+
import { default as default11 } from "./usercontent";
|
|
21
|
+
import SystemContent from "./systemcontent";
|
|
22
|
+
import { default as default12 } from "./systemcontent";
|
|
23
|
+
import BreadCrumb from "./breadcrumb";
|
|
24
|
+
import { default as default13 } from "./breadcrumb";
|
|
25
|
+
import BasicLayout from "./basiclayout";
|
|
26
|
+
import { default as default14 } from "./basiclayout";
|
|
27
|
+
import AuthorizedPermission from "./authorizedpermission";
|
|
28
|
+
import { default as default15 } from "./authorizedpermission";
|
|
29
|
+
import { useIntegratedAuthorityList, usePermission, useStaffTitle } from "../utils/hooks";
|
|
30
|
+
import MxTooltip from "./tooltip";
|
|
31
|
+
import { default as default16 } from "./tooltip";
|
|
32
|
+
import MxDropdown from "./dropdown";
|
|
33
|
+
import { default as default17 } from "./dropdown";
|
|
34
|
+
import MxDialog from "./dialog";
|
|
35
|
+
import { default as default18 } from "./dialog";
|
|
36
|
+
import MxAlert from "./alert";
|
|
37
|
+
import { default as default19 } from "./alert";
|
|
38
|
+
import MxTabs from "./tabs/MxTabs.vue";
|
|
39
|
+
import MxTabPane from "./tabs/MxTabPane.vue";
|
|
40
|
+
import MxSlider from "./slider";
|
|
41
|
+
import { default as default20 } from "./slider";
|
|
42
|
+
import MxDatePicker from "./datePicker";
|
|
43
|
+
import { default as default21 } from "./datePicker";
|
|
44
|
+
import MxTimePicker from "./timePicker";
|
|
45
|
+
import { default as default22 } from "./timePicker";
|
|
46
|
+
import MxPopconfirm from "./popconfirm";
|
|
47
|
+
import { default as default23 } from "./popconfirm";
|
|
48
|
+
import MxTree from "./tree";
|
|
49
|
+
import { default as default24 } from "./tree";
|
|
50
|
+
import MxTreeSelect from "./treeselect";
|
|
51
|
+
import { default as default25 } from "./treeselect";
|
|
52
|
+
import MxUpload from "./upload";
|
|
53
|
+
import { default as default26 } from "./upload";
|
|
54
|
+
import MxEllipsisSpan from "./ellipsisSpan";
|
|
55
|
+
import { default as default27 } from "./ellipsisSpan";
|
|
56
|
+
import MxEmpty from "./empty";
|
|
57
|
+
import { default as default28 } from "./empty";
|
|
58
|
+
import MxSteps, { MxStep } from "./steps";
|
|
59
|
+
import { MxStep as MxStep2, default as default29 } from "./steps";
|
|
60
|
+
import MxTag from "./tag";
|
|
61
|
+
import { default as default30 } from "./tag";
|
|
62
|
+
import MxTable, { MxTableColumn } from "./table";
|
|
63
|
+
import { default as default31, MxTableColumn as MxTableColumn2 } from "./table";
|
|
64
|
+
import MxPagination from "./pagination";
|
|
65
|
+
import { default as default32 } from "./pagination";
|
|
66
|
+
import MxForm, { MxFormItem } from "./form";
|
|
67
|
+
import { default as default33, MxFormItem as MxFormItem2 } from "./form";
|
|
68
|
+
const components = {
|
|
69
|
+
MxInput,
|
|
70
|
+
MxButton,
|
|
71
|
+
MxSwitch,
|
|
72
|
+
MxRadio,
|
|
73
|
+
MxRadioGroup,
|
|
74
|
+
MxRadioButton,
|
|
75
|
+
MxCheckbox,
|
|
76
|
+
MxCheckboxButton,
|
|
77
|
+
MxCheckboxGroup,
|
|
78
|
+
MxSelect,
|
|
79
|
+
MxOption,
|
|
80
|
+
MxOptionGroup,
|
|
81
|
+
SwitchStaff,
|
|
82
|
+
HeadNavigation,
|
|
83
|
+
SiderMenu,
|
|
84
|
+
UserContent,
|
|
85
|
+
SystemContent,
|
|
86
|
+
BreadCrumb,
|
|
87
|
+
BasicLayout,
|
|
88
|
+
AuthorizedPermission,
|
|
89
|
+
MxTooltip,
|
|
90
|
+
MxDropdown,
|
|
91
|
+
MxDialog,
|
|
92
|
+
MxAlert,
|
|
93
|
+
MxTabs,
|
|
94
|
+
MxTabPane,
|
|
95
|
+
MxSlider,
|
|
96
|
+
MxDatePicker,
|
|
97
|
+
MxTimePicker,
|
|
98
|
+
MxPopconfirm,
|
|
99
|
+
MxTree,
|
|
100
|
+
MxTreeSelect,
|
|
101
|
+
MxUpload,
|
|
102
|
+
MxEllipsisSpan,
|
|
103
|
+
MxEmpty,
|
|
104
|
+
MxSteps,
|
|
105
|
+
MxStep,
|
|
106
|
+
MxTag,
|
|
107
|
+
MxTable,
|
|
108
|
+
MxTableColumn,
|
|
109
|
+
MxPagination,
|
|
110
|
+
MxForm,
|
|
111
|
+
MxFormItem
|
|
112
|
+
};
|
|
113
|
+
const installComponents = (app) => {
|
|
114
|
+
for (const key in components) {
|
|
115
|
+
app.component(key, components[key]);
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
const install = (app, router) => {
|
|
119
|
+
installComponents(app);
|
|
120
|
+
};
|
|
121
|
+
const index = {
|
|
122
|
+
// 导出的对象必须具有 install,才能被 Vue.use() 方法安装
|
|
123
|
+
install
|
|
124
|
+
};
|
|
125
|
+
export {
|
|
126
|
+
default15 as AuthorizedPermission,
|
|
127
|
+
default14 as BasicLayout,
|
|
128
|
+
default13 as BreadCrumb,
|
|
129
|
+
default5 as HeadNavigation,
|
|
130
|
+
default19 as MxAlert,
|
|
131
|
+
default2 as MxButton,
|
|
132
|
+
default9 as MxCheckbox,
|
|
133
|
+
MxCheckboxButton2 as MxCheckboxButton,
|
|
134
|
+
MxCheckboxGroup2 as MxCheckboxGroup,
|
|
135
|
+
default21 as MxDatePicker,
|
|
136
|
+
default18 as MxDialog,
|
|
137
|
+
default17 as MxDropdown,
|
|
138
|
+
default27 as MxEllipsisSpan,
|
|
139
|
+
default28 as MxEmpty,
|
|
140
|
+
default33 as MxForm,
|
|
141
|
+
MxFormItem2 as MxFormItem,
|
|
142
|
+
default3 as MxInput,
|
|
143
|
+
MxOption2 as MxOption,
|
|
144
|
+
MxOptionGroup2 as MxOptionGroup,
|
|
145
|
+
default32 as MxPagination,
|
|
146
|
+
default23 as MxPopconfirm,
|
|
147
|
+
default8 as MxRadio,
|
|
148
|
+
MxRadioButton2 as MxRadioButton,
|
|
149
|
+
MxRadioGroup2 as MxRadioGroup,
|
|
150
|
+
default7 as MxSelect,
|
|
151
|
+
default20 as MxSlider,
|
|
152
|
+
MxStep2 as MxStep,
|
|
153
|
+
default29 as MxSteps,
|
|
154
|
+
default6 as MxSwitch,
|
|
155
|
+
default31 as MxTable,
|
|
156
|
+
MxTableColumn2 as MxTableColumn,
|
|
157
|
+
default30 as MxTag,
|
|
158
|
+
default22 as MxTimePicker,
|
|
159
|
+
default16 as MxTooltip,
|
|
160
|
+
default24 as MxTree,
|
|
161
|
+
default25 as MxTreeSelect,
|
|
162
|
+
default26 as MxUpload,
|
|
163
|
+
default10 as SiderMenu,
|
|
164
|
+
default4 as SwitchStaff,
|
|
165
|
+
default12 as SystemContent,
|
|
166
|
+
default11 as UserContent,
|
|
167
|
+
index as default,
|
|
168
|
+
useIntegratedAuthorityList,
|
|
169
|
+
usePermission,
|
|
170
|
+
useStaffTitle
|
|
171
|
+
};
|
|
@@ -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,24 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, createSlots, renderList, withCtx, renderSlot } from "vue";
|
|
2
|
+
import { ElInput } from "element-plus";
|
|
3
|
+
import "element-plus/es/components/input/style/css";
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "MxInput",
|
|
6
|
+
setup(__props) {
|
|
7
|
+
return (_ctx, _cache) => {
|
|
8
|
+
return openBlock(), createBlock(unref(ElInput), mergeProps({ class: "mx-input" }, _ctx.$attrs), createSlots({ _: 2 }, [
|
|
9
|
+
renderList(_ctx.$slots, (item, key, index) => {
|
|
10
|
+
return {
|
|
11
|
+
name: key,
|
|
12
|
+
fn: withCtx(() => [
|
|
13
|
+
renderSlot(_ctx.$slots, key)
|
|
14
|
+
])
|
|
15
|
+
};
|
|
16
|
+
})
|
|
17
|
+
]), 1040);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
const MxInput_vue_vue_type_style_index_0_lang = "";
|
|
22
|
+
export {
|
|
23
|
+
_sfc_main as default
|
|
24
|
+
};
|
|
@@ -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
|
+
import Message from "./message";
|
|
2
|
+
const withInstallFunction = (fn, name) => {
|
|
3
|
+
fn.install = (app) => {
|
|
4
|
+
fn._context = app._context;
|
|
5
|
+
app.config.globalProperties[name] = fn;
|
|
6
|
+
};
|
|
7
|
+
return fn;
|
|
8
|
+
};
|
|
9
|
+
const MxMessage = withInstallFunction(Message, "$mxMessage");
|
|
10
|
+
export {
|
|
11
|
+
MxMessage
|
|
12
|
+
};
|
|
@@ -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,42 @@
|
|
|
1
|
+
import { isVNode, markRaw } from "vue";
|
|
2
|
+
import { ElMessage } from "element-plus";
|
|
3
|
+
import "element-plus/es/components/message/style/css";
|
|
4
|
+
import { isString, isFunction } from "lodash-es";
|
|
5
|
+
import InfoSvg from "../../assets/svg/InfoSvg.vue";
|
|
6
|
+
const index = "";
|
|
7
|
+
function transOptions(options) {
|
|
8
|
+
let content = options;
|
|
9
|
+
if (isString(options) || isVNode(options) || isFunction(options)) {
|
|
10
|
+
content = { message: content, customClass: "mx-message" };
|
|
11
|
+
} else if (Object.prototype.toString.call(options) === "[object Object]") {
|
|
12
|
+
if (content.type === "info") {
|
|
13
|
+
content.icon = markRaw(InfoSvg);
|
|
14
|
+
}
|
|
15
|
+
content.customClass = options.customClass ? `mx-message ${options.customClass}` : "mx-message";
|
|
16
|
+
}
|
|
17
|
+
return content;
|
|
18
|
+
}
|
|
19
|
+
const MxMessage = (options = {}, context) => {
|
|
20
|
+
return ElMessage(transOptions(options), context);
|
|
21
|
+
};
|
|
22
|
+
const info = (options, appContext) => {
|
|
23
|
+
return ElMessage.info(transOptions(options), appContext);
|
|
24
|
+
};
|
|
25
|
+
const success = (options, appContext) => {
|
|
26
|
+
return ElMessage.success(transOptions(options), appContext);
|
|
27
|
+
};
|
|
28
|
+
const warning = (options, appContext) => {
|
|
29
|
+
return ElMessage.warning(transOptions(options), appContext);
|
|
30
|
+
};
|
|
31
|
+
const error = (options, appContext) => {
|
|
32
|
+
return ElMessage.error(transOptions(options), appContext);
|
|
33
|
+
};
|
|
34
|
+
MxMessage.info = info;
|
|
35
|
+
MxMessage.success = success;
|
|
36
|
+
MxMessage.warning = warning;
|
|
37
|
+
MxMessage.error = error;
|
|
38
|
+
MxMessage.closeAll = ElMessage.closeAll;
|
|
39
|
+
MxMessage._context = ElMessage._context;
|
|
40
|
+
export {
|
|
41
|
+
MxMessage as default
|
|
42
|
+
};
|
|
@@ -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
|
+
import MessageBox from "./messageBox";
|
|
2
|
+
const withInstallFunction = (fn, name) => {
|
|
3
|
+
fn.install = (app) => {
|
|
4
|
+
fn._context = app._context;
|
|
5
|
+
app.config.globalProperties[name] = fn;
|
|
6
|
+
};
|
|
7
|
+
return fn;
|
|
8
|
+
};
|
|
9
|
+
const _MxMessageBox = withInstallFunction(MessageBox, "$mxMessageBox");
|
|
10
|
+
const MxMessageBox = _MxMessageBox;
|
|
11
|
+
export {
|
|
12
|
+
MxMessageBox
|
|
13
|
+
};
|