vxe-table 4.12.2 → 4.12.4
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/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/keyboard/hook.js +26 -9
- package/es/table/module/menu/hook.js +1 -1
- package/es/table/src/table.js +67 -23
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +881 -12071
- 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 +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/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/keyboard/hook.js +27 -9
- package/lib/table/module/keyboard/hook.min.js +1 -1
- package/lib/table/module/menu/hook.js +1 -1
- package/lib/table/module/menu/hook.min.js +1 -1
- package/lib/table/src/table.js +65 -19
- 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 +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/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/keyboard/hook.ts +24 -9
- package/packages/table/module/menu/hook.ts +1 -1
- package/packages/table/src/table.ts +70 -23
- /package/es/{iconfont.1743125693758.ttf → iconfont.1743394011765.ttf} +0 -0
- /package/es/{iconfont.1743125693758.woff → iconfont.1743394011765.woff} +0 -0
- /package/es/{iconfont.1743125693758.woff2 → iconfont.1743394011765.woff2} +0 -0
- /package/lib/{iconfont.1743125693758.ttf → iconfont.1743394011765.ttf} +0 -0
- /package/lib/{iconfont.1743125693758.woff → iconfont.1743394011765.woff} +0 -0
- /package/lib/{iconfont.1743125693758.woff2 → iconfont.1743394011765.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.12.
|
|
16
|
+
const version = exports.version = "4.12.4";
|
|
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.12.
|
|
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.12.4",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:1,oSize:0},virtualYConfig:{enabled:!0,gt:100,preSize:1,oSize:0},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.12.
|
|
11
|
+
const version = `table v${"4.12.4"}`;
|
|
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.12.
|
|
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.12.4",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.12.
|
|
3
|
+
"version": "4.12.4",
|
|
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.5.
|
|
31
|
+
"vxe-pc-ui": "^4.5.9"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/resize-observer-browser": "^0.1.11",
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
22
23
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
23
24
|
barUnableLink: '工具栏无法关联表格',
|
|
@@ -19,6 +19,7 @@ export default
|
|
|
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
21
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
22
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
22
23
|
unableInsert: 'Das Einfügen an der angegebenen Position ist nicht möglich. Bitte überprüfen Sie, ob die Parameter korrekt sind',
|
|
23
24
|
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.',
|
|
24
25
|
barUnableLink: 'Die Symbolleiste kann nicht mit der Tabelle verknüpft werden',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: 'The parameter "{0}" is not supported when virtual scrolling is enabled',
|
|
19
19
|
errConflicts: '"{1}" is not supported when parameter "{0}", it should be "{2}", otherwise an error will occur',
|
|
20
20
|
notSupportProp: '"{1}" is not supported when parameter "{0}" is enabled, it should be "{2}", otherwise an error will occur',
|
|
21
|
+
notConflictProp: 'When using "{0}", you should set "{1}", otherwise there may be a functional conflict',
|
|
21
22
|
unableInsert: 'Unable to insert into the specified position, please check whether the parameters are correct',
|
|
22
23
|
useErr: 'An error occurred while installing the "{0}" module. The order may be incorrect. The dependent modules need to be installed before Table.',
|
|
23
24
|
barUnableLink: 'The toolbar cannot be associated with the table',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
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
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: 'No se puede insertar en la ubicación especificada.',
|
|
22
23
|
useErr: 'Error al instalar el módulo "{0}", posiblemente en el orden equivocado, los módulos dependientes deben ser instalados antes de la tabla.',
|
|
23
24
|
barUnableLink: 'La barra de herramientas no puede asociarse con la tabla.',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
22
23
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
23
24
|
barUnableLink: '工具栏无法关联表格',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
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
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: 'Nem sikerült beilleszteni a megadott pozícióba, ellenőrizze, hogy a paraméterek helyesek-e',
|
|
22
23
|
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.',
|
|
23
24
|
barUnableLink: 'Az eszköztár nem társítható a táblázathoz',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
22
23
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
23
24
|
barUnableLink: '工具栏无法关联表格',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
22
23
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
23
24
|
barUnableLink: '工具栏无法关联表格',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
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
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: 'Impossibile inserire nella posizione specificata, verificare se i parametri sono corretti',
|
|
22
23
|
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.",
|
|
23
24
|
barUnableLink: 'La barra degli strumenti non può essere associata alla tabella',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: '仮想スクロールはこのパラメータを使えません: "{0}"',
|
|
19
19
|
errConflicts: 'パラメータ "{0}" と "{1}" は同時に使えません',
|
|
20
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: '指定された位置に挿入できない',
|
|
22
23
|
useErr: '"{0}" モジュールをインストールする際にエラーが発生し、順序が正しくない可能性がある。依存するモジュールはTableの前にインストールする必要がある',
|
|
23
24
|
barUnableLink: 'ツールバーはフォームを関連付けることができない',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: '가상 스크롤을 활성화한 경우, 매개변수 "{0}"은 지원되지 않습니다.',
|
|
19
19
|
errConflicts: '매개변수 "{0}"과(와) "{1}"은(는) 충돌합니다.',
|
|
20
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: '지정된 위치에 삽입할 수 없습니다. 매개변수가 올바른지 확인하세요.',
|
|
22
23
|
useErr: '"{0}" 모듈 설치 중 오류가 발생했습니다. 순서가 잘못되었을 수 있으며, 테이블 전에 종속 모듈이 설치되어야 합니다.',
|
|
23
24
|
barUnableLink: '도구 모음과 테이블을 연결할 수 없습니다.',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
22
23
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
23
24
|
barUnableLink: '工具栏无法关联表格',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
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
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: 'Não é possível inserir na localização especificada.',
|
|
22
23
|
useErr: 'Erro ao instalar o módulo "{0}", possivelmente na ordem errada, os módulos dependentes precisam ser instalados antes da Tabela.',
|
|
23
24
|
barUnableLink: 'A barra de ferramentas não pode ser associada à tabela.',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: 'Параметр "{0}" не поддерживается, если включена виртуальная прокрутка.',
|
|
19
19
|
errConflicts: 'Параметры "{0}" конфликтуют с "{1}"',
|
|
20
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: 'Невозможно вставить в указанную позицию, проверьте правильность параметров.',
|
|
22
23
|
useErr: 'Произошла ошибка при установке модуля "{0}". Порядок может быть неправильным. Зависимые модули необходимо установить перед Табл.',
|
|
23
24
|
barUnableLink: 'Панель инструментов не может быть связана с таблицей',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: 'ไม่สนับสนุนพารามิเตอร์ "{0}" เมื่อเปิดใช้งานการเลื่อนเสมือน',
|
|
19
19
|
errConflicts: 'พารามิเตอร์ "{0}" ขัดแย้งกับ "{1}"',
|
|
20
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: 'ไม่สามารถแทรกลงในตำแหน่งที่ระบุได้ โปรดตรวจสอบว่าพารามิเตอร์ถูกต้องหรือไม่',
|
|
22
23
|
useErr: 'เกิดข้อผิดพลาดขณะติดตั้งโมดูล "{0}" ลำดับอาจไม่ถูกต้อง จำเป็นต้องติดตั้งโมดูลที่ต้องพึ่งพาก่อนตาราง',
|
|
23
24
|
barUnableLink: 'แถบเครื่องมือไม่สามารถเชื่อมโยงกับตารางได้',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: 'مەۋھۇم يۇمىلاتما ئىقىدارىنى قوزغاتقاندىن كىيىن بۇ سېپىرنى تەكشەشكە بولمايدۇ "{0}"',
|
|
19
19
|
errConflicts: 'سان سىپىر "{0}" بىلەن "{1}" دە ماسلاشماسلىق ئەھۋالى مەۋجۇت',
|
|
20
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: 'بىكىتىلگەن ئورۇنغا قىستۇرۇشقا بولمايدۇ، پارامېتىرىڭىزنىڭ توغرا-خاتالىقىنى تەكشۈرۈڭ ',
|
|
22
23
|
useErr: 'قاچىلاش: "{0}" پارچىنى قاچىلىغاندا خاتالىق كۆرۈلدى ،بەلكىم رەت تەرتىۋىدە بىنۇرماللىق كۆرۈلگەن بولۇشى مومكىن,مۇناسىۋەتلىك پارچە چوقۇم Table دىن ئاۋۋال قاچىلىنىشى كىرەك',
|
|
23
24
|
barUnableLink: 'ئەسۋاب ئىستونى جەدىۋەل بىلەن ئۇلىنىشقا ئامالسىز',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: 'Параметр "{0}" не підтримується після включення віртуального скролінгу',
|
|
19
19
|
errConflicts: 'Параметри "{0}" та "{1}" конфліктують',
|
|
20
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: 'Неможливо вставити в задане місце, перевірте правильність параметрів',
|
|
22
23
|
useErr: 'Сталася помилка під час встановлення модуля "{0}", можливо, порядок неправильний, залежні модулі повинні бути встановлені до таблиці',
|
|
23
24
|
barUnableLink: "Панель інструментів не може бути пов'язана з таблицею",
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
22
23
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
23
24
|
barUnableLink: '工具栏无法关联表格',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: '啟用虛擬滾動後不支援此參數 "{0}"',
|
|
19
19
|
errConflicts: '參數 "{0}" 與 "{1}" 有衝突',
|
|
20
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: '無法插入指定位置,請檢查參數是否正確',
|
|
22
23
|
useErr: '安裝 "{0}" 模組時發生錯誤,可能順序不正確,依賴的模組需要在 Table 之前安裝',
|
|
23
24
|
barUnableLink: '工具列無法關聯表格',
|
|
@@ -18,6 +18,7 @@ export default {
|
|
|
18
18
|
scrollErrProp: '启用虚拟滚动后不支持该参数 "{0}"',
|
|
19
19
|
errConflicts: '参数 "{0}" 与 "{1}" 有冲突',
|
|
20
20
|
notSupportProp: '当启用参数 "{0}" 时不支持 "{1}",应该为 "{2}",否则将会出现错误',
|
|
21
|
+
notConflictProp: '当使用 "{0}" 时,应该设置 "{1}",否则可能会存在功能冲突',
|
|
21
22
|
unableInsert: '无法插入到指定位置,请检查参数是否正确',
|
|
22
23
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
23
24
|
barUnableLink: '工具栏无法关联表格',
|
|
@@ -455,27 +455,42 @@ hooks.add('tableKeyboardModule', {
|
|
|
455
455
|
moveArrowSelected (args, isLeftArrow, isUpArrow, isRightArrow, isDwArrow, evnt) {
|
|
456
456
|
const { highlightCurrentRow, highlightCurrentColumn } = props
|
|
457
457
|
const rowOpts = computeRowOpts.value
|
|
458
|
+
const currentRowOpts = computeCurrentRowOpts.value
|
|
458
459
|
const columnOpts = computeColumnOpts.value
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
if (
|
|
462
|
-
|
|
460
|
+
const currentColumnOpts = computeCurrentColumnOpts.value
|
|
461
|
+
const params = handleMoveSelected(evnt, args, isLeftArrow, isUpArrow, isRightArrow, isDwArrow)
|
|
462
|
+
if (rowOpts.isCurrent || highlightCurrentRow) {
|
|
463
|
+
if (currentRowOpts.isFollowSelected) {
|
|
464
|
+
$xeTable.triggerCurrentRowEvent(evnt, params)
|
|
465
|
+
} else {
|
|
466
|
+
// 当前行按键上下移动
|
|
467
|
+
if ((isUpArrow || isDwArrow) && (rowOpts.isCurrent || highlightCurrentRow)) {
|
|
468
|
+
$xeTable.moveCurrentRow(isUpArrow, isDwArrow, evnt)
|
|
469
|
+
}
|
|
470
|
+
}
|
|
463
471
|
}
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
472
|
+
if (columnOpts.isCurrent || highlightCurrentColumn) {
|
|
473
|
+
if (currentColumnOpts.isFollowSelected) {
|
|
474
|
+
$xeTable.triggerCurrentColumnEvent(evnt, params)
|
|
475
|
+
} else {
|
|
476
|
+
// 当前行按键左右移动
|
|
477
|
+
if ((isLeftArrow || isRightArrow) && (columnOpts.isCurrent || highlightCurrentColumn)) {
|
|
478
|
+
$xeTable.moveCurrentColumn(isLeftArrow, isRightArrow, evnt)
|
|
479
|
+
}
|
|
480
|
+
}
|
|
467
481
|
}
|
|
468
482
|
},
|
|
469
483
|
moveEnterSelected (args, isLeftArrow, isUpArrow, isRightArrow, isDwArrow, evnt) {
|
|
484
|
+
const { highlightCurrentRow, highlightCurrentColumn } = props
|
|
470
485
|
const rowOpts = computeRowOpts.value
|
|
471
486
|
const currentRowOpts = computeCurrentRowOpts.value
|
|
472
487
|
const columnOpts = computeColumnOpts.value
|
|
473
488
|
const currentColumnOpts = computeCurrentColumnOpts.value
|
|
474
489
|
const params = handleMoveSelected(evnt, args, isLeftArrow, isUpArrow, isRightArrow, isDwArrow)
|
|
475
|
-
if ((rowOpts.isCurrent && currentRowOpts.isFollowSelected)) {
|
|
490
|
+
if (((rowOpts.isCurrent || highlightCurrentRow) && currentRowOpts.isFollowSelected)) {
|
|
476
491
|
$xeTable.triggerCurrentRowEvent(evnt, params)
|
|
477
492
|
}
|
|
478
|
-
if (columnOpts.isCurrent && currentColumnOpts.isFollowSelected) {
|
|
493
|
+
if ((columnOpts.isCurrent || highlightCurrentColumn) && currentColumnOpts.isFollowSelected) {
|
|
479
494
|
$xeTable.triggerCurrentColumnEvent(evnt, params)
|
|
480
495
|
}
|
|
481
496
|
},
|
|
@@ -140,7 +140,7 @@ hooks.add('tableMenuModule', {
|
|
|
140
140
|
}
|
|
141
141
|
ctxMenuStore[property] = selectItem || menuList[0]
|
|
142
142
|
} else if (ctxMenuStore[property] && (globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ENTER) || globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.SPACEBAR))) {
|
|
143
|
-
|
|
143
|
+
$xeTable.ctxMenuLinkEvent(evnt, ctxMenuStore[property])
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
handleOpenMenuEvent,
|
|
@@ -886,6 +886,7 @@ export default defineComponent({
|
|
|
886
886
|
computeBodyMenu,
|
|
887
887
|
computeFooterMenu,
|
|
888
888
|
computeIsMenu,
|
|
889
|
+
computeMenuList,
|
|
889
890
|
computeMenuOpts,
|
|
890
891
|
computeExportOpts,
|
|
891
892
|
computeImportOpts,
|
|
@@ -1951,11 +1952,11 @@ export default defineComponent({
|
|
|
1951
1952
|
}
|
|
1952
1953
|
if (xLeftCornerEl) {
|
|
1953
1954
|
xLeftCornerEl.style.width = scrollbarXToTop ? `${osbWidth}px` : ''
|
|
1954
|
-
xLeftCornerEl.style.display = scrollbarXToTop ? (
|
|
1955
|
+
xLeftCornerEl.style.display = scrollbarXToTop ? (overflowX && osbHeight ? 'block' : '') : ''
|
|
1955
1956
|
}
|
|
1956
1957
|
if (xRightCornerEl) {
|
|
1957
1958
|
xRightCornerEl.style.width = scrollbarXToTop ? '' : `${osbWidth}px`
|
|
1958
|
-
xRightCornerEl.style.display = scrollbarXToTop ? '' : (
|
|
1959
|
+
xRightCornerEl.style.display = scrollbarXToTop ? '' : (overflowX && osbHeight ? 'block' : '')
|
|
1959
1960
|
}
|
|
1960
1961
|
|
|
1961
1962
|
const scrollYVirtualEl = refScrollYVirtualElem.value
|
|
@@ -1967,7 +1968,7 @@ export default defineComponent({
|
|
|
1967
1968
|
const yTopCornerEl = refScrollYTopCornerElem.value
|
|
1968
1969
|
if (yTopCornerEl) {
|
|
1969
1970
|
yTopCornerEl.style.height = `${headerHeight}px`
|
|
1970
|
-
yTopCornerEl.style.display = headerHeight ? 'block' : ''
|
|
1971
|
+
yTopCornerEl.style.display = overflowY && headerHeight ? 'block' : ''
|
|
1971
1972
|
}
|
|
1972
1973
|
const yWrapperEl = refScrollYWrapperElem.value
|
|
1973
1974
|
if (yWrapperEl) {
|
|
@@ -1978,7 +1979,7 @@ export default defineComponent({
|
|
|
1978
1979
|
if (yBottomCornerEl) {
|
|
1979
1980
|
yBottomCornerEl.style.height = `${footerHeight}px`
|
|
1980
1981
|
yBottomCornerEl.style.top = `${headerHeight + bodyHeight}px`
|
|
1981
|
-
yBottomCornerEl.style.display = footerHeight ? 'block' : ''
|
|
1982
|
+
yBottomCornerEl.style.display = overflowY && footerHeight ? 'block' : ''
|
|
1982
1983
|
}
|
|
1983
1984
|
|
|
1984
1985
|
const rowExpandEl = refRowExpandElem.value
|
|
@@ -6231,8 +6232,8 @@ export default defineComponent({
|
|
|
6231
6232
|
const handleGlobalKeydownEvent = (evnt: KeyboardEvent) => {
|
|
6232
6233
|
// 该行为只对当前激活的表格有效
|
|
6233
6234
|
if (internalData.isActivated) {
|
|
6234
|
-
|
|
6235
|
-
const { mouseConfig, keyboardConfig, treeConfig, editConfig, highlightCurrentRow } = props
|
|
6235
|
+
$xeTable.preventEvent(evnt, 'event.keydown', null, () => {
|
|
6236
|
+
const { mouseConfig, keyboardConfig, treeConfig, editConfig, highlightCurrentRow, highlightCurrentColumn } = props
|
|
6236
6237
|
const { ctxMenuStore, editStore, currentRow } = reactData
|
|
6237
6238
|
const { afterFullData } = internalData
|
|
6238
6239
|
const isMenu = computeIsMenu.value
|
|
@@ -6243,6 +6244,7 @@ export default defineComponent({
|
|
|
6243
6244
|
const treeOpts = computeTreeOpts.value
|
|
6244
6245
|
const menuList = computeMenuList.value
|
|
6245
6246
|
const rowOpts = computeRowOpts.value
|
|
6247
|
+
const columnOpts = computeColumnOpts.value
|
|
6246
6248
|
const { selected, actived } = editStore
|
|
6247
6249
|
const childrenField = treeOpts.children || treeOpts.childrenField
|
|
6248
6250
|
const keyCode = evnt.keyCode
|
|
@@ -6281,7 +6283,7 @@ export default defineComponent({
|
|
|
6281
6283
|
if ($xeTable.closeMenu) {
|
|
6282
6284
|
$xeTable.closeMenu()
|
|
6283
6285
|
}
|
|
6284
|
-
|
|
6286
|
+
$xeTable.closeFilter()
|
|
6285
6287
|
if (keyboardConfig && keyboardOpts.isEsc) {
|
|
6286
6288
|
// 如果是激活编辑状态,则取消编辑
|
|
6287
6289
|
if (actived.row) {
|
|
@@ -6387,20 +6389,29 @@ export default defineComponent({
|
|
|
6387
6389
|
const params = {
|
|
6388
6390
|
$table: $xeTable,
|
|
6389
6391
|
row: targetRow,
|
|
6390
|
-
rowIndex:
|
|
6391
|
-
$rowIndex:
|
|
6392
|
+
rowIndex: $xeTable.getRowIndex(targetRow),
|
|
6393
|
+
$rowIndex: $xeTable.getVMRowIndex(targetRow)
|
|
6392
6394
|
}
|
|
6393
|
-
|
|
6394
|
-
.then(() =>
|
|
6395
|
-
.then(() =>
|
|
6395
|
+
$xeTable.setTreeExpand(currentRow, true)
|
|
6396
|
+
.then(() => $xeTable.scrollToRow(targetRow))
|
|
6397
|
+
.then(() => $xeTable.triggerCurrentRowEvent(evnt, params))
|
|
6396
6398
|
}
|
|
6397
6399
|
}
|
|
6398
6400
|
}
|
|
6399
6401
|
} else if (operArrow && keyboardConfig && keyboardOpts.isArrow) {
|
|
6400
6402
|
if (!isEditStatus) {
|
|
6401
6403
|
// 如果按下了方向键
|
|
6402
|
-
if (selected.row && selected.column) {
|
|
6404
|
+
if (mouseOpts.selected && selected.row && selected.column) {
|
|
6403
6405
|
$xeTable.moveArrowSelected(selected.args, isLeftArrow, isUpArrow, isRightArrow, isDwArrow, evnt)
|
|
6406
|
+
} else {
|
|
6407
|
+
// 当前行按键上下移动
|
|
6408
|
+
if ((isUpArrow || isDwArrow) && (rowOpts.isCurrent || highlightCurrentRow)) {
|
|
6409
|
+
$xeTable.moveCurrentRow(isUpArrow, isDwArrow, evnt)
|
|
6410
|
+
}
|
|
6411
|
+
// 当前行按键左右移动
|
|
6412
|
+
if ((isLeftArrow || isRightArrow) && (columnOpts.isCurrent || highlightCurrentColumn)) {
|
|
6413
|
+
$xeTable.moveCurrentColumn(isLeftArrow, isRightArrow, evnt)
|
|
6414
|
+
}
|
|
6404
6415
|
}
|
|
6405
6416
|
}
|
|
6406
6417
|
} else if (isTab && keyboardConfig && keyboardOpts.isTab) {
|
|
@@ -6441,9 +6452,9 @@ export default defineComponent({
|
|
|
6441
6452
|
if (keyboardOpts.isDel && isEnableConf(editConfig) && (selected.row || selected.column)) {
|
|
6442
6453
|
const params = {
|
|
6443
6454
|
row: selected.row,
|
|
6444
|
-
rowIndex:
|
|
6455
|
+
rowIndex: $xeTable.getRowIndex(selected.row),
|
|
6445
6456
|
column: selected.column,
|
|
6446
|
-
columnIndex:
|
|
6457
|
+
columnIndex: $xeTable.getColumnIndex(selected.column),
|
|
6447
6458
|
$table: $xeTable,
|
|
6448
6459
|
$grid: $xeGrid
|
|
6449
6460
|
}
|
|
@@ -6466,14 +6477,14 @@ export default defineComponent({
|
|
|
6466
6477
|
evnt.preventDefault()
|
|
6467
6478
|
const params = {
|
|
6468
6479
|
row: parentRow,
|
|
6469
|
-
rowIndex:
|
|
6470
|
-
$rowIndex:
|
|
6480
|
+
rowIndex: $xeTable.getRowIndex(parentRow),
|
|
6481
|
+
$rowIndex: $xeTable.getVMRowIndex(parentRow),
|
|
6471
6482
|
$table: $xeTable,
|
|
6472
6483
|
$grid: $xeGrid
|
|
6473
6484
|
}
|
|
6474
|
-
|
|
6475
|
-
.then(() =>
|
|
6476
|
-
.then(() =>
|
|
6485
|
+
$xeTable.setTreeExpand(parentRow, false)
|
|
6486
|
+
.then(() => $xeTable.scrollToRow(parentRow))
|
|
6487
|
+
.then(() => $xeTable.triggerCurrentRowEvent(evnt, params))
|
|
6477
6488
|
}
|
|
6478
6489
|
} else if (keyboardConfig && isEnableConf(editConfig) && keyboardOpts.isEdit && !hasCtrlKey && !hasMetaKey && (isSpacebar || (keyCode >= 48 && keyCode <= 57) || (keyCode >= 65 && keyCode <= 90) || (keyCode >= 96 && keyCode <= 111) || (keyCode >= 186 && keyCode <= 192) || (keyCode >= 219 && keyCode <= 222))) {
|
|
6479
6490
|
const { editMode, editMethod } = keyboardOpts
|
|
@@ -6486,9 +6497,9 @@ export default defineComponent({
|
|
|
6486
6497
|
const beforeEditMethod = editOpts.beforeEditMethod || editOpts.activeMethod
|
|
6487
6498
|
const params = {
|
|
6488
6499
|
row: selected.row,
|
|
6489
|
-
rowIndex:
|
|
6500
|
+
rowIndex: $xeTable.getRowIndex(selected.row),
|
|
6490
6501
|
column: selected.column,
|
|
6491
|
-
columnIndex:
|
|
6502
|
+
columnIndex: $xeTable.getColumnIndex(selected.column),
|
|
6492
6503
|
$table: $xeTable,
|
|
6493
6504
|
$grid: $xeGrid
|
|
6494
6505
|
}
|
|
@@ -9354,6 +9365,7 @@ export default defineComponent({
|
|
|
9354
9365
|
updateScrollXSpace () {
|
|
9355
9366
|
const { isGroup, scrollXLoad, overflowX, scrollXWidth } = reactData
|
|
9356
9367
|
const { visibleColumn, scrollXStore, elemStore, fullColumnIdData } = internalData
|
|
9368
|
+
const mouseOpts = computeMouseOpts.value
|
|
9357
9369
|
const tableBody = refTableBody.value
|
|
9358
9370
|
const tableBodyElem = tableBody ? tableBody.$el as HTMLDivElement : null
|
|
9359
9371
|
if (tableBodyElem) {
|
|
@@ -9417,6 +9429,10 @@ export default defineComponent({
|
|
|
9417
9429
|
if (scrollXSpaceEl) {
|
|
9418
9430
|
scrollXSpaceEl.style.width = `${ySpaceWidth}px`
|
|
9419
9431
|
}
|
|
9432
|
+
|
|
9433
|
+
if (isScrollXBig && mouseOpts.area) {
|
|
9434
|
+
errLog('vxe.error.notProp', ['mouse-config.area'])
|
|
9435
|
+
}
|
|
9420
9436
|
nextTick(() => {
|
|
9421
9437
|
updateStyle()
|
|
9422
9438
|
})
|
|
@@ -9427,6 +9443,7 @@ export default defineComponent({
|
|
|
9427
9443
|
const { isAllOverflow, scrollYLoad, expandColumn } = reactData
|
|
9428
9444
|
const { scrollYStore, elemStore, isResizeCellHeight, afterFullData, fullAllDataRowIdData, rowExpandedMaps } = internalData
|
|
9429
9445
|
const { startIndex } = scrollYStore
|
|
9446
|
+
const mouseOpts = computeMouseOpts.value
|
|
9430
9447
|
const expandOpts = computeExpandOpts.value
|
|
9431
9448
|
const rowOpts = computeRowOpts.value
|
|
9432
9449
|
const cellOpts = computeCellOpts.value
|
|
@@ -9508,6 +9525,10 @@ export default defineComponent({
|
|
|
9508
9525
|
reactData.scrollYTop = scrollYTop
|
|
9509
9526
|
reactData.scrollYHeight = scrollYHeight
|
|
9510
9527
|
reactData.isScrollYBig = isScrollYBig
|
|
9528
|
+
|
|
9529
|
+
if (isScrollYBig && mouseOpts.area) {
|
|
9530
|
+
errLog('vxe.error.notProp', ['mouse-config.area'])
|
|
9531
|
+
}
|
|
9511
9532
|
return nextTick().then(() => {
|
|
9512
9533
|
updateStyle()
|
|
9513
9534
|
})
|
|
@@ -10419,7 +10440,7 @@ export default defineComponent({
|
|
|
10419
10440
|
}
|
|
10420
10441
|
|
|
10421
10442
|
nextTick(() => {
|
|
10422
|
-
const { data, exportConfig, importConfig, treeConfig, showOverflow } = props
|
|
10443
|
+
const { data, exportConfig, importConfig, treeConfig, showOverflow, highlightCurrentRow, highlightCurrentColumn } = props
|
|
10423
10444
|
const { scrollXStore, scrollYStore } = internalData
|
|
10424
10445
|
const editOpts = computeEditOpts.value
|
|
10425
10446
|
const treeOpts = computeTreeOpts.value
|
|
@@ -10431,6 +10452,10 @@ export default defineComponent({
|
|
|
10431
10452
|
const mouseOpts = computeMouseOpts.value
|
|
10432
10453
|
const exportOpts = computeExportOpts.value
|
|
10433
10454
|
const importOpts = computeImportOpts.value
|
|
10455
|
+
const currentRowOpts = computeCurrentRowOpts.value
|
|
10456
|
+
const currentColumnOpts = computeCurrentColumnOpts.value
|
|
10457
|
+
const virtualXOpts = computeVirtualXOpts.value
|
|
10458
|
+
const virtualYOpts = computeVirtualYOpts.value
|
|
10434
10459
|
|
|
10435
10460
|
if (props.rowId) {
|
|
10436
10461
|
warnLog('vxe.error.delProp', ['row-id', 'row-config.keyField'])
|
|
@@ -10533,6 +10558,28 @@ export default defineComponent({
|
|
|
10533
10558
|
warnLog('vxe.error.delProp', ['checkbox-config.halfField', 'checkbox-config.indeterminateField'])
|
|
10534
10559
|
}
|
|
10535
10560
|
|
|
10561
|
+
if ((rowOpts.isCurrent || highlightCurrentRow) && !XEUtils.isBoolean(currentRowOpts.isFollowSelected)) {
|
|
10562
|
+
warnLog('vxe.error.notConflictProp', ['row-config.isCurrent', 'current-row-config.isFollowSelected'])
|
|
10563
|
+
}
|
|
10564
|
+
if ((columnOpts.isCurrent || highlightCurrentColumn) && !XEUtils.isBoolean(currentColumnOpts.isFollowSelected)) {
|
|
10565
|
+
warnLog('vxe.error.notConflictProp', ['column-config.isCurrent', 'current-column-config.isFollowSelected'])
|
|
10566
|
+
}
|
|
10567
|
+
|
|
10568
|
+
// 如果不支持虚拟滚动
|
|
10569
|
+
if (props.spanMethod) {
|
|
10570
|
+
if (virtualXOpts.enabled) {
|
|
10571
|
+
warnLog('vxe.error.notConflictProp', ['span-method', 'virtual-x-config.enabled=false'])
|
|
10572
|
+
}
|
|
10573
|
+
if (virtualYOpts.enabled) {
|
|
10574
|
+
warnLog('vxe.error.notConflictProp', ['span-method', 'virtual-y-config.enabled=false'])
|
|
10575
|
+
}
|
|
10576
|
+
}
|
|
10577
|
+
if (props.footerSpanMethod) {
|
|
10578
|
+
if (virtualXOpts.enabled) {
|
|
10579
|
+
warnLog('vxe.error.notConflictProp', ['footer-span-method', 'virtual-x-config.enabled=false'])
|
|
10580
|
+
}
|
|
10581
|
+
}
|
|
10582
|
+
|
|
10536
10583
|
// 检查是否有安装需要的模块
|
|
10537
10584
|
if (props.editConfig && !$xeTable.insert) {
|
|
10538
10585
|
errLog('vxe.error.reqModule', ['Edit'])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|