vxe-pc-ui 4.5.10 → 4.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/drawer/src/drawer.js +6 -5
- package/es/icon/style.css +1 -1
- package/es/modal/src/modal.js +6 -5
- package/es/split/src/split.js +30 -6
- package/es/split/style.css +14 -12
- package/es/split/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +2 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-split/style.css +14 -12
- package/es/vxe-split/style.min.css +1 -1
- package/lib/drawer/src/drawer.js +6 -5
- package/lib/drawer/src/drawer.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +46 -17
- package/lib/index.umd.min.js +1 -1
- package/lib/modal/src/modal.js +6 -5
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/split/src/split.js +29 -3
- package/lib/split/src/split.min.js +1 -1
- package/lib/split/style/style.css +14 -12
- package/lib/split/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +2 -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-split/style/style.css +14 -12
- package/lib/vxe-split/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/drawer/src/drawer.ts +6 -5
- package/packages/modal/src/modal.ts +6 -5
- package/packages/split/src/split.ts +33 -6
- package/packages/ui/index.ts +1 -0
- package/styles/components/split.scss +32 -26
- package/types/components/drawer.d.ts +1 -0
- package/types/components/modal.d.ts +1 -0
- package/types/components/split.d.ts +5 -0
- package/types/components/table-plugins/extend-cell-area.d.ts +1 -1
- package/types/components/table.d.ts +52 -7
- /package/es/icon/{iconfont.1743479114824.ttf → iconfont.1743671976691.ttf} +0 -0
- /package/es/icon/{iconfont.1743479114824.woff → iconfont.1743671976691.woff} +0 -0
- /package/es/icon/{iconfont.1743479114824.woff2 → iconfont.1743671976691.woff2} +0 -0
- /package/es/{iconfont.1743479114824.ttf → iconfont.1743671976691.ttf} +0 -0
- /package/es/{iconfont.1743479114824.woff → iconfont.1743671976691.woff} +0 -0
- /package/es/{iconfont.1743479114824.woff2 → iconfont.1743671976691.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1743479114824.ttf → iconfont.1743671976691.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1743479114824.woff → iconfont.1743671976691.woff} +0 -0
- /package/lib/icon/style/{iconfont.1743479114824.woff2 → iconfont.1743671976691.woff2} +0 -0
- /package/lib/{iconfont.1743479114824.ttf → iconfont.1743671976691.ttf} +0 -0
- /package/lib/{iconfont.1743479114824.woff → iconfont.1743671976691.woff} +0 -0
- /package/lib/{iconfont.1743479114824.woff2 → iconfont.1743671976691.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.5.
|
|
29
|
+
const version = exports.version = "4.5.12";
|
|
30
30
|
_core.VxeUI.uiVersion = version;
|
|
31
31
|
_core.VxeUI.dynamicApp = _dynamics.dynamicApp;
|
|
32
32
|
function config(options) {
|
|
@@ -294,6 +294,7 @@ _core.VxeUI.setup = setup;
|
|
|
294
294
|
}
|
|
295
295
|
},
|
|
296
296
|
split: {
|
|
297
|
+
resize: true,
|
|
297
298
|
itemConfig: {
|
|
298
299
|
minWidth: 40,
|
|
299
300
|
minHeight: 40
|
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.5.10";function config(e){return"development"===process.env.NODE_ENV&&(0,_log.warnLog)("vxe.error.delFunc",["config","setConfig"]),(0,_core.setConfig)(e)}function setup(e){return"development"===process.env.NODE_ENV&&(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:{},badge:{},breadcrumb:{separator:"/"},breadcrumbItem:{},button:{trigger:"hover",prefixTooltip:{enterable:!0},suffixTooltip:{enterable:!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:{},checkbox:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},countdown:{},colorPicker:{type:"hex",clearable:!0,showAlpha:!0,clickToCopy:!0,showColorExtractor:!0,showQuick:!0},datePicker:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,shortcutConfig:{align:"left",mode:"text",autoClose:!0}},drawer:{position:"right",showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0,padding:!0,cancelClosable:!0,confirmClosable:!0},empty:{},form:{validConfig:{showMessage:!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},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,controls:!0},optgroup:{},option:{},pager:{pageSizePlacement:"top"},print:{},passwordInput:{controls:!0},printPageBreak:{},pulldown:{destroyOnClose:!0},radio:{strict:!0},radioButton:{strict:!0},radioGroup:{strict:!0},rate:{},result:{},row:{},select:{multiCharOverflow:8,remoteConfig:{enabled:!0,autoLoad:!0},virtualYConfig:{enabled:!0,gt:100,oSize:2}},split:{itemConfig:{minWidth:40,minHeight:40}},splitPane:{},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:{},textarea:{resize:"none"},tip:{},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300,isArrow:!0},tree:{indent:20,minHeight:60,radioConfig:{strict:!0}},treeSelect:{treeConfig:{radioConfig:{},checkboxConfig:{}}},upload:{mode:"all",imageTypes:["jpg","jpeg","png","gif"],showList:!0,showUploadButton:!0,showButtonText:!0,showRemoveButton:!0,showButtonIcon:!0,showPreview:!0,dragToUpload:!0},watermark:{rotate:-30,gap:[100,100]},table:{},colgroup:{},column:{},toolbar:{},grid:{}});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",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",CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate-fill",CHECKBOX_CHECKED:iconPrefix+"checkbox-checked-fill",CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_SEARCH:iconPrefix+"search",NUMBER_INPUT_PREV_NUM:iconPrefix+"caret-up",NUMBER_INPUT_NEXT_NUM:iconPrefix+"caret-down",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_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_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_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_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",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_COPY:iconPrefix+"copy",EYE_DROPPER:iconPrefix+"dropper",SPLIT_TOP_ACTION:iconPrefix+"arrow-up",SPLIT_BOTTOM_ACTION:iconPrefix+"arrow-down",SPLIT_LEFT_ACTION:iconPrefix+"arrow-left",SPLIT_RIGHT_ACTION: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.5.12";function config(e){return"development"===process.env.NODE_ENV&&(0,_log.warnLog)("vxe.error.delFunc",["config","setConfig"]),(0,_core.setConfig)(e)}function setup(e){return"development"===process.env.NODE_ENV&&(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:{},badge:{},breadcrumb:{separator:"/"},breadcrumbItem:{},button:{trigger:"hover",prefixTooltip:{enterable:!0},suffixTooltip:{enterable:!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:{},checkbox:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},countdown:{},colorPicker:{type:"hex",clearable:!0,showAlpha:!0,clickToCopy:!0,showColorExtractor:!0,showQuick:!0},datePicker:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,shortcutConfig:{align:"left",mode:"text",autoClose:!0}},drawer:{position:"right",showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0,padding:!0,cancelClosable:!0,confirmClosable:!0},empty:{},form:{validConfig:{showMessage:!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},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,controls:!0},optgroup:{},option:{},pager:{pageSizePlacement:"top"},print:{},passwordInput:{controls:!0},printPageBreak:{},pulldown:{destroyOnClose:!0},radio:{strict:!0},radioButton:{strict:!0},radioGroup:{strict:!0},rate:{},result:{},row:{},select:{multiCharOverflow:8,remoteConfig:{enabled:!0,autoLoad:!0},virtualYConfig:{enabled:!0,gt:100,oSize:2}},split:{resize:!0,itemConfig:{minWidth:40,minHeight:40}},splitPane:{},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:{},textarea:{resize:"none"},tip:{},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300,isArrow:!0},tree:{indent:20,minHeight:60,radioConfig:{strict:!0}},treeSelect:{treeConfig:{radioConfig:{},checkboxConfig:{}}},upload:{mode:"all",imageTypes:["jpg","jpeg","png","gif"],showList:!0,showUploadButton:!0,showButtonText:!0,showRemoveButton:!0,showButtonIcon:!0,showPreview:!0,dragToUpload:!0},watermark:{rotate:-30,gap:[100,100]},table:{},colgroup:{},column:{},toolbar:{},grid:{}});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",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",CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate-fill",CHECKBOX_CHECKED:iconPrefix+"checkbox-checked-fill",CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_SEARCH:iconPrefix+"search",NUMBER_INPUT_PREV_NUM:iconPrefix+"caret-up",NUMBER_INPUT_NEXT_NUM:iconPrefix+"caret-down",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_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_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_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_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",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_COPY:iconPrefix+"copy",EYE_DROPPER:iconPrefix+"dropper",SPLIT_TOP_ACTION:iconPrefix+"arrow-up",SPLIT_BOTTOM_ACTION:iconPrefix+"arrow-down",SPLIT_LEFT_ACTION:iconPrefix+"arrow-left",SPLIT_RIGHT_ACTION: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.5.
|
|
8
|
+
const version = `ui v${"4.5.12"}`;
|
|
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.5.
|
|
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.5.12",warnLog=exports.warnLog=_core.log.create("warn",version),errLog=exports.errLog=_core.log.create("error",version);
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
height: 100%;
|
|
25
25
|
display: flex;
|
|
26
26
|
flex-direction: row;
|
|
27
|
-
overflow:
|
|
27
|
+
overflow: auto;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.vxe-split-slots {
|
|
@@ -68,6 +68,10 @@
|
|
|
68
68
|
border: 1px solid var(--vxe-ui-input-border-color);
|
|
69
69
|
transition: transform 0.1s ease-in-out;
|
|
70
70
|
}
|
|
71
|
+
.vxe-split-pane-action-btn:hover {
|
|
72
|
+
color: var(--vxe-ui-layout-background-color);
|
|
73
|
+
background-color: var(--vxe-ui-font-primary-lighten-color);
|
|
74
|
+
}
|
|
71
75
|
|
|
72
76
|
.vxe-split-pane {
|
|
73
77
|
display: flex;
|
|
@@ -89,19 +93,19 @@
|
|
|
89
93
|
.vxe-split-pane.is--border > .vxe-split-pane--wrapper, .vxe-split-pane.is--border > .vxe-split-pane-handle {
|
|
90
94
|
border: 1px solid var(--vxe-ui-base-popup-border-color);
|
|
91
95
|
}
|
|
92
|
-
.vxe-split-pane.is--expand.is--horizontal > .vxe-split-pane-handle .vxe-split-pane-handle-bar {
|
|
96
|
+
.vxe-split-pane.is--resize.is--expand.is--horizontal > .vxe-split-pane-handle .vxe-split-pane-handle-bar {
|
|
93
97
|
cursor: w-resize;
|
|
94
98
|
}
|
|
95
|
-
.vxe-split-pane.is--expand.is--vertical > .vxe-split-pane-handle .vxe-split-pane-handle-bar {
|
|
99
|
+
.vxe-split-pane.is--resize.is--expand.is--vertical > .vxe-split-pane-handle .vxe-split-pane-handle-bar {
|
|
96
100
|
cursor: n-resize;
|
|
97
101
|
}
|
|
98
|
-
.vxe-split-pane.is--expand > .vxe-split-pane-handle > .vxe-split-pane-handle-bar {
|
|
102
|
+
.vxe-split-pane.is--resize.is--expand > .vxe-split-pane-handle > .vxe-split-pane-handle-bar {
|
|
99
103
|
background-color: var(--vxe-split-handle-bar-background-color);
|
|
100
104
|
}
|
|
101
|
-
.vxe-split-pane.is--expand > .vxe-split-pane-handle > .vxe-split-pane-handle-bar:hover {
|
|
105
|
+
.vxe-split-pane.is--resize.is--expand > .vxe-split-pane-handle > .vxe-split-pane-handle-bar:hover {
|
|
102
106
|
background-color: var(--vxe-ui-font-primary-lighten-color);
|
|
103
107
|
}
|
|
104
|
-
.vxe-split-pane.is--expand > .vxe-split-pane-handle > .vxe-split-pane-handle-bar:active {
|
|
108
|
+
.vxe-split-pane.is--resize.is--expand > .vxe-split-pane-handle > .vxe-split-pane-handle-bar:active {
|
|
105
109
|
background-color: var(--vxe-ui-font-primary-darken-color);
|
|
106
110
|
}
|
|
107
111
|
.vxe-split-pane.is--horizontal {
|
|
@@ -122,9 +126,6 @@
|
|
|
122
126
|
transform: translateY(-50%);
|
|
123
127
|
padding: 1em 0;
|
|
124
128
|
}
|
|
125
|
-
.vxe-split-pane.is--horizontal > .vxe-split-pane-handle .vxe-split-pane-action-btn:hover {
|
|
126
|
-
color: var(--vxe-ui-font-primary-color);
|
|
127
|
-
}
|
|
128
129
|
.vxe-split-pane.is--horizontal > .vxe-split-pane-handle .vxe-split-pane-action-btn:active {
|
|
129
130
|
transform: translateY(-50%) scale(0.9);
|
|
130
131
|
}
|
|
@@ -149,12 +150,13 @@
|
|
|
149
150
|
transform: translateX(-50%);
|
|
150
151
|
padding: 0 1em;
|
|
151
152
|
}
|
|
152
|
-
.vxe-split-pane.is--vertical > .vxe-split-pane-handle .vxe-split-pane-action-btn:hover {
|
|
153
|
-
color: var(--vxe-ui-font-primary-color);
|
|
154
|
-
}
|
|
155
153
|
.vxe-split-pane.is--vertical > .vxe-split-pane-handle .vxe-split-pane-action-btn:active {
|
|
156
154
|
transform: translateX(-50%) scale(0.9);
|
|
157
155
|
}
|
|
158
156
|
.vxe-split-pane.is--vertical.is--border > .vxe-split-pane-handle {
|
|
159
157
|
border-width: 0 1px 0 1px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.vxe-modal--content > .vxe-split {
|
|
161
|
+
height: 100%;
|
|
160
162
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.vxe-split.is--vertical>.vxe-split-wrapper{flex-direction:column}.vxe-split.is--vertical>.vxe-split-wrapper>.vxe-split-pane{width:100%}.vxe-split.is--drag{-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-split.is--drag>.vxe-split-wrapper>.vxe-split-pane>.vxe-split-pane--wrapper::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;background:0 0}.vxe-split-wrapper{height:100%;display:flex;flex-direction:row;overflow:
|
|
1
|
+
.vxe-split.is--vertical>.vxe-split-wrapper{flex-direction:column}.vxe-split.is--vertical>.vxe-split-wrapper>.vxe-split-pane{width:100%}.vxe-split.is--drag{-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-split.is--drag>.vxe-split-wrapper>.vxe-split-pane>.vxe-split-pane--wrapper::after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;background:0 0}.vxe-split-wrapper{height:100%;display:flex;flex-direction:row;overflow:auto}.vxe-split-slots{display:none}.vxe-split-pane-handle{position:relative;flex-shrink:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vxe-split-pane--wrapper{position:relative;word-break:break-word;overflow:hidden;flex-grow:1}.vxe-split-pane--inner{height:100%;width:100%;overflow:auto}.vxe-split-pane--inner>.vxe-split{height:100%}.vxe-split-pane-handle-bar{background-color:var(--vxe-split-handle-bar-background-color)}.vxe-split-pane-action-btn{display:block;position:absolute;z-index:2;cursor:pointer;background-color:var(--vxe-ui-layout-background-color);border:1px solid var(--vxe-ui-input-border-color);transition:transform .1s ease-in-out}.vxe-split-pane-action-btn:hover{color:var(--vxe-ui-layout-background-color);background-color:var(--vxe-ui-font-primary-lighten-color)}.vxe-split-pane{display:flex;position:relative;overflow:hidden}.vxe-split-pane.is--hidden{width:0}.vxe-split-pane.is--padding>.vxe-split-pane--wrapper{padding:var(--vxe-ui-layout-padding-default)}.vxe-split-pane.is--fill{flex-grow:1}.vxe-split-pane.is--height,.vxe-split-pane.is--width{flex-shrink:0}.vxe-split-pane.is--border>.vxe-split-pane--wrapper,.vxe-split-pane.is--border>.vxe-split-pane-handle{border:1px solid var(--vxe-ui-base-popup-border-color)}.vxe-split-pane.is--resize.is--expand.is--horizontal>.vxe-split-pane-handle .vxe-split-pane-handle-bar{cursor:w-resize}.vxe-split-pane.is--resize.is--expand.is--vertical>.vxe-split-pane-handle .vxe-split-pane-handle-bar{cursor:n-resize}.vxe-split-pane.is--resize.is--expand>.vxe-split-pane-handle>.vxe-split-pane-handle-bar{background-color:var(--vxe-split-handle-bar-background-color)}.vxe-split-pane.is--resize.is--expand>.vxe-split-pane-handle>.vxe-split-pane-handle-bar:hover{background-color:var(--vxe-ui-font-primary-lighten-color)}.vxe-split-pane.is--resize.is--expand>.vxe-split-pane-handle>.vxe-split-pane-handle-bar:active{background-color:var(--vxe-ui-font-primary-darken-color)}.vxe-split-pane.is--horizontal{flex-direction:row}.vxe-split-pane.is--horizontal>.vxe-split-pane-handle.to--prev .vxe-split-pane-action-btn{left:0}.vxe-split-pane.is--horizontal>.vxe-split-pane-handle.to--next .vxe-split-pane-action-btn{right:0}.vxe-split-pane.is--horizontal>.vxe-split-pane-handle .vxe-split-pane-handle-bar{width:var(--vxe-split-handle-bar-width);height:100%}.vxe-split-pane.is--horizontal>.vxe-split-pane-handle .vxe-split-pane-action-btn{top:50%;transform:translateY(-50%);padding:1em 0}.vxe-split-pane.is--horizontal>.vxe-split-pane-handle .vxe-split-pane-action-btn:active{transform:translateY(-50%) scale(.9)}.vxe-split-pane.is--horizontal.is--border>.vxe-split-pane-handle{border-width:1px 0 1px 0}.vxe-split-pane.is--vertical{flex-direction:column}.vxe-split-pane.is--vertical>.vxe-split-pane-handle.to--prev .vxe-split-pane-action-btn{top:0}.vxe-split-pane.is--vertical>.vxe-split-pane-handle.to--next .vxe-split-pane-action-btn{bottom:0}.vxe-split-pane.is--vertical>.vxe-split-pane-handle .vxe-split-pane-handle-bar{height:var(--vxe-split-handle-bar-height);width:100%}.vxe-split-pane.is--vertical>.vxe-split-pane-handle .vxe-split-pane-action-btn{left:50%;transform:translateX(-50%);padding:0 1em}.vxe-split-pane.is--vertical>.vxe-split-pane-handle .vxe-split-pane-action-btn:active{transform:translateX(-50%) scale(.9)}.vxe-split-pane.is--vertical.is--border>.vxe-split-pane-handle{border-width:0 1px 0 1px}.vxe-modal--content>.vxe-split{height:100%}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vxe-pc-ui",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.12",
|
|
4
4
|
"description": "A vue based PC component library",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "npm install --legacy-peer-deps",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"style": "lib/style.css",
|
|
26
26
|
"typings": "types/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@vxe-ui/core": "^4.0.
|
|
28
|
+
"@vxe-ui/core": "^4.0.39"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
@@ -145,7 +145,8 @@ export default defineComponent({
|
|
|
145
145
|
initialized: false,
|
|
146
146
|
visible: false,
|
|
147
147
|
contentVisible: false,
|
|
148
|
-
drawerZIndex: 0
|
|
148
|
+
drawerZIndex: 0,
|
|
149
|
+
resizeFlag: 1
|
|
149
150
|
})
|
|
150
151
|
|
|
151
152
|
const refMaps: DrawerPrivateRef = {
|
|
@@ -350,8 +351,6 @@ export default defineComponent({
|
|
|
350
351
|
const maxWidth = visibleWidth
|
|
351
352
|
const maxHeight = visibleHeight
|
|
352
353
|
const boxElem = getBox()
|
|
353
|
-
const domMousemove = document.onmousemove
|
|
354
|
-
const domMouseup = document.onmouseup
|
|
355
354
|
const clientWidth = boxElem.clientWidth
|
|
356
355
|
const clientHeight = boxElem.clientHeight
|
|
357
356
|
const disX = evnt.clientX
|
|
@@ -405,10 +404,12 @@ export default defineComponent({
|
|
|
405
404
|
}
|
|
406
405
|
boxElem.className = boxElem.className.replace(/\s?is--drag/, '') + ' is--drag'
|
|
407
406
|
dispatchEvent('resize', params, evnt)
|
|
407
|
+
reactData.resizeFlag++
|
|
408
408
|
}
|
|
409
409
|
document.onmouseup = () => {
|
|
410
|
-
document.onmousemove =
|
|
411
|
-
document.onmouseup =
|
|
410
|
+
document.onmousemove = null
|
|
411
|
+
document.onmouseup = null
|
|
412
|
+
reactData.resizeFlag++
|
|
412
413
|
setTimeout(() => {
|
|
413
414
|
boxElem.className = boxElem.className.replace(/\s?is--drag/, '')
|
|
414
415
|
}, 50)
|
|
@@ -216,7 +216,8 @@ export default defineComponent({
|
|
|
216
216
|
zoomStatus: '',
|
|
217
217
|
revertLocat: null,
|
|
218
218
|
prevLocat: null,
|
|
219
|
-
firstOpen: true
|
|
219
|
+
firstOpen: true,
|
|
220
|
+
resizeFlag: 1
|
|
220
221
|
})
|
|
221
222
|
|
|
222
223
|
const internalData: ModalInternalData = {
|
|
@@ -900,8 +901,6 @@ export default defineComponent({
|
|
|
900
901
|
}
|
|
901
902
|
if (zoomStatus !== 'maximize' && evnt.button === 0 && !getEventTargetNode(evnt, boxElem, 'trigger--btn').flag) {
|
|
902
903
|
evnt.preventDefault()
|
|
903
|
-
const domMousemove = document.onmousemove
|
|
904
|
-
const domMouseup = document.onmouseup
|
|
905
904
|
const disX = evnt.clientX - boxElem.offsetLeft
|
|
906
905
|
const disY = evnt.clientY - boxElem.offsetTop
|
|
907
906
|
const { visibleHeight, visibleWidth } = getDomNode()
|
|
@@ -931,15 +930,17 @@ export default defineComponent({
|
|
|
931
930
|
boxElem.style.top = `${top}px`
|
|
932
931
|
boxElem.className = boxElem.className.replace(/\s?is--drag/, '') + ' is--drag'
|
|
933
932
|
dispatchEvent('move', { type: 'move' }, evnt)
|
|
933
|
+
reactData.resizeFlag++
|
|
934
934
|
}
|
|
935
935
|
document.onmouseup = () => {
|
|
936
|
-
document.onmousemove =
|
|
937
|
-
document.onmouseup =
|
|
936
|
+
document.onmousemove = null
|
|
937
|
+
document.onmouseup = null
|
|
938
938
|
if (storage) {
|
|
939
939
|
nextTick(() => {
|
|
940
940
|
savePosStorage()
|
|
941
941
|
})
|
|
942
942
|
}
|
|
943
|
+
reactData.resizeFlag++
|
|
943
944
|
setTimeout(() => {
|
|
944
945
|
boxElem.className = boxElem.className.replace(/\s?is--drag/, '')
|
|
945
946
|
}, 50)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, PropType, ref, h, reactive, provide, VNode, computed, watch, nextTick, onMounted, onUnmounted, onActivated } from 'vue'
|
|
2
|
-
import { getConfig, getIcon, createEvent, globalEvents, renderEmptyElement } from '../../ui'
|
|
2
|
+
import { getConfig, getIcon, createEvent, globalEvents, globalResize, renderEmptyElement } from '../../ui'
|
|
3
3
|
import { getSlotVNs } from '../../ui/src/vn'
|
|
4
4
|
import { toCssUnit, isScale, addClass, removeClass } from '../../ui/src/dom'
|
|
5
5
|
import { getGlobalDefaultConfig } from '../../ui/src/utils'
|
|
@@ -25,6 +25,10 @@ export default defineComponent({
|
|
|
25
25
|
type: Boolean as PropType<VxeSplitPropTypes.Padding>,
|
|
26
26
|
default: () => getConfig().split.padding
|
|
27
27
|
},
|
|
28
|
+
resize: {
|
|
29
|
+
type: Boolean as PropType<VxeSplitPropTypes.Resize>,
|
|
30
|
+
default: () => getConfig().split.resize
|
|
31
|
+
},
|
|
28
32
|
items: Array as PropType<VxeSplitPropTypes.Items>,
|
|
29
33
|
itemConfig: Object as PropType<VxeSplitPropTypes.ItemConfig>,
|
|
30
34
|
barConfig: Object as PropType<VxeSplitPropTypes.BarConfig>,
|
|
@@ -70,6 +74,10 @@ export default defineComponent({
|
|
|
70
74
|
return actionOpts.direction === 'next'
|
|
71
75
|
})
|
|
72
76
|
|
|
77
|
+
const computeVisibleItems = computed(() => {
|
|
78
|
+
return reactData.itemList.filter(item => item.isVisible)
|
|
79
|
+
})
|
|
80
|
+
|
|
73
81
|
const computeBarStyle = computed(() => {
|
|
74
82
|
const barOpts = computeBarOpts.value
|
|
75
83
|
const { width, height } = barOpts
|
|
@@ -272,9 +280,12 @@ export default defineComponent({
|
|
|
272
280
|
}
|
|
273
281
|
|
|
274
282
|
const dragEvent = (evnt: MouseEvent) => {
|
|
275
|
-
|
|
276
|
-
const { vertical } = props
|
|
283
|
+
const { resize, vertical } = props
|
|
277
284
|
const { itemList } = reactData
|
|
285
|
+
if (!resize) {
|
|
286
|
+
return
|
|
287
|
+
}
|
|
288
|
+
evnt.preventDefault()
|
|
278
289
|
const barEl = evnt.currentTarget as HTMLDivElement
|
|
279
290
|
const handleEl = barEl.parentElement as HTMLDivElement
|
|
280
291
|
const el = refElem.value
|
|
@@ -481,8 +492,9 @@ export default defineComponent({
|
|
|
481
492
|
}
|
|
482
493
|
|
|
483
494
|
const renderItems = () => {
|
|
484
|
-
const { border, padding, vertical } = props
|
|
495
|
+
const { border, padding, resize, vertical } = props
|
|
485
496
|
const { itemList } = reactData
|
|
497
|
+
const visibleItems = computeVisibleItems.value
|
|
486
498
|
const isFoldNext = computeIsFoldNext.value
|
|
487
499
|
const itemVNs: VNode[] = []
|
|
488
500
|
itemList.forEach((item, index) => {
|
|
@@ -491,19 +503,21 @@ export default defineComponent({
|
|
|
491
503
|
const stys: Record<string, string | number> = {}
|
|
492
504
|
const itemWidth = isVisible ? (foldWidth || resizeWidth || renderWidth) : 0
|
|
493
505
|
const itemHeight = isVisible ? (foldHeight || resizeHeight || renderHeight) : 0
|
|
506
|
+
// 当只剩下一个可视区自动占用 100%
|
|
494
507
|
if (vertical) {
|
|
495
508
|
if (itemHeight) {
|
|
496
|
-
stys.height = toCssUnit(itemHeight)
|
|
509
|
+
stys.height = visibleItems.length === 1 ? '100%' : toCssUnit(itemHeight)
|
|
497
510
|
}
|
|
498
511
|
} else {
|
|
499
512
|
if (itemWidth) {
|
|
500
|
-
stys.width = toCssUnit(itemWidth)
|
|
513
|
+
stys.width = visibleItems.length === 1 ? '100%' : toCssUnit(itemWidth)
|
|
501
514
|
}
|
|
502
515
|
}
|
|
503
516
|
itemVNs.push(
|
|
504
517
|
h('div', {
|
|
505
518
|
itemid: id,
|
|
506
519
|
class: ['vxe-split-pane', vertical ? 'is--vertical' : 'is--horizontal', {
|
|
520
|
+
'is--resize': resize,
|
|
507
521
|
'is--padding': padding,
|
|
508
522
|
'is--border': border,
|
|
509
523
|
'is--height': itemHeight,
|
|
@@ -574,15 +588,28 @@ export default defineComponent({
|
|
|
574
588
|
recalculate()
|
|
575
589
|
})
|
|
576
590
|
|
|
591
|
+
let resizeObserver: ResizeObserver
|
|
592
|
+
|
|
577
593
|
onMounted(() => {
|
|
578
594
|
nextTick(() => {
|
|
579
595
|
recalculate()
|
|
580
596
|
})
|
|
581
597
|
|
|
598
|
+
const el = refElem.value
|
|
599
|
+
if (el) {
|
|
600
|
+
resizeObserver = globalResize.create(() => {
|
|
601
|
+
recalculate()
|
|
602
|
+
})
|
|
603
|
+
resizeObserver.observe(el)
|
|
604
|
+
}
|
|
605
|
+
|
|
582
606
|
globalEvents.on($xeSplit, 'resize', handleGlobalResizeEvent)
|
|
583
607
|
})
|
|
584
608
|
|
|
585
609
|
onUnmounted(() => {
|
|
610
|
+
if (resizeObserver) {
|
|
611
|
+
resizeObserver.disconnect()
|
|
612
|
+
}
|
|
586
613
|
globalEvents.off($xeSplit, 'resize')
|
|
587
614
|
})
|
|
588
615
|
|
package/packages/ui/index.ts
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
height: 100%;
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: row;
|
|
37
|
-
overflow:
|
|
37
|
+
overflow: auto;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.vxe-split-slots {
|
|
@@ -72,6 +72,10 @@
|
|
|
72
72
|
background-color: var(--vxe-ui-layout-background-color);
|
|
73
73
|
border: 1px solid var(--vxe-ui-input-border-color);
|
|
74
74
|
@include baseMixin.createAnimationTransition(transform, 0.1s);
|
|
75
|
+
&:hover {
|
|
76
|
+
color: var(--vxe-ui-layout-background-color);
|
|
77
|
+
background-color: var(--vxe-ui-font-primary-lighten-color);
|
|
78
|
+
}
|
|
75
79
|
}
|
|
76
80
|
|
|
77
81
|
.vxe-split-pane {
|
|
@@ -99,29 +103,31 @@
|
|
|
99
103
|
border: 1px solid var(--vxe-ui-base-popup-border-color);
|
|
100
104
|
}
|
|
101
105
|
}
|
|
102
|
-
&.is--
|
|
103
|
-
&.is--
|
|
104
|
-
|
|
105
|
-
.vxe-split-pane-handle
|
|
106
|
-
|
|
106
|
+
&.is--resize {
|
|
107
|
+
&.is--expand {
|
|
108
|
+
&.is--horizontal {
|
|
109
|
+
& > .vxe-split-pane-handle {
|
|
110
|
+
.vxe-split-pane-handle-bar {
|
|
111
|
+
cursor: w-resize;
|
|
112
|
+
}
|
|
107
113
|
}
|
|
108
114
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
115
|
+
&.is--vertical {
|
|
116
|
+
& > .vxe-split-pane-handle {
|
|
117
|
+
.vxe-split-pane-handle-bar {
|
|
118
|
+
cursor: n-resize;
|
|
119
|
+
}
|
|
114
120
|
}
|
|
115
121
|
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
122
|
+
& > .vxe-split-pane-handle {
|
|
123
|
+
& > .vxe-split-pane-handle-bar {
|
|
124
|
+
background-color: var(--vxe-split-handle-bar-background-color);
|
|
125
|
+
&:hover {
|
|
126
|
+
background-color: var(--vxe-ui-font-primary-lighten-color);
|
|
127
|
+
}
|
|
128
|
+
&:active {
|
|
129
|
+
background-color: var(--vxe-ui-font-primary-darken-color);
|
|
130
|
+
}
|
|
125
131
|
}
|
|
126
132
|
}
|
|
127
133
|
}
|
|
@@ -147,9 +153,6 @@
|
|
|
147
153
|
top: 50%;
|
|
148
154
|
transform: translateY(-50%);
|
|
149
155
|
padding: 1em 0;
|
|
150
|
-
&:hover {
|
|
151
|
-
color: var(--vxe-ui-font-primary-color);
|
|
152
|
-
}
|
|
153
156
|
&:active {
|
|
154
157
|
transform: translateY(-50%) scale(0.9);
|
|
155
158
|
}
|
|
@@ -182,9 +185,6 @@
|
|
|
182
185
|
left: 50%;
|
|
183
186
|
transform: translateX(-50%);
|
|
184
187
|
padding: 0 1em;
|
|
185
|
-
&:hover {
|
|
186
|
-
color: var(--vxe-ui-font-primary-color);
|
|
187
|
-
}
|
|
188
188
|
&:active {
|
|
189
189
|
transform: translateX(-50%) scale(0.9);
|
|
190
190
|
}
|
|
@@ -196,4 +196,10 @@
|
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.vxe-modal--content {
|
|
202
|
+
& > .vxe-split {
|
|
203
|
+
height: 100%;
|
|
204
|
+
}
|
|
199
205
|
}
|
|
@@ -29,6 +29,7 @@ export namespace VxeSplitPropTypes {
|
|
|
29
29
|
export type Padding = boolean
|
|
30
30
|
export type Vertical = boolean
|
|
31
31
|
export type Border = boolean
|
|
32
|
+
export type Resize = boolean
|
|
32
33
|
export type Items = VxeSplitPaneProps[]
|
|
33
34
|
export interface ItemConfig {
|
|
34
35
|
minWidth?: string | number
|
|
@@ -84,6 +85,10 @@ export type VxeSplitProps = {
|
|
|
84
85
|
* 是否带有边框
|
|
85
86
|
*/
|
|
86
87
|
border?: VxeSplitPropTypes.Border
|
|
88
|
+
/**
|
|
89
|
+
* 是否允许拖拽
|
|
90
|
+
*/
|
|
91
|
+
resize?: VxeSplitPropTypes.Resize
|
|
87
92
|
/**
|
|
88
93
|
* 面板列表
|
|
89
94
|
*/
|
|
@@ -90,7 +90,7 @@ export interface VxeTableExtendCellAreaPrivateMethods<D = any> {
|
|
|
90
90
|
/**
|
|
91
91
|
* @private
|
|
92
92
|
*/
|
|
93
|
-
|
|
93
|
+
triggerCellAreaMousedownEvent(evnt: MouseEvent, params: VxeTableDefines.CellClickEventParams<D>): void
|
|
94
94
|
/**
|
|
95
95
|
* @private
|
|
96
96
|
*/
|
|
@@ -3052,10 +3052,6 @@ export interface TableReactData<D = any> {
|
|
|
3052
3052
|
hasFixedColumn: boolean
|
|
3053
3053
|
// 树节点列信息
|
|
3054
3054
|
treeNodeColumn: any
|
|
3055
|
-
// 合并单元格的对象集
|
|
3056
|
-
mergeList: VxeTableDefines.MergeItem<D>[]
|
|
3057
|
-
// 合并表尾数据的对象集
|
|
3058
|
-
mergeFooterList: VxeTableDefines.MergeItem<D>[]
|
|
3059
3055
|
// 刷新列标识,当列筛选被改变时,触发表格刷新数据
|
|
3060
3056
|
upDataFlag: number
|
|
3061
3057
|
// 刷新列标识,当列的特定属性被改变时,触发表格刷新列
|
|
@@ -3221,6 +3217,8 @@ export interface TableReactData<D = any> {
|
|
|
3221
3217
|
pendingRowFlag: number
|
|
3222
3218
|
insertRowFlag: number
|
|
3223
3219
|
removeRowFlag: number
|
|
3220
|
+
mergeBodyFlag: number
|
|
3221
|
+
mergeFootFlag: number
|
|
3224
3222
|
|
|
3225
3223
|
scrollVMLoading: boolean
|
|
3226
3224
|
scrollYHeight: number
|
|
@@ -3321,11 +3319,23 @@ export interface TableInternalData<D = any> {
|
|
|
3321
3319
|
fullAllDataRowIdData: Record<string, VxeTableDefines.RowCacheItem<D>>
|
|
3322
3320
|
// 数据集(仅当前)
|
|
3323
3321
|
fullDataRowIdData: Record<string, VxeTableDefines.RowCacheItem<D>>
|
|
3322
|
+
// 数据集(仅可视)
|
|
3323
|
+
visibleDataRowIdData: Record<string, D>
|
|
3324
3324
|
|
|
3325
3325
|
sourceDataRowIdData: Record<string, D>
|
|
3326
3326
|
fullColumnIdData: Record<string, VxeTableDefines.ColumnCacheItem<D>>
|
|
3327
3327
|
fullColumnFieldData: Record<string, VxeTableDefines.ColumnCacheItem<D>>
|
|
3328
3328
|
|
|
3329
|
+
// 合并单元格的数据
|
|
3330
|
+
mergeBodyList: VxeTableDefines.MergeItem<D>[]
|
|
3331
|
+
mergeBodyMaps: Record<string, VxeTableDefines.MergeItem>
|
|
3332
|
+
// 合并表尾的数据
|
|
3333
|
+
mergeFooterList: VxeTableDefines.MergeItem<D>[]
|
|
3334
|
+
mergeFooterMaps: Record<string, VxeTableDefines.MergeItem>
|
|
3335
|
+
// 已合并单元格数据集合
|
|
3336
|
+
mergeBodyCellMaps: Record<string, VxeTableDefines.MergeCacheItem>
|
|
3337
|
+
// 已合并表尾数据集合
|
|
3338
|
+
mergeFooterCellMaps: Record<string, VxeTableDefines.MergeCacheItem>
|
|
3329
3339
|
// 已展开的行
|
|
3330
3340
|
rowExpandedMaps: Record<string, D | null>
|
|
3331
3341
|
// 懒加载中的展开行
|
|
@@ -4244,7 +4254,7 @@ export interface TablePrivateMethods<D = any> {
|
|
|
4244
4254
|
/**
|
|
4245
4255
|
* @private
|
|
4246
4256
|
*/
|
|
4247
|
-
cacheRowMap(
|
|
4257
|
+
cacheRowMap(isReset: boolean): void
|
|
4248
4258
|
/**
|
|
4249
4259
|
* @private
|
|
4250
4260
|
*/
|
|
@@ -4289,6 +4299,14 @@ export interface TablePrivateMethods<D = any> {
|
|
|
4289
4299
|
* @private
|
|
4290
4300
|
*/
|
|
4291
4301
|
handleRowResizeDblclickEvent(evnt: MouseEvent, params: VxeTableDefines.CellRenderBodyParams & { $table: VxeTableConstructor & VxeTablePrivateMethods }): void
|
|
4302
|
+
/**
|
|
4303
|
+
* @private
|
|
4304
|
+
*/
|
|
4305
|
+
handleUpdateBodyMerge(): void
|
|
4306
|
+
/**
|
|
4307
|
+
* @private
|
|
4308
|
+
*/
|
|
4309
|
+
handleUpdateFooterMerge(): void
|
|
4292
4310
|
/**
|
|
4293
4311
|
* use handleBatchSelectRows
|
|
4294
4312
|
* @deprecated
|
|
@@ -4640,6 +4658,11 @@ export namespace VxeTableDefines {
|
|
|
4640
4658
|
oLeft: number
|
|
4641
4659
|
}
|
|
4642
4660
|
|
|
4661
|
+
export interface MergeCacheItem {
|
|
4662
|
+
rowspan: number
|
|
4663
|
+
colspan: number
|
|
4664
|
+
}
|
|
4665
|
+
|
|
4643
4666
|
/**
|
|
4644
4667
|
* 列对象
|
|
4645
4668
|
*/
|
|
@@ -5673,11 +5696,33 @@ export namespace VxeTableSlotTypes {
|
|
|
5673
5696
|
export interface EmptySlotParams<D = any> extends BaseSlotParams<D> {}
|
|
5674
5697
|
export interface LoadingSlotParams<D = any> extends BaseSlotParams<D> {}
|
|
5675
5698
|
|
|
5676
|
-
export interface RowDragIconSlotParams<D = any> extends BaseSlotParams<D
|
|
5677
|
-
|
|
5699
|
+
export interface RowDragIconSlotParams<D = any> extends BaseSlotParams<D> {
|
|
5700
|
+
row: D
|
|
5701
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
5702
|
+
}
|
|
5703
|
+
export interface ColumnDragIconSlotParams<D = any> extends BaseSlotParams<D> {
|
|
5704
|
+
column: VxeTableDefines.ColumnInfo<D>
|
|
5705
|
+
}
|
|
5678
5706
|
}
|
|
5679
5707
|
|
|
5680
5708
|
export interface VxeTableSlots<D = any> {
|
|
5709
|
+
/**
|
|
5710
|
+
* 自定义插槽模板
|
|
5711
|
+
*/
|
|
5712
|
+
// [key: string]: ((params: {
|
|
5713
|
+
// $table: VxeTableConstructor<D>
|
|
5714
|
+
// $grid: VxeGridConstructor<D> | null | undefined
|
|
5715
|
+
// row: D
|
|
5716
|
+
// rowIndex: number
|
|
5717
|
+
// $rowIndex: number
|
|
5718
|
+
// _rowIndex: number
|
|
5719
|
+
// column: VxeTableDefines.ColumnInfo<D>
|
|
5720
|
+
// columnIndex: number
|
|
5721
|
+
// $columnIndex: number
|
|
5722
|
+
// _columnIndex: number
|
|
5723
|
+
// [key: string]: any
|
|
5724
|
+
// }) => any) | undefined
|
|
5725
|
+
|
|
5681
5726
|
/**
|
|
5682
5727
|
* 自定义空数据时显示模板
|
|
5683
5728
|
*/
|
|
File without changes
|
|
File without changes
|
|
File without changes
|