vxe-pc-ui 4.8.10 → 4.8.11

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 (59) hide show
  1. package/es/components.js +0 -3
  2. package/es/icon/style.css +1 -1
  3. package/es/style.css +1 -1
  4. package/es/style.min.css +1 -1
  5. package/es/ui/index.js +3 -3
  6. package/es/ui/src/log.js +1 -1
  7. package/lib/components.js +1 -13
  8. package/lib/components.min.js +1 -1
  9. package/lib/icon/style/style.css +1 -1
  10. package/lib/icon/style/style.min.css +1 -1
  11. package/lib/index.umd.js +9 -93
  12. package/lib/index.umd.min.js +1 -1
  13. package/lib/style.css +1 -1
  14. package/lib/style.min.css +1 -1
  15. package/lib/ui/index.js +3 -3
  16. package/lib/ui/index.min.js +1 -1
  17. package/lib/ui/src/log.js +1 -1
  18. package/lib/ui/src/log.min.js +1 -1
  19. package/package.json +2 -2
  20. package/packages/components.ts +0 -3
  21. package/packages/ui/index.ts +3 -2
  22. package/styles/all.scss +0 -1
  23. package/types/all.d.ts +6 -2
  24. package/types/components/table.d.ts +5 -0
  25. package/types/ui/global-config.d.ts +20 -10
  26. package/es/gantt/index.js +0 -12
  27. package/es/gantt/src/gantt.js +0 -61
  28. package/es/gantt/style.css +0 -0
  29. package/es/gantt/style.min.css +0 -0
  30. package/es/vxe-gantt/index.js +0 -3
  31. package/es/vxe-gantt/style.css +0 -0
  32. package/es/vxe-gantt/style.min.css +0 -0
  33. package/lib/gantt/index.js +0 -19
  34. package/lib/gantt/index.min.js +0 -1
  35. package/lib/gantt/src/gantt.js +0 -72
  36. package/lib/gantt/src/gantt.min.js +0 -1
  37. package/lib/gantt/style/index.js +0 -1
  38. package/lib/gantt/style/style.css +0 -0
  39. package/lib/gantt/style/style.min.css +0 -0
  40. package/lib/vxe-gantt/index.js +0 -22
  41. package/lib/vxe-gantt/index.min.js +0 -1
  42. package/lib/vxe-gantt/style/index.js +0 -1
  43. package/lib/vxe-gantt/style/style.css +0 -0
  44. package/lib/vxe-gantt/style/style.min.css +0 -0
  45. package/packages/gantt/index.ts +0 -16
  46. package/packages/gantt/src/gantt.ts +0 -87
  47. package/styles/components/gantt.scss +0 -0
  48. /package/es/icon/{iconfont.1754474084337.ttf → iconfont.1754563062233.ttf} +0 -0
  49. /package/es/icon/{iconfont.1754474084337.woff → iconfont.1754563062233.woff} +0 -0
  50. /package/es/icon/{iconfont.1754474084337.woff2 → iconfont.1754563062233.woff2} +0 -0
  51. /package/es/{iconfont.1754474084337.ttf → iconfont.1754563062233.ttf} +0 -0
  52. /package/es/{iconfont.1754474084337.woff → iconfont.1754563062233.woff} +0 -0
  53. /package/es/{iconfont.1754474084337.woff2 → iconfont.1754563062233.woff2} +0 -0
  54. /package/lib/icon/style/{iconfont.1754474084337.ttf → iconfont.1754563062233.ttf} +0 -0
  55. /package/lib/icon/style/{iconfont.1754474084337.woff → iconfont.1754563062233.woff} +0 -0
  56. /package/lib/icon/style/{iconfont.1754474084337.woff2 → iconfont.1754563062233.woff2} +0 -0
  57. /package/lib/{iconfont.1754474084337.ttf → iconfont.1754563062233.ttf} +0 -0
  58. /package/lib/{iconfont.1754474084337.woff → iconfont.1754563062233.woff} +0 -0
  59. /package/lib/{iconfont.1754474084337.woff2 → iconfont.1754563062233.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.8.10";
29
+ const version = exports.version = "4.8.11";
30
30
  _core.VxeUI.uiVersion = version;
31
31
  _core.VxeUI.dynamicApp = _dynamics.dynamicApp;
32
32
  function config(options) {
@@ -173,7 +173,6 @@ _core.VxeUI.setup = setup;
173
173
  formGroup: {},
174
174
  formItem: {},
175
175
  formView: {},
176
- gantt: {},
177
176
  icon: {},
178
177
  iconPicker: {
179
178
  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']
@@ -428,7 +427,8 @@ _core.VxeUI.setup = setup;
428
427
  colgroup: {},
429
428
  column: {},
430
429
  toolbar: {},
431
- grid: {}
430
+ grid: {},
431
+ gantt: {}
432
432
  });
433
433
  const iconPrefix = 'vxe-icon-';
434
434
  (0, _core.setIcon)({
@@ -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.8.10";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:{},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:{},checkboxButton:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},countdown:{},colorPicker:{type:"rgb",clearable:!0,showAlpha:!0,clickToCopy:!0,showColorExtractor:!0,showQuick:!0},datePanel:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1},datePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,autoClose:!0,showClearButton:null,showConfirmButton:null},dateRangePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,separator:" ~ ",autoClose:!0,showClearButton:null,showConfirmButton:null},drawer:{position:"right",showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0,padding:!0,cancelClosable:!0,confirmClosable:!0},empty:{},form:{validConfig:{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:{},gantt:{},icon:{},iconPicker:{icons:["home","company","comment","setting","send","envelope","envelope-open","bell","search","print","pc","goods","chart-line","edit","delete","save","folder","microphone","flag","link","location","sunny","rmb","usd","user","add-user","add-users","star","unlock","time","text","feedback","calendar","association-form","cloud-download","cloud-upload","file","subtable","chart-bar-x","chart-bar-y","chart-line","chart-pie","chart-radar"]},image:{showPreview:!0,showPrintButton:!0,maskClosable:!0},imageGroup:{showPreview:!0,showPrintButton:!0},imagePreview:{showPrintButton:!0},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},layoutAside:{},layoutBody:{},layoutContainer:{},layoutFooter:{},layoutHeader:{},link:{underline:!0},listDesign:{height:400,showPc:!0},listView:{},list:{virtualYConfig:{enabled:!0,gt:100}},loading:{showIcon:!0,showText:!0},menu:{},modal:{top:16,showHeader:!0,minWidth:340,minHeight:140,lockView:!0,mask:!0,duration:3e3,marginSize:0,dblclickZoom:!0,showTitleOverflow:!0,animat:!0,showClose:!0,padding:!0,draggable:!0,showConfirmButton:null,cancelClosable:!0,confirmClosable:!0,zoomConfig:{minimizeMaxSize:10,minimizeVerticalOffset:{top:-24,left:0},minimizeHorizontalOffset:{top:0,left:32}},storageKey:"VXE_MODAL_POSITION"},noticeBar:{},numberInput:{digits:2,autoFill:!0,controlConfig:{enabled:!0,layout:"right",showButton:!0,isWheel:!0,isArrow:!0}},optgroup:{},option:{},pager:{pageSizePlacement:"top"},print:{pageStyle:{}},passwordInput:{controls:!0},printPageBreak:{},pulldown:{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:50,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},virtualYConfig:{enabled:!0,gt:50,oSize:2}},treeSelect:{autoClose:!0,virtualYConfig:{enabled:!0,gt:0,oSize:2},treeConfig:{maxHeight:300,radioConfig:{},checkboxConfig:{},filterConfig:{autoExpandAll:!0}}},upload:{mode:"all",imageTypes:["jpg","jpeg","png","gif"],showList:!0,showUploadButton:!0,showButtonText:!0,showRemoveButton:!0,showButtonIcon:!0,showPreview:!0,dragToUpload:!0,showLimitSize:!0,showLimitCount:!0,autoSubmit:!0,maxSimultaneousUploads:5},watermark:{rotate:-30,gap:[100,100]},table:{},colgroup:{},column:{},toolbar:{},grid:{}});const iconPrefix="vxe-icon-";(0,_core.setIcon)({LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",BUTTON_DROPDOWN:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",BUTTON_TOOLTIP_ICON:iconPrefix+"question-circle-fill",MENU_ITEM_EXPAND_OPEN:iconPrefix+"arrow-down rotate180",MENU_ITEM_EXPAND_CLOSE:iconPrefix+"arrow-down",SELECT_LOADED:iconPrefix+"spinner roll",SELECT_OPEN:iconPrefix+"caret-down rotate180",SELECT_CLOSE:iconPrefix+"caret-down",SELECT_ADD_OPTION:iconPrefix+"add",ICON_PICKER_OPEN:iconPrefix+"caret-down rotate180",ICON_PICKER_CLOSE:iconPrefix+"caret-down",PAGER_HOME:iconPrefix+"home-page",PAGER_END:iconPrefix+"end-page",PAGER_JUMP_PREV:iconPrefix+"arrow-double-left",PAGER_JUMP_NEXT:iconPrefix+"arrow-double-right",PAGER_PREV_PAGE:iconPrefix+"arrow-left",PAGER_NEXT_PAGE:iconPrefix+"arrow-right",PAGER_JUMP_MORE:iconPrefix+"ellipsis-h",RADIO_CHECKED:iconPrefix+"radio-checked-fill",RADIO_UNCHECKED:iconPrefix+"radio-unchecked",RADIO_DISABLED_UNCHECKED:iconPrefix+"radio-unchecked-fill",CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate-fill",CHECKBOX_CHECKED:iconPrefix+"checkbox-checked-fill",CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",CHECKBOX_DISABLED_UNCHECKED:iconPrefix+"checkbox-unchecked-fill",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_SEARCH:iconPrefix+"search",INPUT_PLUS_NUM:iconPrefix+"caret-up",INPUT_MINUS_NUM:iconPrefix+"caret-down",NUMBER_INPUT_MINUS_NUM:iconPrefix+"minus",NUMBER_INPUT_PLUS_NUM:iconPrefix+"add",DATE_PICKER_DATE:iconPrefix+"calendar",PASSWORD_INPUT_SHOW_PWD:iconPrefix+"eye-fill-close",PASSWORD_INPUT_HIDE_PWD:iconPrefix+"eye-fill",MODAL_ZOOM_MIN:iconPrefix+"minus",MODAL_ZOOM_REVERT:iconPrefix+"recover",MODAL_ZOOM_IN:iconPrefix+"square",MODAL_ZOOM_OUT:iconPrefix+"maximize",MODAL_CLOSE:iconPrefix+"close",MODAL_INFO:iconPrefix+"info-circle-fill",MODAL_SUCCESS:iconPrefix+"success-circle-fill",MODAL_WARNING:iconPrefix+"warning-circle-fill",MODAL_ERROR:iconPrefix+"error-circle-fill",MODAL_QUESTION:iconPrefix+"question-circle-fill",MODAL_LOADING:iconPrefix+"spinner roll",DRAWER_CLOSE:iconPrefix+"close",FORM_PREFIX:iconPrefix+"question-circle-fill",FORM_SUFFIX:iconPrefix+"question-circle-fill",FORM_FOLDING:iconPrefix+"arrow-up rotate180",FORM_UNFOLDING:iconPrefix+"arrow-up",FORM_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_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",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"});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.8.11";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:{},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:{},checkboxButton:{},checkboxGroup:{},col:{},collapse:{padding:!0,expandConfig:{showIcon:!0}},collapsePane:{},countdown:{},colorPicker:{type:"rgb",clearable:!0,showAlpha:!0,clickToCopy:!0,showColorExtractor:!0,showQuick:!0},datePanel:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1},datePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,autoClose:!0,showClearButton:null,showConfirmButton:null},dateRangePicker:{shortcutConfig:{align:"left",mode:"text",autoClose:!0},startDay:1,selectDay:1,separator:" ~ ",autoClose:!0,showClearButton:null,showConfirmButton:null},drawer:{position:"right",showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0,padding:!0,cancelClosable:!0,confirmClosable:!0},empty:{},form:{validConfig:{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},menu:{},modal:{top:16,showHeader:!0,minWidth:340,minHeight:140,lockView:!0,mask:!0,duration:3e3,marginSize:0,dblclickZoom:!0,showTitleOverflow:!0,animat:!0,showClose:!0,padding:!0,draggable:!0,showConfirmButton:null,cancelClosable:!0,confirmClosable:!0,zoomConfig:{minimizeMaxSize:10,minimizeVerticalOffset:{top:-24,left:0},minimizeHorizontalOffset:{top:0,left:32}},storageKey:"VXE_MODAL_POSITION"},noticeBar:{},numberInput:{digits:2,autoFill:!0,controlConfig:{enabled:!0,layout:"right",showButton:!0,isWheel:!0,isArrow:!0}},optgroup:{},option:{},pager:{pageSizePlacement:"top"},print:{pageStyle:{}},passwordInput:{controls:!0},printPageBreak:{},pulldown:{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:50,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},virtualYConfig:{enabled:!0,gt:50,oSize:2}},treeSelect:{autoClose:!0,virtualYConfig:{enabled:!0,gt:0,oSize:2},treeConfig:{maxHeight:300,radioConfig:{},checkboxConfig:{},filterConfig:{autoExpandAll:!0}}},upload:{mode:"all",imageTypes:["jpg","jpeg","png","gif"],showList:!0,showUploadButton:!0,showButtonText:!0,showRemoveButton:!0,showButtonIcon:!0,showPreview:!0,dragToUpload:!0,showLimitSize:!0,showLimitCount:!0,autoSubmit:!0,maxSimultaneousUploads:5},watermark:{rotate:-30,gap:[100,100]},table:{},colgroup:{},column:{},toolbar:{},grid:{},gantt:{}});const iconPrefix="vxe-icon-";(0,_core.setIcon)({LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",BUTTON_DROPDOWN:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",BUTTON_TOOLTIP_ICON:iconPrefix+"question-circle-fill",MENU_ITEM_EXPAND_OPEN:iconPrefix+"arrow-down rotate180",MENU_ITEM_EXPAND_CLOSE:iconPrefix+"arrow-down",SELECT_LOADED:iconPrefix+"spinner roll",SELECT_OPEN:iconPrefix+"caret-down rotate180",SELECT_CLOSE:iconPrefix+"caret-down",SELECT_ADD_OPTION:iconPrefix+"add",ICON_PICKER_OPEN:iconPrefix+"caret-down rotate180",ICON_PICKER_CLOSE:iconPrefix+"caret-down",PAGER_HOME:iconPrefix+"home-page",PAGER_END:iconPrefix+"end-page",PAGER_JUMP_PREV:iconPrefix+"arrow-double-left",PAGER_JUMP_NEXT:iconPrefix+"arrow-double-right",PAGER_PREV_PAGE:iconPrefix+"arrow-left",PAGER_NEXT_PAGE:iconPrefix+"arrow-right",PAGER_JUMP_MORE:iconPrefix+"ellipsis-h",RADIO_CHECKED:iconPrefix+"radio-checked-fill",RADIO_UNCHECKED:iconPrefix+"radio-unchecked",RADIO_DISABLED_UNCHECKED:iconPrefix+"radio-unchecked-fill",CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate-fill",CHECKBOX_CHECKED:iconPrefix+"checkbox-checked-fill",CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",CHECKBOX_DISABLED_UNCHECKED:iconPrefix+"checkbox-unchecked-fill",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_SEARCH:iconPrefix+"search",INPUT_PLUS_NUM:iconPrefix+"caret-up",INPUT_MINUS_NUM:iconPrefix+"caret-down",NUMBER_INPUT_MINUS_NUM:iconPrefix+"minus",NUMBER_INPUT_PLUS_NUM:iconPrefix+"add",DATE_PICKER_DATE:iconPrefix+"calendar",PASSWORD_INPUT_SHOW_PWD:iconPrefix+"eye-fill-close",PASSWORD_INPUT_HIDE_PWD:iconPrefix+"eye-fill",MODAL_ZOOM_MIN:iconPrefix+"minus",MODAL_ZOOM_REVERT:iconPrefix+"recover",MODAL_ZOOM_IN:iconPrefix+"square",MODAL_ZOOM_OUT:iconPrefix+"maximize",MODAL_CLOSE:iconPrefix+"close",MODAL_INFO:iconPrefix+"info-circle-fill",MODAL_SUCCESS:iconPrefix+"success-circle-fill",MODAL_WARNING:iconPrefix+"warning-circle-fill",MODAL_ERROR:iconPrefix+"error-circle-fill",MODAL_QUESTION:iconPrefix+"question-circle-fill",MODAL_LOADING:iconPrefix+"spinner roll",DRAWER_CLOSE:iconPrefix+"close",FORM_PREFIX:iconPrefix+"question-circle-fill",FORM_SUFFIX:iconPrefix+"question-circle-fill",FORM_FOLDING:iconPrefix+"arrow-up rotate180",FORM_UNFOLDING:iconPrefix+"arrow-up",FORM_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_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",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"});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.8.10"}`;
8
+ const version = `ui v${"4.8.11"}`;
9
9
  const warnLog = exports.warnLog = _core.log.create('warn', version);
10
10
  const errLog = exports.errLog = _core.log.create('error', version);
@@ -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.8.10",warnLog=exports.warnLog=_core.log.create("warn",version),errLog=exports.errLog=_core.log.create("error",version);
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.8.11",warnLog=exports.warnLog=_core.log.create("warn",version),errLog=exports.errLog=_core.log.create("error",version);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vxe-pc-ui",
3
- "version": "4.8.10",
3
+ "version": "4.8.11",
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.2.8"
28
+ "@vxe-ui/core": "^4.2.9"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@typescript-eslint/eslint-plugin": "^6.21.0",
@@ -33,7 +33,6 @@ import VxeForm from './form'
33
33
  import VxeFormGather from './form-gather'
34
34
  import VxeFormGroup from './form-group'
35
35
  import VxeFormItem from './form-item'
36
- import VxeGantt from './gantt'
37
36
  import VxeIcon from './icon'
38
37
  import VxeIconPicker from './icon-picker'
39
38
  import VxeImage from './image'
@@ -119,7 +118,6 @@ const components = [
119
118
  VxeFormGather,
120
119
  VxeFormGroup,
121
120
  VxeFormItem,
122
- VxeGantt,
123
121
  VxeIcon,
124
122
  VxeIconPicker,
125
123
  VxeImage,
@@ -226,7 +224,6 @@ export * from './form'
226
224
  export * from './form-gather'
227
225
  export * from './form-group'
228
226
  export * from './form-item'
229
- export * from './gantt'
230
227
  export * from './icon'
231
228
  export * from './icon-picker'
232
229
  export * from './image'
@@ -157,7 +157,6 @@ setConfig({
157
157
  formGroup: {},
158
158
  formItem: {},
159
159
  formView: {},
160
- gantt: {},
161
160
  icon: {},
162
161
  iconPicker: {
163
162
  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']
@@ -413,7 +412,9 @@ setConfig({
413
412
  colgroup: {},
414
413
  column: {},
415
414
  toolbar: {},
416
- grid: {}
415
+ grid: {},
416
+
417
+ gantt: {}
417
418
  })
418
419
 
419
420
  const iconPrefix = 'vxe-icon-'
package/styles/all.scss CHANGED
@@ -30,7 +30,6 @@
30
30
  @use './components/form-gather.scss';
31
31
  @use './components/form-group.scss';
32
32
  @use './components/form-item.scss';
33
- @use './components/gantt.scss';
34
33
  @use './components/icon.scss';
35
34
  @use './components/icon-picker.scss';
36
35
  @use './components/image.scss';
package/types/all.d.ts CHANGED
@@ -31,7 +31,6 @@ import VxeForm from './components/form'
31
31
  import VxeFormGather from './components/form-gather'
32
32
  import VxeFormGroup from './components/form-group'
33
33
  import VxeFormItem from './components/form-item'
34
- import VxeGantt from './components/gantt'
35
34
  import VxeIcon from './components/icon'
36
35
  import VxeIconPicker from './components/icon-picker'
37
36
  import VxeImage from './components/image'
@@ -98,6 +97,9 @@ import VxeFormView from './components/form-view'
98
97
  import VxeListDesign from './components/list-design'
99
98
  import VxeListView from './components/list-view'
100
99
 
100
+ // Vxe Gantt
101
+ import VxeGantt from './components/gantt'
102
+
101
103
  export function install (app: App, options?: VxeGlobalConfig): void
102
104
 
103
105
  interface AllComponents {
@@ -131,7 +133,6 @@ interface AllComponents {
131
133
  VxeFormGather: typeof VxeFormGather
132
134
  VxeFormGroup: typeof VxeFormGroup
133
135
  VxeFormItem: typeof VxeFormItem
134
- VxeGantt: typeof VxeGantt
135
136
  VxeIcon: typeof VxeIcon
136
137
  VxeIconPicker: typeof VxeIconPicker
137
138
  VxeImage: typeof VxeImage
@@ -197,6 +198,9 @@ interface AllComponents {
197
198
  VxeFormView: typeof VxeFormView
198
199
  VxeListDesign: typeof VxeListDesign
199
200
  VxeListView: typeof VxeListView
201
+
202
+ // VxeGantt
203
+ VxeGantt: typeof VxeGantt
200
204
  }
201
205
 
202
206
  declare module '@vue/runtime-core' {
@@ -4243,6 +4243,11 @@ export interface TableMethods<DT = any> {
4243
4243
  * @param height 高度
4244
4244
  */
4245
4245
  setRowHeight(rowOrId: any | any[], height: number | string): Promise<{ status: boolean }>
4246
+ /**
4247
+ * 手动计算单元格高度,只对自定义行高时有效
4248
+ * @param rowOrId 指定单行或多行
4249
+ */
4250
+ recalcRowHeight(rowOrId: any | any[]): Promise<{ status: boolean }>
4246
4251
  /**
4247
4252
  * 获取指定行的高度
4248
4253
  * @param rowOrId
@@ -26,12 +26,9 @@ import { VxeDateRangePickerProps } from '../components/date-range-picker'
26
26
  import { VxeDrawerProps } from '../components/drawer'
27
27
  import { VxeEmptyProps } from '../components/empty'
28
28
  import { VxeFormProps } from '../components/form'
29
- import { VxeFormDesignProps } from '../components/form-design'
30
29
  import { VxeFormGatherProps } from '../components/form-gather'
31
30
  import { VxeFormGroupProps } from '../components/form-group'
32
31
  import { VxeFormItemProps } from '../components/form-item'
33
- import { VxeFormViewProps } from '../components/form-view'
34
- import { VxeGanttProps } from '../components/gantt'
35
32
  import { VxeIconProps } from '../components/icon'
36
33
  import { VxeIconPickerProps } from '../components/icon-picker'
37
34
  import { VxeImageProps } from '../components/image'
@@ -44,8 +41,6 @@ import { VxeLayoutContainerProps } from '../components/layout-container'
44
41
  import { VxeLayoutFooterProps } from '../components/layout-footer'
45
42
  import { VxeLayoutHeaderProps } from '../components/layout-header'
46
43
  import { VxeLinkProps } from '../components/link'
47
- import { VxeListDesignProps } from '../components/list-design'
48
- import { VxeListViewProps } from '../components/list-view'
49
44
  import { VxeListProps } from '../components/list'
50
45
  import { VxeLoadingProps } from '../components/loading'
51
46
  import { VxeMenuProps } from '../components/menu'
@@ -92,6 +87,17 @@ import { VxeColgroupProps } from '../components/colgroup'
92
87
  import { VxeGridProps } from '../components/grid'
93
88
  import { VxeToolbarProps } from '../components/toolbar'
94
89
 
90
+ // Vxe Design
91
+ import { VxeFormDesignProps } from '../components/form-design'
92
+ import { VxeFormViewProps } from '../components/form-view'
93
+ import { VxeListDesignProps } from '../components/list-design'
94
+ import { VxeListViewProps } from '../components/list-view'
95
+ import { VxeFlowDesignProps } from '../components/flow-design'
96
+ import { VxeFlowViewProps } from '../components/flow-view'
97
+
98
+ // Vxe Gantt
99
+ import { VxeGanttProps } from '../components/gantt'
100
+
95
101
  declare module '@vxe-ui/core' {
96
102
  export interface VxeGlobalConfig {
97
103
  alert?: VxeAlertProps
@@ -121,12 +127,9 @@ declare module '@vxe-ui/core' {
121
127
  drawer?: VxeDrawerProps
122
128
  empty?: VxeEmptyProps
123
129
  form?: VxeFormProps
124
- formDesign?: VxeFormDesignProps
125
130
  formGather?: VxeFormGatherProps
126
131
  formGroup?: VxeFormGroupProps
127
132
  formItem?: VxeFormItemProps
128
- formView?: VxeFormViewProps
129
- gantt?: VxeGanttProps
130
133
  icon?: VxeIconProps
131
134
  iconPicker?: VxeIconPickerProps
132
135
  image?: VxeImageProps
@@ -139,8 +142,6 @@ declare module '@vxe-ui/core' {
139
142
  layoutFooter?: VxeLayoutFooterProps
140
143
  layoutHeader?: VxeLayoutHeaderProps
141
144
  link?: VxeLinkProps
142
- listDesign?: VxeListDesignProps
143
- listView?: VxeListViewProps
144
145
  list?: VxeListProps
145
146
  loading?: VxeLoadingProps
146
147
  menu?: VxeMenuProps
@@ -186,6 +187,15 @@ declare module '@vxe-ui/core' {
186
187
  grid?: VxeGridProps
187
188
  toolbar?: VxeToolbarProps
188
189
 
190
+ formDesign?: VxeFormDesignProps
191
+ formView?: VxeFormViewProps
192
+ listDesign?: VxeListDesignProps
193
+ listView?: VxeListViewProps
194
+ flowDesign?: VxeFlowDesignProps
195
+ flowView?: VxeFlowViewProps
196
+
197
+ gantt?: VxeGanttProps
198
+
189
199
  /**
190
200
  * 无效,已废弃
191
201
  * @deprecated
package/es/gantt/index.js DELETED
@@ -1,12 +0,0 @@
1
- import { VxeUI } from '@vxe-ui/core';
2
- import VxeGanttComponent from './src/gantt';
3
- import { dynamicApp } from '../dynamics';
4
- export const VxeGantt = Object.assign({}, VxeGanttComponent, {
5
- install(app) {
6
- app.component(VxeGanttComponent.name, VxeGanttComponent);
7
- }
8
- });
9
- dynamicApp.use(VxeGantt);
10
- VxeUI.component(VxeGanttComponent);
11
- export const Gantt = VxeGantt;
12
- export default VxeGantt;
@@ -1,61 +0,0 @@
1
- import { ref, h, reactive, onUnmounted } from 'vue';
2
- import { defineVxeComponent } from '../../ui/src/comp';
3
- import { getConfig, createEvent } from '../../ui';
4
- import XEUtils from 'xe-utils';
5
- function createInternalData() {
6
- return {};
7
- }
8
- export default defineVxeComponent({
9
- name: 'VxeGantt',
10
- props: {
11
- size: {
12
- type: String,
13
- default: () => getConfig().gantt.size || getConfig().size
14
- }
15
- },
16
- emits: [],
17
- setup(props, context) {
18
- const { emit } = context;
19
- const xID = XEUtils.uniqueId();
20
- const refElem = ref();
21
- const refTable = ref();
22
- const reactData = reactive({});
23
- const internalData = createInternalData();
24
- const refMaps = {
25
- refElem,
26
- refTable
27
- };
28
- const computeMaps = {};
29
- const $xeGantt = {
30
- xID,
31
- props,
32
- context,
33
- reactData,
34
- internalData,
35
- getRefMaps: () => refMaps,
36
- getComputeMaps: () => computeMaps
37
- };
38
- const dispatchEvent = (type, params, evnt) => {
39
- emit(type, createEvent(evnt, { $gantt: $xeGantt }, params));
40
- };
41
- const ganttMethods = {
42
- dispatchEvent
43
- };
44
- const ganttPrivateMethods = {};
45
- Object.assign($xeGantt, ganttMethods, ganttPrivateMethods);
46
- const renderVN = () => {
47
- return h('div', {
48
- ref: refElem,
49
- class: 'vxe-gantt'
50
- });
51
- };
52
- onUnmounted(() => {
53
- XEUtils.assign(internalData, createInternalData());
54
- });
55
- $xeGantt.renderVN = renderVN;
56
- return $xeGantt;
57
- },
58
- render() {
59
- return this.renderVN();
60
- }
61
- });
File without changes
File without changes
@@ -1,3 +0,0 @@
1
- import VxeGantt from '../gantt';
2
- export * from '../gantt';
3
- export default VxeGantt;
File without changes
File without changes
@@ -1,19 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = exports.VxeGantt = exports.Gantt = void 0;
7
- var _core = require("@vxe-ui/core");
8
- var _gantt = _interopRequireDefault(require("./src/gantt"));
9
- var _dynamics = require("../dynamics");
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
- const VxeGantt = exports.VxeGantt = Object.assign({}, _gantt.default, {
12
- install(app) {
13
- app.component(_gantt.default.name, _gantt.default);
14
- }
15
- });
16
- _dynamics.dynamicApp.use(VxeGantt);
17
- _core.VxeUI.component(_gantt.default);
18
- const Gantt = exports.Gantt = VxeGantt;
19
- var _default = exports.default = VxeGantt;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.VxeGantt=exports.Gantt=void 0;var _core=require("@vxe-ui/core"),_gantt=_interopRequireDefault(require("./src/gantt")),_dynamics=require("../dynamics");function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}const VxeGantt=exports.VxeGantt=Object.assign({},_gantt.default,{install(t){t.component(_gantt.default.name,_gantt.default)}}),Gantt=(_dynamics.dynamicApp.use(VxeGantt),_core.VxeUI.component(_gantt.default),exports.Gantt=VxeGantt);var _default=exports.default=VxeGantt;
@@ -1,72 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _vue = require("vue");
8
- var _comp = require("../../ui/src/comp");
9
- var _ui = require("../../ui");
10
- var _xeUtils = _interopRequireDefault(require("xe-utils"));
11
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
- function createInternalData() {
13
- return {};
14
- }
15
- var _default = exports.default = (0, _comp.defineVxeComponent)({
16
- name: 'VxeGantt',
17
- props: {
18
- size: {
19
- type: String,
20
- default: () => (0, _ui.getConfig)().gantt.size || (0, _ui.getConfig)().size
21
- }
22
- },
23
- emits: [],
24
- setup(props, context) {
25
- const {
26
- emit
27
- } = context;
28
- const xID = _xeUtils.default.uniqueId();
29
- const refElem = (0, _vue.ref)();
30
- const refTable = (0, _vue.ref)();
31
- const reactData = (0, _vue.reactive)({});
32
- const internalData = createInternalData();
33
- const refMaps = {
34
- refElem,
35
- refTable
36
- };
37
- const computeMaps = {};
38
- const $xeGantt = {
39
- xID,
40
- props,
41
- context,
42
- reactData,
43
- internalData,
44
- getRefMaps: () => refMaps,
45
- getComputeMaps: () => computeMaps
46
- };
47
- const dispatchEvent = (type, params, evnt) => {
48
- emit(type, (0, _ui.createEvent)(evnt, {
49
- $gantt: $xeGantt
50
- }, params));
51
- };
52
- const ganttMethods = {
53
- dispatchEvent
54
- };
55
- const ganttPrivateMethods = {};
56
- Object.assign($xeGantt, ganttMethods, ganttPrivateMethods);
57
- const renderVN = () => {
58
- return (0, _vue.h)('div', {
59
- ref: refElem,
60
- class: 'vxe-gantt'
61
- });
62
- };
63
- (0, _vue.onUnmounted)(() => {
64
- _xeUtils.default.assign(internalData, createInternalData());
65
- });
66
- $xeGantt.renderVN = renderVN;
67
- return $xeGantt;
68
- },
69
- render() {
70
- return this.renderVN();
71
- }
72
- });
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _vue=require("vue"),_comp=require("../../ui/src/comp"),_ui=require("../../ui"),_xeUtils=_interopRequireDefault(require("xe-utils"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function createInternalData(){return{}}var _default=exports.default=(0,_comp.defineVxeComponent)({name:"VxeGantt",props:{size:{type:String,default:()=>(0,_ui.getConfig)().gantt.size||(0,_ui.getConfig)().size}},emits:[],setup(e,t){const a=t["emit"];var r=_xeUtils.default.uniqueId();const n=(0,_vue.ref)();var u=(0,_vue.ref)(),i=(0,_vue.reactive)({});const s=createInternalData(),o={refElem:n,refTable:u},l={},_={xID:r,props:e,context:t,reactData:i,internalData:s,getRefMaps:()=>o,getComputeMaps:()=>l};Object.assign(_,{dispatchEvent:(e,t,r)=>{a(e,(0,_ui.createEvent)(r,{$gantt:_},t))}},{});return(0,_vue.onUnmounted)(()=>{_xeUtils.default.assign(s,createInternalData())}),_.renderVN=()=>(0,_vue.h)("div",{ref:n,class:"vxe-gantt"}),_},render(){return this.renderVN()}});
@@ -1 +0,0 @@
1
- require('./style.css')
File without changes
File without changes
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _exportNames = {};
7
- exports.default = void 0;
8
- var _gantt = _interopRequireWildcard(require("../gantt"));
9
- Object.keys(_gantt).forEach(function (key) {
10
- if (key === "default" || key === "__esModule") return;
11
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
12
- if (key in exports && exports[key] === _gantt[key]) return;
13
- Object.defineProperty(exports, key, {
14
- enumerable: true,
15
- get: function () {
16
- return _gantt[key];
17
- }
18
- });
19
- });
20
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
21
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
22
- var _default = exports.default = _gantt.default;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={},_gantt=(exports.default=void 0,_interopRequireWildcard(require("../gantt")));function _getRequireWildcardCache(e){var t,r;return"function"!=typeof WeakMap?null:(t=new WeakMap,r=new WeakMap,(_getRequireWildcardCache=function(e){return e?r:t})(e))}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};t=_getRequireWildcardCache(t);if(t&&t.has(e))return t.get(e);var r,n,a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in e)"default"!==r&&{}.hasOwnProperty.call(e,r)&&((n=o?Object.getOwnPropertyDescriptor(e,r):null)&&(n.get||n.set)?Object.defineProperty(a,r,n):a[r]=e[r]);return a.default=e,t&&t.set(e,a),a}Object.keys(_gantt).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_gantt[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _gantt[e]}})});var _default=exports.default=_gantt.default;
@@ -1 +0,0 @@
1
- require('./style.css')
File without changes
File without changes
@@ -1,16 +0,0 @@
1
- import { App } from 'vue'
2
- import { VxeUI } from '@vxe-ui/core'
3
- import VxeGanttComponent from './src/gantt'
4
- import { dynamicApp } from '../dynamics'
5
-
6
- export const VxeGantt = Object.assign({}, VxeGanttComponent, {
7
- install (app: App) {
8
- app.component(VxeGanttComponent.name as string, VxeGanttComponent)
9
- }
10
- })
11
-
12
- dynamicApp.use(VxeGantt)
13
- VxeUI.component(VxeGanttComponent)
14
-
15
- export const Gantt = VxeGantt
16
- export default VxeGantt
@@ -1,87 +0,0 @@
1
- import { ref, h, reactive, PropType, onUnmounted } from 'vue'
2
- import { defineVxeComponent } from '../../ui/src/comp'
3
- import { getConfig, createEvent } from '../../ui'
4
- import XEUtils from 'xe-utils'
5
-
6
- import type { GanttReactData, VxeGanttEmits, VxeGanttPropTypes, GanttPrivateRef, GanttInternalData, ValueOf, GanttMethods, GanttPrivateMethods, VxeGanttPrivateComputed, VxeGanttConstructor, VxeGanttPrivateMethods } from '../../../types'
7
- import type { VxeTableInstance } from '../../../types/components/table'
8
-
9
- function createInternalData (): GanttInternalData {
10
- return {
11
- }
12
- }
13
-
14
- export default defineVxeComponent({
15
- name: 'VxeGantt',
16
- props: {
17
- size: {
18
- type: String as PropType<VxeGanttPropTypes.Size>,
19
- default: () => getConfig().gantt.size || getConfig().size
20
- }
21
- },
22
- emits: [
23
- ] as VxeGanttEmits,
24
- setup (props, context) {
25
- const { emit } = context
26
-
27
- const xID = XEUtils.uniqueId()
28
-
29
- const refElem = ref<HTMLDivElement>()
30
- const refTable = ref<VxeTableInstance>()
31
-
32
- const reactData = reactive<GanttReactData>({
33
- })
34
-
35
- const internalData = createInternalData()
36
-
37
- const refMaps: GanttPrivateRef = {
38
- refElem,
39
- refTable
40
- }
41
-
42
- const computeMaps: VxeGanttPrivateComputed = {
43
- }
44
-
45
- const $xeGantt = {
46
- xID,
47
- props,
48
- context,
49
- reactData,
50
- internalData,
51
-
52
- getRefMaps: () => refMaps,
53
- getComputeMaps: () => computeMaps
54
- } as unknown as VxeGanttConstructor & VxeGanttPrivateMethods
55
-
56
- const dispatchEvent = (type: ValueOf<VxeGanttEmits>, params: Record<string, any>, evnt: Event | null) => {
57
- emit(type, createEvent(evnt, { $gantt: $xeGantt }, params))
58
- }
59
-
60
- const ganttMethods: GanttMethods = {
61
- dispatchEvent
62
- }
63
-
64
- const ganttPrivateMethods: GanttPrivateMethods = {
65
- }
66
-
67
- Object.assign($xeGantt, ganttMethods, ganttPrivateMethods)
68
-
69
- const renderVN = () => {
70
- return h('div', {
71
- ref: refElem,
72
- class: 'vxe-gantt'
73
- })
74
- }
75
-
76
- onUnmounted(() => {
77
- XEUtils.assign(internalData, createInternalData())
78
- })
79
-
80
- $xeGantt.renderVN = renderVN
81
-
82
- return $xeGantt
83
- },
84
- render () {
85
- return this.renderVN()
86
- }
87
- })
File without changes