@maxtropy/v-components 0.1.12-beta.11 → 0.1.12-beta.12
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/package.json +11 -8
- package/dist/mx-vcomponents.umd.js +0 -60
- package/es/api/staff.d.ts +0 -3
- package/es/api/staff.js +0 -11
- package/es/api/tenant.d.ts +0 -4
- package/es/api/tenant.js +0 -15
- package/es/api/user.d.ts +0 -24
- package/es/api/user.js +0 -20
- package/es/assets/images/notAuthorized.png +0 -0
- package/es/assets/images/tableNoData.png +0 -0
- package/es/assets/svg/ContainerSvg.vue.d.ts +0 -2
- package/es/assets/svg/ContainerSvg.vue.js +0 -29
- package/es/assets/svg/InfoCircleSvg.vue.d.ts +0 -2
- package/es/assets/svg/InfoCircleSvg.vue.js +0 -31
- package/es/assets/svg/InfoSvg.vue.d.ts +0 -2
- package/es/assets/svg/InfoSvg.vue.js +0 -30
- package/es/assets/svg/UploadSvg.vue.d.ts +0 -2
- package/es/assets/svg/UploadSvg.vue.js +0 -29
- package/es/common/const.d.ts +0 -34
- package/es/common/const.js +0 -55
- package/es/common/entity.d.ts +0 -118
- package/es/common/entity.js +0 -32
- package/es/common/fetch.d.ts +0 -13
- package/es/common/fetch.js +0 -95
- package/es/common/request.d.ts +0 -30
- package/es/common/request.js +0 -107
- package/es/common/subject.d.ts +0 -20
- package/es/common/subject.js +0 -62
- package/es/components/alert/MxAlert.css +0 -47
- package/es/components/alert/MxAlert.vue.d.ts +0 -63
- package/es/components/alert/MxAlert.vue.js +0 -82
- package/es/components/alert/index.d.ts +0 -7
- package/es/components/alert/index.js +0 -8
- package/es/components/authorizedpermission/AuthorizedPermission.css +0 -14
- package/es/components/authorizedpermission/AuthorizedPermission.vue.d.ts +0 -10
- package/es/components/authorizedpermission/AuthorizedPermission.vue.js +0 -51
- package/es/components/authorizedpermission/index.d.ts +0 -7
- package/es/components/authorizedpermission/index.js +0 -8
- package/es/components/basiclayout/BasicLayout.css +0 -44
- package/es/components/basiclayout/BasicLayout.vue.d.ts +0 -45
- package/es/components/basiclayout/BasicLayout.vue.js +0 -64
- package/es/components/basiclayout/index.d.ts +0 -7
- package/es/components/basiclayout/index.js +0 -8
- package/es/components/breadcrumb/BreadCrumb.css +0 -20
- package/es/components/breadcrumb/BreadCrumb.vue.d.ts +0 -53
- package/es/components/breadcrumb/BreadCrumb.vue.js +0 -124
- package/es/components/breadcrumb/index.d.ts +0 -7
- package/es/components/breadcrumb/index.js +0 -8
- package/es/components/button/MxButton.css +0 -149
- package/es/components/button/MxButton.vue.d.ts +0 -107
- package/es/components/button/MxButton.vue.js +0 -76
- package/es/components/button/index.d.ts +0 -7
- package/es/components/button/index.js +0 -8
- package/es/components/checkbox/MxCheckbox.css +0 -35
- package/es/components/checkbox/MxCheckbox.vue.d.ts +0 -104
- package/es/components/checkbox/MxCheckbox.vue.js +0 -35
- package/es/components/checkbox/MxCheckboxGroup.vue.d.ts +0 -43
- package/es/components/checkbox/MxCheckboxGroup.vue.js +0 -26
- package/es/components/checkbox/index.d.ts +0 -351
- package/es/components/checkbox/index.js +0 -17
- package/es/components/datePicker/MxDatePicker.css +0 -586
- package/es/components/datePicker/MxDatePicker.vue.d.ts +0 -49
- package/es/components/datePicker/MxDatePicker.vue.js +0 -79
- package/es/components/datePicker/index.d.ts +0 -7
- package/es/components/datePicker/index.js +0 -8
- package/es/components/dialog/MxDialog.css +0 -62
- package/es/components/dialog/MxDialog.vue.d.ts +0 -164
- package/es/components/dialog/MxDialog.vue.js +0 -90
- package/es/components/dialog/index.d.ts +0 -7
- package/es/components/dialog/index.js +0 -8
- package/es/components/dropdown/MxDropdown.css +0 -30
- package/es/components/dropdown/MxDropdown.vue.d.ts +0 -71
- package/es/components/dropdown/MxDropdown.vue.js +0 -97
- package/es/components/dropdown/index.d.ts +0 -7
- package/es/components/dropdown/index.js +0 -8
- package/es/components/ellipsisSpan/MxEllipsisSpan.css +0 -3
- package/es/components/ellipsisSpan/MxEllipsisSpan.vue.d.ts +0 -42
- package/es/components/ellipsisSpan/MxEllipsisSpan.vue.js +0 -70
- package/es/components/ellipsisSpan/index.d.ts +0 -7
- package/es/components/ellipsisSpan/index.js +0 -8
- package/es/components/empty/MxEmpty.css +0 -10
- package/es/components/empty/MxEmpty.vue.d.ts +0 -7
- package/es/components/empty/MxEmpty.vue.js +0 -36
- package/es/components/empty/index.d.ts +0 -7
- package/es/components/empty/index.js +0 -8
- package/es/components/empty/no-data.png +0 -0
- package/es/components/form/MxForm.css +0 -26
- package/es/components/form/MxForm.vue.d.ts +0 -123
- package/es/components/form/MxForm.vue.js +0 -99
- package/es/components/form/MxFormItem.css +0 -23
- package/es/components/form/MxFormItem.vue.d.ts +0 -94
- package/es/components/form/MxFormItem.vue.js +0 -63
- package/es/components/form/index.d.ts +0 -242
- package/es/components/form/index.js +0 -12
- package/es/components/headnavigation/HeadNavigation.css +0 -144
- package/es/components/headnavigation/HeadNavigation.vue.d.ts +0 -45
- package/es/components/headnavigation/HeadNavigation.vue.js +0 -201
- package/es/components/headnavigation/MenuBar.css +0 -113
- package/es/components/headnavigation/MenuBar.vue.d.ts +0 -35
- package/es/components/headnavigation/MenuBar.vue.js +0 -31
- package/es/components/headnavigation/index.d.ts +0 -7
- package/es/components/headnavigation/index.js +0 -8
- package/es/components/index.d.ts +0 -38
- package/es/components/index.js +0 -171
- package/es/components/input/MxInput.css +0 -54
- package/es/components/input/MxInput.vue.d.ts +0 -7
- package/es/components/input/MxInput.vue.js +0 -24
- package/es/components/input/index.d.ts +0 -7
- package/es/components/input/index.js +0 -8
- package/es/components/message/index.d.ts +0 -7
- package/es/components/message/index.js +0 -12
- package/es/components/message/message.css +0 -31
- package/es/components/message/message.d.ts +0 -4
- package/es/components/message/message.js +0 -42
- package/es/components/messageBox/index.d.ts +0 -7
- package/es/components/messageBox/index.js +0 -13
- package/es/components/messageBox/message.vue.d.ts +0 -48
- package/es/components/messageBox/message.vue.js +0 -58
- package/es/components/messageBox/messageBox.css +0 -160
- package/es/components/messageBox/messageBox.d.ts +0 -4
- package/es/components/messageBox/messageBox.js +0 -39
- package/es/components/notification/index.d.ts +0 -3
- package/es/components/notification/index.js +0 -7
- package/es/components/notification/notification.css +0 -58
- package/es/components/notification/notification.d.ts +0 -4
- package/es/components/notification/notification.js +0 -28
- package/es/components/pagination/MxPagination.css +0 -110
- package/es/components/pagination/MxPagination.vue.d.ts +0 -38
- package/es/components/pagination/MxPagination.vue.js +0 -53
- package/es/components/pagination/index.d.ts +0 -7
- package/es/components/pagination/index.js +0 -8
- package/es/components/popconfirm/MxPopconfirm.css +0 -26
- package/es/components/popconfirm/MxPopconfirm.vue.d.ts +0 -51
- package/es/components/popconfirm/MxPopconfirm.vue.js +0 -92
- package/es/components/popconfirm/index.d.ts +0 -7
- package/es/components/popconfirm/index.js +0 -8
- package/es/components/radio/MxRadio.css +0 -33
- package/es/components/radio/MxRadio.vue.d.ts +0 -36
- package/es/components/radio/MxRadio.vue.js +0 -35
- package/es/components/radio/MxRadioButton.css +0 -37
- package/es/components/radio/MxRadioButton.vue.d.ts +0 -31
- package/es/components/radio/MxRadioButton.vue.js +0 -33
- package/es/components/radio/MxRadioGroup.vue.d.ts +0 -45
- package/es/components/radio/MxRadioGroup.vue.js +0 -26
- package/es/components/radio/index.d.ts +0 -302
- package/es/components/radio/index.js +0 -16
- package/es/components/select/MxOption.vue.d.ts +0 -7
- package/es/components/select/MxOption.vue.js +0 -26
- package/es/components/select/MxOptionGroup.vue.d.ts +0 -7
- package/es/components/select/MxOptionGroup.vue.js +0 -23
- package/es/components/select/MxSelect.css +0 -91
- package/es/components/select/MxSelect.vue.d.ts +0 -7
- package/es/components/select/MxSelect.vue.js +0 -43
- package/es/components/select/index.d.ts +0 -191
- package/es/components/select/index.js +0 -16
- package/es/components/sidermenu/HambShow.css +0 -65
- package/es/components/sidermenu/HambShow.vue.d.ts +0 -16
- package/es/components/sidermenu/HambShow.vue.js +0 -76
- package/es/components/sidermenu/SiderMenu.css +0 -94
- package/es/components/sidermenu/SiderMenu.vue.d.ts +0 -46
- package/es/components/sidermenu/SiderMenu.vue.js +0 -246
- package/es/components/sidermenu/index.d.ts +0 -7
- package/es/components/sidermenu/index.js +0 -8
- package/es/components/slider/MxSlider.css +0 -54
- package/es/components/slider/MxSlider.vue.d.ts +0 -32
- package/es/components/slider/MxSlider.vue.js +0 -39
- package/es/components/slider/index.d.ts +0 -7
- package/es/components/slider/index.js +0 -8
- package/es/components/steps/MxStep.css +0 -572
- package/es/components/steps/MxStep.vue.d.ts +0 -7
- package/es/components/steps/MxStep.vue.js +0 -30
- package/es/components/steps/MxSteps.vue.d.ts +0 -29
- package/es/components/steps/MxSteps.vue.js +0 -40
- package/es/components/steps/index.d.ts +0 -99
- package/es/components/steps/index.js +0 -12
- package/es/components/switch/MxSwitch.css +0 -49
- package/es/components/switch/MxSwitch.vue.d.ts +0 -2
- package/es/components/switch/MxSwitch.vue.js +0 -23
- package/es/components/switch/index.d.ts +0 -7
- package/es/components/switch/index.js +0 -8
- package/es/components/switchstaff/CustomSvg.vue.d.ts +0 -2
- package/es/components/switchstaff/CustomSvg.vue.js +0 -28
- package/es/components/switchstaff/SwitchStaff.css +0 -132
- package/es/components/switchstaff/SwitchStaff.vue.d.ts +0 -32
- package/es/components/switchstaff/SwitchStaff.vue.js +0 -121
- package/es/components/switchstaff/WarnSvg.vue.d.ts +0 -2
- package/es/components/switchstaff/WarnSvg.vue.js +0 -28
- package/es/components/switchstaff/index.d.ts +0 -7
- package/es/components/switchstaff/index.js +0 -8
- package/es/components/systemcontent/SystemContent.css +0 -28
- package/es/components/systemcontent/SystemContent.vue.d.ts +0 -51
- package/es/components/systemcontent/SystemContent.vue.js +0 -91
- package/es/components/systemcontent/index.d.ts +0 -7
- package/es/components/systemcontent/index.js +0 -8
- package/es/components/systemcontent/logo.png +0 -0
- package/es/components/table/MxTable.css +0 -190
- package/es/components/table/MxTable.vue.d.ts +0 -37
- package/es/components/table/MxTable.vue.js +0 -63
- package/es/components/table/MxTableColumn.css +0 -31
- package/es/components/table/MxTableColumn.vue.d.ts +0 -11
- package/es/components/table/MxTableColumn.vue.js +0 -28
- package/es/components/table/index.d.ts +0 -103
- package/es/components/table/index.js +0 -12
- package/es/components/tabs/MxTabPane.vue.d.ts +0 -7
- package/es/components/tabs/MxTabPane.vue.js +0 -26
- package/es/components/tabs/MxTabs.css +0 -132
- package/es/components/tabs/MxTabs.vue.d.ts +0 -37
- package/es/components/tabs/MxTabs.vue.js +0 -44
- package/es/components/tag/MxTag.css +0 -84
- package/es/components/tag/MxTag.vue.d.ts +0 -40
- package/es/components/tag/MxTag.vue.js +0 -96
- package/es/components/tag/index.d.ts +0 -7
- package/es/components/tag/index.js +0 -8
- package/es/components/timePicker/MxTimePicker.css +0 -180
- package/es/components/timePicker/MxTimePicker.vue.d.ts +0 -49
- package/es/components/timePicker/MxTimePicker.vue.js +0 -79
- package/es/components/timePicker/index.d.ts +0 -7
- package/es/components/timePicker/index.js +0 -8
- package/es/components/tooltip/MxTooltip.css +0 -17
- package/es/components/tooltip/MxTooltip.vue.d.ts +0 -7
- package/es/components/tooltip/MxTooltip.vue.js +0 -24
- package/es/components/tooltip/index.d.ts +0 -7
- package/es/components/tooltip/index.js +0 -8
- package/es/components/tree/MxTree.css +0 -56
- package/es/components/tree/MxTree.vue.d.ts +0 -7
- package/es/components/tree/MxTree.vue.js +0 -27
- package/es/components/tree/index.d.ts +0 -7
- package/es/components/tree/index.js +0 -8
- package/es/components/treeselect/MxTreeSelect.css +0 -111
- package/es/components/treeselect/MxTreeSelect.vue.d.ts +0 -7
- package/es/components/treeselect/MxTreeSelect.vue.js +0 -35
- package/es/components/treeselect/index.d.ts +0 -7
- package/es/components/treeselect/index.js +0 -8
- package/es/components/upload/MxUpload.css +0 -111
- package/es/components/upload/MxUpload.vue.d.ts +0 -111
- package/es/components/upload/MxUpload.vue.js +0 -310
- package/es/components/upload/index.d.ts +0 -7
- package/es/components/upload/index.js +0 -8
- package/es/components/upload/upload.d.ts +0 -139
- package/es/components/upload/upload.js +0 -11
- package/es/components/upload/uploadList.css +0 -70
- package/es/components/upload/uploadList.vue.d.ts +0 -15
- package/es/components/upload/uploadList.vue.js +0 -118
- package/es/components/upload/use-handlers.d.ts +0 -13
- package/es/components/upload/use-handlers.js +0 -54
- package/es/components/usercontent/ArrowSvg.vue.d.ts +0 -2
- package/es/components/usercontent/ArrowSvg.vue.js +0 -28
- package/es/components/usercontent/UserContent.css +0 -53
- package/es/components/usercontent/UserContent.vue.d.ts +0 -28
- package/es/components/usercontent/UserContent.vue.js +0 -134
- package/es/components/usercontent/UserSvg.vue.d.ts +0 -2
- package/es/components/usercontent/UserSvg.vue.js +0 -29
- package/es/components/usercontent/index.d.ts +0 -7
- package/es/components/usercontent/index.js +0 -8
- package/es/constants/const.d.ts +0 -1
- package/es/constants/const.js +0 -4
- package/es/constants/index.d.ts +0 -2
- package/es/constants/index.js +0 -4
- package/es/env.d.ts +0 -30
- package/es/index.d.ts +0 -13
- package/es/index.js +0 -17
- package/es/utils/hooks.d.ts +0 -23
- package/es/utils/hooks.js +0 -126
- package/es/utils/index.d.ts +0 -3
- package/es/utils/index.js +0 -6
- package/es/utils/lib.d.ts +0 -9
- package/es/utils/lib.js +0 -102
- package/es/utils/micro.d.ts +0 -12
- package/es/utils/micro.js +0 -128
- package/lib/api/staff.d.ts +0 -3
- package/lib/api/staff.js +0 -11
- package/lib/api/tenant.d.ts +0 -4
- package/lib/api/tenant.js +0 -15
- package/lib/api/user.d.ts +0 -24
- package/lib/api/user.js +0 -20
- package/lib/assets/images/notAuthorized.png +0 -0
- package/lib/assets/images/tableNoData.png +0 -0
- package/lib/assets/svg/ContainerSvg.vue.d.ts +0 -2
- package/lib/assets/svg/ContainerSvg.vue.js +0 -28
- package/lib/assets/svg/InfoCircleSvg.vue.d.ts +0 -2
- package/lib/assets/svg/InfoCircleSvg.vue.js +0 -30
- package/lib/assets/svg/InfoSvg.vue.d.ts +0 -2
- package/lib/assets/svg/InfoSvg.vue.js +0 -29
- package/lib/assets/svg/UploadSvg.vue.d.ts +0 -2
- package/lib/assets/svg/UploadSvg.vue.js +0 -28
- package/lib/common/const.d.ts +0 -34
- package/lib/common/const.js +0 -55
- package/lib/common/entity.d.ts +0 -118
- package/lib/common/entity.js +0 -32
- package/lib/common/fetch.d.ts +0 -13
- package/lib/common/fetch.js +0 -95
- package/lib/common/request.d.ts +0 -30
- package/lib/common/request.js +0 -107
- package/lib/common/subject.d.ts +0 -20
- package/lib/common/subject.js +0 -62
- package/lib/components/alert/MxAlert.css +0 -47
- package/lib/components/alert/MxAlert.vue.d.ts +0 -63
- package/lib/components/alert/MxAlert.vue.js +0 -82
- package/lib/components/alert/index.d.ts +0 -7
- package/lib/components/alert/index.js +0 -6
- package/lib/components/authorizedpermission/AuthorizedPermission.css +0 -14
- package/lib/components/authorizedpermission/AuthorizedPermission.vue.d.ts +0 -10
- package/lib/components/authorizedpermission/AuthorizedPermission.vue.js +0 -50
- package/lib/components/authorizedpermission/index.d.ts +0 -7
- package/lib/components/authorizedpermission/index.js +0 -6
- package/lib/components/basiclayout/BasicLayout.css +0 -44
- package/lib/components/basiclayout/BasicLayout.vue.d.ts +0 -45
- package/lib/components/basiclayout/BasicLayout.vue.js +0 -63
- package/lib/components/basiclayout/index.d.ts +0 -7
- package/lib/components/basiclayout/index.js +0 -6
- package/lib/components/breadcrumb/BreadCrumb.css +0 -20
- package/lib/components/breadcrumb/BreadCrumb.vue.d.ts +0 -53
- package/lib/components/breadcrumb/BreadCrumb.vue.js +0 -123
- package/lib/components/breadcrumb/index.d.ts +0 -7
- package/lib/components/breadcrumb/index.js +0 -6
- package/lib/components/button/MxButton.css +0 -149
- package/lib/components/button/MxButton.vue.d.ts +0 -107
- package/lib/components/button/MxButton.vue.js +0 -75
- package/lib/components/button/index.d.ts +0 -7
- package/lib/components/button/index.js +0 -6
- package/lib/components/checkbox/MxCheckbox.css +0 -35
- package/lib/components/checkbox/MxCheckbox.vue.d.ts +0 -104
- package/lib/components/checkbox/MxCheckbox.vue.js +0 -34
- package/lib/components/checkbox/MxCheckboxGroup.vue.d.ts +0 -43
- package/lib/components/checkbox/MxCheckboxGroup.vue.js +0 -25
- package/lib/components/checkbox/index.d.ts +0 -351
- package/lib/components/checkbox/index.js +0 -16
- package/lib/components/datePicker/MxDatePicker.css +0 -586
- package/lib/components/datePicker/MxDatePicker.vue.d.ts +0 -49
- package/lib/components/datePicker/MxDatePicker.vue.js +0 -78
- package/lib/components/datePicker/index.d.ts +0 -7
- package/lib/components/datePicker/index.js +0 -6
- package/lib/components/dialog/MxDialog.css +0 -62
- package/lib/components/dialog/MxDialog.vue.d.ts +0 -164
- package/lib/components/dialog/MxDialog.vue.js +0 -89
- package/lib/components/dialog/index.d.ts +0 -7
- package/lib/components/dialog/index.js +0 -6
- package/lib/components/dropdown/MxDropdown.css +0 -30
- package/lib/components/dropdown/MxDropdown.vue.d.ts +0 -71
- package/lib/components/dropdown/MxDropdown.vue.js +0 -96
- package/lib/components/dropdown/index.d.ts +0 -7
- package/lib/components/dropdown/index.js +0 -6
- package/lib/components/ellipsisSpan/MxEllipsisSpan.css +0 -3
- package/lib/components/ellipsisSpan/MxEllipsisSpan.vue.d.ts +0 -42
- package/lib/components/ellipsisSpan/MxEllipsisSpan.vue.js +0 -69
- package/lib/components/ellipsisSpan/index.d.ts +0 -7
- package/lib/components/ellipsisSpan/index.js +0 -6
- package/lib/components/empty/MxEmpty.css +0 -10
- package/lib/components/empty/MxEmpty.vue.d.ts +0 -7
- package/lib/components/empty/MxEmpty.vue.js +0 -35
- package/lib/components/empty/index.d.ts +0 -7
- package/lib/components/empty/index.js +0 -6
- package/lib/components/empty/no-data.png +0 -0
- package/lib/components/form/MxForm.css +0 -26
- package/lib/components/form/MxForm.vue.d.ts +0 -123
- package/lib/components/form/MxForm.vue.js +0 -98
- package/lib/components/form/MxFormItem.css +0 -23
- package/lib/components/form/MxFormItem.vue.d.ts +0 -94
- package/lib/components/form/MxFormItem.vue.js +0 -63
- package/lib/components/form/index.d.ts +0 -242
- package/lib/components/form/index.js +0 -11
- package/lib/components/headnavigation/HeadNavigation.css +0 -144
- package/lib/components/headnavigation/HeadNavigation.vue.d.ts +0 -45
- package/lib/components/headnavigation/HeadNavigation.vue.js +0 -200
- package/lib/components/headnavigation/MenuBar.css +0 -113
- package/lib/components/headnavigation/MenuBar.vue.d.ts +0 -35
- package/lib/components/headnavigation/MenuBar.vue.js +0 -30
- package/lib/components/headnavigation/index.d.ts +0 -7
- package/lib/components/headnavigation/index.js +0 -6
- package/lib/components/index.d.ts +0 -38
- package/lib/components/index.js +0 -175
- package/lib/components/input/MxInput.css +0 -54
- package/lib/components/input/MxInput.vue.d.ts +0 -7
- package/lib/components/input/MxInput.vue.js +0 -23
- package/lib/components/input/index.d.ts +0 -7
- package/lib/components/input/index.js +0 -6
- package/lib/components/message/index.d.ts +0 -7
- package/lib/components/message/index.js +0 -12
- package/lib/components/message/message.css +0 -31
- package/lib/components/message/message.d.ts +0 -4
- package/lib/components/message/message.js +0 -41
- package/lib/components/messageBox/index.d.ts +0 -7
- package/lib/components/messageBox/index.js +0 -13
- package/lib/components/messageBox/message.vue.d.ts +0 -48
- package/lib/components/messageBox/message.vue.js +0 -57
- package/lib/components/messageBox/messageBox.css +0 -160
- package/lib/components/messageBox/messageBox.d.ts +0 -4
- package/lib/components/messageBox/messageBox.js +0 -38
- package/lib/components/notification/index.d.ts +0 -3
- package/lib/components/notification/index.js +0 -6
- package/lib/components/notification/notification.css +0 -58
- package/lib/components/notification/notification.d.ts +0 -4
- package/lib/components/notification/notification.js +0 -27
- package/lib/components/pagination/MxPagination.css +0 -110
- package/lib/components/pagination/MxPagination.vue.d.ts +0 -38
- package/lib/components/pagination/MxPagination.vue.js +0 -52
- package/lib/components/pagination/index.d.ts +0 -7
- package/lib/components/pagination/index.js +0 -6
- package/lib/components/popconfirm/MxPopconfirm.css +0 -26
- package/lib/components/popconfirm/MxPopconfirm.vue.d.ts +0 -51
- package/lib/components/popconfirm/MxPopconfirm.vue.js +0 -91
- package/lib/components/popconfirm/index.d.ts +0 -7
- package/lib/components/popconfirm/index.js +0 -6
- package/lib/components/radio/MxRadio.css +0 -33
- package/lib/components/radio/MxRadio.vue.d.ts +0 -36
- package/lib/components/radio/MxRadio.vue.js +0 -34
- package/lib/components/radio/MxRadioButton.css +0 -37
- package/lib/components/radio/MxRadioButton.vue.d.ts +0 -31
- package/lib/components/radio/MxRadioButton.vue.js +0 -32
- package/lib/components/radio/MxRadioGroup.vue.d.ts +0 -45
- package/lib/components/radio/MxRadioGroup.vue.js +0 -25
- package/lib/components/radio/index.d.ts +0 -302
- package/lib/components/radio/index.js +0 -15
- package/lib/components/select/MxOption.vue.d.ts +0 -7
- package/lib/components/select/MxOption.vue.js +0 -25
- package/lib/components/select/MxOptionGroup.vue.d.ts +0 -7
- package/lib/components/select/MxOptionGroup.vue.js +0 -22
- package/lib/components/select/MxSelect.css +0 -91
- package/lib/components/select/MxSelect.vue.d.ts +0 -7
- package/lib/components/select/MxSelect.vue.js +0 -42
- package/lib/components/select/index.d.ts +0 -191
- package/lib/components/select/index.js +0 -15
- package/lib/components/sidermenu/HambShow.css +0 -65
- package/lib/components/sidermenu/HambShow.vue.d.ts +0 -16
- package/lib/components/sidermenu/HambShow.vue.js +0 -75
- package/lib/components/sidermenu/SiderMenu.css +0 -94
- package/lib/components/sidermenu/SiderMenu.vue.d.ts +0 -46
- package/lib/components/sidermenu/SiderMenu.vue.js +0 -245
- package/lib/components/sidermenu/index.d.ts +0 -7
- package/lib/components/sidermenu/index.js +0 -6
- package/lib/components/slider/MxSlider.css +0 -54
- package/lib/components/slider/MxSlider.vue.d.ts +0 -32
- package/lib/components/slider/MxSlider.vue.js +0 -38
- package/lib/components/slider/index.d.ts +0 -7
- package/lib/components/slider/index.js +0 -6
- package/lib/components/steps/MxStep.css +0 -572
- package/lib/components/steps/MxStep.vue.d.ts +0 -7
- package/lib/components/steps/MxStep.vue.js +0 -29
- package/lib/components/steps/MxSteps.vue.d.ts +0 -29
- package/lib/components/steps/MxSteps.vue.js +0 -39
- package/lib/components/steps/index.d.ts +0 -99
- package/lib/components/steps/index.js +0 -11
- package/lib/components/switch/MxSwitch.css +0 -49
- package/lib/components/switch/MxSwitch.vue.d.ts +0 -2
- package/lib/components/switch/MxSwitch.vue.js +0 -22
- package/lib/components/switch/index.d.ts +0 -7
- package/lib/components/switch/index.js +0 -6
- package/lib/components/switchstaff/CustomSvg.vue.d.ts +0 -2
- package/lib/components/switchstaff/CustomSvg.vue.js +0 -27
- package/lib/components/switchstaff/SwitchStaff.css +0 -132
- package/lib/components/switchstaff/SwitchStaff.vue.d.ts +0 -32
- package/lib/components/switchstaff/SwitchStaff.vue.js +0 -120
- package/lib/components/switchstaff/WarnSvg.vue.d.ts +0 -2
- package/lib/components/switchstaff/WarnSvg.vue.js +0 -27
- package/lib/components/switchstaff/index.d.ts +0 -7
- package/lib/components/switchstaff/index.js +0 -6
- package/lib/components/systemcontent/SystemContent.css +0 -28
- package/lib/components/systemcontent/SystemContent.vue.d.ts +0 -51
- package/lib/components/systemcontent/SystemContent.vue.js +0 -90
- package/lib/components/systemcontent/index.d.ts +0 -7
- package/lib/components/systemcontent/index.js +0 -6
- package/lib/components/systemcontent/logo.png +0 -0
- package/lib/components/table/MxTable.css +0 -190
- package/lib/components/table/MxTable.vue.d.ts +0 -37
- package/lib/components/table/MxTable.vue.js +0 -62
- package/lib/components/table/MxTableColumn.css +0 -31
- package/lib/components/table/MxTableColumn.vue.d.ts +0 -11
- package/lib/components/table/MxTableColumn.vue.js +0 -27
- package/lib/components/table/index.d.ts +0 -103
- package/lib/components/table/index.js +0 -11
- package/lib/components/tabs/MxTabPane.vue.d.ts +0 -7
- package/lib/components/tabs/MxTabPane.vue.js +0 -25
- package/lib/components/tabs/MxTabs.css +0 -132
- package/lib/components/tabs/MxTabs.vue.d.ts +0 -37
- package/lib/components/tabs/MxTabs.vue.js +0 -43
- package/lib/components/tag/MxTag.css +0 -84
- package/lib/components/tag/MxTag.vue.d.ts +0 -40
- package/lib/components/tag/MxTag.vue.js +0 -95
- package/lib/components/tag/index.d.ts +0 -7
- package/lib/components/tag/index.js +0 -6
- package/lib/components/timePicker/MxTimePicker.css +0 -180
- package/lib/components/timePicker/MxTimePicker.vue.d.ts +0 -49
- package/lib/components/timePicker/MxTimePicker.vue.js +0 -78
- package/lib/components/timePicker/index.d.ts +0 -7
- package/lib/components/timePicker/index.js +0 -6
- package/lib/components/tooltip/MxTooltip.css +0 -17
- package/lib/components/tooltip/MxTooltip.vue.d.ts +0 -7
- package/lib/components/tooltip/MxTooltip.vue.js +0 -23
- package/lib/components/tooltip/index.d.ts +0 -7
- package/lib/components/tooltip/index.js +0 -6
- package/lib/components/tree/MxTree.css +0 -56
- package/lib/components/tree/MxTree.vue.d.ts +0 -7
- package/lib/components/tree/MxTree.vue.js +0 -26
- package/lib/components/tree/index.d.ts +0 -7
- package/lib/components/tree/index.js +0 -6
- package/lib/components/treeselect/MxTreeSelect.css +0 -111
- package/lib/components/treeselect/MxTreeSelect.vue.d.ts +0 -7
- package/lib/components/treeselect/MxTreeSelect.vue.js +0 -34
- package/lib/components/treeselect/index.d.ts +0 -7
- package/lib/components/treeselect/index.js +0 -6
- package/lib/components/upload/MxUpload.css +0 -111
- package/lib/components/upload/MxUpload.vue.d.ts +0 -111
- package/lib/components/upload/MxUpload.vue.js +0 -309
- package/lib/components/upload/index.d.ts +0 -7
- package/lib/components/upload/index.js +0 -6
- package/lib/components/upload/upload.d.ts +0 -139
- package/lib/components/upload/upload.js +0 -11
- package/lib/components/upload/uploadList.css +0 -70
- package/lib/components/upload/uploadList.vue.d.ts +0 -15
- package/lib/components/upload/uploadList.vue.js +0 -117
- package/lib/components/upload/use-handlers.d.ts +0 -13
- package/lib/components/upload/use-handlers.js +0 -54
- package/lib/components/usercontent/ArrowSvg.vue.d.ts +0 -2
- package/lib/components/usercontent/ArrowSvg.vue.js +0 -27
- package/lib/components/usercontent/UserContent.css +0 -53
- package/lib/components/usercontent/UserContent.vue.d.ts +0 -28
- package/lib/components/usercontent/UserContent.vue.js +0 -133
- package/lib/components/usercontent/UserSvg.vue.d.ts +0 -2
- package/lib/components/usercontent/UserSvg.vue.js +0 -28
- package/lib/components/usercontent/index.d.ts +0 -7
- package/lib/components/usercontent/index.js +0 -6
- package/lib/constants/const.d.ts +0 -1
- package/lib/constants/const.js +0 -4
- package/lib/constants/index.d.ts +0 -2
- package/lib/constants/index.js +0 -21
- package/lib/env.d.ts +0 -30
- package/lib/index.d.ts +0 -13
- package/lib/index.js +0 -82
- package/lib/utils/hooks.d.ts +0 -23
- package/lib/utils/hooks.js +0 -126
- package/lib/utils/index.d.ts +0 -3
- package/lib/utils/index.js +0 -6
- package/lib/utils/lib.d.ts +0 -9
- package/lib/utils/lib.js +0 -102
- package/lib/utils/micro.d.ts +0 -12
- package/lib/utils/micro.js +0 -128
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { VNode } from 'vue';
|
|
2
|
-
interface Props {
|
|
3
|
-
message: string | VNode;
|
|
4
|
-
showCancelButton?: boolean;
|
|
5
|
-
showConfirmButton?: boolean;
|
|
6
|
-
confirmButtonText?: string;
|
|
7
|
-
cancelButtonText?: string;
|
|
8
|
-
closeOnClickModal?: boolean;
|
|
9
|
-
onVanish: () => void;
|
|
10
|
-
close: () => void;
|
|
11
|
-
}
|
|
12
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
13
|
-
showCancelButton: boolean;
|
|
14
|
-
showConfirmButton: boolean;
|
|
15
|
-
confirmButtonText: string;
|
|
16
|
-
cancelButtonText: string;
|
|
17
|
-
closeOnClickModal: boolean;
|
|
18
|
-
}>, {}, 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>, {
|
|
19
|
-
showCancelButton: boolean;
|
|
20
|
-
showConfirmButton: boolean;
|
|
21
|
-
confirmButtonText: string;
|
|
22
|
-
cancelButtonText: string;
|
|
23
|
-
closeOnClickModal: boolean;
|
|
24
|
-
}>>>, {
|
|
25
|
-
confirmButtonText: string;
|
|
26
|
-
cancelButtonText: string;
|
|
27
|
-
closeOnClickModal: boolean;
|
|
28
|
-
showCancelButton: boolean;
|
|
29
|
-
showConfirmButton: boolean;
|
|
30
|
-
}, {}>;
|
|
31
|
-
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
type __VLS_WithDefaults<P, D> = {
|
|
42
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
|
-
default: D[K];
|
|
44
|
-
}> : P[K];
|
|
45
|
-
};
|
|
46
|
-
type __VLS_Prettify<T> = {
|
|
47
|
-
[K in keyof T]: T[K];
|
|
48
|
-
} & {};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, Fragment, createTextVNode, toDisplayString, createElementVNode, createBlock, unref, withKeys, withModifiers, withCtx, createCommentVNode, withDirectives, createVNode, vShow } from "vue";
|
|
2
|
-
import ElButton from "../button";
|
|
3
|
-
const _hoisted_1 = { class: "mx-message-box-footer" };
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "message",
|
|
6
|
-
props: {
|
|
7
|
-
message: {},
|
|
8
|
-
showCancelButton: { type: Boolean, default: false },
|
|
9
|
-
showConfirmButton: { type: Boolean, default: true },
|
|
10
|
-
confirmButtonText: { default: "确定" },
|
|
11
|
-
cancelButtonText: { default: "取消" },
|
|
12
|
-
closeOnClickModal: { type: Boolean, default: false },
|
|
13
|
-
onVanish: {},
|
|
14
|
-
close: {}
|
|
15
|
-
},
|
|
16
|
-
setup(__props) {
|
|
17
|
-
const props = __props;
|
|
18
|
-
const handleAction = (action) => {
|
|
19
|
-
var _a;
|
|
20
|
-
(_a = props.close) == null ? void 0 : _a.call(props);
|
|
21
|
-
console.log("====================================");
|
|
22
|
-
console.log(props);
|
|
23
|
-
console.log("====================================");
|
|
24
|
-
};
|
|
25
|
-
return (_ctx, _cache) => {
|
|
26
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
27
|
-
createTextVNode(toDisplayString(_ctx.message) + " ", 1),
|
|
28
|
-
createElementVNode("div", _hoisted_1, [
|
|
29
|
-
_ctx.showCancelButton ? (openBlock(), createBlock(unref(ElButton), {
|
|
30
|
-
key: 0,
|
|
31
|
-
onClick: _cache[0] || (_cache[0] = ($event) => handleAction()),
|
|
32
|
-
onKeydown: _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => handleAction(), ["prevent"]), ["enter"]))
|
|
33
|
-
}, {
|
|
34
|
-
default: withCtx(() => [
|
|
35
|
-
createTextVNode(toDisplayString(_ctx.cancelButtonText), 1)
|
|
36
|
-
]),
|
|
37
|
-
_: 1
|
|
38
|
-
})) : createCommentVNode("", true),
|
|
39
|
-
withDirectives(createVNode(unref(ElButton), {
|
|
40
|
-
type: "primary",
|
|
41
|
-
onClick: _cache[2] || (_cache[2] = ($event) => handleAction()),
|
|
42
|
-
onKeydown: _cache[3] || (_cache[3] = withKeys(withModifiers(($event) => handleAction(), ["prevent"]), ["enter"]))
|
|
43
|
-
}, {
|
|
44
|
-
default: withCtx(() => [
|
|
45
|
-
createTextVNode(toDisplayString(_ctx.confirmButtonText), 1)
|
|
46
|
-
]),
|
|
47
|
-
_: 1
|
|
48
|
-
}, 512), [
|
|
49
|
-
[vShow, _ctx.showConfirmButton]
|
|
50
|
-
])
|
|
51
|
-
])
|
|
52
|
-
], 64);
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
export {
|
|
57
|
-
_sfc_main as default
|
|
58
|
-
};
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
.mx-message-box.el-message-box {
|
|
2
|
-
position: relative;
|
|
3
|
-
top: 84px;
|
|
4
|
-
vertical-align: top;
|
|
5
|
-
color: rgba(255, 255, 255, 0.85);
|
|
6
|
-
padding: 32px 16px 16px 32px;
|
|
7
|
-
border: none;
|
|
8
|
-
width: 380px;
|
|
9
|
-
border-radius: 2px;
|
|
10
|
-
background: linear-gradient(180deg, #2a2a2a 0%, #1f1f1f 100%);
|
|
11
|
-
box-shadow: 0px 12px 48px 16px rgba(0, 0, 0, 0.12), 0px 9px 28px 0px rgba(0, 0, 0, 0.2), 0px 6px 16px -8px rgba(0, 0, 0, 0.32);
|
|
12
|
-
}
|
|
13
|
-
.mx-message-box.el-message-box .el-icon .el-message-box__status {
|
|
14
|
-
align-self: flex-start;
|
|
15
|
-
height: 24px;
|
|
16
|
-
font-size: 21px;
|
|
17
|
-
margin-right: 8px;
|
|
18
|
-
}
|
|
19
|
-
.mx-message-box.el-message-box .el-message-box-icon--error {
|
|
20
|
-
color: #e64242;
|
|
21
|
-
}
|
|
22
|
-
.mx-message-box.el-message-box .el-message-box-icon--success {
|
|
23
|
-
color: #52c41a;
|
|
24
|
-
}
|
|
25
|
-
.mx-message-box.el-message-box .el-message-box-icon--info {
|
|
26
|
-
color: #4a90e2;
|
|
27
|
-
}
|
|
28
|
-
.mx-message-box.el-message-box .el-message-box-icon--warning {
|
|
29
|
-
color: #faad14;
|
|
30
|
-
}
|
|
31
|
-
.mx-message-box.el-message-box.mx-message-box-confirm {
|
|
32
|
-
padding-right: 32px;
|
|
33
|
-
padding-bottom: 24px;
|
|
34
|
-
width: 480px;
|
|
35
|
-
max-width: 480px;
|
|
36
|
-
}
|
|
37
|
-
.mx-message-box.el-message-box::before {
|
|
38
|
-
display: block;
|
|
39
|
-
content: "";
|
|
40
|
-
height: 2px;
|
|
41
|
-
position: absolute;
|
|
42
|
-
top: 0;
|
|
43
|
-
left: 0;
|
|
44
|
-
width: 100%;
|
|
45
|
-
background: linear-gradient(90deg, #057abf 0%, #2cc4f9 100%);
|
|
46
|
-
}
|
|
47
|
-
.mx-message-box.el-message-box .el-message-box__header {
|
|
48
|
-
padding: 0 0 12px 40px;
|
|
49
|
-
}
|
|
50
|
-
.mx-message-box.el-message-box .el-message-box__title {
|
|
51
|
-
color: rgba(255, 255, 255, 0.85);
|
|
52
|
-
font-size: 16px;
|
|
53
|
-
font-weight: 500;
|
|
54
|
-
line-height: 24px;
|
|
55
|
-
}
|
|
56
|
-
.mx-message-box.el-message-box .el-message-box__status.el-icon {
|
|
57
|
-
top: -24px;
|
|
58
|
-
}
|
|
59
|
-
.mx-message-box.el-message-box .el-message-box__content {
|
|
60
|
-
padding: 0;
|
|
61
|
-
color: rgba(255, 255, 255, 0.65);
|
|
62
|
-
}
|
|
63
|
-
.mx-message-box.el-message-box .el-message-box__message p {
|
|
64
|
-
line-height: 22px;
|
|
65
|
-
}
|
|
66
|
-
.mx-message-box.el-message-box .mx-message-box-footer {
|
|
67
|
-
padding: 16px 0 0;
|
|
68
|
-
display: flex;
|
|
69
|
-
justify-content: flex-end;
|
|
70
|
-
align-items: center;
|
|
71
|
-
}
|
|
72
|
-
.mx-message-box.el-message-box .mx-message-box-footer .mx-button {
|
|
73
|
-
margin-left: 8px;
|
|
74
|
-
}
|
|
75
|
-
.mx-message-box.el-message-box .el-message-box__btns {
|
|
76
|
-
padding: 18px 0 0 0;
|
|
77
|
-
}
|
|
78
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button {
|
|
79
|
-
--el-button-hover-text-color: #6ba3da;
|
|
80
|
-
--el-button-hover-border-color: #4a90e2;
|
|
81
|
-
--el-button-active-text-color: #37659a;
|
|
82
|
-
--el-button-active-border-color: #3570bd;
|
|
83
|
-
--el-button-border-color: rgba(255, 255, 255, 0.2);
|
|
84
|
-
--el-button-text-color: rgba(255, 255, 255, 0.85);
|
|
85
|
-
--el-fill-color-blank: #232324;
|
|
86
|
-
--el-button-hover-bg-color: rgba(255, 255, 255, 0.1);
|
|
87
|
-
padding: 5px 16px;
|
|
88
|
-
box-shadow: 0 2px 0 rgba(255, 255, 255, 0.04);
|
|
89
|
-
--el-border-radius-base: 2px;
|
|
90
|
-
}
|
|
91
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button.is-disabled {
|
|
92
|
-
--el-button-disabled-text-color: rgba(255, 255, 255, 0.3);
|
|
93
|
-
--el-button-disabled-border-color: rgba(255, 255, 255, 0.2);
|
|
94
|
-
}
|
|
95
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button--primary {
|
|
96
|
-
--el-button-text-color: #fff;
|
|
97
|
-
--el-button-hover-text-color: #fff;
|
|
98
|
-
--el-button-active-text-color: #fff;
|
|
99
|
-
box-shadow: 0 10px 15px #2cc4f942;
|
|
100
|
-
--el-button-bg-color: linear-gradient(90deg, #057abf 0%, #2cc4f9 100%);
|
|
101
|
-
--el-border: none;
|
|
102
|
-
background: var(--el-button-bg-color);
|
|
103
|
-
padding: 5px 14px;
|
|
104
|
-
}
|
|
105
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button--primary.is-disabled {
|
|
106
|
-
background: linear-gradient(90deg, #004173 0%, #0e78ad 100%);
|
|
107
|
-
color: rgba(255, 255, 255, 0.3);
|
|
108
|
-
box-shadow: none;
|
|
109
|
-
}
|
|
110
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button--primary:hover {
|
|
111
|
-
--el-button-bg-color: linear-gradient(90deg, #2795cc 0%, #57d8ff 100%);
|
|
112
|
-
}
|
|
113
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button--primary:active {
|
|
114
|
-
--el-button-bg-color: linear-gradient(90deg, #005c99 0%, #1c9cd4 100%);
|
|
115
|
-
}
|
|
116
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button--danger {
|
|
117
|
-
--el-button-text-color: #fff;
|
|
118
|
-
--el-button-hover-text-color: #fff;
|
|
119
|
-
--el-button-active-text-color: #fff;
|
|
120
|
-
--el-button-bg-color: #e64242;
|
|
121
|
-
--el-border: none;
|
|
122
|
-
--el-button-hover-bg-color: #f2716d;
|
|
123
|
-
--el-button-active-bg-color: #bf2e33;
|
|
124
|
-
}
|
|
125
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button--danger.is-disabled {
|
|
126
|
-
--el-button-disabled-text-color: rgba(255, 255, 255, 0.45);
|
|
127
|
-
--el-button-disabled-bg-color: #e64242;
|
|
128
|
-
}
|
|
129
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button.el-button--primary {
|
|
130
|
-
position: relative;
|
|
131
|
-
border-left: 2px solid rgba(255, 255, 255, 0.5);
|
|
132
|
-
border-right: 2px solid rgba(255, 255, 255, 0.5);
|
|
133
|
-
}
|
|
134
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button.el-button--primary::after, .mx-message-box.el-message-box .el-message-box__btns .el-button.el-button--primary::before,
|
|
135
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button.el-button--primary span::after,
|
|
136
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button.el-button--primary span::before {
|
|
137
|
-
position: absolute;
|
|
138
|
-
display: block;
|
|
139
|
-
content: "";
|
|
140
|
-
width: 3px;
|
|
141
|
-
height: 3px;
|
|
142
|
-
border-radius: 2px;
|
|
143
|
-
background: rgba(255, 255, 255, 0.5);
|
|
144
|
-
}
|
|
145
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button.el-button--primary::before {
|
|
146
|
-
top: 2px;
|
|
147
|
-
left: 4px;
|
|
148
|
-
}
|
|
149
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button.el-button--primary::after {
|
|
150
|
-
top: 2px;
|
|
151
|
-
right: 4px;
|
|
152
|
-
}
|
|
153
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button.el-button--primary span::before {
|
|
154
|
-
bottom: 2px;
|
|
155
|
-
left: 4px;
|
|
156
|
-
}
|
|
157
|
-
.mx-message-box.el-message-box .el-message-box__btns .el-button.el-button--primary span::after {
|
|
158
|
-
bottom: 2px;
|
|
159
|
-
right: 4px;
|
|
160
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ElMessageBox } from "element-plus";
|
|
2
|
-
import "element-plus/es/components/message-box/style/css";
|
|
3
|
-
import { cloneDeep, isString } from "lodash-es";
|
|
4
|
-
import { isVNode, markRaw } from "vue";
|
|
5
|
-
import InfoSvg from "../../assets/svg/InfoSvg.vue";
|
|
6
|
-
const index = "";
|
|
7
|
-
function transOptions(options) {
|
|
8
|
-
let cloneOptions = cloneDeep(options);
|
|
9
|
-
if (isString(options) || isVNode(options)) {
|
|
10
|
-
cloneOptions = { message: options, customClass: "mx-message-box" };
|
|
11
|
-
} else if (Object.prototype.toString.call(cloneOptions) === "[object Object]") {
|
|
12
|
-
if (options.type === "info") {
|
|
13
|
-
cloneOptions.icon = markRaw(InfoSvg);
|
|
14
|
-
}
|
|
15
|
-
cloneOptions.customClass = options.customClass ? `mx-message-box ${options.customClass}` : "mx-message-box";
|
|
16
|
-
cloneOptions.showClose = options.showClose ?? false;
|
|
17
|
-
cloneOptions.closeOnClickModal = options.closeOnClickModal ?? false;
|
|
18
|
-
}
|
|
19
|
-
return cloneOptions;
|
|
20
|
-
}
|
|
21
|
-
const MxMessageBox = (options, appContext) => {
|
|
22
|
-
return ElMessageBox(transOptions(options), appContext);
|
|
23
|
-
};
|
|
24
|
-
const confirm = (message, title, options, appContext) => {
|
|
25
|
-
const cloneOptions = options || {};
|
|
26
|
-
const defaultClass = "mx-message-box mx-message-box-confirm";
|
|
27
|
-
cloneOptions.customClass = (options == null ? void 0 : options.customClass) ? `${defaultClass} ${options.customClass}` : defaultClass;
|
|
28
|
-
cloneOptions.closeOnClickModal = (options == null ? void 0 : options.closeOnClickModal) ?? false;
|
|
29
|
-
cloneOptions.showClose = (options == null ? void 0 : options.showClose) ?? false;
|
|
30
|
-
return ElMessageBox.confirm(message, title, { ...cloneOptions }, appContext);
|
|
31
|
-
};
|
|
32
|
-
MxMessageBox.confirm = confirm;
|
|
33
|
-
MxMessageBox.alert = ElMessageBox.alert;
|
|
34
|
-
MxMessageBox.prompt = ElMessageBox.prompt;
|
|
35
|
-
MxMessageBox.close = ElMessageBox.close;
|
|
36
|
-
MxMessageBox._context = ElMessageBox._context;
|
|
37
|
-
export {
|
|
38
|
-
MxMessageBox as default
|
|
39
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
.mx-notification.el-notification {
|
|
2
|
-
background: linear-gradient(180deg, #2a2a2a 0%, #1f1f1f 100%);
|
|
3
|
-
border: none;
|
|
4
|
-
padding: 24px;
|
|
5
|
-
width: 380px;
|
|
6
|
-
border-radius: 2px;
|
|
7
|
-
box-shadow: 0px 12px 48px 16px rgba(0, 0, 0, 0.12), 0px 9px 28px 0px rgba(0, 0, 0, 0.2), 0px 6px 16px -8px rgba(0, 0, 0, 0.32);
|
|
8
|
-
}
|
|
9
|
-
.mx-notification.el-notification::before {
|
|
10
|
-
display: block;
|
|
11
|
-
content: "";
|
|
12
|
-
height: 2px;
|
|
13
|
-
position: absolute;
|
|
14
|
-
top: 0;
|
|
15
|
-
left: 0;
|
|
16
|
-
width: 100%;
|
|
17
|
-
background: linear-gradient(90deg, #057abf 0%, #2cc4f9 100%);
|
|
18
|
-
}
|
|
19
|
-
.mx-notification.el-notification .el-notification__icon {
|
|
20
|
-
align-self: flex-start;
|
|
21
|
-
line-height: 24px;
|
|
22
|
-
font-size: 21px;
|
|
23
|
-
}
|
|
24
|
-
.mx-notification.el-notification .el-notification--error {
|
|
25
|
-
color: #e64242;
|
|
26
|
-
}
|
|
27
|
-
.mx-notification.el-notification .el-notification--success {
|
|
28
|
-
color: #52c41a;
|
|
29
|
-
}
|
|
30
|
-
.mx-notification.el-notification .el-notification--info {
|
|
31
|
-
color: #4a90e2;
|
|
32
|
-
}
|
|
33
|
-
.mx-notification.el-notification .el-notification--warning {
|
|
34
|
-
color: #faad14;
|
|
35
|
-
}
|
|
36
|
-
.mx-notification.el-notification .el-notification__group {
|
|
37
|
-
margin: 0 0 0 16px;
|
|
38
|
-
}
|
|
39
|
-
.mx-notification.el-notification .el-notification__title {
|
|
40
|
-
font-size: 16px;
|
|
41
|
-
color: rgba(255, 255, 255, 0.85);
|
|
42
|
-
line-height: 24px;
|
|
43
|
-
padding-right: 16px;
|
|
44
|
-
}
|
|
45
|
-
.mx-notification.el-notification .el-notification__content {
|
|
46
|
-
font-size: 14px;
|
|
47
|
-
color: rgba(255, 255, 255, 0.65);
|
|
48
|
-
line-height: 22px;
|
|
49
|
-
margin-top: 8px;
|
|
50
|
-
}
|
|
51
|
-
.mx-notification.el-notification .el-notification__closeBtn {
|
|
52
|
-
top: 28px;
|
|
53
|
-
right: 24px;
|
|
54
|
-
color: rgba(255, 255, 255, 0.45);
|
|
55
|
-
}
|
|
56
|
-
.mx-notification.el-notification .el-notification__closeBtn:hover {
|
|
57
|
-
color: rgba(255, 255, 255, 0.85);
|
|
58
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ElNotification } from "element-plus";
|
|
2
|
-
import "element-plus/es/components/notification/style/css";
|
|
3
|
-
import { isVNode, markRaw } from "vue";
|
|
4
|
-
import InfoSvg from "../../assets/svg/InfoSvg.vue";
|
|
5
|
-
const index = "";
|
|
6
|
-
function transOptions(options) {
|
|
7
|
-
let newOptions = {};
|
|
8
|
-
if (typeof options === "string" || isVNode(options)) {
|
|
9
|
-
newOptions = { message: options, customClass: "mx-notification" };
|
|
10
|
-
} else if (Object.prototype.toString.call(options) === "[object Object]") {
|
|
11
|
-
newOptions = { ...options };
|
|
12
|
-
newOptions.customClass = `mx-notification ${options.customClass}`;
|
|
13
|
-
if (options.type === "info") {
|
|
14
|
-
newOptions.icon = markRaw(InfoSvg);
|
|
15
|
-
newOptions.type = null;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return {
|
|
19
|
-
...newOptions
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
const MxNotify = function(options = {}) {
|
|
23
|
-
return ElNotification(transOptions(options));
|
|
24
|
-
};
|
|
25
|
-
MxNotify.closeAll = ElNotification.closeAll;
|
|
26
|
-
export {
|
|
27
|
-
MxNotify as default
|
|
28
|
-
};
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
.el-pagination.is-background.mx-pagination .btn-prev,
|
|
2
|
-
.el-pagination.is-background.mx-pagination .btn-next {
|
|
3
|
-
background-color: #232324;
|
|
4
|
-
}
|
|
5
|
-
.el-pagination.is-background.mx-pagination .btn-prev .el-icon,
|
|
6
|
-
.el-pagination.is-background.mx-pagination .btn-next .el-icon {
|
|
7
|
-
font-size: 14px;
|
|
8
|
-
color: rgba(255, 255, 255, 0.65);
|
|
9
|
-
}
|
|
10
|
-
.el-pagination.is-background.mx-pagination .btn-prev:hover,
|
|
11
|
-
.el-pagination.is-background.mx-pagination .btn-next:hover {
|
|
12
|
-
transition: all 0.2s;
|
|
13
|
-
background-color: rgba(255, 255, 255, 0.12);
|
|
14
|
-
}
|
|
15
|
-
.el-pagination.is-background.mx-pagination .btn-prev.is-first {
|
|
16
|
-
background-color: #232324;
|
|
17
|
-
}
|
|
18
|
-
.el-pagination.is-background.mx-pagination .btn-prev.is-first .el-icon {
|
|
19
|
-
font-size: 14px;
|
|
20
|
-
color: rgba(255, 255, 255, 0.65);
|
|
21
|
-
}
|
|
22
|
-
.el-pagination.is-background.mx-pagination .el-pager .number {
|
|
23
|
-
background-color: #232324;
|
|
24
|
-
font-weight: 400;
|
|
25
|
-
font-size: 14px;
|
|
26
|
-
color: rgba(255, 255, 255, 0.65);
|
|
27
|
-
line-height: 22px;
|
|
28
|
-
}
|
|
29
|
-
.el-pagination.is-background.mx-pagination .el-pager .number:hover {
|
|
30
|
-
transition: all 0.2s;
|
|
31
|
-
background-color: rgba(255, 255, 255, 0.12);
|
|
32
|
-
}
|
|
33
|
-
.el-pagination.is-background.mx-pagination .el-pager .number.is-active {
|
|
34
|
-
background: #4a90e2;
|
|
35
|
-
font-weight: 500;
|
|
36
|
-
color: #ffffff;
|
|
37
|
-
}
|
|
38
|
-
.el-pagination.is-background.mx-pagination .el-pager .more.btn-quickprev.el-icon,
|
|
39
|
-
.el-pagination.is-background.mx-pagination .el-pager .more.btn-quicknext.el-icon {
|
|
40
|
-
background-color: #232324;
|
|
41
|
-
color: rgba(255, 255, 255, 0.3);
|
|
42
|
-
}
|
|
43
|
-
.el-pagination.is-background.mx-pagination .el-pager .more.btn-quickprev.el-icon:hover,
|
|
44
|
-
.el-pagination.is-background.mx-pagination .el-pager .more.btn-quicknext.el-icon:hover {
|
|
45
|
-
color: #4a90e2;
|
|
46
|
-
}
|
|
47
|
-
.el-pagination.is-background.mx-pagination .el-pagination__sizes .el-input {
|
|
48
|
-
--el-input-bg-color: rgba(74, 144, 226, 0.16);
|
|
49
|
-
--el-input-border-color: rgba(0, 173, 255, 0.5);
|
|
50
|
-
--el-input-border-radius: 2px;
|
|
51
|
-
}
|
|
52
|
-
.el-pagination.is-background.mx-pagination .el-pagination__sizes .el-select {
|
|
53
|
-
--el-select-border-color-hover: rgba(0, 173, 255, 0.8);
|
|
54
|
-
}
|
|
55
|
-
.el-pagination.is-background.mx-pagination .el-pagination__sizes .el-select.el-select--default .el-input__wrapper {
|
|
56
|
-
padding: 1px 12px 1px 0;
|
|
57
|
-
}
|
|
58
|
-
.el-pagination.is-background.mx-pagination .el-pagination__sizes .el-select.el-select--default .el-input__wrapper .el-input__inner {
|
|
59
|
-
font-weight: 400;
|
|
60
|
-
font-size: 14px;
|
|
61
|
-
color: rgba(255, 255, 255, 0.85);
|
|
62
|
-
}
|
|
63
|
-
.el-pagination.is-background.mx-pagination .el-pagination__total {
|
|
64
|
-
font-weight: 400;
|
|
65
|
-
font-size: 14px;
|
|
66
|
-
color: rgba(255, 255, 255, 0.65);
|
|
67
|
-
}
|
|
68
|
-
.el-pagination.is-background.mx-pagination .el-pagination__jump .el-pagination__classifier,
|
|
69
|
-
.el-pagination.is-background.mx-pagination .el-pagination__jump .el-pagination__goto {
|
|
70
|
-
font-weight: 400;
|
|
71
|
-
font-size: 14px;
|
|
72
|
-
color: rgba(255, 255, 255, 0.65);
|
|
73
|
-
}
|
|
74
|
-
.el-pagination.is-background.mx-pagination .el-pagination__jump .el-input {
|
|
75
|
-
--el-input-bg-color: rgba(74, 144, 226, 0.16);
|
|
76
|
-
--el-input-border-color: rgba(0, 173, 255, 0.5);
|
|
77
|
-
--el-input-hover-border-color: rgba(0, 173, 255, 0.8);
|
|
78
|
-
--el-input-border-radius: 2px;
|
|
79
|
-
}
|
|
80
|
-
.el-pagination.is-background.mx-pagination .el-pagination__jump .el-input .el-input__wrapper .el-input__inner {
|
|
81
|
-
font-weight: 400;
|
|
82
|
-
font-size: 14px;
|
|
83
|
-
color: rgba(255, 255, 255, 0.85);
|
|
84
|
-
}
|
|
85
|
-
.mx-pagination-popper.el-popper.is-pure.is-light.el-select__popper {
|
|
86
|
-
background: #1f1f1f;
|
|
87
|
-
}
|
|
88
|
-
.mx-pagination-popper.el-popper.is-pure.is-light.el-select__popper .el-select-dropdown.mx-pagination-popper .el-scrollbar .el-select-dropdown__wrap.el-scrollbar__wrap.el-scrollbar__wrap--hidden-default .el-scrollbar__view.el-select-dropdown__list .el-select-dropdown__item {
|
|
89
|
-
color: rgba(255, 255, 255, 0.85);
|
|
90
|
-
font-weight: normal;
|
|
91
|
-
font-size: 14px;
|
|
92
|
-
}
|
|
93
|
-
.mx-pagination-popper.el-popper.is-pure.is-light.el-select__popper .el-select-dropdown.mx-pagination-popper .el-scrollbar .el-select-dropdown__wrap.el-scrollbar__wrap.el-scrollbar__wrap--hidden-default .el-scrollbar__view.el-select-dropdown__list .el-select-dropdown__item.hover {
|
|
94
|
-
background: rgba(255, 255, 255, 0.05);
|
|
95
|
-
}
|
|
96
|
-
.mx-pagination-popper.el-popper.is-pure.is-light.el-select__popper .el-select-dropdown.mx-pagination-popper .el-scrollbar .el-select-dropdown__wrap.el-scrollbar__wrap.el-scrollbar__wrap--hidden-default .el-scrollbar__view.el-select-dropdown__list .el-select-dropdown__item.selected {
|
|
97
|
-
background: #111d2c;
|
|
98
|
-
}
|
|
99
|
-
.mx-pagination-popper.el-popper.is-pure.is-light.el-select__popper .el-popper__arrow {
|
|
100
|
-
display: none;
|
|
101
|
-
}
|
|
102
|
-
.el-pagination.is-background .btn-next:disabled,
|
|
103
|
-
.el-pagination.is-background .btn-prev:disabled {
|
|
104
|
-
background-color: #232324 !important;
|
|
105
|
-
}
|
|
106
|
-
.el-pagination.is-background .btn-next:disabled .el-icon,
|
|
107
|
-
.el-pagination.is-background .btn-prev:disabled .el-icon {
|
|
108
|
-
font-size: 14px;
|
|
109
|
-
color: rgba(255, 255, 255, 0.65);
|
|
110
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
-
totalCount: {
|
|
4
|
-
type: NumberConstructor;
|
|
5
|
-
default: null;
|
|
6
|
-
};
|
|
7
|
-
layout: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
pageSizes: {
|
|
12
|
-
type: PropType<number[]>;
|
|
13
|
-
default: () => number[];
|
|
14
|
-
};
|
|
15
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
-
totalCount: {
|
|
17
|
-
type: NumberConstructor;
|
|
18
|
-
default: null;
|
|
19
|
-
};
|
|
20
|
-
layout: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
pageSizes: {
|
|
25
|
-
type: PropType<number[]>;
|
|
26
|
-
default: () => number[];
|
|
27
|
-
};
|
|
28
|
-
}>>, {
|
|
29
|
-
totalCount: number;
|
|
30
|
-
layout: string;
|
|
31
|
-
pageSizes: number[];
|
|
32
|
-
}, {}>, Partial<Record<NonNullable<string | number>, (_: {}) => any>>>;
|
|
33
|
-
export default _default;
|
|
34
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
-
new (): {
|
|
36
|
-
$slots: S;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, createSlots, renderList, renderSlot } from "vue";
|
|
2
|
-
import { ElConfigProvider, ElPagination } from "element-plus";
|
|
3
|
-
import "element-plus/es/components/pagination/style/css";
|
|
4
|
-
import "element-plus/es/components/config-provider/style/css";
|
|
5
|
-
import locale from "element-plus/es/locale/lang/zh-cn";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "MxPagination",
|
|
8
|
-
props: {
|
|
9
|
-
totalCount: {
|
|
10
|
-
type: Number,
|
|
11
|
-
default: null
|
|
12
|
-
},
|
|
13
|
-
layout: {
|
|
14
|
-
type: String,
|
|
15
|
-
default: "total, prev, pager, next, sizes"
|
|
16
|
-
},
|
|
17
|
-
pageSizes: {
|
|
18
|
-
type: Array,
|
|
19
|
-
default: () => [10, 20, 30, 50, 100]
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
setup(__props) {
|
|
23
|
-
const props = __props;
|
|
24
|
-
return (_ctx, _cache) => {
|
|
25
|
-
return openBlock(), createBlock(unref(ElConfigProvider), { locale: unref(locale) }, {
|
|
26
|
-
default: withCtx(() => [
|
|
27
|
-
createVNode(unref(ElPagination), mergeProps({
|
|
28
|
-
class: "mx-pagination",
|
|
29
|
-
"popper-class": "mx-pagination-popper"
|
|
30
|
-
}, _ctx.$attrs, {
|
|
31
|
-
background: "",
|
|
32
|
-
layout: props.layout,
|
|
33
|
-
"page-sizes": props.pageSizes
|
|
34
|
-
}), createSlots({ _: 2 }, [
|
|
35
|
-
renderList(_ctx.$slots, (item, key, index) => {
|
|
36
|
-
return {
|
|
37
|
-
name: key,
|
|
38
|
-
fn: withCtx(() => [
|
|
39
|
-
renderSlot(_ctx.$slots, key)
|
|
40
|
-
])
|
|
41
|
-
};
|
|
42
|
-
})
|
|
43
|
-
]), 1040, ["layout", "page-sizes"])
|
|
44
|
-
]),
|
|
45
|
-
_: 3
|
|
46
|
-
}, 8, ["locale"]);
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
const MxPagination_vue_vue_type_style_index_0_lang = "";
|
|
51
|
-
export {
|
|
52
|
-
_sfc_main as default
|
|
53
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
.mx-popconfirm.el-popper {
|
|
2
|
-
--el-text-color-primary: #1f1f1f;
|
|
3
|
-
min-width: 180px;
|
|
4
|
-
max-width: 240px;
|
|
5
|
-
padding: 16px;
|
|
6
|
-
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);
|
|
7
|
-
}
|
|
8
|
-
.mx-popconfirm.el-popper .mx-popconfirm-main {
|
|
9
|
-
display: inline-flex;
|
|
10
|
-
font-size: 14px;
|
|
11
|
-
color: rgba(255, 255, 255, 0.65);
|
|
12
|
-
line-height: 22px;
|
|
13
|
-
align-items: flex-start;
|
|
14
|
-
}
|
|
15
|
-
.mx-popconfirm.el-popper .mx-popconfirm-main .el-icon {
|
|
16
|
-
font-size: 16px;
|
|
17
|
-
height: 22px;
|
|
18
|
-
margin-right: 4px;
|
|
19
|
-
}
|
|
20
|
-
.mx-popconfirm.el-popper .mx-popconfirm-footer {
|
|
21
|
-
margin-top: 16px;
|
|
22
|
-
text-align: right;
|
|
23
|
-
}
|
|
24
|
-
.mx-popconfirm.el-popper .mx-popconfirm-footer .mx-button {
|
|
25
|
-
margin-left: 8px;
|
|
26
|
-
}
|