vxe-table 4.11.13 → 4.11.15
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 +11 -10
- 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/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/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/module/custom/panel.js +18 -16
- package/es/table/src/cell.js +4 -3
- package/es/table/src/columnInfo.js +0 -3
- package/es/table/src/table.js +137 -135
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +166 -161
- 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/de-DE.js +1 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/en-US.js +11 -10
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +11 -10
- 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/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/id-ID.js +1 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/it-IT.js +1 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- 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/nb-NO.js +1 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- 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/ug-CN.js +1 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- 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/vi-VN.js +1 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/zh-CHT.js +1 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- 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/module/custom/panel.js +18 -16
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/src/cell.js +5 -3
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/columnInfo.js +0 -3
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/table.js +140 -137
- 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 +2 -2
- 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 +11 -10
- 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/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/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/module/custom/panel.ts +18 -16
- package/packages/table/src/cell.ts +4 -3
- package/packages/table/src/columnInfo.ts +0 -3
- package/packages/table/src/table.ts +137 -135
- /package/es/{iconfont.1740561134294.ttf → iconfont.1740723830079.ttf} +0 -0
- /package/es/{iconfont.1740561134294.woff → iconfont.1740723830079.woff} +0 -0
- /package/es/{iconfont.1740561134294.woff2 → iconfont.1740723830079.woff2} +0 -0
- /package/lib/{iconfont.1740561134294.ttf → iconfont.1740723830079.ttf} +0 -0
- /package/lib/{iconfont.1740561134294.woff → iconfont.1740723830079.woff} +0 -0
- /package/lib/{iconfont.1740561134294.woff2 → iconfont.1740723830079.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.11.
|
|
16
|
+
const version = exports.version = "4.11.15";
|
|
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.11.
|
|
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.11.15",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:{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",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},treeConfig:{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:{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:{enabled:!0,gt:60,preSize:0,oSize:1},virtualYConfig:{enabled:!0,gt:100,preSize:0,oSize:1},scrollbarConfig:{}},grid:{formConfig:{enabled:!0},pagerConfig:{enabled:!0},toolbarConfig:{enabled:!0},proxyConfig:{enabled:!0,autoLoad:!0,showResponseMsg:!0,showActiveMsg:!0,props:{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_RADIO_CHECKED:iconPrefix+"radio-checked-fill",TABLE_RADIO_UNCHECKED:iconPrefix+"radio-unchecked",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_COLUMN:iconPrefix+"swap",TABLE_DRAG_DISABLED:iconPrefix+"no-drop",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.11.
|
|
11
|
+
const version = `table v${"4.11.15"}`;
|
|
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.11.
|
|
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.11.15",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.11.
|
|
3
|
+
"version": "4.11.15",
|
|
4
4
|
"description": "一个基于 vue 的 PC 端表格组件,支持增删改查、虚拟树、拖拽排序,懒加载、快捷菜单、数据校验、树形结构、打印、导入导出、自定义模板、渲染器、JSON 配置式...",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"update": "npm install --legacy-peer-deps",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"style": "lib/style.css",
|
|
29
29
|
"typings": "types/index.d.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"vxe-pc-ui": "^4.3.
|
|
31
|
+
"vxe-pc-ui": "^4.3.99"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/resize-observer-browser": "^0.1.11",
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: '分组列头应该使用 "{0}" 而不是 "{1}",这可能会出现错误',
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
21
22
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
22
23
|
barUnableLink: '工具栏无法关联表格',
|
|
@@ -18,6 +18,7 @@ export default
|
|
|
18
18
|
groupTag: 'Bei der Gruppierung von Spaltenüberschriften sollte „{0}“ anstelle von „{1}“ verwendet werden, was zu Fehlern führen kann',
|
|
19
19
|
scrollErrProp: 'Der Parameter „{0}“ wird nicht unterstützt, wenn virtuelles Scrollen aktiviert ist',
|
|
20
20
|
errConflicts: 'Parameter „{0}“ stehen im Konflikt mit „{1}“',
|
|
21
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
22
|
unableInsert: 'Das Einfügen an der angegebenen Position ist nicht möglich. Bitte überprüfen Sie, ob die Parameter korrekt sind',
|
|
22
23
|
useErr: 'Bei der Installation des Moduls „{0}“ ist möglicherweise die falsche Reihenfolge aufgetreten. Die abhängigen Module müssen vor der Tabelle installiert werden.',
|
|
23
24
|
barUnableLink: 'Die Symbolleiste kann nicht mit der Tabelle verknüpft werden',
|
|
@@ -11,12 +11,13 @@ export default {
|
|
|
11
11
|
},
|
|
12
12
|
error: {
|
|
13
13
|
downErr: 'Download failed',
|
|
14
|
-
errLargeData: '
|
|
14
|
+
errLargeData: 'When the amount of data bound is too large, you should use "{0}"; otherwise, a stall may occur',
|
|
15
15
|
groupFixed: 'If using group headers, frozen columns must be set by group',
|
|
16
16
|
groupMouseRange: 'The group header and "{0}" cannot be used at the same time, which may cause an error.',
|
|
17
17
|
groupTag: 'Grouping column headers should use "{0}" instead of "{1}", which may cause errors',
|
|
18
18
|
scrollErrProp: 'The parameter "{0}" is not supported when virtual scrolling is enabled',
|
|
19
|
-
errConflicts: '
|
|
19
|
+
errConflicts: '"{1}" is not supported when parameter "{0}", it should be "{2}", otherwise an error will occur',
|
|
20
|
+
notSupportProp: '"{1}" is not supported when parameter "{0}" is enabled, it should be "{2}", otherwise an error will occur',
|
|
20
21
|
unableInsert: 'Unable to insert into the specified position, please check whether the parameters are correct',
|
|
21
22
|
useErr: 'An error occurred while installing the "{0}" module. The order may be incorrect. The dependent modules need to be installed before Table.',
|
|
22
23
|
barUnableLink: 'The toolbar cannot be associated with the table',
|
|
@@ -263,14 +264,14 @@ export default {
|
|
|
263
264
|
year: 'yyyy'
|
|
264
265
|
},
|
|
265
266
|
weeks: {
|
|
266
|
-
w: '
|
|
267
|
-
w0: '
|
|
268
|
-
w1: '
|
|
269
|
-
w2: '
|
|
270
|
-
w3: '
|
|
271
|
-
w4: '
|
|
272
|
-
w5: '
|
|
273
|
-
w6: '
|
|
267
|
+
w: 'Week',
|
|
268
|
+
w0: 'Sun',
|
|
269
|
+
w1: 'Mon',
|
|
270
|
+
w2: 'Tue',
|
|
271
|
+
w3: 'Wed',
|
|
272
|
+
w4: 'Thu',
|
|
273
|
+
w5: 'Fri',
|
|
274
|
+
w6: 'Sat'
|
|
274
275
|
},
|
|
275
276
|
months: {
|
|
276
277
|
m0: 'January',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'El encabezado de columna de agrupación debería utilizar "{0}" en lugar de "{1}", lo que puede causar errores.',
|
|
18
18
|
scrollErrProp: 'El parámetro "{0}" no es compatible cuando el desplazamiento virtual está habilitado.',
|
|
19
19
|
errConflicts: 'El argumento "{0}" entra en conflicto con "{1}"',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: 'No se puede insertar en la ubicación especificada.',
|
|
21
22
|
useErr: 'Error al instalar el módulo "{0}", posiblemente en el orden equivocado, los módulos dependientes deben ser instalados antes de la tabla.',
|
|
22
23
|
barUnableLink: 'La barra de herramientas no puede asociarse con la tabla.',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: '分组列头应该使用 "{0}" 而不是 "{1}",这可能会出现错误',
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
21
22
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
22
23
|
barUnableLink: '工具栏无法关联表格',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'A csoportosító oszlopfejlécben a „{0}” értéket kell használni a „{1}” helyett, ami hibákat okozhat',
|
|
18
18
|
scrollErrProp: 'A "{0}" paraméter nem támogatott, ha a virtuális görgetés engedélyezve van',
|
|
19
19
|
errConflicts: 'A "{0}" paraméter ütközik a következővel: "{1}"',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: 'Nem sikerült beilleszteni a megadott pozícióba, ellenőrizze, hogy a paraméterek helyesek-e',
|
|
21
22
|
useErr: 'Hiba történt a "{0}" modul telepítésekor. Lehet, hogy a sorrend helytelen. A függő modulokat a táblázat előtt kell telepíteni.',
|
|
22
23
|
barUnableLink: 'Az eszköztár nem társítható a táblázathoz',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: '分组列头应该使用 "{0}" 而不是 "{1}",这可能会出现错误',
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
21
22
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
22
23
|
barUnableLink: '工具栏无法关联表格',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: '分组列头应该使用 "{0}" 而不是 "{1}",这可能会出现错误',
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
21
22
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
22
23
|
barUnableLink: '工具栏无法关联表格',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Le intestazioni delle colonne di raggruppamento devono utilizzare "{0}" anziché "{1}", il che potrebbe causare errori',
|
|
18
18
|
scrollErrProp: 'Il parametro "{0}" non è supportato quando è abilitato lo scorrimento virtuale',
|
|
19
19
|
errConflicts: 'I parametri "{0}" sono in conflitto con "{1}"',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: 'Impossibile inserire nella posizione specificata, verificare se i parametri sono corretti',
|
|
21
22
|
useErr: "Si è verificato un errore durante l'installazione del modulo \"{0}\". L'ordine potrebbe essere errato. I moduli dipendenti devono essere installati prima della Tabella.",
|
|
22
23
|
barUnableLink: 'La barra degli strumenti non può essere associata alla tabella',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'ヘッダー結合は "{0}" を使ってください。 "{1}" はエラーが発生する可能性があります',
|
|
18
18
|
scrollErrProp: '仮想スクロールはこのパラメータを使えません: "{0}"',
|
|
19
19
|
errConflicts: 'パラメータ "{0}" と "{1}" は同時に使えません',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: '指定された位置に挿入できない',
|
|
21
22
|
useErr: '"{0}" モジュールをインストールする際にエラーが発生し、順序が正しくない可能性がある。依存するモジュールはTableの前にインストールする必要がある',
|
|
22
23
|
barUnableLink: 'ツールバーはフォームを関連付けることができない',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: '그룹화된 열 헤더는 "{0}"을 사용해야 하며, "{1}"을 사용하면 오류가 발생할 수 있습니다.',
|
|
18
18
|
scrollErrProp: '가상 스크롤을 활성화한 경우, 매개변수 "{0}"은 지원되지 않습니다.',
|
|
19
19
|
errConflicts: '매개변수 "{0}"과(와) "{1}"은(는) 충돌합니다.',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: '지정된 위치에 삽입할 수 없습니다. 매개변수가 올바른지 확인하세요.',
|
|
21
22
|
useErr: '"{0}" 모듈 설치 중 오류가 발생했습니다. 순서가 잘못되었을 수 있으며, 테이블 전에 종속 모듈이 설치되어야 합니다.',
|
|
22
23
|
barUnableLink: '도구 모음과 테이블을 연결할 수 없습니다.',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: '分组列头应该使用 "{0}" 而不是 "{1}",这可能会出现错误',
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
21
22
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
22
23
|
barUnableLink: '工具栏无法关联表格',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'O cabeçalho da coluna de agrupamento deve usar "{0}" em vez de "{1}", o que pode causar erros.',
|
|
18
18
|
scrollErrProp: 'O parâmetro "{0}" não é suportado quando a rolagem virtual está habilitada.',
|
|
19
19
|
errConflicts: 'O argumento "{0}" entra em conflito com "{1}"',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: 'Não é possível inserir na localização especificada.',
|
|
21
22
|
useErr: 'Erro ao instalar o módulo "{0}", possivelmente na ordem errada, os módulos dependentes precisam ser instalados antes da Tabela.',
|
|
22
23
|
barUnableLink: 'A barra de ferramentas não pode ser associada à tabela.',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'При группировке заголовков столбцов следует использовать "{0}" вместо "{1}", что может привести к ошибкам.',
|
|
18
18
|
scrollErrProp: 'Параметр "{0}" не поддерживается, если включена виртуальная прокрутка.',
|
|
19
19
|
errConflicts: 'Параметры "{0}" конфликтуют с "{1}"',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: 'Невозможно вставить в указанную позицию, проверьте правильность параметров.',
|
|
21
22
|
useErr: 'Произошла ошибка при установке модуля "{0}". Порядок может быть неправильным. Зависимые модули необходимо установить перед Табл.',
|
|
22
23
|
barUnableLink: 'Панель инструментов не может быть связана с таблицей',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'การจัดกลุ่มส่วนหัวคอลัมน์ควรใช้ "{0}" แทน "{1}" ซึ่งอาจทำให้เกิดข้อผิดพลาด',
|
|
18
18
|
scrollErrProp: 'ไม่สนับสนุนพารามิเตอร์ "{0}" เมื่อเปิดใช้งานการเลื่อนเสมือน',
|
|
19
19
|
errConflicts: 'พารามิเตอร์ "{0}" ขัดแย้งกับ "{1}"',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: 'ไม่สามารถแทรกลงในตำแหน่งที่ระบุได้ โปรดตรวจสอบว่าพารามิเตอร์ถูกต้องหรือไม่',
|
|
21
22
|
useErr: 'เกิดข้อผิดพลาดขณะติดตั้งโมดูล "{0}" ลำดับอาจไม่ถูกต้อง จำเป็นต้องติดตั้งโมดูลที่ต้องพึ่งพาก่อนตาราง',
|
|
22
23
|
barUnableLink: 'แถบเครื่องมือไม่สามารถเชื่อมโยงกับตารางได้',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'گۇرۇپپا قۇر بىشىغا چوقۇم "{0}" نى ئىشلىتىشىڭىز كىرەك،ھەرگىزمۇ "{1}"نى ئەمەس ،بولمىسا بۇ بەلكىم خاتالىق كەلتۈرۈپ چىقىرىشى مومكىن',
|
|
18
18
|
scrollErrProp: 'مەۋھۇم يۇمىلاتما ئىقىدارىنى قوزغاتقاندىن كىيىن بۇ سېپىرنى تەكشەشكە بولمايدۇ "{0}"',
|
|
19
19
|
errConflicts: 'سان سىپىر "{0}" بىلەن "{1}" دە ماسلاشماسلىق ئەھۋالى مەۋجۇت',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: 'بىكىتىلگەن ئورۇنغا قىستۇرۇشقا بولمايدۇ، پارامېتىرىڭىزنىڭ توغرا-خاتالىقىنى تەكشۈرۈڭ ',
|
|
21
22
|
useErr: 'قاچىلاش: "{0}" پارچىنى قاچىلىغاندا خاتالىق كۆرۈلدى ،بەلكىم رەت تەرتىۋىدە بىنۇرماللىق كۆرۈلگەن بولۇشى مومكىن,مۇناسىۋەتلىك پارچە چوقۇم Table دىن ئاۋۋال قاچىلىنىشى كىرەك',
|
|
22
23
|
barUnableLink: 'ئەسۋاب ئىستونى جەدىۋەل بىلەن ئۇلىنىشقا ئامالسىز',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: 'Груповані заголовки повинні використовувати "{0}", а не "{1}", це може спричинити помилки',
|
|
18
18
|
scrollErrProp: 'Параметр "{0}" не підтримується після включення віртуального скролінгу',
|
|
19
19
|
errConflicts: 'Параметри "{0}" та "{1}" конфліктують',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: 'Неможливо вставити в задане місце, перевірте правильність параметрів',
|
|
21
22
|
useErr: 'Сталася помилка під час встановлення модуля "{0}", можливо, порядок неправильний, залежні модулі повинні бути встановлені до таблиці',
|
|
22
23
|
barUnableLink: "Панель інструментів не може бути пов'язана з таблицею",
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: '分组列头应该使用 "{0}" 而不是 "{1}",这可能会出现错误',
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
21
22
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
22
23
|
barUnableLink: '工具栏无法关联表格',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: '分組列頭應該使用 "{0}" 而不是 "{1}",這可能會出現錯誤',
|
|
18
18
|
scrollErrProp: '啟用虛擬滾動後不支援此參數 "{0}"',
|
|
19
19
|
errConflicts: '參數 "{0}" 與 "{1}" 有衝突',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: '無法插入指定位置,請檢查參數是否正確',
|
|
21
22
|
useErr: '安裝 "{0}" 模組時發生錯誤,可能順序不正確,依賴的模組需要在 Table 之前安裝',
|
|
22
23
|
barUnableLink: '工具列無法關聯表格',
|
|
@@ -17,6 +17,7 @@ export default {
|
|
|
17
17
|
groupTag: '分组列头应该使用 "{0}" 而不是 "{1}",这可能会出现错误',
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
|
+
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
20
21
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
21
22
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
22
23
|
barUnableLink: '工具栏无法关联表格',
|
|
@@ -269,13 +269,14 @@ export default defineComponent({
|
|
|
269
269
|
if (prevDragCol && dragCol) {
|
|
270
270
|
// 判断是否有拖动
|
|
271
271
|
if (prevDragCol !== dragCol) {
|
|
272
|
-
const
|
|
272
|
+
const dragColumn = dragCol
|
|
273
273
|
const newColumn = prevDragCol
|
|
274
274
|
Promise.resolve(
|
|
275
275
|
dragEndMethod
|
|
276
276
|
? dragEndMethod({
|
|
277
|
-
oldColumn,
|
|
277
|
+
oldColumn: dragColumn,
|
|
278
278
|
newColumn,
|
|
279
|
+
dragColumn,
|
|
279
280
|
dragPos: prevDragPos as any,
|
|
280
281
|
dragToChild: !!prevDragToChild,
|
|
281
282
|
offsetIndex: dragOffsetIndex
|
|
@@ -290,7 +291,7 @@ export default defineComponent({
|
|
|
290
291
|
let nafIndex = -1
|
|
291
292
|
|
|
292
293
|
const oldAllMaps: Record<string, any> = {}
|
|
293
|
-
XEUtils.eachTree([
|
|
294
|
+
XEUtils.eachTree([dragColumn], column => {
|
|
294
295
|
oldAllMaps[column.id] = column
|
|
295
296
|
})
|
|
296
297
|
|
|
@@ -298,7 +299,7 @@ export default defineComponent({
|
|
|
298
299
|
|
|
299
300
|
// 只有实时拖拽支持跨层级
|
|
300
301
|
if (immediate) {
|
|
301
|
-
if (
|
|
302
|
+
if (dragColumn.parentId && newColumn.parentId) {
|
|
302
303
|
// 子到子
|
|
303
304
|
|
|
304
305
|
if (!isCrossDrag) {
|
|
@@ -316,7 +317,7 @@ export default defineComponent({
|
|
|
316
317
|
return
|
|
317
318
|
}
|
|
318
319
|
}
|
|
319
|
-
} else if (
|
|
320
|
+
} else if (dragColumn.parentId) {
|
|
320
321
|
// 子到根
|
|
321
322
|
|
|
322
323
|
if (!isCrossDrag) {
|
|
@@ -344,18 +345,18 @@ export default defineComponent({
|
|
|
344
345
|
// 根到根
|
|
345
346
|
}
|
|
346
347
|
|
|
347
|
-
const oldewMatchRest = XEUtils.findTree(collectColumn, item => item.id ===
|
|
348
|
+
const oldewMatchRest = XEUtils.findTree(collectColumn, item => item.id === dragColumn.id)
|
|
348
349
|
|
|
349
350
|
// 改变层级
|
|
350
351
|
if (isSelfToChildStatus && (isCrossDrag && isSelfToChildDrag)) {
|
|
351
352
|
if (oldewMatchRest) {
|
|
352
353
|
const { items: oCols, index: oIndex } = oldewMatchRest
|
|
353
|
-
const childList =
|
|
354
|
+
const childList = dragColumn.children || []
|
|
354
355
|
childList.forEach(column => {
|
|
355
|
-
column.parentId =
|
|
356
|
+
column.parentId = dragColumn.parentId
|
|
356
357
|
})
|
|
357
358
|
oCols.splice(oIndex, 1, ...childList)
|
|
358
|
-
|
|
359
|
+
dragColumn.children = []
|
|
359
360
|
}
|
|
360
361
|
} else {
|
|
361
362
|
if (oldewMatchRest) {
|
|
@@ -372,11 +373,11 @@ export default defineComponent({
|
|
|
372
373
|
const { items: nCols, index: nIndex, parent: nParent } = newMatchRest
|
|
373
374
|
// 转子级
|
|
374
375
|
if ((isCrossDrag && isToChildDrag) && prevDragToChild) {
|
|
375
|
-
|
|
376
|
-
newColumn.children = (newColumn.children || []).concat([
|
|
376
|
+
dragColumn.parentId = newColumn.id
|
|
377
|
+
newColumn.children = (newColumn.children || []).concat([dragColumn])
|
|
377
378
|
} else {
|
|
378
|
-
|
|
379
|
-
nCols.splice(nIndex + dragOffsetIndex, 0,
|
|
379
|
+
dragColumn.parentId = newColumn.parentId
|
|
380
|
+
nCols.splice(nIndex + dragOffsetIndex, 0, dragColumn)
|
|
380
381
|
}
|
|
381
382
|
if (!nParent) {
|
|
382
383
|
nafIndex = nIndex
|
|
@@ -390,11 +391,11 @@ export default defineComponent({
|
|
|
390
391
|
}
|
|
391
392
|
})
|
|
392
393
|
} else {
|
|
393
|
-
oafIndex = XEUtils.findIndexOf(customColumnList, item => item.id ===
|
|
394
|
+
oafIndex = XEUtils.findIndexOf(customColumnList, item => item.id === dragColumn.id)
|
|
394
395
|
customColumnList.splice(oafIndex, 1)
|
|
395
396
|
|
|
396
397
|
nafIndex = XEUtils.findIndexOf(customColumnList, item => item.id === newColumn.id)
|
|
397
|
-
customColumnList.splice(nafIndex + dragOffsetIndex, 0,
|
|
398
|
+
customColumnList.splice(nafIndex + dragOffsetIndex, 0, dragColumn)
|
|
398
399
|
}
|
|
399
400
|
|
|
400
401
|
reactData.isDragColMove = true
|
|
@@ -409,8 +410,9 @@ export default defineComponent({
|
|
|
409
410
|
}
|
|
410
411
|
|
|
411
412
|
$xeTable.dispatchEvent('column-dragend', {
|
|
412
|
-
oldColumn,
|
|
413
|
+
oldColumn: dragColumn,
|
|
413
414
|
newColumn,
|
|
415
|
+
dragColumn,
|
|
414
416
|
dragPos: prevDragPos,
|
|
415
417
|
offsetIndex: dragOffsetIndex,
|
|
416
418
|
_index: {
|
|
@@ -86,15 +86,16 @@ function renderCellBaseVNs (params: VxeTableDefines.CellRenderBodyParams & { $ta
|
|
|
86
86
|
const { dragSort } = column
|
|
87
87
|
const tableProps = $table.props
|
|
88
88
|
const { treeConfig, dragConfig } = tableProps
|
|
89
|
-
const { computeRowOpts, computeRowDragOpts } = $table.getComputeMaps()
|
|
89
|
+
const { computeRowOpts, computeRowDragOpts, computeTreeOpts } = $table.getComputeMaps()
|
|
90
90
|
const rowOpts = computeRowOpts.value
|
|
91
91
|
const rowDragOpts = computeRowDragOpts.value
|
|
92
|
+
const treeOpts = computeTreeOpts.value
|
|
92
93
|
const { showIcon, isPeerDrag, isCrossDrag, visibleMethod } = rowDragOpts
|
|
93
94
|
const rVisibleMethod = visibleMethod || (dragConfig ? dragConfig.rowVisibleMethod : null)
|
|
94
95
|
const vns: VxeComponentSlotType[] = XEUtils.isArray(content) ? content : [content]
|
|
95
96
|
if (dragSort && rowOpts.drag && ((showIcon || (dragConfig ? dragConfig.showRowIcon : false)) && (!rVisibleMethod || rVisibleMethod(params)))) {
|
|
96
97
|
if (treeConfig) {
|
|
97
|
-
if (isPeerDrag || isCrossDrag || !level) {
|
|
98
|
+
if (treeOpts.transform && (isPeerDrag || isCrossDrag || !level)) {
|
|
98
99
|
vns.unshift(
|
|
99
100
|
renderCellDragIcon(params)
|
|
100
101
|
)
|
|
@@ -278,7 +279,7 @@ function renderCellHandle (params: VxeTableDefines.CellRenderBodyParams & {
|
|
|
278
279
|
case 'html':
|
|
279
280
|
return treeNode ? Cell.renderTreeHTMLCell(params) : Cell.renderHTMLCell(params)
|
|
280
281
|
}
|
|
281
|
-
if (editConfig && editRender) {
|
|
282
|
+
if (isEnableConf(editConfig) && editRender) {
|
|
282
283
|
return editOpts.mode === 'cell' ? (treeNode ? Cell.renderTreeCellEdit(params) : Cell.renderCellEdit(params)) : (treeNode ? Cell.renderTreeRowEdit(params) : Cell.renderRowEdit(params))
|
|
283
284
|
}
|
|
284
285
|
return treeNode ? Cell.renderTreeCell(params) : Cell.renderDefaultCell(params)
|
|
@@ -26,9 +26,6 @@ export class ColumnInfo {
|
|
|
26
26
|
if (XEUtils.isBoolean(_vm.editRender) || (_vm.editRender && !XEUtils.isObject(_vm.editRender))) {
|
|
27
27
|
warnLog('vxe.error.errProp', [`column.edit-render=${_vm.editRender}`, 'column.edit-render={}'])
|
|
28
28
|
}
|
|
29
|
-
if (_vm.cellRender && _vm.editRender) {
|
|
30
|
-
warnLog('vxe.error.errConflicts', ['column.cell-render', 'column.edit-render'])
|
|
31
|
-
}
|
|
32
29
|
if (_vm.type === 'expand') {
|
|
33
30
|
const { treeConfig } = tableProps
|
|
34
31
|
const { computeTreeOpts } = $xeTable.getComputeMaps()
|