vxe-pc-ui 3.0.2 → 3.0.3

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 (32) hide show
  1. package/es/icon/style.css +1 -1
  2. package/es/style.css +1 -1
  3. package/es/style.min.css +1 -1
  4. package/es/ui/index.js +1 -7
  5. package/es/ui/src/log.js +1 -1
  6. package/lib/icon/style/style.css +1 -1
  7. package/lib/icon/style/style.min.css +1 -1
  8. package/lib/index.umd.js +10 -11
  9. package/lib/index.umd.min.js +1 -1
  10. package/lib/style.css +1 -1
  11. package/lib/style.min.css +1 -1
  12. package/lib/ui/index.js +3 -10
  13. package/lib/ui/index.min.js +1 -1
  14. package/lib/ui/src/log.js +1 -1
  15. package/lib/ui/src/log.min.js +1 -1
  16. package/package.json +2 -2
  17. package/packages/ui/index.ts +0 -7
  18. package/types/all.d.ts +157 -1
  19. package/types/components/toolbar.d.ts +1 -0
  20. package/types/ui/index.d.ts +0 -10
  21. /package/es/icon/style/{iconfont.1725869586078.ttf → iconfont.1725953402440.ttf} +0 -0
  22. /package/es/icon/style/{iconfont.1725869586078.woff → iconfont.1725953402440.woff} +0 -0
  23. /package/es/icon/style/{iconfont.1725869586078.woff2 → iconfont.1725953402440.woff2} +0 -0
  24. /package/es/{iconfont.1725869586078.ttf → iconfont.1725953402440.ttf} +0 -0
  25. /package/es/{iconfont.1725869586078.woff → iconfont.1725953402440.woff} +0 -0
  26. /package/es/{iconfont.1725869586078.woff2 → iconfont.1725953402440.woff2} +0 -0
  27. /package/lib/icon/style/{iconfont.1725869586078.ttf → iconfont.1725953402440.ttf} +0 -0
  28. /package/lib/icon/style/{iconfont.1725869586078.woff → iconfont.1725953402440.woff} +0 -0
  29. /package/lib/icon/style/{iconfont.1725869586078.woff2 → iconfont.1725953402440.woff2} +0 -0
  30. /package/lib/{iconfont.1725869586078.ttf → iconfont.1725953402440.ttf} +0 -0
  31. /package/lib/{iconfont.1725869586078.woff → iconfont.1725953402440.woff} +0 -0
  32. /package/lib/{iconfont.1725869586078.woff2 → iconfont.1725953402440.woff2} +0 -0
package/lib/ui/index.js CHANGED
@@ -6,11 +6,10 @@ Object.defineProperty(exports, "__esModule", {
6
6
  var _exportNames = {
7
7
  version: true,
8
8
  config: true,
9
- setup: true,
10
- globalStore: true
9
+ setup: true
11
10
  };
12
11
  exports.config = config;
13
- exports.globalStore = exports.default = void 0;
12
+ exports.default = void 0;
14
13
  exports.setup = setup;
15
14
  exports.version = void 0;
16
15
  var _core = require("@vxe-ui/core");
@@ -28,7 +27,7 @@ Object.keys(_core).forEach(function (key) {
28
27
  var _dynamics = require("../dynamics");
29
28
  var _utils = require("./src/utils");
30
29
  var _log = require("./src/log");
31
- var version = exports.version = "3.0.2";
30
+ var version = exports.version = "3.0.3";
32
31
  _core.VxeUI.version = version;
33
32
  _core.VxeUI.uiVersion = version;
34
33
  _core.VxeUI.tableVersion = '';
@@ -49,12 +48,6 @@ function setup(options) {
49
48
  }
50
49
  _core.VxeUI.config = config;
51
50
  _core.VxeUI.setup = setup;
52
- /**
53
- * 已废弃
54
- * @deprecated
55
- */
56
- var globalStore = exports.globalStore = {};
57
- _core.VxeUI.globalStore = globalStore;
58
51
  (0, _core.setConfig)({
59
52
  alert: {},
60
53
  anchor: {},
@@ -1 +1 @@
1
- Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={version:!0,config:!0,setup:!0,globalStore:!0},_core=(exports.config=config,exports.globalStore=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")),_utils=require("./src/utils"),_log=require("./src/log"),version=exports.version="3.0.2";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.version=version,_core.VxeUI.uiVersion=version,_core.VxeUI.tableVersion="",_core.VxeUI.t=_core.VxeUI.getI18n,_core.VxeUI._t=_utils.getFuncText,_core.VxeUI.dynamicApp=_dynamics.dynamicApp,_core.VxeUI.config=config,_core.VxeUI.setup=setup;var globalStore=exports.globalStore={},iconPrefix=(_core.VxeUI.globalStore=globalStore,(0,_core.setConfig)({alert:{},anchor:{},anchorLink:{},breadcrumb:{separator:"/"},breadcrumbItem:{},button:{trigger:"hover"},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:{},collapsePane:{},countdown:{},datePicker:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1},drawer:{position:"right",showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0,padding:!0},form:{validConfig:{showMessage:!0,autoPos:!0},tooltipConfig:{enterable:!0},titleAsterisk:!0,titleOverflow:!1,padding:!0},formDesign:{height:400,showHeader:!0,showPc:!0},formGather:{},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},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:{scrollY:{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,zoomConfig:{minimizeMaxSize:10,minimizeVerticalOffset:{top:-24,left:0},minimizeHorizontalOffset:{top:0,left:32}},storageKey:"VXE_MODAL_POSITION"},numberInput:{digits:2,controls:!0},optgroup:{},option:{},pager:{pageSizePlacement:"top"},print:{},passwordInput:{},printPageBreak:{},pulldown:{},radio:{strict:!0},radioButton:{strict:!0},radioGroup:{strict:!0},row:{},select:{multiCharOverflow:8},switch:{},tabPane:{},tabs:{},tag:{},text:{},textarea:{},tip:{},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300},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,imageStyle:{}},table:{},colgroup:{},column:{},toolbar:{},grid:{}}),"vxe-icon-"),_default=((0,_core.setIcon)({LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",BUTTON_DROPDOWN:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",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",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",TABS_TAB_BUTTON_LEFT:iconPrefix+"arrow-left",TABS_TAB_BUTTON_RIGHT:iconPrefix+"arrow-right",TABS_TAB_CLOSE:iconPrefix+"close",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"}),exports.default=_core.VxeUI);
1
+ Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={version:!0,config:!0,setup:!0},_core=(exports.config=config,exports.default=void 0,exports.setup=setup,exports.version=void 0,require("@vxe-ui/core")),_dynamics=(Object.keys(_core).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_core[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _core[e]}})}),require("../dynamics")),_utils=require("./src/utils"),_log=require("./src/log"),version=exports.version="3.0.3";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.version=version,_core.VxeUI.uiVersion=version,_core.VxeUI.tableVersion="",_core.VxeUI.t=_core.VxeUI.getI18n,_core.VxeUI._t=_utils.getFuncText,_core.VxeUI.dynamicApp=_dynamics.dynamicApp,_core.VxeUI.config=config,_core.VxeUI.setup=setup,(0,_core.setConfig)({alert:{},anchor:{},anchorLink:{},breadcrumb:{separator:"/"},breadcrumbItem:{},button:{trigger:"hover"},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:{},collapsePane:{},countdown:{},datePicker:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1},drawer:{position:"right",showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0,padding:!0},form:{validConfig:{showMessage:!0,autoPos:!0},tooltipConfig:{enterable:!0},titleAsterisk:!0,titleOverflow:!1,padding:!0},formDesign:{height:400,showHeader:!0,showPc:!0},formGather:{},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},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:{scrollY:{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,zoomConfig:{minimizeMaxSize:10,minimizeVerticalOffset:{top:-24,left:0},minimizeHorizontalOffset:{top:0,left:32}},storageKey:"VXE_MODAL_POSITION"},numberInput:{digits:2,controls:!0},optgroup:{},option:{},pager:{pageSizePlacement:"top"},print:{},passwordInput:{},printPageBreak:{},pulldown:{},radio:{strict:!0},radioButton:{strict:!0},radioGroup:{strict:!0},row:{},select:{multiCharOverflow:8},switch:{},tabPane:{},tabs:{},tag:{},text:{},textarea:{},tip:{},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300},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,imageStyle:{}},table:{},colgroup:{},column:{},toolbar:{},grid:{}});var iconPrefix="vxe-icon-",_default=((0,_core.setIcon)({LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",BUTTON_DROPDOWN:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",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",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",TABS_TAB_BUTTON_LEFT:iconPrefix+"arrow-left",TABS_TAB_BUTTON_RIGHT:iconPrefix+"arrow-right",TABS_TAB_CLOSE:iconPrefix+"close",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"}),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
- var version = "ui v".concat("3.0.2");
8
+ var version = "ui v".concat("3.0.3");
9
9
  var warnLog = exports.warnLog = _core.log.create('warn', version);
10
10
  var errLog = exports.errLog = _core.log.create('error', version);
@@ -1 +1 @@
1
- Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core"),version="ui v".concat("3.0.2"),warnLog=exports.warnLog=_core.log.create("warn",version),errLog=exports.errLog=_core.log.create("error",version);
1
+ Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core"),version="ui v".concat("3.0.3"),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": "3.0.2",
3
+ "version": "3.0.3",
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": "^3.0.2"
28
+ "@vxe-ui/core": "^3.0.3"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@typescript-eslint/eslint-plugin": "^6.21.0",
@@ -32,13 +32,6 @@ export function setup (options?: VxeGlobalConfig) {
32
32
  VxeUI.config = config
33
33
  VxeUI.setup = setup
34
34
 
35
- /**
36
- * 已废弃
37
- * @deprecated
38
- */
39
- export const globalStore = {}
40
- VxeUI.globalStore = globalStore
41
-
42
35
  setConfig({
43
36
  alert: {},
44
37
  anchor: {},
package/types/all.d.ts CHANGED
@@ -1,6 +1,82 @@
1
1
  import { VueConstructor } from 'vue'
2
2
  import { VxeUIExport, VxeGlobalConfig } from './ui'
3
3
 
4
+ import VxeAlert from './components/alert'
5
+ import VxeAnchor from './components/anchor'
6
+ import VxeAnchorLink from './components/anchor-link'
7
+ import VxeBreadcrumb from './components/breadcrumb'
8
+ import VxeBreadcrumbItem from './components/breadcrumb-item'
9
+ import VxeButton from './components/button'
10
+ import VxeButtonGroup from './components/button-group'
11
+ import VxeCalendar from './components/calendar'
12
+ import VxeCard from './components/card'
13
+ import VxeCarousel from './components/carousel'
14
+ import VxeCarouselItem from './components/carousel-item'
15
+ import VxeCheckbox from './components/checkbox'
16
+ import VxeCheckboxGroup from './components/checkbox-group'
17
+ import VxeCol from './components/col'
18
+ import VxeCollapse from './components/collapse'
19
+ import VxeCollapsePane from './components/collapse-pane'
20
+ import VxeCountdown from './components/countdown'
21
+ import VxeDatePicker from './components/date-picker'
22
+ import VxeDrawer from './components/drawer'
23
+ import VxeFlowDesign from './components/flow-design'
24
+ import VxeFlowView from './components/flow-view'
25
+ import VxeForm from './components/form'
26
+ import VxeFormDesign from './components/form-design'
27
+ import VxeFormGather from './components/form-gather'
28
+ import VxeFormItem from './components/form-item'
29
+ import VxeFormView from './components/form-view'
30
+ import VxeIcon from './components/icon'
31
+ import VxeIconPicker from './components/icon-picker'
32
+ import VxeImage from './components/image'
33
+ import VxeImageGroup from './components/image-group'
34
+ import VxeImagePreview from './components/image-preview'
35
+ import VxeInput from './components/input'
36
+ import VxeLayoutAside from './components/layout-aside'
37
+ import VxeLayoutBody from './components/layout-body'
38
+ import VxeLayoutContainer from './components/layout-container'
39
+ import VxeLayoutFooter from './components/layout-footer'
40
+ import VxeLayoutHeader from './components/layout-header'
41
+ import VxeLink from './components/link'
42
+ import VxeListDesign from './components/list-design'
43
+ import VxeListView from './components/list-view'
44
+ import VxeList from './components/list'
45
+ import VxeLoading from './components/loading'
46
+ import VxeMenu from './components/menu'
47
+ import VxeModal from './components/modal'
48
+ import VxeNumberInput from './components/number-input'
49
+ import VxeOptgroup from './components/optgroup'
50
+ import VxeOption from './components/option'
51
+ import VxePager from './components/pager'
52
+ import VxePasswordInput from './components/password-input'
53
+ import VxePrintPageBreak from './components/print-page-break'
54
+ import VxePrint from './components/print'
55
+ import VxePulldown from './components/pulldown'
56
+ import VxeRadio from './components/radio'
57
+ import VxeRadioButton from './components/radio-button'
58
+ import VxeRadioGroup from './components/radio-group'
59
+ import VxeRow from './components/row'
60
+ import VxeSelect from './components/select'
61
+ import VxeSwitch from './components/switch'
62
+ import VxeTabPane from './components/tab-pane'
63
+ import VxeTabs from './components/tabs'
64
+ import VxeTag from './components/tag'
65
+ import VxeText from './components/text'
66
+ import VxeTextarea from './components/textarea'
67
+ import VxeTip from './components/tip'
68
+ import VxeTooltip from './components/tooltip'
69
+ import VxeTree from './components/tree'
70
+ import VxeTreeSelect from './components/tree-select'
71
+ import VxeUpload from './components/upload'
72
+
73
+ // Vxe Table
74
+ import VxeColumn from './components/column'
75
+ import VxeColgroup from './components/colgroup'
76
+ import VxeTable from './components/table'
77
+ import VxeGrid from './components/grid'
78
+ import VxeToolbar from './components/toolbar'
79
+
4
80
  declare global {
5
81
  interface Window {
6
82
  VxeUI: VxeUIExport;
@@ -9,7 +85,87 @@ declare global {
9
85
 
10
86
  export function install (app: VueConstructor, options?: VxeGlobalConfig): void
11
87
 
12
- export type a = VueConstructor
88
+ interface AllComponents {
89
+ VxeAlert: typeof VxeAlert
90
+ VxeAnchor: typeof VxeAnchor
91
+ VxeAnchorLink: typeof VxeAnchorLink
92
+ VxeBreadcrumb: typeof VxeBreadcrumb
93
+ VxeBreadcrumbItem: typeof VxeBreadcrumbItem
94
+ VxeButton: typeof VxeButton
95
+ VxeButtonGroup: typeof VxeButtonGroup
96
+ VxeCalendar: typeof VxeCalendar
97
+ VxeCard: typeof VxeCard
98
+ VxeCarousel: typeof VxeCarousel
99
+ VxeCarouselItem: typeof VxeCarouselItem
100
+ VxeCheckbox: typeof VxeCheckbox
101
+ VxeCheckboxGroup: typeof VxeCheckboxGroup
102
+ VxeCol: typeof VxeCol
103
+ VxeCollapse: typeof VxeCollapse
104
+ VxeCollapsePane: typeof VxeCollapsePane
105
+ VxeCountdown: typeof VxeCountdown
106
+ VxeDatePicker: typeof VxeDatePicker
107
+ VxeDrawer: typeof VxeDrawer
108
+ VxeFlowDesign: typeof VxeFlowDesign
109
+ VxeFlowView: typeof VxeFlowView
110
+ VxeForm: typeof VxeForm
111
+ VxeFormDesign: typeof VxeFormDesign
112
+ VxeFormGather: typeof VxeFormGather
113
+ VxeFormItem: typeof VxeFormItem
114
+ VxeFormView: typeof VxeFormView
115
+ VxeIcon: typeof VxeIcon
116
+ VxeIconPicker: typeof VxeIconPicker
117
+ VxeImage: typeof VxeImage
118
+ VxeImageGroup: typeof VxeImageGroup
119
+ VxeImagePreview: typeof VxeImagePreview
120
+ VxeInput: typeof VxeInput
121
+ VxeLayoutAside: typeof VxeLayoutAside
122
+ VxeLayoutBody: typeof VxeLayoutBody
123
+ VxeLayoutContainer: typeof VxeLayoutContainer
124
+ VxeLayoutFooter: typeof VxeLayoutFooter
125
+ VxeLayoutHeader: typeof VxeLayoutHeader
126
+ VxeLink: typeof VxeLink
127
+ VxeListDesign: typeof VxeListDesign
128
+ VxeListView: typeof VxeListView
129
+ VxeList: typeof VxeList
130
+ VxeLoading: typeof VxeLoading
131
+ VxeMenu: typeof VxeMenu
132
+ VxeModal: typeof VxeModal
133
+ VxeNumberInput: typeof VxeNumberInput
134
+ VxeOptgroup: typeof VxeOptgroup
135
+ VxeOption: typeof VxeOption
136
+ VxePager: typeof VxePager
137
+ VxePasswordInput: typeof VxePasswordInput
138
+ VxePrintPageBreak: typeof VxePrintPageBreak
139
+ VxePrint: typeof VxePrint
140
+ VxePulldown: typeof VxePulldown
141
+ VxeRadio: typeof VxeRadio
142
+ VxeRadioButton: typeof VxeRadioButton
143
+ VxeRadioGroup: typeof VxeRadioGroup
144
+ VxeRow: typeof VxeRow
145
+ VxeSelect: typeof VxeSelect
146
+ VxeSwitch: typeof VxeSwitch
147
+ VxeTabPane: typeof VxeTabPane
148
+ VxeTabs: typeof VxeTabs
149
+ VxeTag: typeof VxeTag
150
+ VxeText: typeof VxeText
151
+ VxeTextarea: typeof VxeTextarea
152
+ VxeTip: typeof VxeTip
153
+ VxeTooltip: typeof VxeTooltip
154
+ VxeTree: typeof VxeTree
155
+ VxeTreeSelect: typeof VxeTreeSelect
156
+ VxeUpload: typeof VxeUpload
157
+
158
+ // Vxe Table
159
+ VxeColumn: typeof VxeColumn
160
+ VxeColgroup: typeof VxeColgroup
161
+ VxeTable: typeof VxeTable
162
+ VxeGrid: typeof VxeGrid
163
+ VxeToolbar: typeof VxeToolbar
164
+ }
165
+
166
+ declare module '@vxe-ui/core' {
167
+ export interface VxeGlobalComponents extends AllComponents {}
168
+ }
13
169
 
14
170
  export * from './ui'
15
171
 
@@ -9,6 +9,7 @@ export type VxeToolbarComponent = DefineVxeComponentOptions<VxeToolbarProps>
9
9
 
10
10
  export type VxeToolbarInstance = DefineVxeComponentInstance<{
11
11
  reactData: ToolbarReactData
12
+ internalData: ToolbarInternalData
12
13
  }, VxeToolbarProps, ToolbarPrivateComputed, ToolbarMethods>
13
14
 
14
15
  export type VxeToolbarConstructor = VxeToolbarInstance
@@ -28,11 +28,6 @@ export interface VxeGlobalStore {
28
28
  html: string
29
29
  }
30
30
  }
31
- /**
32
- * 已废弃
33
- * @deprecated
34
- */
35
- export const globalStore: VxeGlobalStore
36
31
 
37
32
  // 兼容老版本
38
33
  export const loading: LoadingController
@@ -80,11 +75,6 @@ declare module '@vxe-ui/core' {
80
75
  * @deprecated
81
76
  */
82
77
  _t(key: string, args?: any): string
83
- /**
84
- * 已废弃
85
- * @deprecated
86
- */
87
- globalStore: VxeGlobalStore
88
78
  /**
89
79
  * @deprecated
90
80
  */