vxe-table 4.15.0-beta.0 → 4.15.0-beta.2
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/locale/lang/ar-EG.js +1 -0
- package/es/locale/lang/de-DE.js +1 -0
- package/es/locale/lang/en-US.js +1 -0
- package/es/locale/lang/es-ES.js +1 -0
- package/es/locale/lang/fr-FR.js +1 -0
- package/es/locale/lang/hu-HU.js +1 -0
- package/es/locale/lang/hy-AM.js +1 -0
- package/es/locale/lang/id-ID.js +1 -0
- package/es/locale/lang/it-IT.js +1 -0
- package/es/locale/lang/ja-JP.js +1 -0
- package/es/locale/lang/ko-KR.js +1 -0
- package/es/locale/lang/ms-MY.js +1 -0
- package/es/locale/lang/nb-NO.js +1 -0
- package/es/locale/lang/pt-BR.js +1 -0
- package/es/locale/lang/ru-RU.js +1 -0
- package/es/locale/lang/th-TH.js +1 -0
- package/es/locale/lang/ug-CN.js +1 -0
- package/es/locale/lang/uk-UA.js +1 -0
- package/es/locale/lang/uz-UZ.js +1 -0
- package/es/locale/lang/vi-VN.js +1 -0
- package/es/locale/lang/zh-CHT.js +1 -0
- package/es/locale/lang/zh-CN.js +1 -0
- package/es/style.css +1 -1
- package/es/table/src/columnInfo.js +11 -2
- package/es/table/src/table.js +52 -12
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +26 -13
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +1 -0
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +1 -0
- package/lib/locale/lang/de-DE.js +1 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +1 -0
- package/lib/locale/lang/en-US.js +1 -0
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +1 -0
- package/lib/locale/lang/es-ES.js +1 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +1 -0
- package/lib/locale/lang/fr-FR.js +1 -0
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +1 -0
- package/lib/locale/lang/hu-HU.js +1 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +1 -0
- package/lib/locale/lang/hy-AM.js +1 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +1 -0
- package/lib/locale/lang/id-ID.js +1 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +1 -0
- package/lib/locale/lang/it-IT.js +1 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +1 -0
- package/lib/locale/lang/ja-JP.js +1 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +1 -0
- package/lib/locale/lang/ko-KR.js +1 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +1 -0
- package/lib/locale/lang/ms-MY.js +1 -0
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +1 -0
- package/lib/locale/lang/nb-NO.js +1 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +1 -0
- package/lib/locale/lang/pt-BR.js +1 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +1 -0
- package/lib/locale/lang/ru-RU.js +1 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +1 -0
- package/lib/locale/lang/th-TH.js +1 -0
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +1 -0
- package/lib/locale/lang/ug-CN.js +1 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +1 -0
- package/lib/locale/lang/uk-UA.js +1 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +1 -0
- package/lib/locale/lang/uz-UZ.js +1 -0
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +1 -0
- package/lib/locale/lang/vi-VN.js +1 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +1 -0
- package/lib/locale/lang/zh-CHT.js +1 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +1 -0
- package/lib/locale/lang/zh-CN.js +1 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +1 -0
- package/lib/style.css +1 -1
- package/lib/table/src/columnInfo.js +14 -2
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/table.js +9 -9
- package/lib/table/src/table.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/locale/lang/ar-EG.ts +1 -0
- package/packages/locale/lang/de-DE.ts +1 -0
- package/packages/locale/lang/en-US.ts +1 -0
- package/packages/locale/lang/es-ES.ts +1 -0
- package/packages/locale/lang/fr-FR.ts +1 -0
- package/packages/locale/lang/hu-HU.ts +1 -0
- package/packages/locale/lang/hy-AM.ts +1 -0
- package/packages/locale/lang/id-ID.ts +1 -0
- package/packages/locale/lang/it-IT.ts +1 -0
- package/packages/locale/lang/ja-JP.ts +1 -0
- package/packages/locale/lang/ko-KR.ts +1 -0
- package/packages/locale/lang/ms-MY.ts +1 -0
- package/packages/locale/lang/nb-NO.ts +1 -0
- package/packages/locale/lang/pt-BR.ts +1 -0
- package/packages/locale/lang/ru-RU.ts +1 -0
- package/packages/locale/lang/th-TH.ts +1 -0
- package/packages/locale/lang/ug-CN.ts +1 -0
- package/packages/locale/lang/uk-UA.ts +1 -0
- package/packages/locale/lang/uz-UZ.ts +1 -0
- package/packages/locale/lang/vi-VN.ts +1 -0
- package/packages/locale/lang/zh-CHT.ts +1 -0
- package/packages/locale/lang/zh-CN.ts +1 -0
- package/packages/table/src/columnInfo.ts +13 -2
- package/packages/table/src/table.ts +52 -12
- /package/es/{iconfont.1752731438597.ttf → iconfont.1753241382802.ttf} +0 -0
- /package/es/{iconfont.1752731438597.woff → iconfont.1753241382802.woff} +0 -0
- /package/es/{iconfont.1752731438597.woff2 → iconfont.1753241382802.woff2} +0 -0
- /package/lib/{iconfont.1752731438597.ttf → iconfont.1753241382802.ttf} +0 -0
- /package/lib/{iconfont.1752731438597.woff → iconfont.1753241382802.woff} +0 -0
- /package/lib/{iconfont.1752731438597.woff2 → iconfont.1753241382802.woff2} +0 -0
package/lib/ui/index.js
CHANGED
|
@@ -13,7 +13,7 @@ Object.defineProperty(exports, "VxeUI", {
|
|
|
13
13
|
exports.version = exports.validators = exports.use = exports.t = exports.setup = exports.setTheme = exports.setLanguage = exports.setIcon = exports.setI18n = exports.setConfig = exports.saveFile = exports.renderer = exports.readFile = exports.print = exports.modal = exports.menus = exports.log = exports.interceptor = exports.hooks = exports.globalResize = exports.globalEvents = exports.getTheme = exports.getIcon = exports.getI18n = exports.getConfig = exports.formats = exports.default = exports.config = exports.commands = exports.clipboard = exports._t = void 0;
|
|
14
14
|
var _core = require("@vxe-ui/core");
|
|
15
15
|
var _utils = require("./src/utils");
|
|
16
|
-
const version = exports.version = "4.15.0-beta.
|
|
16
|
+
const version = exports.version = "4.15.0-beta.2";
|
|
17
17
|
_core.VxeUI.version = version;
|
|
18
18
|
_core.VxeUI.tableVersion = version;
|
|
19
19
|
_core.VxeUI.setConfig({
|
package/lib/ui/index.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.VXETable=void 0,Object.defineProperty(exports,"VxeUI",{enumerable:!0,get:function(){return _core.VxeUI}}),exports.version=exports.validators=exports.use=exports.t=exports.setup=exports.setTheme=exports.setLanguage=exports.setIcon=exports.setI18n=exports.setConfig=exports.saveFile=exports.renderer=exports.readFile=exports.print=exports.modal=exports.menus=exports.log=exports.interceptor=exports.hooks=exports.globalResize=exports.globalEvents=exports.getTheme=exports.getIcon=exports.getI18n=exports.getConfig=exports.formats=exports.default=exports.config=exports.commands=exports.clipboard=exports._t=void 0;var _core=require("@vxe-ui/core"),_utils=require("./src/utils");let version=exports.version="4.15.0-beta.
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.VXETable=void 0,Object.defineProperty(exports,"VxeUI",{enumerable:!0,get:function(){return _core.VxeUI}}),exports.version=exports.validators=exports.use=exports.t=exports.setup=exports.setTheme=exports.setLanguage=exports.setIcon=exports.setI18n=exports.setConfig=exports.saveFile=exports.renderer=exports.readFile=exports.print=exports.modal=exports.menus=exports.log=exports.interceptor=exports.hooks=exports.globalResize=exports.globalEvents=exports.getTheme=exports.getIcon=exports.getI18n=exports.getConfig=exports.formats=exports.default=exports.config=exports.commands=exports.clipboard=exports._t=void 0;var _core=require("@vxe-ui/core"),_utils=require("./src/utils");let version=exports.version="4.15.0-beta.2",iconPrefix=(_core.VxeUI.version=version,_core.VxeUI.tableVersion=version,_core.VxeUI.setConfig({emptyCell:" ",table:{fit:!0,showHeader:!0,animat:!0,delayHover:250,autoResize:!0,minHeight:144,resizeConfig:{},resizableConfig:{dragMode:"auto",showDragTip:!0,isSyncAutoHeight:!0,isSyncAutoWidth:!0,minHeight:18},radioConfig:{strict:!0},rowDragConfig:{showIcon:!0,animation:!0,showGuidesStatus:!0,showDragTip:!0},columnDragConfig:{showIcon:!0,animation:!0,showGuidesStatus:!0,showDragTip:!0},checkboxConfig:{strict:!0},tooltipConfig:{enterable:!0},validConfig:{showMessage:!0,autoClear:!0,autoPos:!0,message:"inline",msgMode:"single",theme:"beautify"},columnConfig:{autoOptions:{isCalcHeader:!0,isCalcBody:!0,isCalcFooter:!0},maxFixedSize:4},cellConfig:{padding:!0},headerCellConfig:{height:"unset"},footerCellConfig:{height:"unset"},customConfig:{allowVisible:!0,allowResizable:!0,allowFixed:!0,allowSort:!0,showFooter:!0,placement:"top-right",storeOptions:{visible:!0,resizable:!0,sort:!0,fixed:!0},modalOptions:{showMaximize:!0,mask:!0,lockView:!0,resize:!0,escClosable:!0},drawerOptions:{mask:!0,lockView:!0,escClosable:!0,resize:!0}},sortConfig:{showIcon:!0,allowClear:!0,allowBtn:!0,iconLayout:"vertical"},filterConfig:{showIcon:!0},aggregateConfig:{padding:!0,rowField:"id",parentField:"_X_ROW_PARENT_KEY",childrenField:"_X_ROW_CHILDREN",mapChildrenField:"_X_ROW_CHILD_LIST",indent:20,showIcon:!0,maxGroupSize:4,showAggFuncTitle:!0},treeConfig:{padding:!0,rowField:"id",parentField:"parentId",childrenField:"children",hasChildField:"hasChild",mapChildrenField:"_X_ROW_CHILD",indent:20,showIcon:!0},expandConfig:{showIcon:!0,mode:"fixed"},editConfig:{showIcon:!0,showAsterisk:!0,autoFocus:!0},importConfig:{_typeMaps:{csv:1,html:1,xml:1,txt:1}},exportConfig:{_typeMaps:{csv:1,html:1,xml:1,txt:1}},printConfig:{},mouseConfig:{extension:!0},keyboardConfig:{isAll:!0,isEsc:!0},areaConfig:{autoClear:!0,selectCellByHeader:!0,selectCellByBody:!0,extendDirection:{top:!0,left:!0,bottom:!0,right:!0}},clipConfig:{isCopy:!0,isCut:!0,isPaste:!0},fnrConfig:{isFind:!0,isReplace:!0},virtualXConfig:{gt:24,preSize:1,oSize:0},virtualYConfig:{gt:100,preSize:1,oSize:0},scrollbarConfig:{}},grid:{formConfig:{enabled:!0},pagerConfig:{enabled:!0},toolbarConfig:{enabled:!0},proxyConfig:{enabled:!0,autoLoad:!0,showLoading:!0,showResponseMsg:!0,showActionMsg:!0,response:{list:null,result:"result",total:"page.total",message:"message"}}},toolbar:{}}),"vxe-table-icon-"),setTheme=(_core.VxeUI.setIcon({TABLE_SORT_ASC:iconPrefix+"caret-up",TABLE_SORT_DESC:iconPrefix+"caret-down",TABLE_FILTER_NONE:iconPrefix+"funnel",TABLE_FILTER_MATCH:iconPrefix+"funnel",TABLE_EDIT:iconPrefix+"edit",TABLE_TITLE_PREFIX:iconPrefix+"question-circle-fill",TABLE_TITLE_SUFFIX:iconPrefix+"question-circle-fill",TABLE_TREE_LOADED:iconPrefix+"spinner roll",TABLE_TREE_OPEN:iconPrefix+"caret-right rotate90",TABLE_TREE_CLOSE:iconPrefix+"caret-right",TABLE_EXPAND_LOADED:iconPrefix+"spinner roll",TABLE_EXPAND_OPEN:iconPrefix+"arrow-right rotate90",TABLE_EXPAND_CLOSE:iconPrefix+"arrow-right",TABLE_CHECKBOX_CHECKED:iconPrefix+"checkbox-checked-fill",TABLE_CHECKBOX_UNCHECKED:iconPrefix+"checkbox-unchecked",TABLE_CHECKBOX_INDETERMINATE:iconPrefix+"checkbox-indeterminate-fill",TABLE_CHECKBOX_DISABLED_UNCHECKED:iconPrefix+"checkbox-unchecked-fill",TABLE_RADIO_CHECKED:iconPrefix+"radio-checked-fill",TABLE_RADIO_UNCHECKED:iconPrefix+"radio-unchecked",TABLE_RADIO_DISABLED_UNCHECKED:iconPrefix+"radio-unchecked-fill",TABLE_CUSTOM_SORT:iconPrefix+"drag-handle",TABLE_MENU_OPTIONS:iconPrefix+"arrow-right",TABLE_DRAG_ROW:iconPrefix+"drag-handle",TABLE_DRAG_COLUMN:iconPrefix+"drag-handle",TABLE_DRAG_STATUS_ROW:iconPrefix+"sort",TABLE_DRAG_STATUS_SUB_ROW:iconPrefix+"add-sub",TABLE_DRAG_STATUS_AGG_GROUP:iconPrefix+"grouping",TABLE_DRAG_STATUS_AGG_VALUES:iconPrefix+"values",TABLE_DRAG_STATUS_COLUMN:iconPrefix+"swap",TABLE_DRAG_DISABLED:iconPrefix+"no-drop",TABLE_ROW_GROUP_OPEN:iconPrefix+"arrow-right rotate90",TABLE_ROW_GROUP_CLOSE:iconPrefix+"arrow-right",TABLE_AGGREGATE_GROUPING:iconPrefix+"grouping",TABLE_AGGREGATE_VALUES:iconPrefix+"values",TABLE_AGGREGATE_SORT:iconPrefix+"drag-handle",TABLE_AGGREGATE_DELETE:iconPrefix+"close",TOOLBAR_TOOLS_REFRESH:iconPrefix+"repeat",TOOLBAR_TOOLS_REFRESH_LOADING:iconPrefix+"repeat roll",TOOLBAR_TOOLS_IMPORT:iconPrefix+"upload",TOOLBAR_TOOLS_EXPORT:iconPrefix+"download",TOOLBAR_TOOLS_PRINT:iconPrefix+"print",TOOLBAR_TOOLS_FULLSCREEN:iconPrefix+"fullscreen",TOOLBAR_TOOLS_MINIMIZE:iconPrefix+"minimize",TOOLBAR_TOOLS_CUSTOM:iconPrefix+"custom-column",TOOLBAR_TOOLS_FIXED_LEFT:iconPrefix+"fixed-left",TOOLBAR_TOOLS_FIXED_LEFT_ACTIVE:iconPrefix+"fixed-left-fill",TOOLBAR_TOOLS_FIXED_RIGHT:iconPrefix+"fixed-right",TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVE:iconPrefix+"fixed-right-fill"}),exports.setTheme=_core.VxeUI.setTheme),getTheme=exports.getTheme=_core.VxeUI.getTheme,setConfig=exports.setConfig=_core.VxeUI.setConfig,getConfig=exports.getConfig=_core.VxeUI.getConfig,setIcon=exports.setIcon=_core.VxeUI.setIcon,getIcon=exports.getIcon=_core.VxeUI.getIcon,setLanguage=exports.setLanguage=_core.VxeUI.setLanguage,setI18n=exports.setI18n=_core.VxeUI.setI18n,getI18n=exports.getI18n=_core.VxeUI.getI18n,globalEvents=exports.globalEvents=_core.VxeUI.globalEvents,globalResize=exports.globalResize=_core.VxeUI.globalResize,renderer=exports.renderer=_core.VxeUI.renderer,validators=exports.validators=_core.VxeUI.validators,menus=exports.menus=_core.VxeUI.menus,formats=exports.formats=_core.VxeUI.formats,commands=exports.commands=_core.VxeUI.commands,interceptor=exports.interceptor=_core.VxeUI.interceptor,clipboard=exports.clipboard=_core.VxeUI.clipboard,log=exports.log=_core.VxeUI.log,hooks=exports.hooks=_core.VxeUI.hooks,use=exports.use=_core.VxeUI.use,setup=e=>_core.VxeUI.setConfig(e),config=(exports.setup=setup,_core.VxeUI.setup=setup,e=>_core.VxeUI.setConfig(e)),t=(exports.config=config,_core.VxeUI.config=config,(e,o)=>_core.VxeUI.getI18n(e,o)),_t=(exports.t=t,_core.VxeUI.t=t,(e,o)=>(0,_utils.getFuncText)(e,o)),VXETable=(exports._t=_t,_core.VxeUI._t=_t,exports.VXETable=_core.VxeUI),saveFile=e=>_core.VxeUI.saveFile(e),readFile=(exports.saveFile=saveFile,e=>_core.VxeUI.readFile(e)),print=(exports.readFile=readFile,e=>_core.VxeUI.print(e)),modal=(exports.print=print,exports.modal={get(e){return _core.VxeUI.modal.get(e)},close(e){return _core.VxeUI.modal.close(e)},open(e){return _core.VxeUI.modal.open(e)},alert(e,o,r){return _core.VxeUI.modal.alert(e,o,r)},confirm(e,o,r){return _core.VxeUI.modal.confirm(e,o,r)},message(e,o){return _core.VxeUI.modal.message(e,o)},notification(e,o,r){return _core.VxeUI.modal.notification(e,o,r)}});var _default=exports.default=_core.VxeUI;
|
package/lib/ui/src/log.js
CHANGED
|
@@ -8,6 +8,6 @@ var _core = require("@vxe-ui/core");
|
|
|
8
8
|
const {
|
|
9
9
|
log
|
|
10
10
|
} = _core.VxeUI;
|
|
11
|
-
const version = `table v${"4.15.0-beta.
|
|
11
|
+
const version = `table v${"4.15.0-beta.2"}`;
|
|
12
12
|
const warnLog = exports.warnLog = log.create('warn', version);
|
|
13
13
|
const errLog = exports.errLog = log.create('error', version);
|
package/lib/ui/src/log.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");let log=_core.VxeUI.log,version="table v4.15.0-beta.
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.warnLog=exports.errLog=void 0;var _core=require("@vxe-ui/core");let log=_core.VxeUI.log,version="table v4.15.0-beta.2",warnLog=exports.warnLog=log.create("warn",version),errLog=exports.errLog=log.create("error",version);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vxe-table",
|
|
3
|
-
"version": "4.15.0-beta.
|
|
3
|
+
"version": "4.15.0-beta.2",
|
|
4
4
|
"description": "A PC-end table component based on Vxe UI, supporting copy-paste, data pivot table, and high-performance virtual list table solution.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "npm install --legacy-peer-deps",
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'يجب أن تستخدم رؤوس عمود التجميع "{0}" بدلاً من "{1}" ، والتي قد تسبب أخطاء',
|
|
18
18
|
scrollErrProp: 'لا يتم دعم هذه المعلمة "{0}" بعد تمكين التمرير الظاهري',
|
|
19
19
|
errConflicts: 'المعلمة "{0}" تتعارض مع "{1}"',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: 'لا يتم دعم "{1}" عند تمكين المعلمة "{0}" ، يجب أن يكون "{2}" ، وإلا',
|
|
21
22
|
notConflictProp: 'عند استخدام "{0}" ، يجب تعيين "{1}" ، وإلا قد يكون هناك تعارضات وظيفية',
|
|
22
23
|
unableInsert: 'لا يمكن إدراجها في الموقع المحدد ، يرجى التحقق مما إذا كانت المعلمات صحيحة',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Gruppierungsspalten -Header sollten "{0}" anstelle von "{1}" verwenden, was zu Fehlern führen kann',
|
|
18
18
|
scrollErrProp: 'Dieser Parameter "{0}" wird nicht unterstützt, nachdem die virtuelle Scrollen aktiviert ist',
|
|
19
19
|
errConflicts: 'Parameter "{0}" Konflikte mit "{1}"',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '"{1}" wird nicht unterstützt, wenn der Parameter "{0}" aktiviert ist. Es sollte "{2}" sein, andernfalls tritt ein Fehler auf',
|
|
21
22
|
notConflictProp: 'Wenn "{0}" verwendet wird, sollte "{1}" festgelegt werden, andernfalls kann es funktionale Konflikte geben',
|
|
22
23
|
unableInsert: 'Kann nicht in den angegebenen Ort eingefügt werden. Überprüfen Sie bitte, ob die Parameter korrekt sind',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Grouping column headers should use "{0}" instead of "{1}", which may cause errors',
|
|
18
18
|
scrollErrProp: 'This parameter "{0}" is not supported after virtual scrolling is enabled',
|
|
19
19
|
errConflicts: 'Parameter "{0}" conflicts with "{1}"',
|
|
20
|
+
modelConflicts: 'The bound field values "{0}" and "{1}" conflict, an error will occur.',
|
|
20
21
|
notSupportProp: '"{1}" is not supported when the parameter "{0}" is enabled, it should be "{2}", otherwise an error will occur',
|
|
21
22
|
notConflictProp: 'When using "{0}", "{1}" should be set, otherwise there may be functional conflicts',
|
|
22
23
|
unableInsert: 'Cannot be inserted into the specified location, please check whether the parameters are correct',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Los encabezados de la columna de agrupación deben usar "{0}" en lugar de "{1}", lo que puede causar errores',
|
|
18
18
|
scrollErrProp: 'Este parámetro "{0}" no es compatible después de que el desplazamiento virtual esté habilitado',
|
|
19
19
|
errConflicts: 'Parámetro "{0}" En conflicto con "{1}"',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '"{1}" no se admite cuando el parámetro "{0}" está habilitado, debería ser "{2}", de lo contrario ocurrirá un error',
|
|
21
22
|
notConflictProp: 'Cuando se usa "{0}", "{1}" debe establecerse, de lo contrario puede haber conflictos funcionales',
|
|
22
23
|
unableInsert: 'No se puede insertar en la ubicación especificada, verifique si los parámetros son correctos',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Le regroupement des en-têtes de colonne doit utiliser "{0}" au lieu de "{1}", ce qui peut entraîner des erreurs',
|
|
18
18
|
scrollErrProp: "Ce paramètre \"{0}\" n'est pas pris en charge après l'activation du défilement virtuel",
|
|
19
19
|
errConflicts: 'Paramètre "{0}" entre en conflit avec "{1}"',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: "\"{1}\" n'est pas pris en charge lorsque le paramètre \"{0}\" est activé, il devrait être \"{2}\", sinon une erreur se produira",
|
|
21
22
|
notConflictProp: 'Lorsque vous utilisez "{0}", "{1}" doit être défini, sinon il peut y avoir des conflits fonctionnels',
|
|
22
23
|
unableInsert: "Ne peut pas être inséré dans l'emplacement spécifié, veuillez vérifier si les paramètres sont corrects",
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Az oszlopfejlécek csoportosításának a "{0}" -et használni kell a "{1}" helyett, amely hibákat okozhat',
|
|
18
18
|
scrollErrProp: 'Ezt a "{0}" paramétert a virtuális görgetés engedélyezése után nem támogatják',
|
|
19
19
|
errConflicts: 'A "{0}" paraméter konfliktusok "{1}"',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: 'A "{1}" nem támogatott, ha a "{0}" paraméter engedélyezve van, "{2}" -nek kell lennie, különben hiba lép fel',
|
|
21
22
|
notConflictProp: 'A "{0}" használatakor a "{1}" -et be kell állítani, különben funkcionális konfliktusok merülhetnek fel',
|
|
22
23
|
unableInsert: 'Nem lehet beilleszteni a megadott helyre, kérjük, ellenőrizze, hogy a paraméterek helyesek -e',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: '分组列头应该使用 "{0}" 而不是 "{1}",这可能会出现错误',
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
22
|
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
22
23
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Mengelompokkan header kolom harus menggunakan "{0}" bukan "{1}", yang dapat menyebabkan kesalahan',
|
|
18
18
|
scrollErrProp: 'Parameter ini "{0}" tidak didukung setelah pengguliran virtual diaktifkan',
|
|
19
19
|
errConflicts: 'Parameter "{0}" bertentangan dengan "{1}"',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '"{1}" tidak didukung ketika parameter "{0}" diaktifkan, itu harus menjadi "{2}", jika tidak kesalahan akan terjadi',
|
|
21
22
|
notConflictProp: 'Saat menggunakan "{0}", "{1}" harus diatur, jika tidak mungkin ada konflik fungsional',
|
|
22
23
|
unableInsert: 'Tidak dapat dimasukkan ke lokasi yang ditentukan, silakan periksa apakah parameternya benar',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Le intestazioni della colonna di raggruppamento dovrebbero usare "{0}" invece di "{1}", che può causare errori',
|
|
18
18
|
scrollErrProp: 'Questo parametro "{0}" non è supportato dopo che lo scorrimento virtuale è abilitato',
|
|
19
19
|
errConflicts: 'Parametro "{0}" conflitti con "{1}"',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '"{1}" non è supportato quando il parametro "{0}" è abilitato, dovrebbe essere "{2}", altrimenti si verificherà un errore',
|
|
21
22
|
notConflictProp: 'Quando si utilizza "{0}", "{1}" dovrebbe essere impostato, altrimenti potrebbero esserci conflitti funzionali',
|
|
22
23
|
unableInsert: 'Non può essere inserito nella posizione specificata, si prega di verificare se i parametri sono corretti',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'グループ化列ヘッダーは、「{1}」の代わりに「{0}」を使用する必要があります。',
|
|
18
18
|
scrollErrProp: 'このパラメーター「{0}」は、仮想スクロールが有効になった後にサポートされていません',
|
|
19
19
|
errConflicts: 'パラメーター「{0}」は「{1}」と競合します',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '「{1}」はパラメーター「{0}」が有効になっている場合、「{2}」である必要があります。そうしないと、エラーが発生します。',
|
|
21
22
|
notConflictProp: '「{0}」を使用する場合、「{1}」を設定する必要があります。',
|
|
22
23
|
unableInsert: '指定された場所に挿入できません。パラメーターが正しいかどうかを確認してください',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: '열 헤더 그룹화는 "{1}"대신 "{0}"을 사용해야하며 오류가 발생할 수 있습니다.',
|
|
18
18
|
scrollErrProp: '이 매개 변수 "{0}"은 가상 스크롤링이 활성화 된 후에 지원되지 않습니다.',
|
|
19
19
|
errConflicts: '매개 변수 "{0}" "{1}"과 충돌합니다.',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '"{1}"은 "{0}"매개 변수가 활성화 될 때 지원되지 않습니다. "{2}"이어야합니다. 그렇지 않으면 오류가 발생합니다.',
|
|
21
22
|
notConflictProp: '"{0}"을 사용하는 경우 "{1}"을 설정해야합니다. 그렇지 않으면 기능적 충돌이있을 수 있습니다.',
|
|
22
23
|
unableInsert: '지정된 위치에 삽입 할 수 없으므로 매개 변수가 올바른지 확인하십시오.',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Mengumpulkan tajuk lajur harus menggunakan "{0}" bukannya "{1}", yang boleh menyebabkan kesilapan',
|
|
18
18
|
scrollErrProp: 'Parameter ini "{0}" tidak disokong selepas menatal maya diaktifkan',
|
|
19
19
|
errConflicts: 'Parameter "{0}" Konflik dengan "{1}"',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '"{1}" tidak disokong apabila parameter "{0}" diaktifkan, ia harus "{2}", jika tidak, ralat akan berlaku',
|
|
21
22
|
notConflictProp: 'Apabila menggunakan "{0}", "{1}" harus ditetapkan, jika tidak ada konflik fungsional',
|
|
22
23
|
unableInsert: 'Tidak dapat dimasukkan ke lokasi yang ditentukan, sila periksa sama ada parameternya betul',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Gruppering av kolonneoverskrifter bør bruke "{0}" i stedet for "{1}", som kan forårsake feil',
|
|
18
18
|
scrollErrProp: 'Denne parameteren "{0}" støttes ikke etter at virtuell rulling er aktivert',
|
|
19
19
|
errConflicts: 'Parameter "{0}" Konflikter med "{1}"',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '"{1}" støttes ikke når parameteren "{0}" er aktivert, den skal være "{2}", ellers vil det oppstå en feil',
|
|
21
22
|
notConflictProp: 'Når du bruker "{0}", "{1}" skal settes, ellers kan det være funksjonelle konflikter',
|
|
22
23
|
unableInsert: 'Kan ikke settes inn på det spesifiserte stedet, vennligst sjekk om parametrene er riktige',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Os cabeçalhos da coluna de agrupamento devem usar "{0}" em vez de "{1}", o que pode causar erros',
|
|
18
18
|
scrollErrProp: 'Este parâmetro "{0}" não é suportado após a rolagem virtual ser ativada',
|
|
19
19
|
errConflicts: 'Parâmetro "{0}" conflita com "{1}"',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '"{1}" não é suportado quando o parâmetro "{0}" estiver ativado, ele deve ser "{2}", caso contrário, um erro ocorrerá',
|
|
21
22
|
notConflictProp: 'Ao usar "{0}", "{1}" deve ser definido, caso contrário, pode haver conflitos funcionais',
|
|
22
23
|
unableInsert: 'Não pode ser inserido no local especificado, verifique se os parâmetros estão corretos',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Заголовки столбцов группировки должны использовать «{0}» вместо «{1}», что может вызвать ошибки',
|
|
18
18
|
scrollErrProp: 'Этот параметр "{0}" не поддерживается после включения виртуальной прокрутки',
|
|
19
19
|
errConflicts: 'Параметр "{0}" Конфликт с "{1}"',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '"{1}" не поддерживается, когда параметр "{0}"',
|
|
21
22
|
notConflictProp: 'При использовании "{0}", "{1}" должен быть установлен, в противном случае могут быть функциональные конфликты',
|
|
22
23
|
unableInsert: 'Нельзя вставить в указанное место, пожалуйста, проверьте, являются ли параметры правильными',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'ส่วนหัวคอลัมน์การจัดกลุ่มควรใช้ "{0}" แทน "{1}" ซึ่งอาจทำให้เกิดข้อผิดพลาด',
|
|
18
18
|
scrollErrProp: 'พารามิเตอร์นี้ "{0}" นี้ไม่ได้รับการสนับสนุนหลังจากเปิดใช้งานการเลื่อนเสมือนจริง',
|
|
19
19
|
errConflicts: 'พารามิเตอร์ "{0}" ขัดแย้งกับ "{1}"',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '"{1}" ไม่ได้รับการสนับสนุนเมื่อเปิดใช้งานพารามิเตอร์ "{0}" มันควรจะเป็น "{2}" มิฉะนั้นจะเกิดข้อผิดพลาดเกิดขึ้น',
|
|
21
22
|
notConflictProp: 'เมื่อใช้ "{0}", "{1}" ควรตั้งค่ามิฉะนั้นอาจมีความขัดแย้งในการทำงาน',
|
|
22
23
|
unableInsert: 'ไม่สามารถแทรกลงในตำแหน่งที่ระบุได้โปรดตรวจสอบว่าพารามิเตอร์ถูกต้องหรือไม่',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'گۇرۇپپا قۇر بىشىغا چوقۇم "{0}" نى ئىشلىتىشىڭىز كىرەك،ھەرگىزمۇ "{1}"نى ئەمەس ،بولمىسا بۇ بەلكىم خاتالىق كەلتۈرۈپ چىقىرىشى مومكىن',
|
|
18
18
|
scrollErrProp: 'مەۋھۇم يۇمىلاتما ئىقىدارىنى قوزغاتقاندىن كىيىن بۇ سېپىرنى تەكشەشكە بولمايدۇ "{0}"',
|
|
19
19
|
errConflicts: 'سان سىپىر "{0}" بىلەن "{1}" دە ماسلاشماسلىق ئەھۋالى مەۋجۇت',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
22
|
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
22
23
|
unableInsert: 'بىكىتىلگەن ئورۇنغا قىستۇرۇشقا بولمايدۇ، پارامېتىرىڭىزنىڭ توغرا-خاتالىقىنى تەكشۈرۈڭ ',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Заголовок стовпців групування повинно використовувати "{0}" замість "{1}", що може спричинити помилки',
|
|
18
18
|
scrollErrProp: 'Цей параметр "{0}" не підтримується після включення віртуальної прокрутки',
|
|
19
19
|
errConflicts: 'Параметр "{0}" Конфлікти з "{1}"',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '"{1}" не підтримується, коли параметр "{0}" ввімкнено, він повинен бути "{2}", інакше помилка станеться',
|
|
21
22
|
notConflictProp: 'При використанні "{0}", "{1}" слід встановити, інакше можуть бути функціональні конфлікти',
|
|
22
23
|
unableInsert: 'Неможливо вставити у вказане місце, будь ласка, перевірте, чи правильні параметри',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: "\"Lim li}\" o'rniga guruh sarlavhalarida \"{1}\" o'rniga \"{0}\" o'rniga \"{0}\" dan foydalanish kerak",
|
|
18
18
|
scrollErrProp: "Virtual aylantirish yoqilgandan so'ng \"{0}\" ushbu parametr qo'llab-quvvatlanmaydi",
|
|
19
19
|
errConflicts: '"{0}" parametr "{1}" bilan ziddiyatlar',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '"{1}" parametri yoqilganda, u "{2}" parametrlari yoqilgan, aks holda xatolik yuz beradi',
|
|
21
22
|
notConflictProp: "\"{0}\", \"{1}\" dan foydalanish kerak bo'lganda, aks holda funktsional to'qnashuvlar bo'lishi mumkin",
|
|
22
23
|
unableInsert: "Belgilangan joyda kiritilishi mumkin emas, parametrlar to'g'ri yoki yo'qligini tekshiring",
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Nhóm tiêu đề nhóm nên sử dụng "{0}" thay vì "{1}", có thể gây ra lỗi',
|
|
18
18
|
scrollErrProp: 'Tham số này "{0}" không được hỗ trợ sau khi cuộn ảo được bật',
|
|
19
19
|
errConflicts: 'Tham số "{0}" Xung đột với "{1}"',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '"{1}" không được hỗ trợ khi tham số "{0}" được bật, nó phải là "{2}", nếu không sẽ xảy ra lỗi',
|
|
21
22
|
notConflictProp: 'Khi sử dụng "{0}", "{1}" nên được đặt, nếu không có thể có xung đột chức năng',
|
|
22
23
|
unableInsert: 'Không thể được chèn vào vị trí đã chỉ định, vui lòng kiểm tra xem các tham số có đúng không',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: '分組列頭應該使用 "{0}" 而不是 "{1}",這可能會出現錯誤',
|
|
18
18
|
scrollErrProp: '啟用虛擬滾動後不支持該參數 "{0}"',
|
|
19
19
|
errConflicts: '參數 "{0}" 與 "{1}" 有衝突',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '當啟用參數 "{0}" 時不支持 "{1}",應該為 "{2}",否則將會出現錯誤',
|
|
21
22
|
notConflictProp: '當使用 "{0}" 時,應該設置 "{1}",否則可能會存在功能衝突',
|
|
22
23
|
unableInsert: '無法插入到指定位置,請檢查參數是否正確',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: '分组列头应该使用 "{0}" 而不是 "{1}",这可能会出现错误',
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
|
+
modelConflicts: '绑定的字段值 "{0}" 与 "{1}" 存在冲突,将会出现错误',
|
|
20
21
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
22
|
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
22
23
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
@@ -13,6 +13,8 @@ export class ColumnInfo {
|
|
|
13
13
|
const tableProps = $xeTable.props
|
|
14
14
|
const $xeGrid = $xeTable.xeGrid
|
|
15
15
|
|
|
16
|
+
const { field, editRender } = _vm
|
|
17
|
+
|
|
16
18
|
const formatter: string | any[] = _vm.formatter
|
|
17
19
|
const visible = XEUtils.isBoolean(_vm.visible) ? _vm.visible : true
|
|
18
20
|
|
|
@@ -53,11 +55,20 @@ export class ColumnInfo {
|
|
|
53
55
|
}
|
|
54
56
|
}
|
|
55
57
|
|
|
58
|
+
if (field && editRender) {
|
|
59
|
+
if (editRender.startField && `${editRender.startField}`.indexOf(field) >= 0) {
|
|
60
|
+
errLog('vxe.error.modelConflicts', [`field=${field}`, `edit-render.startField=${editRender.startField}`])
|
|
61
|
+
}
|
|
62
|
+
if (editRender.endField && `${editRender.endField}`.indexOf(field) >= 0) {
|
|
63
|
+
errLog('vxe.error.modelConflicts', [`field=${field}`, `edit-render.endField=${editRender.endField}`])
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
56
67
|
Object.assign(this, {
|
|
57
68
|
// 基本属性
|
|
58
69
|
type: _vm.type,
|
|
59
70
|
property: _vm.field,
|
|
60
|
-
field:
|
|
71
|
+
field: field,
|
|
61
72
|
title: _vm.title,
|
|
62
73
|
width: _vm.width,
|
|
63
74
|
minWidth: _vm.minWidth,
|
|
@@ -92,7 +103,7 @@ export class ColumnInfo {
|
|
|
92
103
|
rowResize: _vm.rowResize,
|
|
93
104
|
cellType: _vm.cellType,
|
|
94
105
|
cellRender: _vm.cellRender,
|
|
95
|
-
editRender:
|
|
106
|
+
editRender: editRender,
|
|
96
107
|
contentRender: _vm.contentRender,
|
|
97
108
|
headerExportMethod: _vm.headerExportMethod,
|
|
98
109
|
exportMethod: _vm.exportMethod,
|
|
@@ -3525,6 +3525,13 @@ export default defineVxeComponent({
|
|
|
3525
3525
|
}
|
|
3526
3526
|
reactData.isRowLoading = false
|
|
3527
3527
|
handleRecalculateStyle(false, false, false)
|
|
3528
|
+
// 如果是自动行高,特殊情况需调用 recalculate 手动刷新
|
|
3529
|
+
if (!props.showOverflow) {
|
|
3530
|
+
setTimeout(() => {
|
|
3531
|
+
handleLazyRecalculate(false, true, true)
|
|
3532
|
+
setTimeout(() => handleLazyRecalculate(false, true, true), 3000)
|
|
3533
|
+
}, 2000)
|
|
3534
|
+
}
|
|
3528
3535
|
// 是否变更虚拟滚动
|
|
3529
3536
|
if (oldScrollYLoad === sYLoad) {
|
|
3530
3537
|
restoreScrollLocation($xeTable, targetScrollLeft, targetScrollTop)
|
|
@@ -3557,6 +3564,7 @@ export default defineVxeComponent({
|
|
|
3557
3564
|
handleDefaultRadioChecked()
|
|
3558
3565
|
handleDefaultRowExpand()
|
|
3559
3566
|
handleDefaultTreeExpand()
|
|
3567
|
+
handleDefaultRowGroupExpand()
|
|
3560
3568
|
handleDefaultMergeCells()
|
|
3561
3569
|
handleDefaultMergeFooterItems()
|
|
3562
3570
|
nextTick(() => setTimeout(() => $xeTable.recalculate()))
|
|
@@ -3980,6 +3988,30 @@ export default defineVxeComponent({
|
|
|
3980
3988
|
})
|
|
3981
3989
|
}
|
|
3982
3990
|
|
|
3991
|
+
/**
|
|
3992
|
+
* 处理默认展开分组行
|
|
3993
|
+
*/
|
|
3994
|
+
const handleDefaultRowGroupExpand = () => {
|
|
3995
|
+
const { isRowGroupStatus } = reactData
|
|
3996
|
+
if (isRowGroupStatus) {
|
|
3997
|
+
const { fullDataRowIdData } = internalData
|
|
3998
|
+
const aggregateOpts = computeAggregateOpts.value
|
|
3999
|
+
const { expandAll, expandRowKeys } = aggregateOpts
|
|
4000
|
+
if (expandAll) {
|
|
4001
|
+
$xeTable.setAllRowGroupExpand(true)
|
|
4002
|
+
} else if (expandRowKeys) {
|
|
4003
|
+
const defExpandeds: any[] = []
|
|
4004
|
+
expandRowKeys.forEach((rowid) => {
|
|
4005
|
+
const rowRest = fullDataRowIdData[rowid]
|
|
4006
|
+
if (rowRest) {
|
|
4007
|
+
defExpandeds.push(rowRest.row)
|
|
4008
|
+
}
|
|
4009
|
+
})
|
|
4010
|
+
$xeTable.setRowGroupExpand(defExpandeds, true)
|
|
4011
|
+
}
|
|
4012
|
+
}
|
|
4013
|
+
}
|
|
4014
|
+
|
|
3983
4015
|
const handleCheckAllEvent = (evnt: Event | null, value: any) => {
|
|
3984
4016
|
handleCheckedAllCheckboxRow(value)
|
|
3985
4017
|
if (evnt) {
|
|
@@ -5933,8 +5965,7 @@ export default defineVxeComponent({
|
|
|
5933
5965
|
return nextTick()
|
|
5934
5966
|
},
|
|
5935
5967
|
setSort (sortConfs, isUpdate) {
|
|
5936
|
-
|
|
5937
|
-
return handleSortEvent(new Event('click'), sortConfs, isUpdate)
|
|
5968
|
+
return handleSortEvent(null, sortConfs, isUpdate)
|
|
5938
5969
|
},
|
|
5939
5970
|
setSortByEvent (evnt, sortConfs, isUpdate) {
|
|
5940
5971
|
return handleSortEvent(evnt, sortConfs, isUpdate)
|
|
@@ -6576,8 +6607,6 @@ export default defineVxeComponent({
|
|
|
6576
6607
|
},
|
|
6577
6608
|
/**
|
|
6578
6609
|
* 如果有滚动条,则滚动到对应的位置
|
|
6579
|
-
* @param {Number} scrollLeft 左距离
|
|
6580
|
-
* @param {Number} scrollTop 上距离
|
|
6581
6610
|
*/
|
|
6582
6611
|
scrollTo (scrollLeft, scrollTop) {
|
|
6583
6612
|
const { elemStore } = internalData
|
|
@@ -6591,6 +6620,12 @@ export default defineVxeComponent({
|
|
|
6591
6620
|
|
|
6592
6621
|
internalData.intoRunScroll = true
|
|
6593
6622
|
|
|
6623
|
+
if (scrollLeft) {
|
|
6624
|
+
if (!XEUtils.isNumber(scrollLeft)) {
|
|
6625
|
+
scrollTop = scrollLeft.top
|
|
6626
|
+
scrollLeft = scrollLeft.left
|
|
6627
|
+
}
|
|
6628
|
+
}
|
|
6594
6629
|
if (XEUtils.isNumber(scrollLeft)) {
|
|
6595
6630
|
setScrollLeft(xHandleEl, scrollLeft)
|
|
6596
6631
|
setScrollLeft(bodyScrollElem, scrollLeft)
|
|
@@ -7998,7 +8033,7 @@ export default defineVxeComponent({
|
|
|
7998
8033
|
evnt.preventDefault()
|
|
7999
8034
|
const { column } = params
|
|
8000
8035
|
const { columnStore, overflowX, scrollbarHeight } = reactData
|
|
8001
|
-
const {
|
|
8036
|
+
const { visibleColumn } = internalData
|
|
8002
8037
|
const { leftList, rightList } = columnStore
|
|
8003
8038
|
const resizableOpts = computeResizableOpts.value
|
|
8004
8039
|
const osbHeight = overflowX ? scrollbarHeight : 0
|
|
@@ -8016,25 +8051,30 @@ export default defineVxeComponent({
|
|
|
8016
8051
|
const { clientX: dragClientX } = evnt
|
|
8017
8052
|
const dragBtnElem = evnt.target as HTMLDivElement
|
|
8018
8053
|
let resizeColumn = column
|
|
8019
|
-
|
|
8054
|
+
const isDragGroupCol = column.children && column.children.length
|
|
8055
|
+
if (isDragGroupCol) {
|
|
8020
8056
|
XEUtils.eachTree(column.children, childColumn => {
|
|
8021
8057
|
resizeColumn = childColumn
|
|
8022
8058
|
})
|
|
8023
8059
|
}
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
|
|
8060
|
+
let cell = dragBtnElem.parentElement as HTMLTableCellElement | null
|
|
8061
|
+
if (isDragGroupCol) {
|
|
8062
|
+
const trEl = cell ? cell.parentElement as HTMLTableRowElement : null
|
|
8063
|
+
const theadEl = trEl ? trEl.parentElement as HTMLTableElement : null
|
|
8064
|
+
cell = theadEl ? theadEl.querySelector<HTMLTableCellElement>(`.vxe-header--column[colid="${resizeColumn.id}"]`) : null
|
|
8065
|
+
}
|
|
8066
|
+
if (!cell) {
|
|
8029
8067
|
return
|
|
8030
8068
|
}
|
|
8069
|
+
const cellParams = XEUtils.assign(params, { cell })
|
|
8070
|
+
let dragLeft = 0
|
|
8031
8071
|
const tableRect = tableEl.getBoundingClientRect()
|
|
8032
8072
|
const rightContainerRect = rightContainerElem ? rightContainerElem.getBoundingClientRect() : null
|
|
8033
8073
|
const cellRect = cell.getBoundingClientRect()
|
|
8034
8074
|
const dragBtnRect = dragBtnElem.getBoundingClientRect()
|
|
8035
8075
|
|
|
8036
8076
|
const dragBtnWidth = dragBtnElem.clientWidth
|
|
8037
|
-
const dragBtnOffsetWidth =
|
|
8077
|
+
const dragBtnOffsetWidth = XEUtils.floor(dragBtnWidth / 2)
|
|
8038
8078
|
const dragPosLeft = dragBtnRect.x - tableRect.x + dragBtnOffsetWidth
|
|
8039
8079
|
|
|
8040
8080
|
const minInterval = getColReMinWidth(cellParams) - dragBtnOffsetWidth // 列之间的最小间距
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|