vxe-pc-ui 4.11.33 → 4.11.34
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/es/button/src/button-group.js +11 -5
- package/es/button/src/button.js +12 -4
- package/es/context-menu/src/context-menu.js +218 -3
- package/es/context-menu/style.css +1 -1
- package/es/context-menu/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-context-menu/style.css +1 -1
- package/es/vxe-context-menu/style.min.css +1 -1
- package/lib/button/src/button-group.js +12 -7
- package/lib/button/src/button-group.min.js +1 -1
- package/lib/button/src/button.js +11 -4
- package/lib/button/src/button.min.js +1 -1
- package/lib/context-menu/src/context-menu.js +219 -2
- package/lib/context-menu/src/context-menu.min.js +1 -1
- package/lib/context-menu/style/style.css +1 -1
- package/lib/context-menu/style/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +244 -15
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-context-menu/style/style.css +1 -1
- package/lib/vxe-context-menu/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/button/src/button-group.ts +14 -6
- package/packages/button/src/button.ts +13 -4
- package/packages/context-menu/src/context-menu.ts +216 -4
- package/styles/components/context-menu.scss +1 -1
- package/types/components/button-group.d.ts +9 -1
- package/types/components/button.d.ts +9 -1
- /package/es/icon/{iconfont.1767617712062.ttf → iconfont.1767662202838.ttf} +0 -0
- /package/es/icon/{iconfont.1767617712062.woff → iconfont.1767662202838.woff} +0 -0
- /package/es/icon/{iconfont.1767617712062.woff2 → iconfont.1767662202838.woff2} +0 -0
- /package/es/{iconfont.1767617712062.ttf → iconfont.1767662202838.ttf} +0 -0
- /package/es/{iconfont.1767617712062.woff → iconfont.1767662202838.woff} +0 -0
- /package/es/{iconfont.1767617712062.woff2 → iconfont.1767662202838.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1767617712062.ttf → iconfont.1767662202838.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1767617712062.woff → iconfont.1767662202838.woff} +0 -0
- /package/lib/icon/style/{iconfont.1767617712062.woff2 → iconfont.1767662202838.woff2} +0 -0
- /package/lib/{iconfont.1767617712062.ttf → iconfont.1767662202838.ttf} +0 -0
- /package/lib/{iconfont.1767617712062.woff → iconfont.1767662202838.woff} +0 -0
- /package/lib/{iconfont.1767617712062.woff2 → iconfont.1767662202838.woff2} +0 -0
package/lib/ui/index.js
CHANGED
|
@@ -26,7 +26,7 @@ Object.keys(_core).forEach(function (key) {
|
|
|
26
26
|
});
|
|
27
27
|
var _dynamics = require("../dynamics");
|
|
28
28
|
var _log = require("./src/log");
|
|
29
|
-
const version = exports.version = "4.11.
|
|
29
|
+
const version = exports.version = "4.11.34";
|
|
30
30
|
_core.VxeUI.uiVersion = version;
|
|
31
31
|
_core.VxeUI.dynamicApp = _dynamics.dynamicApp;
|
|
32
32
|
function config(options) {
|
package/lib/ui/index.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={version:!0,config:!0,setup:!0},_core=(exports.config=config,exports.default=void 0,exports.setup=setup,exports.version=void 0,require("@vxe-ui/core")),_dynamics=(Object.keys(_core).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_core[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _core[e]}})}),require("../dynamics")),_log=require("./src/log");const version=exports.version="4.11.33";function config(e){return(0,_log.warnLog)("vxe.error.delFunc",["config","setConfig"]),(0,_core.setConfig)(e)}function setup(e){return(0,_log.warnLog)("vxe.error.delFunc",["setup","setConfig"]),(0,_core.setConfig)(e)}_core.VxeUI.uiVersion=version,_core.VxeUI.dynamicApp=_dynamics.dynamicApp,_core.VxeUI.config=config,_core.VxeUI.setup=setup,(0,_core.setConfig)({alert:{},anchor:{},anchorLink:{},avatar:{},backtop:{showIcon:!0,showContent:!0,threshold:20},badge:{},breadcrumb:{separator:"/"},breadcrumbItem:{},button:{trigger:"hover",prefixTooltip:{enterable:!0},suffixTooltip:{enterable:!0},showDropdownIcon:!0},buttonGroup:{},calendar:{minDate:new Date(1900,0,1),maxDate:new Date(2100,0,1),startDay:1,selectDay:1},card:{border:!0,padding:!0},carousel:{height:200,loop:!0,interval:5e3},carouselItem:{},cascader:{autoClose:!0},checkbox:{},checkboxButton:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},contextMenu:{},countdown:{},colorPicker:{type:"rgb",clearable:!0,showAlpha:!0,clickToCopy:!0,showColorExtractor:!0,showQuick:!0},datePanel:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1},datePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,autoClose:!0,showClearButton:null,showConfirmButton:null},dateRangePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,separator:" ~ ",autoClose:!0,showClearButton:null,showConfirmButton:null},drawer:{position:"right",showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0,padding:!0,cancelClosable:!0,confirmClosable:!0},empty:{},form:{validConfig:{showErrorMessage:!0,autoPos:!0,theme:"beautify"},tooltipConfig:{enterable:!0},titleAsterisk:!0,titleOverflow:!1,padding:!0},formDesign:{height:400,showHeader:!0,showPc:!0},formGather:{},formGroup:{},formItem:{},formView:{},icon:{},iconPicker:{icons:["home","company","comment","setting","send","envelope","envelope-open","bell","search","print","pc","goods","chart-line","edit","delete","save","folder","microphone","flag","link","location","sunny","rmb","usd","user","add-user","add-users","star","unlock","time","text","feedback","calendar","association-form","cloud-download","cloud-upload","file","subtable","chart-bar-x","chart-bar-y","chart-line","chart-pie","chart-radar"]},image:{showPreview:!0,showPrintButton:!0,maskClosable:!0},imageGroup:{showPreview:!0,showPrintButton:!0},imagePreview:{showPrintButton:!0},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},layoutAside:{},layoutBody:{},layoutContainer:{},layoutFooter:{},layoutHeader:{},link:{underline:!0},listDesign:{height:400,showPc:!0},listView:{},list:{virtualYConfig:{enabled:!0,gt:100}},loading:{showIcon:!0,showText:!0},menu:{},modal:{top:16,showHeader:!0,minWidth:340,minHeight:140,lockView:!0,mask:!0,duration:3e3,marginSize:0,dblclickZoom:!0,showTitleOverflow:!0,animat:!0,showClose:!0,padding:!0,draggable:!0,showConfirmButton:null,cancelClosable:!0,confirmClosable:!0,zoomConfig:{minimizeMaxSize:10,minimizeVerticalOffset:{top:-24,left:0},minimizeHorizontalOffset:{top:0,left:32}},storageKey:"VXE_MODAL_POSITION"},noticeBar:{},numberInput:{digits:2,autoFill:!0,controlConfig:{enabled:!0,layout:"right",showButton:!0,isWheel:!0,isArrow:!0}},optgroup:{},option:{},pager:{pageSizePlacement:"top"},print:{pageStyle:{}},passwordInput:{controls:!0},printPageBreak:{},pulldown:{},radio:{strict:!0},radioButton:{strict:!0},radioGroup:{strict:!0},rate:{},result:{},row:{},segmented:{},select:{multiCharOverflow:8,remoteConfig:{enabled:!0,autoLoad:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},splitter:{resize:!0,itemConfig:{minWidth:40,minHeight:40},resizeConfig:{showTip:!0}},splitterPanel:{},slider:{max:100,min:0},steps:{},switch:{},tabPane:{},tableSelect:{gridConfig:{showOverflow:!0,showHeaderOverflow:!0,showFooterOverflow:!0,rowConfig:{isHover:!0},virtualXConfig:{enabled:!0,gt:0},virtualYConfig:{enabled:!0,gt:0}}},tabs:{},tag:{},textEllipsis:{underline:!0},text:{copyConfig:{showMessage:!0}},textarea:{resize:"none"},timeline:{},timelineItem:{},tip:{},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300,isArrow:!0},tree:{indent:20,minHeight:60,radioConfig:{strict:!0},dragConfig:{showIcon:!0,animation:!0,showGuidesStatus:!0,showDragTip:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},treeSelect:{autoClose:!0,virtualYConfig:{enabled:!0,gt:0,oSize:2},treeConfig:{maxHeight:300,radioConfig:{},checkboxConfig:{},filterConfig:{autoExpandAll:!0}}},upload:{mode:"all",imageTypes:["jpg","jpeg","png","gif"],showList:!0,showUploadButton:!0,showButtonText:!0,showRemoveButton:!0,showButtonIcon:!0,showPreview:!0,dragToUpload:!0,showLimitSize:!0,showLimitCount:!0,autoSubmit:!0,maxSimultaneousUploads:5},watermark:{rotate:-30,gap:[100,100]},table:{},colgroup:{},column:{},toolbar:{},grid:{},gantt:{}});const iconPrefix="vxe-icon-";(0,_core.setIcon)({LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",BUTTON_DROPDOWN:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",BUTTON_TOOLTIP_ICON:iconPrefix+"question-circle-fill",MENU_ITEM_EXPAND_OPEN:iconPrefix+"arrow-down rotate180",MENU_ITEM_EXPAND_CLOSE:iconPrefix+"arrow-down",SELECT_LOADED:iconPrefix+"spinner roll",SELECT_OPEN:iconPrefix+"caret-down rotate180",SELECT_CLOSE:iconPrefix+"caret-down",SELECT_ADD_OPTION:iconPrefix+"add",ICON_PICKER_OPEN:iconPrefix+"caret-down rotate180",ICON_PICKER_CLOSE:iconPrefix+"caret-down",PAGER_HOME:iconPrefix+"home-page",PAGER_END:iconPrefix+"end-page",PAGER_JUMP_PREV:iconPrefix+"arrow-double-left",PAGER_JUMP_NEXT:iconPrefix+"arrow-double-right",PAGER_PREV_PAGE:iconPrefix+"arrow-left",PAGER_NEXT_PAGE:iconPrefix+"arrow-right",PAGER_JUMP_MORE:iconPrefix+"ellipsis-h",RADIO_CHECKED:iconPrefix+"radio-checked-fill",RADIO_UNCHECKED:iconPrefix+"radio-unchecked",RADIO_DISABLED_UNCHECKED:iconPrefix+"radio-unchecked-fill",CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate-fill",CHECKBOX_CHECKED:iconPrefix+"checkbox-checked-fill",CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",CHECKBOX_DISABLED_UNCHECKED:iconPrefix+"checkbox-unchecked-fill",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_SEARCH:iconPrefix+"search",INPUT_PLUS_NUM:iconPrefix+"caret-up",INPUT_MINUS_NUM:iconPrefix+"caret-down",NUMBER_INPUT_MINUS_NUM:iconPrefix+"minus",NUMBER_INPUT_PLUS_NUM:iconPrefix+"add",DATE_PICKER_DATE:iconPrefix+"calendar",PASSWORD_INPUT_SHOW_PWD:iconPrefix+"eye-fill-close",PASSWORD_INPUT_HIDE_PWD:iconPrefix+"eye-fill",MODAL_ZOOM_MIN:iconPrefix+"minus",MODAL_ZOOM_REVERT:iconPrefix+"recover",MODAL_ZOOM_IN:iconPrefix+"square",MODAL_ZOOM_OUT:iconPrefix+"maximize",MODAL_CLOSE:iconPrefix+"close",MODAL_INFO:iconPrefix+"info-circle-fill",MODAL_SUCCESS:iconPrefix+"success-circle-fill",MODAL_WARNING:iconPrefix+"warning-circle-fill",MODAL_ERROR:iconPrefix+"error-circle-fill",MODAL_QUESTION:iconPrefix+"question-circle-fill",MODAL_LOADING:iconPrefix+"spinner roll",DRAWER_CLOSE:iconPrefix+"close",FORM_PREFIX:iconPrefix+"question-circle-fill",FORM_SUFFIX:iconPrefix+"question-circle-fill",FORM_FOLDING:iconPrefix+"arrow-up rotate180",FORM_UNFOLDING:iconPrefix+"arrow-up",FORM_VALID_ERROR_ICON:iconPrefix+"warning-circle-fill",FORM_DESIGN_STYLE_SETTING:iconPrefix+"layout",FORM_DESIGN_PROPS_PC:iconPrefix+"pc",FORM_DESIGN_PROPS_MOBILE:iconPrefix+"mobile",FORM_DESIGN_PROPS_ADD:iconPrefix+"add",FORM_DESIGN_PROPS_EDIT:iconPrefix+"edit",FORM_DESIGN_WIDGET_ADD:iconPrefix+"square-plus-fill",FORM_DESIGN_WIDGET_COPY:iconPrefix+"copy",FORM_DESIGN_WIDGET_DELETE:iconPrefix+"delete",FORM_DESIGN_WIDGET_SWAP_LR:iconPrefix+"swap",FORM_DESIGN_WIDGET_OPTION_DELETE:iconPrefix+"delete",FORM_DESIGN_WIDGET_OPTION_EXPAND_OPEN:iconPrefix+"square-plus",FORM_DESIGN_WIDGET_OPTION_EXPAND_CLOSE:iconPrefix+"square-minus",LIST_DESIGN_FIELD_SETTING:iconPrefix+"custom-column",LIST_DESIGN_LIST_SETTING:iconPrefix+"menu",LIST_DESIGN_LIST_SETTING_SEARCH_DELETE:iconPrefix+"delete",LIST_DESIGN_LIST_SETTING_ACTIVE_DELETE:iconPrefix+"delete",UPLOAD_FILE_ERROR:iconPrefix+"warning-circle-fill",UPLOAD_FILE_ADD:iconPrefix+"upload",UPLOAD_FILE_REMOVE:iconPrefix+"delete",UPLOAD_FILE_DOWNLOAD:iconPrefix+"download",UPLOAD_IMAGE_UPLOAD:iconPrefix+"upload",UPLOAD_IMAGE_RE_UPLOAD:iconPrefix+"repeat",UPLOAD_IMAGE_ADD:iconPrefix+"add",UPLOAD_IMAGE_REMOVE:iconPrefix+"close",UPLOAD_LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",UPLOAD_FILE_TYPE_DEFAULT:iconPrefix+"file",UPLOAD_FILE_TYPE_XLSX:iconPrefix+"file-excel",UPLOAD_FILE_TYPE_XLS:iconPrefix+"file-excel",UPLOAD_FILE_TYPE_PDF:iconPrefix+"file-pdf",UPLOAD_FILE_TYPE_PNG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_GIF:iconPrefix+"file-image",UPLOAD_FILE_TYPE_JPG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_JPEG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_MD:iconPrefix+"file-markdown",UPLOAD_FILE_TYPE_PPD:iconPrefix+"file-ppt",UPLOAD_FILE_TYPE_DOCX:iconPrefix+"file-word",UPLOAD_FILE_TYPE_DOC:iconPrefix+"file-word",UPLOAD_FILE_TYPE_ZIP:iconPrefix+"file-zip",UPLOAD_FILE_TYPE_TXT:iconPrefix+"file-txt",IMAGE_PREVIEW_CLOSE:iconPrefix+"close",IMAGE_PREVIEW_PREVIOUS:iconPrefix+"arrow-left",IMAGE_PREVIEW_NEXT:iconPrefix+"arrow-right",IMAGE_PREVIEW_PCT_FULL:iconPrefix+"pct-full",IMAGE_PREVIEW_PCT_1_1:iconPrefix+"pct-1-1",IMAGE_PREVIEW_ZOOM_OUT:iconPrefix+"search-zoom-out",IMAGE_PREVIEW_ZOOM_IN:iconPrefix+"search-zoom-in",IMAGE_PREVIEW_ROTATE_LEFT:iconPrefix+"rotate-left",IMAGE_PREVIEW_ROTATE_RIGHT:iconPrefix+"rotate-right",IMAGE_PREVIEW_PRINT:iconPrefix+"print",IMAGE_PREVIEW_DOWNLOAD:iconPrefix+"download",ALERT_CLOSE:iconPrefix+"close",ALERT_INFO:iconPrefix+"info-circle-fill",ALERT_SUCCESS:iconPrefix+"success-circle-fill",ALERT_WARNING:iconPrefix+"warning-circle-fill",ALERT_ERROR:iconPrefix+"error-circle-fill",TREE_NODE_OPEN:iconPrefix+"caret-right rotate90",TREE_NODE_CLOSE:iconPrefix+"caret-right",TREE_NODE_LOADED:iconPrefix+"spinner roll",TREE_DRAG:iconPrefix+"drag-handle",TREE_DRAG_STATUS_NODE:iconPrefix+"sort",TREE_DRAG_STATUS_SUB_NODE:iconPrefix+"add-sub",TREE_DRAG_DISABLED:iconPrefix+"no-drop",TREE_SELECT_LOADED:iconPrefix+"spinner roll",TREE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TREE_SELECT_CLOSE:iconPrefix+"caret-down",TABLE_SELECT_LOADED:iconPrefix+"spinner roll",TABLE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TABLE_SELECT_CLOSE:iconPrefix+"caret-down",TABS_TAB_BUTTON_TOP:iconPrefix+"arrow-up",TABS_TAB_BUTTON_BOTTOM:iconPrefix+"arrow-down",TABS_TAB_BUTTON_LEFT:iconPrefix+"arrow-left",TABS_TAB_BUTTON_RIGHT:iconPrefix+"arrow-right",TABS_TAB_CLOSE:iconPrefix+"close",TABS_TAB_REFRESH:iconPrefix+"refresh",TABS_TAB_REFRESH_LOADING:iconPrefix+"refresh roll",TEXT_COPY:iconPrefix+"copy",TEXT_LOADING:iconPrefix+"spinner roll",TAG_CLOSE:iconPrefix+"close",TAG_LOADING:iconPrefix+"spinner roll",CAROUSEL_HORIZONTAL_PREVIOUS:iconPrefix+"arrow-left",CAROUSEL_HORIZONTAL_NEXT:iconPrefix+"arrow-right",CAROUSEL_VERTICAL_PREVIOUS:iconPrefix+"arrow-up",CAROUSEL_VERTICAL_NEXT:iconPrefix+"arrow-down",COLLAPSE_OPEN:iconPrefix+"arrow-right rotate90",COLLAPSE_CLOSE:iconPrefix+"arrow-right",EMPTY_DEFAULT:iconPrefix+"empty",RESULT_INFO:iconPrefix+"info-circle-fill",RESULT_SUCCESS:iconPrefix+"success-circle-fill",RESULT_WARNING:iconPrefix+"warning-circle-fill",RESULT_ERROR:iconPrefix+"error-circle-fill",RESULT_QUESTION:iconPrefix+"question-circle-fill",RESULT_LOADING:iconPrefix+"spinner roll",RATE_CHECKED:iconPrefix+"star-fill",RATE_UNCHECKED:iconPrefix+"star",COLOR_PICKER_COLOR_COPY:iconPrefix+"copy",COLOR_PICKER_EYE_DROPPER:iconPrefix+"dropper",COLOR_PICKER_TPTY_OPEN:iconPrefix+"arrow-down rotate180",COLOR_PICKER_TPTY_CLOSE:iconPrefix+"arrow-down",SPLIT_TOP_ACTION:iconPrefix+"arrow-up",SPLIT_BOTTOM_ACTION:iconPrefix+"arrow-down",SPLIT_LEFT_ACTION:iconPrefix+"arrow-left",SPLIT_RIGHT_ACTION:iconPrefix+"arrow-right",BACKTOP_TOP:iconPrefix+"top",CONTEXT_MENU_OPTION_LOADING:iconPrefix+"spinner roll",CONTEXT_MENU_CHILDREN:iconPrefix+"arrow-right"});var _default=exports.default=_core.VxeUI;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={version:!0,config:!0,setup:!0},_core=(exports.config=config,exports.default=void 0,exports.setup=setup,exports.version=void 0,require("@vxe-ui/core")),_dynamics=(Object.keys(_core).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_core[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _core[e]}})}),require("../dynamics")),_log=require("./src/log");const version=exports.version="4.11.34";function config(e){return(0,_log.warnLog)("vxe.error.delFunc",["config","setConfig"]),(0,_core.setConfig)(e)}function setup(e){return(0,_log.warnLog)("vxe.error.delFunc",["setup","setConfig"]),(0,_core.setConfig)(e)}_core.VxeUI.uiVersion=version,_core.VxeUI.dynamicApp=_dynamics.dynamicApp,_core.VxeUI.config=config,_core.VxeUI.setup=setup,(0,_core.setConfig)({alert:{},anchor:{},anchorLink:{},avatar:{},backtop:{showIcon:!0,showContent:!0,threshold:20},badge:{},breadcrumb:{separator:"/"},breadcrumbItem:{},button:{trigger:"hover",prefixTooltip:{enterable:!0},suffixTooltip:{enterable:!0},showDropdownIcon:!0},buttonGroup:{},calendar:{minDate:new Date(1900,0,1),maxDate:new Date(2100,0,1),startDay:1,selectDay:1},card:{border:!0,padding:!0},carousel:{height:200,loop:!0,interval:5e3},carouselItem:{},cascader:{autoClose:!0},checkbox:{},checkboxButton:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},contextMenu:{},countdown:{},colorPicker:{type:"rgb",clearable:!0,showAlpha:!0,clickToCopy:!0,showColorExtractor:!0,showQuick:!0},datePanel:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1},datePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,autoClose:!0,showClearButton:null,showConfirmButton:null},dateRangePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,separator:" ~ ",autoClose:!0,showClearButton:null,showConfirmButton:null},drawer:{position:"right",showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0,padding:!0,cancelClosable:!0,confirmClosable:!0},empty:{},form:{validConfig:{showErrorMessage:!0,autoPos:!0,theme:"beautify"},tooltipConfig:{enterable:!0},titleAsterisk:!0,titleOverflow:!1,padding:!0},formDesign:{height:400,showHeader:!0,showPc:!0},formGather:{},formGroup:{},formItem:{},formView:{},icon:{},iconPicker:{icons:["home","company","comment","setting","send","envelope","envelope-open","bell","search","print","pc","goods","chart-line","edit","delete","save","folder","microphone","flag","link","location","sunny","rmb","usd","user","add-user","add-users","star","unlock","time","text","feedback","calendar","association-form","cloud-download","cloud-upload","file","subtable","chart-bar-x","chart-bar-y","chart-line","chart-pie","chart-radar"]},image:{showPreview:!0,showPrintButton:!0,maskClosable:!0},imageGroup:{showPreview:!0,showPrintButton:!0},imagePreview:{showPrintButton:!0},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},layoutAside:{},layoutBody:{},layoutContainer:{},layoutFooter:{},layoutHeader:{},link:{underline:!0},listDesign:{height:400,showPc:!0},listView:{},list:{virtualYConfig:{enabled:!0,gt:100}},loading:{showIcon:!0,showText:!0},menu:{},modal:{top:16,showHeader:!0,minWidth:340,minHeight:140,lockView:!0,mask:!0,duration:3e3,marginSize:0,dblclickZoom:!0,showTitleOverflow:!0,animat:!0,showClose:!0,padding:!0,draggable:!0,showConfirmButton:null,cancelClosable:!0,confirmClosable:!0,zoomConfig:{minimizeMaxSize:10,minimizeVerticalOffset:{top:-24,left:0},minimizeHorizontalOffset:{top:0,left:32}},storageKey:"VXE_MODAL_POSITION"},noticeBar:{},numberInput:{digits:2,autoFill:!0,controlConfig:{enabled:!0,layout:"right",showButton:!0,isWheel:!0,isArrow:!0}},optgroup:{},option:{},pager:{pageSizePlacement:"top"},print:{pageStyle:{}},passwordInput:{controls:!0},printPageBreak:{},pulldown:{},radio:{strict:!0},radioButton:{strict:!0},radioGroup:{strict:!0},rate:{},result:{},row:{},segmented:{},select:{multiCharOverflow:8,remoteConfig:{enabled:!0,autoLoad:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},splitter:{resize:!0,itemConfig:{minWidth:40,minHeight:40},resizeConfig:{showTip:!0}},splitterPanel:{},slider:{max:100,min:0},steps:{},switch:{},tabPane:{},tableSelect:{gridConfig:{showOverflow:!0,showHeaderOverflow:!0,showFooterOverflow:!0,rowConfig:{isHover:!0},virtualXConfig:{enabled:!0,gt:0},virtualYConfig:{enabled:!0,gt:0}}},tabs:{},tag:{},textEllipsis:{underline:!0},text:{copyConfig:{showMessage:!0}},textarea:{resize:"none"},timeline:{},timelineItem:{},tip:{},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300,isArrow:!0},tree:{indent:20,minHeight:60,radioConfig:{strict:!0},dragConfig:{showIcon:!0,animation:!0,showGuidesStatus:!0,showDragTip:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},treeSelect:{autoClose:!0,virtualYConfig:{enabled:!0,gt:0,oSize:2},treeConfig:{maxHeight:300,radioConfig:{},checkboxConfig:{},filterConfig:{autoExpandAll:!0}}},upload:{mode:"all",imageTypes:["jpg","jpeg","png","gif"],showList:!0,showUploadButton:!0,showButtonText:!0,showRemoveButton:!0,showButtonIcon:!0,showPreview:!0,dragToUpload:!0,showLimitSize:!0,showLimitCount:!0,autoSubmit:!0,maxSimultaneousUploads:5},watermark:{rotate:-30,gap:[100,100]},table:{},colgroup:{},column:{},toolbar:{},grid:{},gantt:{}});const iconPrefix="vxe-icon-";(0,_core.setIcon)({LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",BUTTON_DROPDOWN:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",BUTTON_TOOLTIP_ICON:iconPrefix+"question-circle-fill",MENU_ITEM_EXPAND_OPEN:iconPrefix+"arrow-down rotate180",MENU_ITEM_EXPAND_CLOSE:iconPrefix+"arrow-down",SELECT_LOADED:iconPrefix+"spinner roll",SELECT_OPEN:iconPrefix+"caret-down rotate180",SELECT_CLOSE:iconPrefix+"caret-down",SELECT_ADD_OPTION:iconPrefix+"add",ICON_PICKER_OPEN:iconPrefix+"caret-down rotate180",ICON_PICKER_CLOSE:iconPrefix+"caret-down",PAGER_HOME:iconPrefix+"home-page",PAGER_END:iconPrefix+"end-page",PAGER_JUMP_PREV:iconPrefix+"arrow-double-left",PAGER_JUMP_NEXT:iconPrefix+"arrow-double-right",PAGER_PREV_PAGE:iconPrefix+"arrow-left",PAGER_NEXT_PAGE:iconPrefix+"arrow-right",PAGER_JUMP_MORE:iconPrefix+"ellipsis-h",RADIO_CHECKED:iconPrefix+"radio-checked-fill",RADIO_UNCHECKED:iconPrefix+"radio-unchecked",RADIO_DISABLED_UNCHECKED:iconPrefix+"radio-unchecked-fill",CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate-fill",CHECKBOX_CHECKED:iconPrefix+"checkbox-checked-fill",CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",CHECKBOX_DISABLED_UNCHECKED:iconPrefix+"checkbox-unchecked-fill",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_SEARCH:iconPrefix+"search",INPUT_PLUS_NUM:iconPrefix+"caret-up",INPUT_MINUS_NUM:iconPrefix+"caret-down",NUMBER_INPUT_MINUS_NUM:iconPrefix+"minus",NUMBER_INPUT_PLUS_NUM:iconPrefix+"add",DATE_PICKER_DATE:iconPrefix+"calendar",PASSWORD_INPUT_SHOW_PWD:iconPrefix+"eye-fill-close",PASSWORD_INPUT_HIDE_PWD:iconPrefix+"eye-fill",MODAL_ZOOM_MIN:iconPrefix+"minus",MODAL_ZOOM_REVERT:iconPrefix+"recover",MODAL_ZOOM_IN:iconPrefix+"square",MODAL_ZOOM_OUT:iconPrefix+"maximize",MODAL_CLOSE:iconPrefix+"close",MODAL_INFO:iconPrefix+"info-circle-fill",MODAL_SUCCESS:iconPrefix+"success-circle-fill",MODAL_WARNING:iconPrefix+"warning-circle-fill",MODAL_ERROR:iconPrefix+"error-circle-fill",MODAL_QUESTION:iconPrefix+"question-circle-fill",MODAL_LOADING:iconPrefix+"spinner roll",DRAWER_CLOSE:iconPrefix+"close",FORM_PREFIX:iconPrefix+"question-circle-fill",FORM_SUFFIX:iconPrefix+"question-circle-fill",FORM_FOLDING:iconPrefix+"arrow-up rotate180",FORM_UNFOLDING:iconPrefix+"arrow-up",FORM_VALID_ERROR_ICON:iconPrefix+"warning-circle-fill",FORM_DESIGN_STYLE_SETTING:iconPrefix+"layout",FORM_DESIGN_PROPS_PC:iconPrefix+"pc",FORM_DESIGN_PROPS_MOBILE:iconPrefix+"mobile",FORM_DESIGN_PROPS_ADD:iconPrefix+"add",FORM_DESIGN_PROPS_EDIT:iconPrefix+"edit",FORM_DESIGN_WIDGET_ADD:iconPrefix+"square-plus-fill",FORM_DESIGN_WIDGET_COPY:iconPrefix+"copy",FORM_DESIGN_WIDGET_DELETE:iconPrefix+"delete",FORM_DESIGN_WIDGET_SWAP_LR:iconPrefix+"swap",FORM_DESIGN_WIDGET_OPTION_DELETE:iconPrefix+"delete",FORM_DESIGN_WIDGET_OPTION_EXPAND_OPEN:iconPrefix+"square-plus",FORM_DESIGN_WIDGET_OPTION_EXPAND_CLOSE:iconPrefix+"square-minus",LIST_DESIGN_FIELD_SETTING:iconPrefix+"custom-column",LIST_DESIGN_LIST_SETTING:iconPrefix+"menu",LIST_DESIGN_LIST_SETTING_SEARCH_DELETE:iconPrefix+"delete",LIST_DESIGN_LIST_SETTING_ACTIVE_DELETE:iconPrefix+"delete",UPLOAD_FILE_ERROR:iconPrefix+"warning-circle-fill",UPLOAD_FILE_ADD:iconPrefix+"upload",UPLOAD_FILE_REMOVE:iconPrefix+"delete",UPLOAD_FILE_DOWNLOAD:iconPrefix+"download",UPLOAD_IMAGE_UPLOAD:iconPrefix+"upload",UPLOAD_IMAGE_RE_UPLOAD:iconPrefix+"repeat",UPLOAD_IMAGE_ADD:iconPrefix+"add",UPLOAD_IMAGE_REMOVE:iconPrefix+"close",UPLOAD_LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",UPLOAD_FILE_TYPE_DEFAULT:iconPrefix+"file",UPLOAD_FILE_TYPE_XLSX:iconPrefix+"file-excel",UPLOAD_FILE_TYPE_XLS:iconPrefix+"file-excel",UPLOAD_FILE_TYPE_PDF:iconPrefix+"file-pdf",UPLOAD_FILE_TYPE_PNG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_GIF:iconPrefix+"file-image",UPLOAD_FILE_TYPE_JPG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_JPEG:iconPrefix+"file-image",UPLOAD_FILE_TYPE_MD:iconPrefix+"file-markdown",UPLOAD_FILE_TYPE_PPD:iconPrefix+"file-ppt",UPLOAD_FILE_TYPE_DOCX:iconPrefix+"file-word",UPLOAD_FILE_TYPE_DOC:iconPrefix+"file-word",UPLOAD_FILE_TYPE_ZIP:iconPrefix+"file-zip",UPLOAD_FILE_TYPE_TXT:iconPrefix+"file-txt",IMAGE_PREVIEW_CLOSE:iconPrefix+"close",IMAGE_PREVIEW_PREVIOUS:iconPrefix+"arrow-left",IMAGE_PREVIEW_NEXT:iconPrefix+"arrow-right",IMAGE_PREVIEW_PCT_FULL:iconPrefix+"pct-full",IMAGE_PREVIEW_PCT_1_1:iconPrefix+"pct-1-1",IMAGE_PREVIEW_ZOOM_OUT:iconPrefix+"search-zoom-out",IMAGE_PREVIEW_ZOOM_IN:iconPrefix+"search-zoom-in",IMAGE_PREVIEW_ROTATE_LEFT:iconPrefix+"rotate-left",IMAGE_PREVIEW_ROTATE_RIGHT:iconPrefix+"rotate-right",IMAGE_PREVIEW_PRINT:iconPrefix+"print",IMAGE_PREVIEW_DOWNLOAD:iconPrefix+"download",ALERT_CLOSE:iconPrefix+"close",ALERT_INFO:iconPrefix+"info-circle-fill",ALERT_SUCCESS:iconPrefix+"success-circle-fill",ALERT_WARNING:iconPrefix+"warning-circle-fill",ALERT_ERROR:iconPrefix+"error-circle-fill",TREE_NODE_OPEN:iconPrefix+"caret-right rotate90",TREE_NODE_CLOSE:iconPrefix+"caret-right",TREE_NODE_LOADED:iconPrefix+"spinner roll",TREE_DRAG:iconPrefix+"drag-handle",TREE_DRAG_STATUS_NODE:iconPrefix+"sort",TREE_DRAG_STATUS_SUB_NODE:iconPrefix+"add-sub",TREE_DRAG_DISABLED:iconPrefix+"no-drop",TREE_SELECT_LOADED:iconPrefix+"spinner roll",TREE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TREE_SELECT_CLOSE:iconPrefix+"caret-down",TABLE_SELECT_LOADED:iconPrefix+"spinner roll",TABLE_SELECT_OPEN:iconPrefix+"caret-down rotate180",TABLE_SELECT_CLOSE:iconPrefix+"caret-down",TABS_TAB_BUTTON_TOP:iconPrefix+"arrow-up",TABS_TAB_BUTTON_BOTTOM:iconPrefix+"arrow-down",TABS_TAB_BUTTON_LEFT:iconPrefix+"arrow-left",TABS_TAB_BUTTON_RIGHT:iconPrefix+"arrow-right",TABS_TAB_CLOSE:iconPrefix+"close",TABS_TAB_REFRESH:iconPrefix+"refresh",TABS_TAB_REFRESH_LOADING:iconPrefix+"refresh roll",TEXT_COPY:iconPrefix+"copy",TEXT_LOADING:iconPrefix+"spinner roll",TAG_CLOSE:iconPrefix+"close",TAG_LOADING:iconPrefix+"spinner roll",CAROUSEL_HORIZONTAL_PREVIOUS:iconPrefix+"arrow-left",CAROUSEL_HORIZONTAL_NEXT:iconPrefix+"arrow-right",CAROUSEL_VERTICAL_PREVIOUS:iconPrefix+"arrow-up",CAROUSEL_VERTICAL_NEXT:iconPrefix+"arrow-down",COLLAPSE_OPEN:iconPrefix+"arrow-right rotate90",COLLAPSE_CLOSE:iconPrefix+"arrow-right",EMPTY_DEFAULT:iconPrefix+"empty",RESULT_INFO:iconPrefix+"info-circle-fill",RESULT_SUCCESS:iconPrefix+"success-circle-fill",RESULT_WARNING:iconPrefix+"warning-circle-fill",RESULT_ERROR:iconPrefix+"error-circle-fill",RESULT_QUESTION:iconPrefix+"question-circle-fill",RESULT_LOADING:iconPrefix+"spinner roll",RATE_CHECKED:iconPrefix+"star-fill",RATE_UNCHECKED:iconPrefix+"star",COLOR_PICKER_COLOR_COPY:iconPrefix+"copy",COLOR_PICKER_EYE_DROPPER:iconPrefix+"dropper",COLOR_PICKER_TPTY_OPEN:iconPrefix+"arrow-down rotate180",COLOR_PICKER_TPTY_CLOSE:iconPrefix+"arrow-down",SPLIT_TOP_ACTION:iconPrefix+"arrow-up",SPLIT_BOTTOM_ACTION:iconPrefix+"arrow-down",SPLIT_LEFT_ACTION:iconPrefix+"arrow-left",SPLIT_RIGHT_ACTION:iconPrefix+"arrow-right",BACKTOP_TOP:iconPrefix+"top",CONTEXT_MENU_OPTION_LOADING:iconPrefix+"spinner roll",CONTEXT_MENU_CHILDREN:iconPrefix+"arrow-right"});var _default=exports.default=_core.VxeUI;
|
package/lib/ui/src/log.js
CHANGED
|
@@ -5,6 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.warnLog = exports.errLog = void 0;
|
|
7
7
|
var _core = require("@vxe-ui/core");
|
|
8
|
-
const version = `ui v${"4.11.
|
|
8
|
+
const version = `ui v${"4.11.34"}`;
|
|
9
9
|
const warnLog = exports.warnLog = _core.log.create('warn', version);
|
|
10
10
|
const errLog = exports.errLog = _core.log.create('error', version);
|
package/lib/ui/src/log.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");const version="ui v4.11.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");const version="ui v4.11.34",warnLog=exports.warnLog=_core.log.create("warn",version),errLog=exports.errLog=_core.log.create("error",version);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.vxe-context-menu{display:none;top:0;left:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-context-menu.is--visible{display:block}.vxe-context-menu.is--fixed{position:fixed}.vxe-context-menu.is--absolute{position:absolute}.vxe-context-menu.cp--left .vxe-context-menu--children-wrapper{left:calc(-100% + 2px)}.vxe-context-menu.cp--right .vxe-context-menu--children-wrapper{left:calc(100% - 2px)}.vxe-context-menu--group-wrapper{border-top:1px solid var(--vxe-ui-base-popup-border-color)}.vxe-context-menu--group-wrapper:first-child{border:0}.vxe-context-menu--children-wrapper,.vxe-context-menu--wrapper{padding:0;color:var(--vxe-ui-font-color);font-family:var(--vxe-ui-font-family);border:1px solid var(--vxe-ui-base-popup-border-color);background-color:var(--vxe-ui-layout-background-color);border-radius:var(--vxe-ui-base-border-radius);box-shadow:0 0 12px 0 rgba(0,0,0,.3)}.vxe-context-menu--children-wrapper{display:none;position:absolute;transform:translateY(-5px)}.vxe-context-menu--item-wrapper{position:relative;min-width:12em;max-width:20em;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-context-menu--item-wrapper.is--active{background-color:rgba(0,0,0,.1)}.vxe-context-menu--first-item.is--
|
|
1
|
+
.vxe-context-menu{display:none;top:0;left:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-context-menu.is--visible{display:block}.vxe-context-menu.is--fixed{position:fixed}.vxe-context-menu.is--absolute{position:absolute}.vxe-context-menu.cp--left .vxe-context-menu--children-wrapper{left:calc(-100% + 2px)}.vxe-context-menu.cp--right .vxe-context-menu--children-wrapper{left:calc(100% - 2px)}.vxe-context-menu--group-wrapper{border-top:1px solid var(--vxe-ui-base-popup-border-color)}.vxe-context-menu--group-wrapper:first-child{border:0}.vxe-context-menu--children-wrapper,.vxe-context-menu--wrapper{padding:0;color:var(--vxe-ui-font-color);font-family:var(--vxe-ui-font-family);border:1px solid var(--vxe-ui-base-popup-border-color);background-color:var(--vxe-ui-layout-background-color);border-radius:var(--vxe-ui-base-border-radius);box-shadow:0 0 12px 0 rgba(0,0,0,.3)}.vxe-context-menu--children-wrapper{display:none;position:absolute;transform:translateY(-5px)}.vxe-context-menu--item-wrapper{position:relative;min-width:12em;max-width:20em;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-context-menu--item-wrapper.is--active{background-color:rgba(0,0,0,.1)}.vxe-context-menu--first-item.is--subactive .vxe-context-menu--children-wrapper{display:block}.vxe-context-menu--item-inner{height:var(--vxe-ui-context-menu-option-height);display:flex;align-items:center;padding:0 .8em;cursor:pointer}.vxe-context-menu--item-inner.is--loading{opacity:.5;cursor:progress}.vxe-context-menu--item-inner.is--disabled{color:var(--vxe-ui-font-disabled-color);cursor:no-drop}.vxe-context-menu--item-prefix{min-width:1em;text-align:center}.vxe-context-menu--item-prefix,.vxe-context-menu--item-suffix{flex-shrink:0;font-size:.9em}.vxe-context-menu--item-label{font-size:.9em;padding:0 .5em;flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vxe-context-menu{font-size:var(--vxe-ui-font-size-default)}.vxe-context-menu.size--medium{font-size:var(--vxe-ui-font-size-medium)}.vxe-context-menu.size--small{font-size:var(--vxe-ui-font-size-small)}.vxe-context-menu.size--mini{font-size:var(--vxe-ui-font-size-mini)}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ import { getConfig, createEvent, useSize, usePermission, renderEmptyElement } fr
|
|
|
4
4
|
import XEUtils from 'xe-utils'
|
|
5
5
|
import VxeButtonComponent from './button'
|
|
6
6
|
|
|
7
|
-
import type { VxeButtonGroupPropTypes, VxeButtonGroupEmits, ButtonGroupReactData, VxeButtonGroupConstructor, VxeButtonGroupPrivateMethods, ButtonGroupMethods, ButtonPrivateComputed, ButtonGroupPrivateMethods } from '../../../types'
|
|
7
|
+
import type { VxeButtonGroupPropTypes, VxeButtonGroupEmits, ButtonGroupReactData, VxeButtonGroupConstructor, VxeButtonGroupPrivateMethods, ButtonGroupMethods, ButtonPrivateComputed, ValueOf, ButtonGroupPrivateMethods } from '../../../types'
|
|
8
8
|
|
|
9
9
|
export default defineVxeComponent({
|
|
10
10
|
name: 'VxeButtonGroup',
|
|
@@ -25,7 +25,8 @@ export default defineVxeComponent({
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
emits: [
|
|
28
|
-
'click'
|
|
28
|
+
'click',
|
|
29
|
+
'contextmenu'
|
|
29
30
|
] as VxeButtonGroupEmits,
|
|
30
31
|
setup (props, context) {
|
|
31
32
|
const { slots, emit } = context
|
|
@@ -50,10 +51,12 @@ export default defineVxeComponent({
|
|
|
50
51
|
|
|
51
52
|
const { computePermissionInfo } = usePermission(props)
|
|
52
53
|
|
|
54
|
+
const dispatchEvent = (type: ValueOf<VxeButtonGroupEmits>, params: Record<string, any>, evnt: Event | null) => {
|
|
55
|
+
emit(type, createEvent(evnt, { $buttonGroup: $xeButtonGroup }, params))
|
|
56
|
+
}
|
|
57
|
+
|
|
53
58
|
const buttonGroupMethods: ButtonGroupMethods = {
|
|
54
|
-
dispatchEvent
|
|
55
|
-
emit(type, createEvent(evnt, { $buttonGroup: $xeButtonGroup }, params))
|
|
56
|
-
}
|
|
59
|
+
dispatchEvent
|
|
57
60
|
}
|
|
58
61
|
|
|
59
62
|
const buttonGroupPrivateMethods: ButtonGroupPrivateMethods = {
|
|
@@ -65,6 +68,10 @@ export default defineVxeComponent({
|
|
|
65
68
|
}
|
|
66
69
|
}
|
|
67
70
|
|
|
71
|
+
const contextmenuEvent = (evnt: MouseEvent) => {
|
|
72
|
+
dispatchEvent('contextmenu', {}, evnt)
|
|
73
|
+
}
|
|
74
|
+
|
|
68
75
|
Object.assign($xeButtonGroup, buttonGroupMethods, buttonGroupPrivateMethods)
|
|
69
76
|
|
|
70
77
|
const renderVN = () => {
|
|
@@ -77,7 +84,8 @@ export default defineVxeComponent({
|
|
|
77
84
|
return h('div', {
|
|
78
85
|
class: ['vxe-button-group', className ? (XEUtils.isFunction(className) ? className({ $buttonGroup: $xeButtonGroup }) : className) : '', {
|
|
79
86
|
'is--vertical': vertical
|
|
80
|
-
}]
|
|
87
|
+
}],
|
|
88
|
+
onContextmenu: contextmenuEvent
|
|
81
89
|
}, defaultSlot
|
|
82
90
|
? defaultSlot({})
|
|
83
91
|
: (options
|
|
@@ -117,7 +117,8 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
117
117
|
'mouseenter',
|
|
118
118
|
'mouseleave',
|
|
119
119
|
'dropdown-click',
|
|
120
|
-
'dropdownClick'
|
|
120
|
+
'dropdownClick',
|
|
121
|
+
'contextmenu'
|
|
121
122
|
] as VxeButtonEmits,
|
|
122
123
|
setup (props, context) {
|
|
123
124
|
const { slots, emit } = context
|
|
@@ -378,6 +379,10 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
378
379
|
dispatchEvent('mouseleave', {}, evnt)
|
|
379
380
|
}
|
|
380
381
|
|
|
382
|
+
const contextmenuEvent = (evnt: MouseEvent) => {
|
|
383
|
+
dispatchEvent('contextmenu', {}, evnt)
|
|
384
|
+
}
|
|
385
|
+
|
|
381
386
|
const clickTargetEvent = (evnt: MouseEvent) => {
|
|
382
387
|
const { loading, trigger } = props
|
|
383
388
|
const btnDisabled = computeBtnDisabled.value
|
|
@@ -616,7 +621,9 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
616
621
|
return renderEmptyElement($xeButton)
|
|
617
622
|
}
|
|
618
623
|
if (dropdownsSlot || downBtnList.length) {
|
|
619
|
-
const btnOns: Record<string, any> = {
|
|
624
|
+
const btnOns: Record<string, any> = {
|
|
625
|
+
onContextmenu: contextmenuEvent
|
|
626
|
+
}
|
|
620
627
|
const panelOns: Record<string, any> = {}
|
|
621
628
|
if (trigger === 'hover') {
|
|
622
629
|
// hover 触发
|
|
@@ -758,7 +765,8 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
758
765
|
to: routerLink,
|
|
759
766
|
onClick: clickEvent,
|
|
760
767
|
onMouseenter: mouseenterEvent,
|
|
761
|
-
onMouseleave: mouseleaveEvent
|
|
768
|
+
onMouseleave: mouseleaveEvent,
|
|
769
|
+
onContextmenu: contextmenuEvent
|
|
762
770
|
}, {
|
|
763
771
|
default () {
|
|
764
772
|
return renderContent()
|
|
@@ -781,7 +789,8 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
781
789
|
disabled: btnDisabled || loading,
|
|
782
790
|
onClick: clickEvent,
|
|
783
791
|
onMouseenter: mouseenterEvent,
|
|
784
|
-
onMouseleave: mouseleaveEvent
|
|
792
|
+
onMouseleave: mouseleaveEvent,
|
|
793
|
+
onContextmenu: contextmenuEvent
|
|
785
794
|
}, renderContent())
|
|
786
795
|
}
|
|
787
796
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, h, reactive, PropType, computed, VNode, watch, onMounted, onBeforeUnmount, nextTick } from 'vue'
|
|
2
2
|
import { defineVxeComponent } from '../../ui/src/comp'
|
|
3
3
|
import XEUtils from 'xe-utils'
|
|
4
|
-
import { getConfig, getIcon, getI18n, createEvent, useSize, globalEvents, renderEmptyElement } from '../../ui'
|
|
4
|
+
import { getConfig, getIcon, getI18n, createEvent, useSize, globalEvents, renderEmptyElement, GLOBAL_EVENT_KEYS } from '../../ui'
|
|
5
5
|
import { getLastZIndex, nextSubZIndex, nextZIndex, getFuncText } from '../../ui/src/utils'
|
|
6
6
|
import { getEventTargetNode, toCssUnit } from '../../ui/src/dom'
|
|
7
7
|
import { getSlotVNs } from '../../ui/src/vn'
|
|
@@ -81,6 +81,21 @@ export default defineVxeComponent({
|
|
|
81
81
|
return options || []
|
|
82
82
|
})
|
|
83
83
|
|
|
84
|
+
const computeAllFirstMenuList = computed(() => {
|
|
85
|
+
const menuGroups: VxeContextMenuDefines.MenuFirstOption[] = computeMenuGroups.value
|
|
86
|
+
const firstList = []
|
|
87
|
+
for (let i = 0; i < menuGroups.length; i++) {
|
|
88
|
+
const list = menuGroups[i]
|
|
89
|
+
for (let j = 0; j < list.length; j++) {
|
|
90
|
+
const firstItem = list[j]
|
|
91
|
+
if (hasValidItem(firstItem)) {
|
|
92
|
+
firstList.push(firstItem)
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return firstList
|
|
97
|
+
})
|
|
98
|
+
|
|
84
99
|
const computeTopAndLeft = computed(() => {
|
|
85
100
|
const { x, y } = props
|
|
86
101
|
return `${x}${y}`
|
|
@@ -179,7 +194,7 @@ export default defineVxeComponent({
|
|
|
179
194
|
return children && children.some((child) => child.visible !== false)
|
|
180
195
|
}
|
|
181
196
|
|
|
182
|
-
const handleItemClickEvent = (evnt: MouseEvent, item: VxeContextMenuDefines.MenuFirstOption | VxeContextMenuDefines.MenuChildOption) => {
|
|
197
|
+
const handleItemClickEvent = (evnt: MouseEvent | KeyboardEvent, item: VxeContextMenuDefines.MenuFirstOption | VxeContextMenuDefines.MenuChildOption) => {
|
|
183
198
|
if (!hasChildMenu(item)) {
|
|
184
199
|
dispatchEvent('option-click', { option: item }, evnt)
|
|
185
200
|
close()
|
|
@@ -188,7 +203,17 @@ export default defineVxeComponent({
|
|
|
188
203
|
|
|
189
204
|
const handleItemMouseenterEvent = (evnt: MouseEvent, item: VxeContextMenuDefines.MenuFirstOption | VxeContextMenuDefines.MenuChildOption, parentitem?: VxeContextMenuDefines.MenuFirstOption | null) => {
|
|
190
205
|
reactData.activeOption = parentitem || item
|
|
191
|
-
|
|
206
|
+
if (parentitem) {
|
|
207
|
+
reactData.activeOption = parentitem
|
|
208
|
+
reactData.activeChildOption = item
|
|
209
|
+
} else {
|
|
210
|
+
reactData.activeOption = item
|
|
211
|
+
if (hasChildMenu(item)) {
|
|
212
|
+
reactData.activeChildOption = findFirstChildItem(item)
|
|
213
|
+
} else {
|
|
214
|
+
reactData.activeChildOption = null
|
|
215
|
+
}
|
|
216
|
+
}
|
|
192
217
|
}
|
|
193
218
|
|
|
194
219
|
const handleItemMouseleaveEvent = () => {
|
|
@@ -196,6 +221,178 @@ export default defineVxeComponent({
|
|
|
196
221
|
reactData.activeChildOption = null
|
|
197
222
|
}
|
|
198
223
|
|
|
224
|
+
const hasValidItem = (item: VxeContextMenuDefines.MenuFirstOption | VxeContextMenuDefines.MenuChildOption) => {
|
|
225
|
+
return !item.loading && !item.disabled && item.visible !== false
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
const findNextFirstItem = (allFirstList: VxeContextMenuDefines.MenuFirstOption[], firstItem: VxeContextMenuDefines.MenuFirstOption) => {
|
|
229
|
+
for (let i = 0; i < allFirstList.length; i++) {
|
|
230
|
+
const item = allFirstList[i]
|
|
231
|
+
if (firstItem === item) {
|
|
232
|
+
const nextItem = allFirstList[i + 1]
|
|
233
|
+
if (nextItem) {
|
|
234
|
+
return nextItem
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
return XEUtils.first(allFirstList)
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
const findPrevFirstItem = (allFirstList: VxeContextMenuDefines.MenuFirstOption[], firstItem: VxeContextMenuDefines.MenuFirstOption) => {
|
|
242
|
+
for (let i = 0; i < allFirstList.length; i++) {
|
|
243
|
+
const item = allFirstList[i]
|
|
244
|
+
if (firstItem === item) {
|
|
245
|
+
if (i > 0) {
|
|
246
|
+
return allFirstList[i - 1]
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
return XEUtils.last(allFirstList)
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
const findFirstChildItem = (firstItem: VxeContextMenuDefines.MenuFirstOption) => {
|
|
254
|
+
const { children } = firstItem
|
|
255
|
+
if (children) {
|
|
256
|
+
for (let i = 0; i < children.length; i++) {
|
|
257
|
+
const item = children[i]
|
|
258
|
+
if (hasValidItem(item)) {
|
|
259
|
+
return item
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
return null
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
const findPrevChildItem = (firstItem: VxeContextMenuDefines.MenuFirstOption, childItem: VxeContextMenuDefines.MenuChildOption) => {
|
|
267
|
+
const { children } = firstItem
|
|
268
|
+
let prevValidItem = null
|
|
269
|
+
if (children) {
|
|
270
|
+
for (let i = 0; i < children.length; i++) {
|
|
271
|
+
const item = children[i]
|
|
272
|
+
if (childItem === item) {
|
|
273
|
+
break
|
|
274
|
+
}
|
|
275
|
+
if (hasValidItem(item)) {
|
|
276
|
+
prevValidItem = item
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
if (!prevValidItem) {
|
|
280
|
+
for (let len = children.length - 1; len >= 0; len--) {
|
|
281
|
+
const item = children[len]
|
|
282
|
+
if (hasValidItem(item)) {
|
|
283
|
+
return item
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
return prevValidItem
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
const findNextChildItem = (firstItem: VxeContextMenuDefines.MenuFirstOption, childItem: VxeContextMenuDefines.MenuChildOption) => {
|
|
292
|
+
const { children } = firstItem
|
|
293
|
+
let firstValidItem = null
|
|
294
|
+
if (children) {
|
|
295
|
+
let isMetch = false
|
|
296
|
+
for (let i = 0; i < children.length; i++) {
|
|
297
|
+
const item = children[i]
|
|
298
|
+
if (!firstValidItem) {
|
|
299
|
+
if (hasValidItem(item)) {
|
|
300
|
+
firstValidItem = item
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
if (isMetch) {
|
|
304
|
+
if (hasValidItem(item)) {
|
|
305
|
+
return item
|
|
306
|
+
}
|
|
307
|
+
} else {
|
|
308
|
+
isMetch = childItem === item
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
return firstValidItem
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
const handleGlobalMousewheelEvent = (evnt: MouseEvent) => {
|
|
316
|
+
const { visible } = reactData
|
|
317
|
+
if (visible) {
|
|
318
|
+
const el = refElem.value
|
|
319
|
+
if (!getEventTargetNode(evnt, el, '').flag) {
|
|
320
|
+
close()
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
const handleGlobalKeydownEvent = (evnt: KeyboardEvent) => {
|
|
326
|
+
const { visible, childPos, activeOption, activeChildOption } = reactData
|
|
327
|
+
const allFirstMenuList = computeAllFirstMenuList.value
|
|
328
|
+
if (visible) {
|
|
329
|
+
const isLeftArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_LEFT)
|
|
330
|
+
const isUpArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_UP)
|
|
331
|
+
const isRightArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_RIGHT)
|
|
332
|
+
const isDwArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_DOWN)
|
|
333
|
+
const isEnter = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ENTER)
|
|
334
|
+
// 回车选中
|
|
335
|
+
if (isEnter) {
|
|
336
|
+
if (activeOption || activeChildOption) {
|
|
337
|
+
evnt.preventDefault()
|
|
338
|
+
evnt.stopPropagation()
|
|
339
|
+
if (!activeChildOption && hasChildMenu(activeOption)) {
|
|
340
|
+
reactData.activeChildOption = findFirstChildItem(activeOption)
|
|
341
|
+
return
|
|
342
|
+
}
|
|
343
|
+
handleItemClickEvent(evnt, activeChildOption || activeOption)
|
|
344
|
+
return
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
// 方向键操作
|
|
348
|
+
if (activeChildOption) {
|
|
349
|
+
if (isUpArrow) {
|
|
350
|
+
evnt.preventDefault()
|
|
351
|
+
reactData.activeChildOption = findPrevChildItem(activeOption, activeChildOption)
|
|
352
|
+
} else if (isDwArrow) {
|
|
353
|
+
evnt.preventDefault()
|
|
354
|
+
reactData.activeChildOption = findNextChildItem(activeOption, activeChildOption)
|
|
355
|
+
} else if (isLeftArrow) {
|
|
356
|
+
evnt.preventDefault()
|
|
357
|
+
if (childPos === 'left') {
|
|
358
|
+
// 无操作
|
|
359
|
+
} else {
|
|
360
|
+
reactData.activeChildOption = null
|
|
361
|
+
}
|
|
362
|
+
} else if (isRightArrow) {
|
|
363
|
+
evnt.preventDefault()
|
|
364
|
+
if (childPos === 'left') {
|
|
365
|
+
reactData.activeChildOption = null
|
|
366
|
+
} else {
|
|
367
|
+
// 无操作
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
} else if (activeOption) {
|
|
371
|
+
evnt.preventDefault()
|
|
372
|
+
if (isUpArrow) {
|
|
373
|
+
reactData.activeOption = findPrevFirstItem(allFirstMenuList, activeOption)
|
|
374
|
+
} else if (isDwArrow) {
|
|
375
|
+
reactData.activeOption = findNextFirstItem(allFirstMenuList, activeOption)
|
|
376
|
+
} else {
|
|
377
|
+
if (hasChildMenu(activeOption)) {
|
|
378
|
+
if (childPos === 'left') {
|
|
379
|
+
if (isLeftArrow) {
|
|
380
|
+
reactData.activeChildOption = findFirstChildItem(activeOption)
|
|
381
|
+
}
|
|
382
|
+
} else {
|
|
383
|
+
if (isRightArrow) {
|
|
384
|
+
reactData.activeChildOption = findFirstChildItem(activeOption)
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
} else {
|
|
390
|
+
evnt.preventDefault()
|
|
391
|
+
reactData.activeOption = XEUtils.first(allFirstMenuList)
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
199
396
|
const handleGlobalMousedownEvent = (evnt: MouseEvent) => {
|
|
200
397
|
const { visible } = reactData
|
|
201
398
|
if (visible) {
|
|
@@ -206,6 +403,13 @@ export default defineVxeComponent({
|
|
|
206
403
|
}
|
|
207
404
|
}
|
|
208
405
|
|
|
406
|
+
const handleGlobalBlurEvent = () => {
|
|
407
|
+
const { visible } = reactData
|
|
408
|
+
if (visible) {
|
|
409
|
+
close()
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
|
|
209
413
|
const tagPrivateMethods: ContextMenuPrivateMethods = {
|
|
210
414
|
}
|
|
211
415
|
|
|
@@ -310,11 +514,13 @@ export default defineVxeComponent({
|
|
|
310
514
|
menuList.forEach((firstItem, i) => {
|
|
311
515
|
const { children } = firstItem
|
|
312
516
|
const hasChildMenus = children && children.some((child) => child.visible !== false)
|
|
517
|
+
const isActiveFirst = activeOption === firstItem
|
|
313
518
|
moVNs.push(
|
|
314
519
|
h('div', {
|
|
315
520
|
key: `${gIndex}_${i}`,
|
|
316
521
|
class: ['vxe-context-menu--item-wrapper vxe-context-menu--first-item', firstItem.className || '', {
|
|
317
|
-
'is--active':
|
|
522
|
+
'is--active': isActiveFirst,
|
|
523
|
+
'is--subactive': isActiveFirst && !!activeChildOption
|
|
318
524
|
}]
|
|
319
525
|
}, [
|
|
320
526
|
hasChildMenus
|
|
@@ -369,11 +575,17 @@ export default defineVxeComponent({
|
|
|
369
575
|
handleVisible()
|
|
370
576
|
|
|
371
577
|
onMounted(() => {
|
|
578
|
+
globalEvents.on($xeContextMenu, 'mousewheel', handleGlobalMousewheelEvent)
|
|
579
|
+
globalEvents.on($xeContextMenu, 'keydown', handleGlobalKeydownEvent)
|
|
372
580
|
globalEvents.on($xeContextMenu, 'mousedown', handleGlobalMousedownEvent)
|
|
581
|
+
globalEvents.on($xeContextMenu, 'blur', handleGlobalBlurEvent)
|
|
373
582
|
})
|
|
374
583
|
|
|
375
584
|
onBeforeUnmount(() => {
|
|
585
|
+
globalEvents.off($xeContextMenu, 'mousewheel')
|
|
586
|
+
globalEvents.off($xeContextMenu, 'keydown')
|
|
376
587
|
globalEvents.off($xeContextMenu, 'mousedown')
|
|
588
|
+
globalEvents.off($xeContextMenu, 'blur')
|
|
377
589
|
XEUtils.assign(reactData, createReactData())
|
|
378
590
|
XEUtils.assign(internalData, createInternalData())
|
|
379
591
|
})
|
|
@@ -74,7 +74,8 @@ export interface ButtonGroupPrivateMethods {
|
|
|
74
74
|
export interface VxeButtonGroupPrivateMethods extends ButtonGroupPrivateMethods { }
|
|
75
75
|
|
|
76
76
|
export type VxeButtonGroupEmits = [
|
|
77
|
-
'click'
|
|
77
|
+
'click',
|
|
78
|
+
'contextmenu'
|
|
78
79
|
]
|
|
79
80
|
|
|
80
81
|
export namespace VxeButtonGroupDefines {
|
|
@@ -86,18 +87,25 @@ export namespace VxeButtonGroupDefines {
|
|
|
86
87
|
name: VxeButtonPropTypes.Name
|
|
87
88
|
option: VxeButtonProps & Record<string, any>
|
|
88
89
|
}
|
|
90
|
+
|
|
91
|
+
export interface ContextmenuParams extends ButtonGroupEventParams {
|
|
92
|
+
$event: MouseEvent
|
|
93
|
+
}
|
|
89
94
|
}
|
|
90
95
|
|
|
91
96
|
export type VxeButtonGroupEventProps = {
|
|
92
97
|
onClick?: VxeButtonGroupEvents.Click
|
|
98
|
+
onContextmenu?: VxeButtonGroupEvents.Contextmenu
|
|
93
99
|
}
|
|
94
100
|
|
|
95
101
|
export interface VxeButtonGroupListeners {
|
|
96
102
|
click?: VxeButtonGroupEvents.Click
|
|
103
|
+
contextmenu?: VxeButtonGroupEvents.Contextmenu
|
|
97
104
|
}
|
|
98
105
|
|
|
99
106
|
export namespace VxeButtonGroupEvents {
|
|
100
107
|
export type Click = (params: VxeButtonGroupDefines.ClickEventParams) => void
|
|
108
|
+
export type Contextmenu = (params: VxeButtonGroupDefines.ContextmenuParams) => void
|
|
101
109
|
}
|
|
102
110
|
|
|
103
111
|
export namespace VxeButtonGroupSlotTypes {
|
|
@@ -213,7 +213,8 @@ export type VxeButtonEmits = [
|
|
|
213
213
|
'mouseenter',
|
|
214
214
|
'mouseleave',
|
|
215
215
|
'dropdown-click',
|
|
216
|
-
'dropdownClick'
|
|
216
|
+
'dropdownClick',
|
|
217
|
+
'contextmenu'
|
|
217
218
|
]
|
|
218
219
|
|
|
219
220
|
export namespace VxeButtonDefines {
|
|
@@ -239,6 +240,10 @@ export namespace VxeButtonDefines {
|
|
|
239
240
|
option: VxeButtonDefines.DownButtonOption | null
|
|
240
241
|
}
|
|
241
242
|
export interface DropdownClickEventParams extends ButtonEventParams, DropdownClickParams { }
|
|
243
|
+
|
|
244
|
+
export interface ContextmenuParams extends ButtonEventParams {
|
|
245
|
+
$event: MouseEvent
|
|
246
|
+
}
|
|
242
247
|
}
|
|
243
248
|
|
|
244
249
|
export type VxeButtonEventProps = {
|
|
@@ -246,6 +251,7 @@ export type VxeButtonEventProps = {
|
|
|
246
251
|
onMouseenter?: VxeButtonEvents.Mouseenter
|
|
247
252
|
onMouseleave?: VxeButtonEvents.Mouseleave
|
|
248
253
|
onDropdownClick?: VxeButtonEvents.DropdownClick
|
|
254
|
+
onContextmenu?: VxeButtonEvents.Contextmenu
|
|
249
255
|
}
|
|
250
256
|
|
|
251
257
|
export interface VxeButtonListeners {
|
|
@@ -253,6 +259,7 @@ export interface VxeButtonListeners {
|
|
|
253
259
|
mouseenter?: VxeButtonEvents.Mouseenter
|
|
254
260
|
mouseleave?: VxeButtonEvents.Mouseleave
|
|
255
261
|
dropdownClick?: VxeButtonEvents.DropdownClick
|
|
262
|
+
contextmenu?: VxeButtonEvents.Contextmenu
|
|
256
263
|
}
|
|
257
264
|
|
|
258
265
|
export namespace VxeButtonEvents {
|
|
@@ -260,6 +267,7 @@ export namespace VxeButtonEvents {
|
|
|
260
267
|
export type Mouseenter = (params: VxeButtonDefines.MouseenterEventParams) => void
|
|
261
268
|
export type Mouseleave = (params: VxeButtonDefines.MouseleaveEventParams) => void
|
|
262
269
|
export type DropdownClick = (params: VxeButtonDefines.DropdownClickParams) => void
|
|
270
|
+
export type Contextmenu = (params: VxeButtonDefines.ContextmenuParams) => void
|
|
263
271
|
}
|
|
264
272
|
|
|
265
273
|
export namespace VxeButtonSlotTypes {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|