vxe-pc-ui 4.18.6 → 4.18.8

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.
Files changed (51) hide show
  1. package/dist/all.esm.js +28 -13
  2. package/dist/style.css +1 -1
  3. package/dist/style.min.css +1 -1
  4. package/es/icon/style.css +1 -1
  5. package/es/modal/index.js +8 -4
  6. package/es/modal/src/modal.js +18 -7
  7. package/es/style.css +1 -1
  8. package/es/style.min.css +1 -1
  9. package/es/ui/index.js +1 -1
  10. package/es/ui/src/log.js +1 -1
  11. package/lib/icon/style/style.css +1 -1
  12. package/lib/icon/style/style.min.css +1 -1
  13. package/lib/index.umd.js +37 -13
  14. package/lib/index.umd.min.js +1 -1
  15. package/lib/modal/index.js +8 -4
  16. package/lib/modal/index.min.js +1 -1
  17. package/lib/modal/src/modal.js +27 -7
  18. package/lib/modal/src/modal.min.js +1 -1
  19. package/lib/style.css +1 -1
  20. package/lib/style.min.css +1 -1
  21. package/lib/ui/index.js +1 -1
  22. package/lib/ui/index.min.js +1 -1
  23. package/lib/ui/src/log.js +1 -1
  24. package/lib/ui/src/log.min.js +1 -1
  25. package/package.json +1 -1
  26. package/packages/modal/index.ts +8 -4
  27. package/packages/modal/src/modal.ts +19 -7
  28. package/types/components/column.d.ts +15 -15
  29. package/types/components/grid.d.ts +3 -3
  30. package/types/components/table-module/edit.d.ts +12 -12
  31. package/types/components/table-module/filter.d.ts +3 -3
  32. package/types/components/table-module/validator.d.ts +5 -5
  33. package/types/components/table-plugins/extend-cell-area.d.ts +32 -32
  34. package/types/components/table.d.ts +217 -217
  35. package/types/components/toolbar.d.ts +1 -1
  36. package/types/handles/form-design.d.ts +1 -1
  37. package/types/handles/table.d.ts +1 -1
  38. package/types/ui/interceptor.d.ts +5 -5
  39. package/types/ui/renderer.d.ts +12 -12
  40. /package/es/icon/{iconfont.1788860378031.ttf → iconfont.1788953836807.ttf} +0 -0
  41. /package/es/icon/{iconfont.1788860378031.woff → iconfont.1788953836807.woff} +0 -0
  42. /package/es/icon/{iconfont.1788860378031.woff2 → iconfont.1788953836807.woff2} +0 -0
  43. /package/es/{iconfont.1788860378031.ttf → iconfont.1788953836807.ttf} +0 -0
  44. /package/es/{iconfont.1788860378031.woff → iconfont.1788953836807.woff} +0 -0
  45. /package/es/{iconfont.1788860378031.woff2 → iconfont.1788953836807.woff2} +0 -0
  46. /package/lib/icon/style/{iconfont.1788860378031.ttf → iconfont.1788953836807.ttf} +0 -0
  47. /package/lib/icon/style/{iconfont.1788860378031.woff → iconfont.1788953836807.woff} +0 -0
  48. /package/lib/icon/style/{iconfont.1788860378031.woff2 → iconfont.1788953836807.woff2} +0 -0
  49. /package/lib/{iconfont.1788860378031.ttf → iconfont.1788953836807.ttf} +0 -0
  50. /package/lib/{iconfont.1788860378031.woff → iconfont.1788953836807.woff} +0 -0
  51. /package/lib/{iconfont.1788860378031.woff2 → iconfont.1788953836807.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.18.6";
29
+ const version = exports.version = "4.18.8";
30
30
  _core.VxeUI.uiVersion = version;
31
31
  _core.VxeUI.dynamicApp = _dynamics.dynamicApp;
32
32
  function config(options) {
@@ -1 +1 @@
1
- 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");let version=exports.version="4.18.6";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,showTop:!0,showBottom:!0,shadow:!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:{showFullLabel:!0,treeConfig:{showIcon:!0},filterConfig:{autoExpandMode:"first"}},checkbox:{},checkboxButton:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},contextMenu:{autoLocate:!0},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:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),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},divider:{},drawer:{minWidth:40,minHeight:40,position:"right",showHeader:!0,border:!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"],popupConfig:{}},image:{draggable:null,showPreview:!0,showPrintButton:!0},imageGroup:{showPreview:!0,showPrintButton:!0},imagePreview:{showPrintButton:!0,maskClosable:!0},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},layoutAside:{},layoutBody:{backtopConfig:{}},layoutContainer:{},layoutFooter:{},layoutHeader:{},link:{underline:!0},listDesign:{height:400,showPc:!0},listView:{},list:{rowConfig:{contentField:"label"},dragConfig:{showIcon:!0,animation:!0,showGuidesStatus:!0,showDragTip:!0},virtualYConfig:{enabled:!0,gt:100}},loading:{showIcon:!0,showText:!0},menu:{},modal:{top:16,showHeader:!0,border:!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,negative:!0,controlConfig:{enabled:!0,layout:"right",showButton:!0,isWheel:!0,isArrow:!0},tooltipConfig:{minWidth:60,enterable:!0,enterDelay: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:{emptyValue:null,multiCharOverflow:8,radioConfig:{showIcon:!0,trigger:"option"},checkboxConfig:{showIcon:!0,trigger:"option"},remoteConfig:{enabled:!0,autoLoad:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},splitter:{resize:!0,itemConfig:{minWidth:40,minHeight:40},resizeConfig:{showTip:!0},actionConfig:{autoHideButton:!0}},splitterPanel:{},slider:{max:100,min:0,tooltipConfig:{enterDelay:0}},space:{},steps:{},switch:{},tabPane:{},tableSelect:{gridConfig:{showOverflow:!0,showHeaderOverflow:!0,showFooterOverflow:!0,rowConfig:{isHover:!0},virtualXConfig:{enabled:!0,gt:0},virtualYConfig:{enabled:!0,gt:0}}},tableTransfer:{},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,defaultPlacement:"top"},transfer:{},tree:{indent:20,minHeight:60,showOverflow:!0,radioConfig:{strict:!0},tooltipConfig:{mode:"tooltip",enterable:!0,leaveDelay:300},dragConfig:{showIcon:!0,animation:!0,showGuidesStatus:!0,showDragTip:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},treeSelect:{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,previewImageConfig:{}},watermark:{rotate:-30,gap:[100,100]},table:{},colgroup:{},column:{},toolbar:{},grid:{},gantt:{}});let iconPrefix="vxe-icon-";(0,_core.setIcon)({LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",BUTTON_DROPDOWN_OPEN:iconPrefix+"arrow-down rotate180",BUTTON_DROPDOWN_CLOSE:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",BUTTON_TOOLTIP_ICON:iconPrefix+"question-circle-fill",MENU_ITEM_EXPAND_OPEN:iconPrefix+"arrow-right rotate90",MENU_ITEM_EXPAND_CLOSE:iconPrefix+"arrow-right",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",TEXTAREA_CLEAR:iconPrefix+"error-circle-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",CASCADER_NODE_OPEN:iconPrefix+"arrow-right",CASCADER_NODE_CLOSE:iconPrefix+"arrow-right",CASCADER_NODE_LOADED:iconPrefix+"spinner roll",LIST_DRAG:iconPrefix+"drag-handle",LIST_DRAG_STATUS_NODE:iconPrefix+"sort",LIST_DRAG_DISABLED:iconPrefix+"no-drop"});var _default=exports.default=_core.VxeUI;
1
+ 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");let version=exports.version="4.18.8";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,showTop:!0,showBottom:!0,shadow:!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:{showFullLabel:!0,treeConfig:{showIcon:!0},filterConfig:{autoExpandMode:"first"}},checkbox:{},checkboxButton:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},contextMenu:{autoLocate:!0},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:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),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},divider:{},drawer:{minWidth:40,minHeight:40,position:"right",showHeader:!0,border:!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"],popupConfig:{}},image:{draggable:null,showPreview:!0,showPrintButton:!0},imageGroup:{showPreview:!0,showPrintButton:!0},imagePreview:{showPrintButton:!0,maskClosable:!0},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},layoutAside:{},layoutBody:{backtopConfig:{}},layoutContainer:{},layoutFooter:{},layoutHeader:{},link:{underline:!0},listDesign:{height:400,showPc:!0},listView:{},list:{rowConfig:{contentField:"label"},dragConfig:{showIcon:!0,animation:!0,showGuidesStatus:!0,showDragTip:!0},virtualYConfig:{enabled:!0,gt:100}},loading:{showIcon:!0,showText:!0},menu:{},modal:{top:16,showHeader:!0,border:!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,negative:!0,controlConfig:{enabled:!0,layout:"right",showButton:!0,isWheel:!0,isArrow:!0},tooltipConfig:{minWidth:60,enterable:!0,enterDelay: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:{emptyValue:null,multiCharOverflow:8,radioConfig:{showIcon:!0,trigger:"option"},checkboxConfig:{showIcon:!0,trigger:"option"},remoteConfig:{enabled:!0,autoLoad:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},splitter:{resize:!0,itemConfig:{minWidth:40,minHeight:40},resizeConfig:{showTip:!0},actionConfig:{autoHideButton:!0}},splitterPanel:{},slider:{max:100,min:0,tooltipConfig:{enterDelay:0}},space:{},steps:{},switch:{},tabPane:{},tableSelect:{gridConfig:{showOverflow:!0,showHeaderOverflow:!0,showFooterOverflow:!0,rowConfig:{isHover:!0},virtualXConfig:{enabled:!0,gt:0},virtualYConfig:{enabled:!0,gt:0}}},tableTransfer:{},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,defaultPlacement:"top"},transfer:{},tree:{indent:20,minHeight:60,showOverflow:!0,radioConfig:{strict:!0},tooltipConfig:{mode:"tooltip",enterable:!0,leaveDelay:300},dragConfig:{showIcon:!0,animation:!0,showGuidesStatus:!0,showDragTip:!0},virtualYConfig:{enabled:!0,gt:50,oSize:2}},treeSelect:{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,previewImageConfig:{}},watermark:{rotate:-30,gap:[100,100]},table:{},colgroup:{},column:{},toolbar:{},grid:{},gantt:{}});let iconPrefix="vxe-icon-";(0,_core.setIcon)({LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",BUTTON_DROPDOWN_OPEN:iconPrefix+"arrow-down rotate180",BUTTON_DROPDOWN_CLOSE:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",BUTTON_TOOLTIP_ICON:iconPrefix+"question-circle-fill",MENU_ITEM_EXPAND_OPEN:iconPrefix+"arrow-right rotate90",MENU_ITEM_EXPAND_CLOSE:iconPrefix+"arrow-right",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",TEXTAREA_CLEAR:iconPrefix+"error-circle-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",CASCADER_NODE_OPEN:iconPrefix+"arrow-right",CASCADER_NODE_CLOSE:iconPrefix+"arrow-right",CASCADER_NODE_LOADED:iconPrefix+"spinner roll",LIST_DRAG:iconPrefix+"drag-handle",LIST_DRAG_STATUS_NODE:iconPrefix+"sort",LIST_DRAG_DISABLED:iconPrefix+"no-drop"});var _default=exports.default=_core.VxeUI;
package/lib/ui/src/log.js CHANGED
@@ -9,7 +9,7 @@ var _core = require("@vxe-ui/core");
9
9
  const {
10
10
  log
11
11
  } = _core.VxeUI;
12
- const uiVersion = `ui v${"4.18.6"}`;
12
+ const uiVersion = `ui v${"4.18.8"}`;
13
13
  function createComponentLog(name) {
14
14
  const tableVersion = _core.VxeUI.tableVersion ? `table v${_core.VxeUI.tableVersion}` : '';
15
15
  const ganttVersion = _core.VxeUI.ganttVersion ? `gantt v${_core.VxeUI.ganttVersion}` : '';
@@ -1 +1 @@
1
- Object.defineProperty(exports,"__esModule",{value:!0}),exports.createComponentLog=createComponentLog,exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");let log=_core.VxeUI.log,uiVersion="ui v4.18.6";function createComponentLog(e){var r=_core.VxeUI.tableVersion?"table v"+_core.VxeUI.tableVersion:"",o=_core.VxeUI.ganttVersion?"gantt v"+_core.VxeUI.ganttVersion:"",n=_core.VxeUI.designVersion?"design v"+_core.VxeUI.designVersion:"",r=[uiVersion,r,o,n].filter(e=>e).join(" ");return{warnLog:log.create("warn",r+"] ["+e),errLog:log.create("error",r+"] ["+e)}}let warnLog=exports.warnLog=log.create("warn",uiVersion),errLog=exports.errLog=log.create("error",uiVersion);
1
+ Object.defineProperty(exports,"__esModule",{value:!0}),exports.createComponentLog=createComponentLog,exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");let log=_core.VxeUI.log,uiVersion="ui v4.18.8";function createComponentLog(e){var r=_core.VxeUI.tableVersion?"table v"+_core.VxeUI.tableVersion:"",o=_core.VxeUI.ganttVersion?"gantt v"+_core.VxeUI.ganttVersion:"",n=_core.VxeUI.designVersion?"design v"+_core.VxeUI.designVersion:"",r=[uiVersion,r,o,n].filter(e=>e).join(" ");return{warnLog:log.create("warn",r+"] ["+e),errLog:log.create("error",r+"] ["+e)}}let warnLog=exports.warnLog=log.create("warn",uiVersion),errLog=exports.errLog=log.create("error",uiVersion);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vxe-pc-ui",
3
- "version": "4.18.6",
3
+ "version": "4.18.8",
4
4
  "description": "A vue based PC component library",
5
5
  "scripts": {
6
6
  "update": "npm install --legacy-peer-deps",
@@ -74,7 +74,8 @@ function openAlert (content: VxeModalPropTypes.Content | VxeModalDefines.ModalOp
74
74
  type: 'alert',
75
75
  lockScroll: true,
76
76
  showHeader: true,
77
- showFooter: true
77
+ showFooter: true,
78
+ fullscreen: false
78
79
  }, content, title, options)
79
80
  }
80
81
 
@@ -84,7 +85,8 @@ function openConfirm (content: VxeModalPropTypes.Content | VxeModalDefines.Modal
84
85
  status: 'question',
85
86
  lockScroll: true,
86
87
  showHeader: true,
87
- showFooter: true
88
+ showFooter: true,
89
+ fullscreen: false
88
90
  }, content, title, options)
89
91
  }
90
92
 
@@ -94,7 +96,8 @@ function openMessage (content: VxeModalPropTypes.Content | VxeModalDefines.Modal
94
96
  mask: false,
95
97
  lockView: false,
96
98
  lockScroll: false,
97
- showHeader: false
99
+ showHeader: false,
100
+ fullscreen: false
98
101
  }, content, '', options)
99
102
  }
100
103
 
@@ -107,7 +110,8 @@ function openNotification (content: VxeModalPropTypes.Content | VxeModalDefines.
107
110
  showHeader: true,
108
111
  draggable: false,
109
112
  position: 'top-right',
110
- width: 320
113
+ width: 320,
114
+ fullscreen: false
111
115
  }, content, title, options)
112
116
  }
113
117
 
@@ -290,7 +290,12 @@ export default defineVxeComponent({
290
290
  })
291
291
 
292
292
  const computeIsMsg = computed(() => {
293
- return props.type === 'message' || props.type === 'notification'
293
+ const { type } = props
294
+ return type === 'message' || type === 'notification'
295
+ })
296
+
297
+ const computeIsModal = computed(() => {
298
+ return props.type === 'modal'
294
299
  })
295
300
 
296
301
  const computeIsMinimizeStatus = computed(() => {
@@ -765,9 +770,10 @@ export default defineVxeComponent({
765
770
  }
766
771
 
767
772
  const openModal = () => {
768
- const { remember, showFooter } = props
773
+ const { remember, showFooter, fullscreen } = props
769
774
  const { initialized, visible } = reactData
770
775
  const isMsg = computeIsMsg.value
776
+ const isModal = computeIsModal.value
771
777
  if (!initialized) {
772
778
  reactData.initialized = true
773
779
  }
@@ -781,7 +787,7 @@ export default defineVxeComponent({
781
787
  setTimeout(() => {
782
788
  reactData.contentVisible = true
783
789
  nextTick(() => {
784
- if (!props.fullscreen) {
790
+ if (!(isModal && fullscreen)) {
785
791
  recalculate()
786
792
  }
787
793
  if (showFooter) {
@@ -813,7 +819,7 @@ export default defineVxeComponent({
813
819
  if (hasPosStorage()) {
814
820
  restorePosStorage()
815
821
  } else {
816
- if (props.fullscreen) {
822
+ if (isModal && fullscreen) {
817
823
  nextTick(() => handleMaximize())
818
824
  } else {
819
825
  recalculate()
@@ -1247,7 +1253,9 @@ export default defineVxeComponent({
1247
1253
  return handleZoom()
1248
1254
  },
1249
1255
  minimize () {
1250
- if (!reactData.visible) {
1256
+ const { visible } = reactData
1257
+ const isModal = computeIsModal.value
1258
+ if (!isModal || !visible) {
1251
1259
  return Promise.resolve({
1252
1260
  status: false
1253
1261
  })
@@ -1255,7 +1263,9 @@ export default defineVxeComponent({
1255
1263
  return handleMinimize()
1256
1264
  },
1257
1265
  maximize () {
1258
- if (!reactData.visible) {
1266
+ const { visible } = reactData
1267
+ const isModal = computeIsModal.value
1268
+ if (!isModal || !visible) {
1259
1269
  return Promise.resolve({
1260
1270
  status: false
1261
1271
  })
@@ -1263,7 +1273,9 @@ export default defineVxeComponent({
1263
1273
  return handleMaximize()
1264
1274
  },
1265
1275
  revert () {
1266
- if (!reactData.visible) {
1276
+ const { visible } = reactData
1277
+ const isModal = computeIsModal.value
1278
+ if (!isModal || !visible) {
1267
1279
  return Promise.resolve({
1268
1280
  status: false
1269
1281
  })
@@ -62,7 +62,7 @@ export namespace VxeColumnPropTypes {
62
62
  export type FooterFormatter<D = any> = ((params: {
63
63
  cellValue: any
64
64
  itemValue: any
65
- column: VxeTableDefines.ColumnInfo<D>
65
+ column: VxeTableDefines.ColumnInfo
66
66
  row: any
67
67
  items: any[]
68
68
  _columnIndex: number
@@ -71,7 +71,7 @@ export namespace VxeColumnPropTypes {
71
71
  export type Sortable = boolean
72
72
  export type SortBy<D = any> = string | ((params: {
73
73
  row: D
74
- column: VxeTableDefines.ColumnInfo<D>
74
+ column: VxeTableDefines.ColumnInfo
75
75
  }) => string | number)
76
76
  export type SortType = 'auto' | 'string' | 'number' | null
77
77
 
@@ -97,21 +97,21 @@ export namespace VxeColumnPropTypes {
97
97
  option: VxeTableDefines.FilterOption
98
98
  cellValue: any
99
99
  row: D
100
- column: VxeTableDefines.ColumnInfo<D>
100
+ column: VxeTableDefines.ColumnInfo
101
101
  }
102
102
  export type FilterMethod<D = any> = (params: FilterMethodParams<D>) => boolean
103
103
 
104
104
  interface FilterResetMethodParams<D = any> {
105
105
  $table: VxeTableConstructor<D>
106
106
  options: VxeTableDefines.FilterOption[]
107
- column: VxeTableDefines.ColumnInfo<D>
107
+ column: VxeTableDefines.ColumnInfo
108
108
  }
109
109
  export type FilterResetMethod<D = any> = (params: FilterResetMethodParams<D>) => void
110
110
 
111
111
  interface FilterRecoverMethodParams<D = any> {
112
112
  $table: VxeTableConstructor<D>
113
113
  option: VxeTableDefines.FilterOption
114
- column: VxeTableDefines.ColumnInfo<D>
114
+ column: VxeTableDefines.ColumnInfo
115
115
  }
116
116
  export type FilterRecoverMethod<D = any> = (params: FilterRecoverMethodParams<D>) => void
117
117
 
@@ -180,14 +180,14 @@ export namespace VxeColumnPropTypes {
180
180
  interface ExportMethodParams<D = any> {
181
181
  $table: VxeTableConstructor<D>
182
182
  row: D
183
- column: VxeTableDefines.ColumnInfo<D>
183
+ column: VxeTableDefines.ColumnInfo
184
184
  options: VxeTablePropTypes.ExportHandleOptions
185
185
  }
186
186
  export type ExportMethod<D = any> = (params: ExportMethodParams<D>) => string | number
187
187
 
188
188
  interface HeaderExportParams<D = any> {
189
189
  $table: VxeTableConstructor<D>
190
- column: VxeTableDefines.ColumnInfo<D>
190
+ column: VxeTableDefines.ColumnInfo
191
191
  options: VxeTablePropTypes.ExportHandleOptions
192
192
  }
193
193
  export type HeaderExportMethod<D = any> = (params: HeaderExportParams<D>) => string | number
@@ -203,7 +203,7 @@ export namespace VxeColumnPropTypes {
203
203
  */
204
204
  itemIndex: number
205
205
  row: any
206
- column: VxeTableDefines.ColumnInfo<D>
206
+ column: VxeTableDefines.ColumnInfo
207
207
  _columnIndex: number
208
208
  options: VxeTablePropTypes.ExportHandleOptions
209
209
  }
@@ -287,7 +287,7 @@ export namespace VxeColumnPropTypes {
287
287
  optionGroupProps?: VxeGlobalRendererHandles.RenderOptionGroupProps
288
288
  autoFocus?: boolean | string
289
289
  autoSelect?: boolean
290
- defaultValue?: ((params: { column: VxeTableDefines.ColumnInfo<D> }) => any) | null | undefined | string | number | RegExp | object | any[] | Date
290
+ defaultValue?: ((params: { column: VxeTableDefines.ColumnInfo }) => any) | null | undefined | string | number | RegExp | object | any[] | Date
291
291
  immediate?: boolean
292
292
  content?: string
293
293
  placeholder?: string
@@ -674,7 +674,7 @@ export namespace VxeColumnDefines {
674
674
  export interface CellFormatterParams<D = any> {
675
675
  $table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
676
676
  cellValue: any
677
- column: VxeTableDefines.ColumnInfo<D>
677
+ column: VxeTableDefines.ColumnInfo
678
678
  row: D
679
679
  }
680
680
 
@@ -683,7 +683,7 @@ export namespace VxeColumnDefines {
683
683
  $grid: VxeGridConstructor<D> | null | undefined
684
684
  isCut: boolean
685
685
  row: D
686
- column: VxeTableDefines.ColumnInfo<D>
686
+ column: VxeTableDefines.ColumnInfo
687
687
  cellValue: any
688
688
  }
689
689
 
@@ -691,7 +691,7 @@ export namespace VxeColumnDefines {
691
691
  $table: VxeTableConstructor<D> & VxeTablePrivateMethods<D>
692
692
  $grid: VxeGridConstructor<D> | null | undefined
693
693
  row: D,
694
- column: VxeTableDefines.ColumnInfo<D>
694
+ column: VxeTableDefines.ColumnInfo
695
695
  cellValue: any
696
696
  clipData: {
697
697
  text?: string
@@ -704,7 +704,7 @@ export namespace VxeColumnDefines {
704
704
  $grid: VxeGridConstructor<D> | null | undefined
705
705
  isCut: boolean
706
706
  row: D,
707
- column: VxeTableDefines.ColumnInfo<D>
707
+ column: VxeTableDefines.ColumnInfo
708
708
  cellValue: any
709
709
  clipData: {
710
710
  text?: string
@@ -724,7 +724,7 @@ export namespace VxeColumnSlotTypes {
724
724
  $panel: any
725
725
  column: {
726
726
  filters: VxeTableDefines.FilterOption[]
727
- } & VxeTableDefines.ColumnInfo<D>
727
+ } & VxeTableDefines.ColumnInfo
728
728
  columnIndex: number
729
729
  $columnIndex: number
730
730
  $rowIndex: number
@@ -737,7 +737,7 @@ export namespace VxeColumnSlotTypes {
737
737
  export interface FooterSlotParams<D = any> {
738
738
  row: D
739
739
  rowIndex: number
740
- column: VxeTableDefines.ColumnInfo<D>
740
+ column: VxeTableDefines.ColumnInfo
741
741
  columnIndex: number
742
742
  _columnIndex: number
743
743
  $columnIndex: number
@@ -72,7 +72,7 @@ export namespace VxeGridPropTypes {
72
72
  }
73
73
 
74
74
  interface ProxyAjaxQuerySortCheckedParams<D = any> {
75
- column: VxeTableDefines.ColumnInfo<D>
75
+ column: VxeTableDefines.ColumnInfo
76
76
  order: string
77
77
  sortBy: string
78
78
  field: string
@@ -359,7 +359,7 @@ export namespace VxeGridPropTypes {
359
359
  $table: VxeTableConstructor<D>
360
360
  $grid: VxeGridConstructor<D> | null | undefined
361
361
  $gantt: VxeGanttConstructor<D> | null | undefined
362
- column: VxeTableDefines.ColumnInfo<D>
362
+ column: VxeTableDefines.ColumnInfo
363
363
  }): void
364
364
  [key: string]: any
365
365
 
@@ -1111,7 +1111,7 @@ export namespace VxeGridSlotTypes {
1111
1111
  /**
1112
1112
  * 当前列对象
1113
1113
  */
1114
- column: VxeTableDefines.ColumnInfo<D>
1114
+ column: VxeTableDefines.ColumnInfo
1115
1115
  /**
1116
1116
  * 相对于 columns 中的索引,等同于 getTColumnIndex(column)
1117
1117
  */
@@ -77,7 +77,7 @@ export interface TableEditMethods<D = any> {
77
77
  */
78
78
  getActiveRecord(): {
79
79
  row: D
80
- column: VxeTableDefines.ColumnInfo<D>
80
+ column: VxeTableDefines.ColumnInfo
81
81
  /**
82
82
  * 请使用 getRowIndex(row)
83
83
  * @deprecated
@@ -110,7 +110,7 @@ export interface TableEditMethods<D = any> {
110
110
  */
111
111
  getEditRecord(): {
112
112
  row: D
113
- column: VxeTableDefines.ColumnInfo<D>
113
+ column: VxeTableDefines.ColumnInfo
114
114
  /**
115
115
  * 请使用 getRowIndex(row)
116
116
  * @deprecated
@@ -142,14 +142,14 @@ export interface TableEditMethods<D = any> {
142
142
  */
143
143
  getEditCell(): {
144
144
  row: D
145
- column: VxeTableDefines.ColumnInfo<D>
145
+ column: VxeTableDefines.ColumnInfo
146
146
  } | null
147
147
  /**
148
148
  * 用于 mouse-config.selected,获取选中的单元格信息
149
149
  */
150
150
  getSelectedCell(): {
151
151
  row: D
152
- column: VxeTableDefines.ColumnInfo<D>
152
+ column: VxeTableDefines.ColumnInfo
153
153
  } | null
154
154
  /**
155
155
  * 请使用 clearEdit()
@@ -182,24 +182,24 @@ export interface TableEditMethods<D = any> {
182
182
  /**
183
183
  * 用于 edit-config,激活行编辑并默认激活第一个列,也可以指定列;如果第二个参数为 true,则默认自动激活第一个可编辑列;也可以传指定列
184
184
  */
185
- setEditRow(row: any, fieldOrColumn?: boolean | string | VxeTableDefines.ColumnInfo<any> | null, options?: {
185
+ setEditRow(row: any, fieldOrColumn?: boolean | string | VxeTableDefines.ColumnInfo | null, options?: {
186
186
  isClear?: boolean
187
187
  }): Promise<void>
188
188
  /**
189
189
  * 请使用 setEditCell
190
190
  * @deprecated
191
191
  */
192
- setActiveCell(row: any, fieldOrColumn: string | VxeTableDefines.ColumnInfo<any>): Promise<void>
192
+ setActiveCell(row: any, fieldOrColumn: string | VxeTableDefines.ColumnInfo): Promise<void>
193
193
  /**
194
194
  * 用于 edit-config,激活单元格编辑
195
195
  */
196
- setEditCell(row: any, fieldOrColumn: string | VxeTableDefines.ColumnInfo<any> | null, options?: {
196
+ setEditCell(row: any, fieldOrColumn: string | VxeTableDefines.ColumnInfo | null, options?: {
197
197
  isClear?: boolean
198
198
  }): Promise<void>
199
199
  /**
200
200
  * 用于 mouse-config.mouse-config,选中某个单元格
201
201
  */
202
- setSelectCell(row: any, fieldOrColumn: string | VxeTableDefines.ColumnInfo<any>): Promise<void>
202
+ setSelectCell(row: any, fieldOrColumn: string | VxeTableDefines.ColumnInfo): Promise<void>
203
203
  }
204
204
 
205
205
  export interface TableEditPrivateMethods<D = any> {
@@ -208,7 +208,7 @@ export interface TableEditPrivateMethods<D = any> {
208
208
  */
209
209
  handleEdit(params: {
210
210
  $table: VxeTableConstructor<D>
211
- column: VxeTableDefines.ColumnInfo<D>
211
+ column: VxeTableDefines.ColumnInfo
212
212
  columnIndex: number
213
213
  _columnIndex: number
214
214
  $columnIndex: number
@@ -228,7 +228,7 @@ export interface TableEditPrivateMethods<D = any> {
228
228
  */
229
229
  handleCellFocus(cell: HTMLElement, params: {
230
230
  $table: VxeTableConstructor<D>
231
- column: VxeTableDefines.ColumnInfo<D>
231
+ column: VxeTableDefines.ColumnInfo
232
232
  row: D
233
233
  }): HTMLInputElement | null
234
234
  /**
@@ -236,7 +236,7 @@ export interface TableEditPrivateMethods<D = any> {
236
236
  */
237
237
  handleFocus(params: {
238
238
  $table: VxeTableConstructor<D>
239
- column: VxeTableDefines.ColumnInfo<D>
239
+ column: VxeTableDefines.ColumnInfo
240
240
  row: D
241
241
  cell: HTMLElement
242
242
  }, evnt?: Event | null): void
@@ -245,7 +245,7 @@ export interface TableEditPrivateMethods<D = any> {
245
245
  */
246
246
  handleSelected(params: {
247
247
  $table: VxeTableConstructor<D>
248
- column: VxeTableDefines.ColumnInfo<D>
248
+ column: VxeTableDefines.ColumnInfo
249
249
  columnIndex: number
250
250
  _columnIndex: number
251
251
  $columnIndex: number
@@ -32,15 +32,15 @@ export interface TableFilterMethods<D = any> {
32
32
  * 手动弹出筛选
33
33
  * @param fieldOrColumn
34
34
  */
35
- openFilter(fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo<any>):Promise<void>
35
+ openFilter(fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo):Promise<void>
36
36
  /**
37
37
  * 用于 filters,修改筛选列表,update 是否同时更新数据,如果不传,则可以手动调用 updateData() 更新数据;如果需要同时触发对应的事件,请使用 setFilterByEvent
38
38
  */
39
- setFilter(fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo<any>, options: VxeColumnPropTypes.Filters, update?: boolean): Promise<void>
39
+ setFilter(fieldOrColumn: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo, options: VxeColumnPropTypes.Filters, update?: boolean): Promise<void>
40
40
  /**
41
41
  * 手动清空筛选条件;如果需要同时触发对应的事件,请使用 clearFilterByEvent
42
42
  */
43
- clearFilter(fieldOrColumn?: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo<any> | null): Promise<void>
43
+ clearFilter(fieldOrColumn?: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo | null): Promise<void>
44
44
  /**
45
45
  * 用于在自定义面板中使用,手动确认筛选
46
46
  */
@@ -7,7 +7,7 @@ export interface TableValidatorMethods<D = any> {
7
7
  /**
8
8
  * 手动清除校验
9
9
  */
10
- clearValidate(rows?: any, fieldOrColumn?: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo<any> | VxeColumnPropTypes.Field[] | VxeTableDefines.ColumnInfo<any>[]): Promise<void>
10
+ clearValidate(rows?: any, fieldOrColumn?: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo | VxeColumnPropTypes.Field[] | VxeTableDefines.ColumnInfo[]): Promise<void>
11
11
  /**
12
12
  * 完整校验行,默认校验当前表格数据,和 validate 的区别就是默认校验当前表格数据并且给有效数据中的每一行进行校验
13
13
  * @param rows 指定行
@@ -26,19 +26,19 @@ export interface TableValidatorMethods<D = any> {
26
26
  * @param rows 指定行
27
27
  * @param fieldOrColumn 指定字段
28
28
  */
29
- fullValidateField(rows?: boolean | object | any[], fieldOrColumn?: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo<any> | VxeColumnPropTypes.Field[] | VxeTableDefines.ColumnInfo<any>[]): Promise<VxeTableDefines.ValidatorErrorMapParams<D>>
29
+ fullValidateField(rows?: boolean | object | any[], fieldOrColumn?: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo | VxeColumnPropTypes.Field[] | VxeTableDefines.ColumnInfo[]): Promise<VxeTableDefines.ValidatorErrorMapParams<D>>
30
30
  /**
31
31
  * 快速校定单元格,默认校验当前表格数据,如果存在记录不通过的记录,则返回不再继续校验(异步校验除外);
32
32
  * 如果第一个参数为 true 则校验当前表格数据,如果指定 row 或 rows 则校验指定一行或多行,如果不指定数据,则默认只校验临时变动的数据,例如新增或修改。返回一个 promise
33
33
  * @param rows 指定行
34
34
  * @param fieldOrColumn 指定字段
35
35
  */
36
- validateField(rows?: boolean | object | any[], fieldOrColumn?: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo<any> | VxeColumnPropTypes.Field[] | VxeTableDefines.ColumnInfo<any>[]): Promise<VxeTableDefines.ValidatorErrorMapParams<D>>
36
+ validateField(rows?: boolean | object | any[], fieldOrColumn?: VxeColumnPropTypes.Field | VxeTableDefines.ColumnInfo | VxeColumnPropTypes.Field[] | VxeTableDefines.ColumnInfo[]): Promise<VxeTableDefines.ValidatorErrorMapParams<D>>
37
37
  }
38
38
 
39
39
  export interface TableValidatorPrivateMethods<D = any> {
40
- validCellRules(type: any, row: any, column: VxeTableDefines.ColumnInfo<any>, val?: any): Promise<any>
41
- hasCellRules(type: any, row: any, column: VxeTableDefines.ColumnInfo<any>): boolean
40
+ validCellRules(type: any, row: any, column: VxeTableDefines.ColumnInfo, val?: any): Promise<any>
41
+ hasCellRules(type: any, row: any, column: VxeTableDefines.ColumnInfo): boolean
42
42
  triggerValidate(type: any): Promise<any>
43
43
  showValidTooltip(params: any): void
44
44
  }