@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,78 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const vue = require("vue");
|
|
3
|
-
const elementPlus = require("element-plus");
|
|
4
|
-
require("element-plus/es/components/date-picker/style/css");
|
|
5
|
-
require("element-plus/es/components/config-provider/style/css");
|
|
6
|
-
require("element-plus/es/components/button/style/css");
|
|
7
|
-
const iconsVue = require("@element-plus/icons-vue");
|
|
8
|
-
const locale = require("element-plus/es/locale/lang/zh-cn");
|
|
9
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
-
__name: "MxDatePicker",
|
|
11
|
-
props: {
|
|
12
|
-
placeholder: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: ""
|
|
15
|
-
},
|
|
16
|
-
startPlaceholder: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: ""
|
|
19
|
-
},
|
|
20
|
-
endPlaceholder: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: ""
|
|
23
|
-
},
|
|
24
|
-
showSwitch: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: false
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
emits: ["click-left", "click-right"],
|
|
30
|
-
setup(__props, { emit }) {
|
|
31
|
-
const props = __props;
|
|
32
|
-
const onClickLeft = () => {
|
|
33
|
-
emit("click-left");
|
|
34
|
-
};
|
|
35
|
-
const onClickRight = () => {
|
|
36
|
-
emit("click-right");
|
|
37
|
-
};
|
|
38
|
-
return (_ctx, _cache) => {
|
|
39
|
-
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElConfigProvider), { locale: vue.unref(locale) }, {
|
|
40
|
-
default: vue.withCtx(() => [
|
|
41
|
-
vue.createVNode(vue.unref(elementPlus.ElDatePicker), vue.mergeProps({
|
|
42
|
-
placeholder: props.placeholder ? props.placeholder : "请选择开始时间",
|
|
43
|
-
"start-placeholder": props.startPlaceholder ? props.startPlaceholder : "开始时间",
|
|
44
|
-
"end-placeholder": props.endPlaceholder ? props.endPlaceholder : "结束时间",
|
|
45
|
-
"range-separator": "⇀",
|
|
46
|
-
"clear-icon": "CircleCloseFilled",
|
|
47
|
-
class: "mx-date-picker",
|
|
48
|
-
"popper-class": "mx-date-picker-popper"
|
|
49
|
-
}, _ctx.$attrs), vue.createSlots({ _: 2 }, [
|
|
50
|
-
vue.renderList(_ctx.$slots, (item, key, index) => {
|
|
51
|
-
return {
|
|
52
|
-
name: key,
|
|
53
|
-
fn: vue.withCtx(() => [
|
|
54
|
-
vue.renderSlot(_ctx.$slots, key)
|
|
55
|
-
])
|
|
56
|
-
};
|
|
57
|
-
})
|
|
58
|
-
]), 1040, ["placeholder", "start-placeholder", "end-placeholder"]),
|
|
59
|
-
props.showSwitch ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElButton), {
|
|
60
|
-
key: 0,
|
|
61
|
-
class: "mx-date-picker-range-switch-btn",
|
|
62
|
-
icon: vue.unref(iconsVue.ArrowLeftBold),
|
|
63
|
-
onClick: onClickLeft
|
|
64
|
-
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
65
|
-
props.showSwitch ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElButton), {
|
|
66
|
-
key: 1,
|
|
67
|
-
class: "mx-date-picker-range-switch-btn",
|
|
68
|
-
icon: vue.unref(iconsVue.ArrowRightBold),
|
|
69
|
-
onClick: onClickRight
|
|
70
|
-
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
71
|
-
]),
|
|
72
|
-
_: 3
|
|
73
|
-
}, 8, ["locale"]);
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
const MxDatePicker_vue_vue_type_style_index_0_lang = "";
|
|
78
|
-
module.exports = _sfc_main;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
.mx-dialog.el-dialog {
|
|
2
|
-
margin: 100px auto auto;
|
|
3
|
-
--el-dialog-bg-color: linear-gradient(180deg, #2a2a2a 0%, #1f1f1f 100%);
|
|
4
|
-
}
|
|
5
|
-
.mx-dialog.el-dialog::before {
|
|
6
|
-
display: block;
|
|
7
|
-
content: "";
|
|
8
|
-
height: 2px;
|
|
9
|
-
background: linear-gradient(90deg, #057abf 0%, #2cc4f9 100%);
|
|
10
|
-
}
|
|
11
|
-
.mx-dialog.el-dialog .el-dialog__header {
|
|
12
|
-
--el-dialog-padding-primary: 16px 24px;
|
|
13
|
-
padding-bottom: 16px;
|
|
14
|
-
margin-right: 0;
|
|
15
|
-
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
16
|
-
height: 56px;
|
|
17
|
-
}
|
|
18
|
-
.mx-dialog.el-dialog .el-dialog__header .el-dialog__title {
|
|
19
|
-
--el-dialog-font-line-height: 24px;
|
|
20
|
-
--el-dialog-title-font-size: 16px;
|
|
21
|
-
--el-text-color-primary: rgba(255, 255, 255, 0.85);
|
|
22
|
-
font-weight: 500;
|
|
23
|
-
}
|
|
24
|
-
.mx-dialog.el-dialog .el-dialog__header .el-dialog__headerbtn {
|
|
25
|
-
width: 16px;
|
|
26
|
-
height: 16px;
|
|
27
|
-
right: 24px;
|
|
28
|
-
top: 20px;
|
|
29
|
-
}
|
|
30
|
-
.mx-dialog.el-dialog .el-dialog__header .el-dialog__headerbtn .el-dialog__close {
|
|
31
|
-
color: rgba(255, 255, 255, 0.45);
|
|
32
|
-
}
|
|
33
|
-
.mx-dialog.el-dialog .el-dialog__header .el-dialog__headerbtn .el-dialog__close:hover {
|
|
34
|
-
color: rgba(255, 255, 255, 0.85);
|
|
35
|
-
}
|
|
36
|
-
.mx-dialog.el-dialog .el-dialog__body {
|
|
37
|
-
--el-text-color-regular: rgba(255, 255, 255, 0.85);
|
|
38
|
-
padding: 24px;
|
|
39
|
-
min-height: 212px;
|
|
40
|
-
overflow-y: auto;
|
|
41
|
-
}
|
|
42
|
-
.mx-dialog.el-dialog.small .el-dialog__body {
|
|
43
|
-
max-height: 288px;
|
|
44
|
-
}
|
|
45
|
-
.mx-dialog.el-dialog.normal .el-dialog__body {
|
|
46
|
-
max-height: 452px;
|
|
47
|
-
}
|
|
48
|
-
.mx-dialog.el-dialog.large .el-dialog__body {
|
|
49
|
-
max-height: 532px;
|
|
50
|
-
}
|
|
51
|
-
.mx-dialog.el-dialog.big .el-dialog__body {
|
|
52
|
-
max-height: 612px;
|
|
53
|
-
}
|
|
54
|
-
.mx-dialog.el-dialog .el-dialog__footer {
|
|
55
|
-
--el-dialog-padding-primary: 10px;
|
|
56
|
-
height: 52px;
|
|
57
|
-
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
58
|
-
padding: 10px 16px;
|
|
59
|
-
}
|
|
60
|
-
.mx-dialog.el-dialog .el-dialog__footer .mx-button {
|
|
61
|
-
margin-left: 8px;
|
|
62
|
-
}
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
export type ModalSizeType = 'small' | 'normal' | 'large' | 'big';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
-
size: {
|
|
5
|
-
type: PropType<ModalSizeType>;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
bodyScroll: {
|
|
9
|
-
type: BooleanConstructor;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
confirmButtonText: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
cancelButtonText: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
21
|
-
width: {
|
|
22
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
23
|
-
readonly required: false;
|
|
24
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
25
|
-
__epPropKey: true;
|
|
26
|
-
};
|
|
27
|
-
center: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
28
|
-
draggable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
29
|
-
customClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
30
|
-
showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
31
|
-
zIndex: {
|
|
32
|
-
readonly type: PropType<number>;
|
|
33
|
-
readonly required: false;
|
|
34
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
|
-
__epPropKey: true;
|
|
36
|
-
};
|
|
37
|
-
appendToBody: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
38
|
-
beforeClose: {
|
|
39
|
-
readonly type: PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
40
|
-
readonly required: false;
|
|
41
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
42
|
-
__epPropKey: true;
|
|
43
|
-
};
|
|
44
|
-
destroyOnClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
45
|
-
closeOnClickModal: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
46
|
-
closeOnPressEscape: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
47
|
-
lockScroll: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
48
|
-
modal: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
49
|
-
openDelay: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
50
|
-
closeDelay: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
51
|
-
top: {
|
|
52
|
-
readonly type: PropType<string>;
|
|
53
|
-
readonly required: false;
|
|
54
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
|
-
__epPropKey: true;
|
|
56
|
-
};
|
|
57
|
-
modalClass: StringConstructor;
|
|
58
|
-
trapFocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
59
|
-
alignCenter: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
60
|
-
closeIcon: {
|
|
61
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
62
|
-
readonly required: false;
|
|
63
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
64
|
-
__epPropKey: true;
|
|
65
|
-
};
|
|
66
|
-
fullscreen: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
67
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("confirm" | "cancel")[], "confirm" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
-
size: {
|
|
69
|
-
type: PropType<ModalSizeType>;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
bodyScroll: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
default: boolean;
|
|
75
|
-
};
|
|
76
|
-
confirmButtonText: {
|
|
77
|
-
type: StringConstructor;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
|
-
cancelButtonText: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
85
|
-
width: {
|
|
86
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
87
|
-
readonly required: false;
|
|
88
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
89
|
-
__epPropKey: true;
|
|
90
|
-
};
|
|
91
|
-
center: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
92
|
-
draggable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
93
|
-
customClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
94
|
-
showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
95
|
-
zIndex: {
|
|
96
|
-
readonly type: PropType<number>;
|
|
97
|
-
readonly required: false;
|
|
98
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
|
-
__epPropKey: true;
|
|
100
|
-
};
|
|
101
|
-
appendToBody: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
102
|
-
beforeClose: {
|
|
103
|
-
readonly type: PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
104
|
-
readonly required: false;
|
|
105
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
106
|
-
__epPropKey: true;
|
|
107
|
-
};
|
|
108
|
-
destroyOnClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
109
|
-
closeOnClickModal: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
110
|
-
closeOnPressEscape: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
111
|
-
lockScroll: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
112
|
-
modal: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
113
|
-
openDelay: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
114
|
-
closeDelay: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
115
|
-
top: {
|
|
116
|
-
readonly type: PropType<string>;
|
|
117
|
-
readonly required: false;
|
|
118
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
119
|
-
__epPropKey: true;
|
|
120
|
-
};
|
|
121
|
-
modalClass: StringConstructor;
|
|
122
|
-
trapFocus: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
123
|
-
alignCenter: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
124
|
-
closeIcon: {
|
|
125
|
-
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
|
126
|
-
readonly required: false;
|
|
127
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
128
|
-
__epPropKey: true;
|
|
129
|
-
};
|
|
130
|
-
fullscreen: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
131
|
-
}>> & {
|
|
132
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
133
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
134
|
-
}, {
|
|
135
|
-
title: string;
|
|
136
|
-
center: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
137
|
-
draggable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
138
|
-
confirmButtonText: string;
|
|
139
|
-
cancelButtonText: string;
|
|
140
|
-
customClass: string;
|
|
141
|
-
showClose: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
142
|
-
size: ModalSizeType;
|
|
143
|
-
appendToBody: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
144
|
-
destroyOnClose: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
145
|
-
closeOnClickModal: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
146
|
-
closeOnPressEscape: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
147
|
-
lockScroll: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
148
|
-
modal: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
149
|
-
openDelay: number;
|
|
150
|
-
closeDelay: number;
|
|
151
|
-
trapFocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
152
|
-
alignCenter: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
153
|
-
fullscreen: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
154
|
-
bodyScroll: boolean;
|
|
155
|
-
}, {}>, {
|
|
156
|
-
default?(_: {}): any;
|
|
157
|
-
footer?(_: {}): any;
|
|
158
|
-
}>;
|
|
159
|
-
export default _default;
|
|
160
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
161
|
-
new (): {
|
|
162
|
-
$slots: S;
|
|
163
|
-
};
|
|
164
|
-
};
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const vue = require("vue");
|
|
3
|
-
const elementPlus = require("element-plus");
|
|
4
|
-
require("element-plus/es/components/dialog/style/css");
|
|
5
|
-
const lodashEs = require("lodash-es");
|
|
6
|
-
const MxButton = require("../button");
|
|
7
|
-
const _hoisted_1 = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "dialog-footer"
|
|
10
|
-
};
|
|
11
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
12
|
-
__name: "MxDialog",
|
|
13
|
-
props: {
|
|
14
|
-
...lodashEs.omit(elementPlus.dialogProps, "modelValue"),
|
|
15
|
-
size: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: "normal"
|
|
18
|
-
},
|
|
19
|
-
bodyScroll: {
|
|
20
|
-
type: Boolean,
|
|
21
|
-
default: true
|
|
22
|
-
},
|
|
23
|
-
confirmButtonText: {
|
|
24
|
-
type: String,
|
|
25
|
-
default: "确定"
|
|
26
|
-
},
|
|
27
|
-
cancelButtonText: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: "取消"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
emits: ["confirm", "cancel"],
|
|
33
|
-
setup(__props) {
|
|
34
|
-
const props = __props;
|
|
35
|
-
const sizeWidthMap = {
|
|
36
|
-
small: 480,
|
|
37
|
-
normal: 640,
|
|
38
|
-
large: 800,
|
|
39
|
-
big: 1024
|
|
40
|
-
};
|
|
41
|
-
const width = vue.ref(sizeWidthMap["normal"]);
|
|
42
|
-
const heightCls = vue.ref("");
|
|
43
|
-
vue.watch(
|
|
44
|
-
() => props.size,
|
|
45
|
-
(val) => {
|
|
46
|
-
width.value = sizeWidthMap[val];
|
|
47
|
-
if (props.bodyScroll && props.size) {
|
|
48
|
-
heightCls.value = props.size;
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
{ immediate: true }
|
|
52
|
-
);
|
|
53
|
-
return (_ctx, _cache) => {
|
|
54
|
-
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElDialog), vue.mergeProps({ ...props, ..._ctx.$attrs }, {
|
|
55
|
-
class: ["mx-dialog", heightCls.value],
|
|
56
|
-
width: width.value
|
|
57
|
-
}), {
|
|
58
|
-
footer: vue.withCtx(() => [
|
|
59
|
-
vue.renderSlot(_ctx.$slots, "footer"),
|
|
60
|
-
!_ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
61
|
-
vue.createVNode(vue.unref(MxButton), {
|
|
62
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("cancel"))
|
|
63
|
-
}, {
|
|
64
|
-
default: vue.withCtx(() => [
|
|
65
|
-
vue.createTextVNode(vue.toDisplayString(props.cancelButtonText), 1)
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
}),
|
|
69
|
-
vue.createVNode(vue.unref(MxButton), {
|
|
70
|
-
type: "primary",
|
|
71
|
-
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("confirm"))
|
|
72
|
-
}, {
|
|
73
|
-
default: vue.withCtx(() => [
|
|
74
|
-
vue.createTextVNode(vue.toDisplayString(props.confirmButtonText), 1)
|
|
75
|
-
]),
|
|
76
|
-
_: 1
|
|
77
|
-
})
|
|
78
|
-
])) : vue.createCommentVNode("", true)
|
|
79
|
-
]),
|
|
80
|
-
default: vue.withCtx(() => [
|
|
81
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
82
|
-
]),
|
|
83
|
-
_: 3
|
|
84
|
-
}, 16, ["class", "width"]);
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
const MxDialog_vue_vue_type_style_index_0_lang = "";
|
|
89
|
-
module.exports = _sfc_main;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
.mx-dropdown .arrow-down[data-v-adb0885f] {
|
|
2
|
-
margin-left: 4px;
|
|
3
|
-
}
|
|
4
|
-
.mx-dropdown :hover .arrow-down[data-v-adb0885f] {
|
|
5
|
-
transform: rotate(180deg);
|
|
6
|
-
transition: transform 0.5s ease;
|
|
7
|
-
}
|
|
8
|
-
.mx-dropdown[data-v-adb0885f] .el-popper__arrow {
|
|
9
|
-
display: none;
|
|
10
|
-
}.mx-dropdown-menu.el-popper.el-dropdown__popper.is-pure.is-light {
|
|
11
|
-
border: 1px solid #1f1f1f;
|
|
12
|
-
}
|
|
13
|
-
.mx-dropdown-menu.el-popper.el-dropdown__popper.is-pure.is-light .el-dropdown-menu {
|
|
14
|
-
background: #1f1f1f;
|
|
15
|
-
border-radius: 0px 0px 2px 2px;
|
|
16
|
-
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);
|
|
17
|
-
}
|
|
18
|
-
.mx-dropdown-menu.el-popper.el-dropdown__popper.is-pure.is-light .el-dropdown-menu .el-dropdown-menu__item {
|
|
19
|
-
color: rgba(255, 255, 255, 0.65);
|
|
20
|
-
}
|
|
21
|
-
.mx-dropdown-menu.el-popper.el-dropdown__popper.is-pure.is-light .el-dropdown-menu .el-dropdown-menu__item:not(.is-disabled):focus {
|
|
22
|
-
background: rgba(255, 255, 255, 0.05);
|
|
23
|
-
color: rgba(255, 255, 255, 0.85);
|
|
24
|
-
}
|
|
25
|
-
.mx-dropdown-menu.el-popper.el-dropdown__popper.is-pure.is-light .el-dropdown-menu .el-dropdown-menu__item.is-disabled {
|
|
26
|
-
color: rgba(255, 255, 255, 0.3);
|
|
27
|
-
}
|
|
28
|
-
.mx-dropdown-menu.el-popper.el-dropdown__popper.is-pure.is-light .el-popper__arrow {
|
|
29
|
-
display: none;
|
|
30
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Component, PropType } from 'vue';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
type: {
|
|
4
|
-
type: PropType<"" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed">;
|
|
5
|
-
validator: (value: string) => boolean;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
link: {
|
|
9
|
-
type: BooleanConstructor;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
menuName: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
options: {
|
|
17
|
-
type: PropType<{
|
|
18
|
-
name: string;
|
|
19
|
-
command: string | number | object;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
divided: boolean;
|
|
22
|
-
icon: string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
23
|
-
}[]>;
|
|
24
|
-
default: () => never[];
|
|
25
|
-
};
|
|
26
|
-
perIcon: {
|
|
27
|
-
type: PropType<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
-
type: {
|
|
32
|
-
type: PropType<"" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed">;
|
|
33
|
-
validator: (value: string) => boolean;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
link: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
menuName: {
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
44
|
-
options: {
|
|
45
|
-
type: PropType<{
|
|
46
|
-
name: string;
|
|
47
|
-
command: string | number | object;
|
|
48
|
-
disabled: boolean;
|
|
49
|
-
divided: boolean;
|
|
50
|
-
icon: string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
51
|
-
}[]>;
|
|
52
|
-
default: () => never[];
|
|
53
|
-
};
|
|
54
|
-
perIcon: {
|
|
55
|
-
type: PropType<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
|
|
56
|
-
default: string;
|
|
57
|
-
};
|
|
58
|
-
}>>, {
|
|
59
|
-
link: boolean;
|
|
60
|
-
type: "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed";
|
|
61
|
-
options: {
|
|
62
|
-
name: string;
|
|
63
|
-
command: string | number | object;
|
|
64
|
-
disabled: boolean;
|
|
65
|
-
divided: boolean;
|
|
66
|
-
icon: string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
67
|
-
}[];
|
|
68
|
-
menuName: string;
|
|
69
|
-
perIcon: string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
70
|
-
}, {}>;
|
|
71
|
-
export default _default;
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const vue = require("vue");
|
|
3
|
-
const elementPlus = require("element-plus");
|
|
4
|
-
require("element-plus/es/components/dropdown/style/css");
|
|
5
|
-
const iconsVue = require("@element-plus/icons-vue");
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7
|
-
__name: "MxDropdown",
|
|
8
|
-
props: {
|
|
9
|
-
type: {
|
|
10
|
-
type: String,
|
|
11
|
-
validator: (value) => ["", "default", "text", "success", "warning", "info", "primary", "danger", "dashed"].includes(value),
|
|
12
|
-
default: ""
|
|
13
|
-
},
|
|
14
|
-
link: {
|
|
15
|
-
type: Boolean,
|
|
16
|
-
default: false
|
|
17
|
-
},
|
|
18
|
-
menuName: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: ""
|
|
21
|
-
},
|
|
22
|
-
options: {
|
|
23
|
-
type: Array,
|
|
24
|
-
default: () => []
|
|
25
|
-
},
|
|
26
|
-
perIcon: {
|
|
27
|
-
type: String,
|
|
28
|
-
default: ""
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
setup(__props) {
|
|
32
|
-
const buttonProps = __props;
|
|
33
|
-
return (_ctx, _cache) => {
|
|
34
|
-
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
35
|
-
const _component_mx_button = vue.resolveComponent("mx-button");
|
|
36
|
-
const _component_el_dropdown_item = vue.resolveComponent("el-dropdown-item");
|
|
37
|
-
const _component_el_dropdown_menu = vue.resolveComponent("el-dropdown-menu");
|
|
38
|
-
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElDropdown), vue.mergeProps({
|
|
39
|
-
class: "mx-dropdown",
|
|
40
|
-
"popper-class": "mx-dropdown-menu"
|
|
41
|
-
}, _ctx.$attrs), {
|
|
42
|
-
dropdown: vue.withCtx(() => [
|
|
43
|
-
vue.createVNode(_component_el_dropdown_menu, null, {
|
|
44
|
-
default: vue.withCtx(() => [
|
|
45
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(buttonProps.options, (item, index) => {
|
|
46
|
-
return vue.openBlock(), vue.createBlock(_component_el_dropdown_item, {
|
|
47
|
-
key: index,
|
|
48
|
-
command: item.command,
|
|
49
|
-
disabled: item.disabled,
|
|
50
|
-
divided: item.divided,
|
|
51
|
-
icon: item.icon
|
|
52
|
-
}, {
|
|
53
|
-
default: vue.withCtx(() => [
|
|
54
|
-
vue.createTextVNode(vue.toDisplayString(item.name), 1)
|
|
55
|
-
]),
|
|
56
|
-
_: 2
|
|
57
|
-
}, 1032, ["command", "disabled", "divided", "icon"]);
|
|
58
|
-
}), 128))
|
|
59
|
-
]),
|
|
60
|
-
_: 1
|
|
61
|
-
})
|
|
62
|
-
]),
|
|
63
|
-
default: vue.withCtx(() => [
|
|
64
|
-
vue.createVNode(_component_mx_button, {
|
|
65
|
-
icon: buttonProps.perIcon,
|
|
66
|
-
type: buttonProps.type,
|
|
67
|
-
link: buttonProps.link
|
|
68
|
-
}, {
|
|
69
|
-
default: vue.withCtx(() => [
|
|
70
|
-
vue.createTextVNode(vue.toDisplayString(buttonProps.menuName) + " ", 1),
|
|
71
|
-
vue.createVNode(_component_el_icon, { class: "arrow-down" }, {
|
|
72
|
-
default: vue.withCtx(() => [
|
|
73
|
-
vue.createVNode(vue.unref(iconsVue.ArrowDown))
|
|
74
|
-
]),
|
|
75
|
-
_: 1
|
|
76
|
-
})
|
|
77
|
-
]),
|
|
78
|
-
_: 1
|
|
79
|
-
}, 8, ["icon", "type", "link"])
|
|
80
|
-
]),
|
|
81
|
-
_: 1
|
|
82
|
-
}, 16);
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
const MxDropdown_vue_vue_type_style_index_0_scoped_adb0885f_lang = "";
|
|
87
|
-
const MxDropdown_vue_vue_type_style_index_1_lang = "";
|
|
88
|
-
const _export_sfc = (sfc, props) => {
|
|
89
|
-
const target = sfc.__vccOpts || sfc;
|
|
90
|
-
for (const [key, val] of props) {
|
|
91
|
-
target[key] = val;
|
|
92
|
-
}
|
|
93
|
-
return target;
|
|
94
|
-
};
|
|
95
|
-
const MxDropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-adb0885f"]]);
|
|
96
|
-
module.exports = MxDropdown;
|