vxe-table 4.15.0-beta.4 → 4.15.0-beta.6
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 +2 -1
- package/es/locale/lang/de-DE.js +2 -1
- package/es/locale/lang/en-US.js +2 -1
- package/es/locale/lang/es-ES.js +2 -1
- package/es/locale/lang/fr-FR.js +2 -1
- package/es/locale/lang/hu-HU.js +2 -1
- package/es/locale/lang/hy-AM.js +2 -1
- package/es/locale/lang/id-ID.js +2 -1
- package/es/locale/lang/it-IT.js +2 -1
- package/es/locale/lang/ja-JP.js +2 -1
- package/es/locale/lang/ko-KR.js +2 -1
- package/es/locale/lang/ms-MY.js +2 -1
- package/es/locale/lang/nb-NO.js +2 -1
- package/es/locale/lang/pt-BR.js +2 -1
- package/es/locale/lang/ru-RU.js +2 -1
- package/es/locale/lang/th-TH.js +2 -1
- package/es/locale/lang/ug-CN.js +2 -1
- package/es/locale/lang/uk-UA.js +2 -1
- package/es/locale/lang/uz-UZ.js +2 -1
- package/es/locale/lang/vi-VN.js +2 -1
- package/es/locale/lang/zh-CHT.js +2 -1
- package/es/locale/lang/zh-CN.js +2 -1
- package/es/style.css +1 -1
- package/es/table/module/filter/hook.js +9 -22
- package/es/table/module/keyboard/hook.js +2 -2
- package/es/table/src/table.js +33 -9
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +22 -43
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +2 -1
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +2 -1
- package/lib/locale/lang/de-DE.js +2 -1
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +2 -1
- package/lib/locale/lang/en-US.js +2 -1
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +2 -1
- package/lib/locale/lang/es-ES.js +2 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +2 -1
- package/lib/locale/lang/fr-FR.js +2 -1
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +2 -1
- package/lib/locale/lang/hu-HU.js +2 -1
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +2 -1
- package/lib/locale/lang/hy-AM.js +2 -1
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +2 -1
- package/lib/locale/lang/id-ID.js +2 -1
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +2 -1
- package/lib/locale/lang/it-IT.js +2 -1
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +2 -1
- package/lib/locale/lang/ja-JP.js +2 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +2 -1
- package/lib/locale/lang/ko-KR.js +2 -1
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +2 -1
- package/lib/locale/lang/ms-MY.js +2 -1
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +2 -1
- package/lib/locale/lang/nb-NO.js +2 -1
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +2 -1
- package/lib/locale/lang/pt-BR.js +2 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +2 -1
- package/lib/locale/lang/ru-RU.js +2 -1
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +2 -1
- package/lib/locale/lang/th-TH.js +2 -1
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +2 -1
- package/lib/locale/lang/ug-CN.js +2 -1
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +2 -1
- package/lib/locale/lang/uk-UA.js +2 -1
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +2 -1
- package/lib/locale/lang/uz-UZ.js +2 -1
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +2 -1
- package/lib/locale/lang/vi-VN.js +2 -1
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +2 -1
- package/lib/locale/lang/zh-CHT.js +2 -1
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +2 -1
- package/lib/locale/lang/zh-CN.js +2 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +2 -1
- package/lib/style.css +1 -1
- package/lib/table/module/filter/hook.js +10 -33
- package/lib/table/module/filter/hook.min.js +1 -1
- package/lib/table/module/keyboard/hook.js +2 -2
- package/lib/table/module/keyboard/hook.min.js +1 -1
- package/lib/table/src/table.js +6 -5
- 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 +2 -1
- package/packages/locale/lang/de-DE.ts +2 -1
- package/packages/locale/lang/en-US.ts +2 -1
- package/packages/locale/lang/es-ES.ts +2 -1
- package/packages/locale/lang/fr-FR.ts +2 -1
- package/packages/locale/lang/hu-HU.ts +2 -1
- package/packages/locale/lang/hy-AM.ts +2 -1
- package/packages/locale/lang/id-ID.ts +2 -1
- package/packages/locale/lang/it-IT.ts +2 -1
- package/packages/locale/lang/ja-JP.ts +2 -1
- package/packages/locale/lang/ko-KR.ts +2 -1
- package/packages/locale/lang/ms-MY.ts +2 -1
- package/packages/locale/lang/nb-NO.ts +2 -1
- package/packages/locale/lang/pt-BR.ts +2 -1
- package/packages/locale/lang/ru-RU.ts +2 -1
- package/packages/locale/lang/th-TH.ts +2 -1
- package/packages/locale/lang/ug-CN.ts +2 -1
- package/packages/locale/lang/uk-UA.ts +2 -1
- package/packages/locale/lang/uz-UZ.ts +2 -1
- package/packages/locale/lang/vi-VN.ts +2 -1
- package/packages/locale/lang/zh-CHT.ts +2 -1
- package/packages/locale/lang/zh-CN.ts +2 -1
- package/packages/table/module/filter/hook.ts +10 -24
- package/packages/table/module/keyboard/hook.ts +2 -2
- package/packages/table/src/table.ts +33 -10
- /package/es/{iconfont.1753251273753.ttf → iconfont.1753325046532.ttf} +0 -0
- /package/es/{iconfont.1753251273753.woff → iconfont.1753325046532.woff} +0 -0
- /package/es/{iconfont.1753251273753.woff2 → iconfont.1753325046532.woff2} +0 -0
- /package/lib/{iconfont.1753251273753.ttf → iconfont.1753325046532.ttf} +0 -0
- /package/lib/{iconfont.1753251273753.woff → iconfont.1753325046532.woff} +0 -0
- /package/lib/{iconfont.1753251273753.woff2 → iconfont.1753325046532.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.6";
|
|
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.6",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.6"}`;
|
|
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.6",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.6",
|
|
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",
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'فقط اسحب المستوى الأول',
|
|
56
56
|
treeDragChild: 'لا يمكن للآباء السحب إلى أطفالهم',
|
|
57
57
|
reqPlugin: '"{1}" لم يتم تثبيته على https://vxeui.com/other',
|
|
58
|
-
errMaxRow: 'تجاوز الحد الأقصى لصفوف البيانات المدعومة {0} ، قد يتسبب ذلك في حدوث خطأ'
|
|
58
|
+
errMaxRow: 'تجاوز الحد الأقصى لصفوف البيانات المدعومة {0} ، قد يتسبب ذلك في حدوث خطأ',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'لا توجد بيانات حتى الآن',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Ziehen Sie nur die erste Ebene',
|
|
56
56
|
treeDragChild: 'Eltern können nicht zu ihren eigenen Kindern ziehen',
|
|
57
57
|
reqPlugin: '"{1}" ist nicht unter https://vxeui.com/Otheriationation installiert',
|
|
58
|
-
errMaxRow: 'Wenn das maximal unterstützte Datenvolumen {0} Zeilen überschreitet, kann dies einen Fehler verursachen'
|
|
58
|
+
errMaxRow: 'Wenn das maximal unterstützte Datenvolumen {0} Zeilen überschreitet, kann dies einen Fehler verursachen',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Noch keine Daten',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Only drag the first level',
|
|
56
56
|
treeDragChild: 'Parents cannot drag to their own children',
|
|
57
57
|
reqPlugin: '"{1}" is not installed at https://vxeui.com/other{0}/#/{1}/install',
|
|
58
|
-
errMaxRow: 'Exceeding the maximum supported data volume {0} rows, this may cause an error'
|
|
58
|
+
errMaxRow: 'Exceeding the maximum supported data volume {0} rows, this may cause an error',
|
|
59
|
+
useNew: '{0} is no longer recommended for use. Please use the new method {1} instead.'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'No data yet',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Solo arrastre el primer nivel',
|
|
56
56
|
treeDragChild: 'Los padres no pueden arrastrar a sus propios hijos',
|
|
57
57
|
reqPlugin: '"{1}" no está instalado en https://vxeui.com/other{0 /#/{1}/install',
|
|
58
|
-
errMaxRow: 'Al exceder las filas de volumen de datos máximos admitidos, esto puede causar un error'
|
|
58
|
+
errMaxRow: 'Al exceder las filas de volumen de datos máximos admitidos, esto puede causar un error',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Aún no hay datos',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Faites seulement glisser le premier niveau',
|
|
56
56
|
treeDragChild: 'Les parents ne peuvent pas traîner à leurs propres enfants',
|
|
57
57
|
reqPlugin: "\"{1}\" n'est pas installé sur https://vxeui.com/other {0,/#/{1 }/install",
|
|
58
|
-
errMaxRow: 'Dépassant les lignes maximales du volume de données prises en charge {0}, cela peut entraîner une erreur'
|
|
58
|
+
errMaxRow: 'Dépassant les lignes maximales du volume de données prises en charge {0}, cela peut entraîner une erreur',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Pas encore de données',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Csak húzza az első szintet',
|
|
56
56
|
treeDragChild: 'A szülők nem tudnak elhúzni a saját gyermekeiket',
|
|
57
57
|
reqPlugin: 'A "{1}" nincs telepítve a https://vxeui.com/other oldalon {0 }/#/ (1 }/install',
|
|
58
|
-
errMaxRow: 'A maximális támogatott adatmennyiség {0} sorok túllépése, ez hibát okozhat'
|
|
58
|
+
errMaxRow: 'A maximális támogatott adatmennyiség {0} sorok túllépése, ez hibát okozhat',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Még nincs adat',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: '只能拖拽第一层级',
|
|
56
56
|
treeDragChild: '父级不能拖拽到自己的子级中',
|
|
57
57
|
reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/install',
|
|
58
|
-
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误'
|
|
58
|
+
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: '暂无数据',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Hanya menyeret level pertama',
|
|
56
56
|
treeDragChild: 'Orang tua tidak bisa menyeret ke anak -anak mereka sendiri',
|
|
57
57
|
reqPlugin: '"{1}" tidak diinstal di https://vxeUi.com/other{ 0',
|
|
58
|
-
errMaxRow: 'Melebihi volume data yang didukung maksimum {0}, ini dapat menyebabkan kesalahan'
|
|
58
|
+
errMaxRow: 'Melebihi volume data yang didukung maksimum {0}, ini dapat menyebabkan kesalahan',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Belum ada data',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Trascina solo il primo livello',
|
|
56
56
|
treeDragChild: 'I genitori non possono trascinare con i propri figli',
|
|
57
57
|
reqPlugin: '"{1}" non è installato su https://vxeui.com/other{0}/#/{1}/install',
|
|
58
|
-
errMaxRow: 'Superando il volume dei dati supportato massimo {0} righe, questo può causare un errore'
|
|
58
|
+
errMaxRow: 'Superando il volume dei dati supportato massimo {0} righe, questo può causare un errore',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Nessun dati ancora',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: '最初のレベルのみをドラッグします',
|
|
56
56
|
treeDragChild: '親は自分の子供にドラッグすることはできません',
|
|
57
57
|
reqPlugin: '「{1}」はhttps://vxeui.com/other {0 }/#/ {1 }/installにインストールされていません',
|
|
58
|
-
errMaxRow: 'サポートされている最大データボリューム{0}行を超えると、これによりエラーが発生する可能性があります'
|
|
58
|
+
errMaxRow: 'サポートされている最大データボリューム{0}行を超えると、これによりエラーが発生する可能性があります',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'まだデータはありません',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: '첫 번째 레벨 만 드래그하십시오',
|
|
56
56
|
treeDragChild: '부모는 자신의 자녀에게 끌 수 없습니다',
|
|
57
57
|
reqPlugin: '"{1}"은 https://vxeui.com/other {0 }/#/1 }/install에 설치되지 않았습니다',
|
|
58
|
-
errMaxRow: '최대 지원되는 데이터 볼륨 {0} 행을 초과하면 오류가 발생할 수 있습니다.'
|
|
58
|
+
errMaxRow: '최대 지원되는 데이터 볼륨 {0} 행을 초과하면 오류가 발생할 수 있습니다.',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: '아직 데이터가 없습니다',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Hanya seret tahap pertama',
|
|
56
56
|
treeDragChild: 'Ibu bapa tidak boleh menyeret anak mereka sendiri',
|
|
57
57
|
reqPlugin: '"{1}" tidak dipasang di https://vxeui.com/other (0 )/#/ = (1 )/Install',
|
|
58
|
-
errMaxRow: 'Melebihi baris data yang disokong maksimum {0} baris, ini boleh menyebabkan ralat'
|
|
58
|
+
errMaxRow: 'Melebihi baris data yang disokong maksimum {0} baris, ini boleh menyebabkan ralat',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Belum ada data',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Bare dra det første nivået',
|
|
56
56
|
treeDragChild: 'Foreldre kan ikke dra til sine egne barn',
|
|
57
57
|
reqPlugin: '"{1}" er ikke installert på http',
|
|
58
|
-
errMaxRow: 'Overskridende det maksimale støttede datavolumet {0} Rader, dette kan føre til en feil'
|
|
58
|
+
errMaxRow: 'Overskridende det maksimale støttede datavolumet {0} Rader, dette kan føre til en feil',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Ingen data ennå',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Apenas arraste o primeiro nível',
|
|
56
56
|
treeDragChild: 'Os pais não podem arrastar para seus próprios filhos',
|
|
57
57
|
reqPlugin: '"{1}" não está instalado em https://vxeui.com/other {0a }/# {1age/install',
|
|
58
|
-
errMaxRow: 'Excedendo o volume máximo de dados suportado {0} linhas, isso pode causar um erro'
|
|
58
|
+
errMaxRow: 'Excedendo o volume máximo de dados suportado {0} linhas, isso pode causar um erro',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Ainda não há dados',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Только перетащите первый уровень',
|
|
56
56
|
treeDragChild: 'Родители не могут тащить своих детей',
|
|
57
57
|
reqPlugin: '"{1}" не установлен по адресу https://vxeui.com/otherbe',
|
|
58
|
-
errMaxRow: 'Превышение максимального поддерживаемого объема данных {0} строк, это может вызвать ошибку'
|
|
58
|
+
errMaxRow: 'Превышение максимального поддерживаемого объема данных {0} строк, это может вызвать ошибку',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Нет данных пока',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'ลากระดับแรกเท่านั้น',
|
|
56
56
|
treeDragChild: 'พ่อแม่ไม่สามารถลากลูกของตัวเองได้',
|
|
57
57
|
reqPlugin: '"{1}" ไม่ได้ติดตั้งที่ https://vxeui.com/other {0}/#/{1}/install',
|
|
58
|
-
errMaxRow: 'เกินปริมาณข้อมูลที่รองรับสูงสุด {0} แถวซึ่งอาจทำให้เกิดข้อผิดพลาด'
|
|
58
|
+
errMaxRow: 'เกินปริมาณข้อมูลที่รองรับสูงสุด {0} แถวซึ่งอาจทำให้เกิดข้อผิดพลาด',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'ยังไม่มีข้อมูล',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: '只能拖拽第一层级',
|
|
56
56
|
treeDragChild: '父级不能拖拽到自己的子级中',
|
|
57
57
|
reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/install',
|
|
58
|
-
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误'
|
|
58
|
+
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'ھازىرچە ئۇچۇر يوق',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Тільки перетягніть перший рівень',
|
|
56
56
|
treeDragChild: 'Батьки не можуть тягнути до своїх дітей',
|
|
57
57
|
reqPlugin: '"{1}" не встановлюється на https://vxeui.com/other інд.',
|
|
58
|
-
errMaxRow: 'Перевищення максимально підтримуваного обсягу даних {0} рядків це може спричинити помилку'
|
|
58
|
+
errMaxRow: 'Перевищення максимально підтримуваного обсягу даних {0} рядків це може спричинити помилку',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Ще немає даних',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Faqat birinchi darajani torting',
|
|
56
56
|
treeDragChild: "Ota-onalar o'z farzandlariga sudrab ketolmaydilar",
|
|
57
57
|
reqPlugin: "\"{1}\" https://vxeui.com/oter{/#/#/#/install-da o'rnatilmagan",
|
|
58
|
-
errMaxRow: "Maksimal qo'llab-quvvatlanadigan ma'lumotlar hajmi {0} qatorlar hajmidan oshib ketishi mumkin, bu xatoga olib kelishi mumkin"
|
|
58
|
+
errMaxRow: "Maksimal qo'llab-quvvatlanadigan ma'lumotlar hajmi {0} qatorlar hajmidan oshib ketishi mumkin, bu xatoga olib kelishi mumkin",
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: "Hali ma'lumot yo'q",
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: 'Chỉ kéo cấp độ đầu tiên',
|
|
56
56
|
treeDragChild: 'Cha mẹ không thể kéo đến con cái của họ',
|
|
57
57
|
reqPlugin: '"{1}" không được cài đặt tại https://vxeui.com/other/khác',
|
|
58
|
-
errMaxRow: 'Vượt quá khối lượng dữ liệu được hỗ trợ tối đa {0}, điều này có thể gây ra lỗi'
|
|
58
|
+
errMaxRow: 'Vượt quá khối lượng dữ liệu được hỗ trợ tối đa {0}, điều này có thể gây ra lỗi',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: 'Chưa có dữ liệu',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: '只能拖拽第一層級',
|
|
56
56
|
treeDragChild: '父級不能拖拽到自己的子級中',
|
|
57
57
|
reqPlugin: '擴展插件未安裝 "{1}" https://vxeui.com/other{0}/#/{1}/install',
|
|
58
|
-
errMaxRow: '超過支持的最大數據量 {0} 行,這可能會導致出現錯誤'
|
|
58
|
+
errMaxRow: '超過支持的最大數據量 {0} 行,這可能會導致出現錯誤',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: '暫無數據',
|
|
@@ -55,7 +55,8 @@ export default {
|
|
|
55
55
|
treeCrossDrag: '只能拖拽第一层级',
|
|
56
56
|
treeDragChild: '父级不能拖拽到自己的子级中',
|
|
57
57
|
reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/install',
|
|
58
|
-
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误'
|
|
58
|
+
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误',
|
|
59
|
+
useNew: '{0} 已经不建议使用,请使用新的方式 {1}'
|
|
59
60
|
},
|
|
60
61
|
table: {
|
|
61
62
|
emptyText: '暂无数据',
|
|
@@ -5,7 +5,7 @@ import { toFilters, handleFieldOrColumn, getRefElem } from '../../src/util'
|
|
|
5
5
|
import { toCssUnit, triggerEvent, getDomNode } from '../../../ui/src/dom'
|
|
6
6
|
import { isEnableConf } from '../../../ui/src/utils'
|
|
7
7
|
|
|
8
|
-
import type { TableFilterMethods, TableFilterPrivateMethods } from '../../../../types'
|
|
8
|
+
import type { TableFilterMethods, TableFilterPrivateMethods, VxeTableDefines } from '../../../../types'
|
|
9
9
|
|
|
10
10
|
const { renderer, hooks } = VxeUI
|
|
11
11
|
|
|
@@ -72,7 +72,7 @@ hooks.add('tableFilterModule', {
|
|
|
72
72
|
* @param {ColumnInfo} column 列配置
|
|
73
73
|
* @param {Object} params 参数
|
|
74
74
|
*/
|
|
75
|
-
triggerFilterEvent (evnt: MouseEvent, column, params) {
|
|
75
|
+
triggerFilterEvent (evnt: MouseEvent, column: VxeTableDefines.ColumnInfo, params) {
|
|
76
76
|
const { initStore, filterStore } = reactData
|
|
77
77
|
const { elemStore } = internalData
|
|
78
78
|
if (filterStore.column === column && filterStore.visible) {
|
|
@@ -84,27 +84,9 @@ hooks.add('tableFilterModule', {
|
|
|
84
84
|
const { transfer } = filterOpts
|
|
85
85
|
const tableRect = el.getBoundingClientRect()
|
|
86
86
|
const btnElem = evnt.currentTarget as HTMLDivElement
|
|
87
|
-
|
|
88
|
-
const compConf = isEnableConf(filterRender) ? renderer.get(filterRender.name) : null
|
|
89
|
-
const frMethod = column.filterRecoverMethod || (compConf ? (compConf.tableFilterRecoverMethod || compConf.filterRecoverMethod) : null)
|
|
87
|
+
$xeTable.handleFilterOptions(column)
|
|
90
88
|
internalData._currFilterParams = params
|
|
91
|
-
|
|
92
|
-
multiple: filterMultiple,
|
|
93
|
-
options: filters,
|
|
94
|
-
column,
|
|
95
|
-
style: null
|
|
96
|
-
})
|
|
97
|
-
// 复原状态
|
|
98
|
-
filterStore.options.forEach((option: any) => {
|
|
99
|
-
const { _checked, checked } = option
|
|
100
|
-
option._checked = checked
|
|
101
|
-
if (!checked && _checked !== checked) {
|
|
102
|
-
if (frMethod) {
|
|
103
|
-
frMethod({ option, column, $table: $xeTable })
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
})
|
|
107
|
-
this.checkFilterOptions()
|
|
89
|
+
filterStore.style = null
|
|
108
90
|
filterStore.visible = true
|
|
109
91
|
initStore.filter = true
|
|
110
92
|
nextTick(() => {
|
|
@@ -271,12 +253,16 @@ hooks.add('tableFilterModule', {
|
|
|
271
253
|
* @param {Array} options 选项
|
|
272
254
|
*/
|
|
273
255
|
setFilter (fieldOrColumn, options, isUpdate) {
|
|
256
|
+
const { filterStore } = reactData
|
|
274
257
|
const column = handleFieldOrColumn($xeTable, fieldOrColumn)
|
|
275
258
|
if (column && column.filters) {
|
|
276
259
|
column.filters = toFilters(options || [])
|
|
277
260
|
if (isUpdate) {
|
|
278
|
-
|
|
279
|
-
|
|
261
|
+
return $xeTable.handleColumnConfirmFilter(column, null)
|
|
262
|
+
} else {
|
|
263
|
+
if (filterStore.visible) {
|
|
264
|
+
$xeTable.handleFilterOptions(column)
|
|
265
|
+
}
|
|
280
266
|
}
|
|
281
267
|
}
|
|
282
268
|
return nextTick()
|
|
@@ -268,8 +268,8 @@ hooks.add('tableKeyboardModule', {
|
|
|
268
268
|
const checkboxOpts = computeCheckboxOpts.value
|
|
269
269
|
const mouseOpts = computeMouseOpts.value
|
|
270
270
|
const editOpts = computeEditOpts.value
|
|
271
|
-
if (mouseConfig && mouseOpts.area && $xeTable.
|
|
272
|
-
return $xeTable.
|
|
271
|
+
if (mouseConfig && mouseOpts.area && $xeTable.triggerCellAreaModownEvent) {
|
|
272
|
+
return $xeTable.triggerCellAreaModownEvent(evnt, params)
|
|
273
273
|
} else {
|
|
274
274
|
if (checkboxConfig && checkboxOpts.range) {
|
|
275
275
|
handleCheckboxRangeEvent(evnt, params)
|
|
@@ -2907,19 +2907,17 @@ export default defineVxeComponent({
|
|
|
2907
2907
|
const handleDefaultTreeExpand = () => {
|
|
2908
2908
|
const { treeConfig } = props
|
|
2909
2909
|
if (treeConfig) {
|
|
2910
|
-
const {
|
|
2910
|
+
const { fullAllDataRowIdData } = internalData
|
|
2911
2911
|
const treeOpts = computeTreeOpts.value
|
|
2912
2912
|
const { expandAll, expandRowKeys } = treeOpts
|
|
2913
|
-
const childrenField = treeOpts.children || treeOpts.childrenField
|
|
2914
2913
|
if (expandAll) {
|
|
2915
2914
|
$xeTable.setAllTreeExpand(true)
|
|
2916
2915
|
} else if (expandRowKeys) {
|
|
2917
2916
|
const defExpandeds: any[] = []
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
defExpandeds.push(matchObj.item)
|
|
2917
|
+
expandRowKeys.forEach((rowid) => {
|
|
2918
|
+
const rowRest = fullAllDataRowIdData[rowid]
|
|
2919
|
+
if (rowRest) {
|
|
2920
|
+
defExpandeds.push(rowRest.row)
|
|
2923
2921
|
}
|
|
2924
2922
|
})
|
|
2925
2923
|
$xeTable.setTreeExpand(defExpandeds, true)
|
|
@@ -6043,11 +6041,16 @@ export default defineVxeComponent({
|
|
|
6043
6041
|
return sortList
|
|
6044
6042
|
},
|
|
6045
6043
|
setFilterByEvent (evnt, fieldOrColumn, options, isUpdate) {
|
|
6044
|
+
const { filterStore } = reactData
|
|
6046
6045
|
const column = handleFieldOrColumn($xeTable, fieldOrColumn)
|
|
6047
6046
|
if (column && column.filters) {
|
|
6048
6047
|
column.filters = toFilters(options || [])
|
|
6049
6048
|
if (isUpdate) {
|
|
6050
6049
|
return $xeTable.handleColumnConfirmFilter(column, evnt)
|
|
6050
|
+
} else {
|
|
6051
|
+
if (filterStore.visible) {
|
|
6052
|
+
$xeTable.handleFilterOptions(column)
|
|
6053
|
+
}
|
|
6051
6054
|
}
|
|
6052
6055
|
}
|
|
6053
6056
|
return nextTick()
|
|
@@ -8445,6 +8448,26 @@ export default defineVxeComponent({
|
|
|
8445
8448
|
handleRefreshColumnQueue () {
|
|
8446
8449
|
reactData.reColumnFlag++
|
|
8447
8450
|
},
|
|
8451
|
+
handleFilterOptions (column) {
|
|
8452
|
+
const { filterStore } = reactData
|
|
8453
|
+
const { filters, filterMultiple, filterRender } = column
|
|
8454
|
+
const compConf = isEnableConf(filterRender) ? renderer.get(filterRender.name) : null
|
|
8455
|
+
const frMethod = column.filterRecoverMethod || (compConf ? (compConf.tableFilterRecoverMethod || compConf.filterRecoverMethod) : null)
|
|
8456
|
+
filterStore.multiple = filterMultiple
|
|
8457
|
+
filterStore.options = filters
|
|
8458
|
+
filterStore.column = column
|
|
8459
|
+
// 复原状态
|
|
8460
|
+
filterStore.options.forEach((option: any) => {
|
|
8461
|
+
const { _checked, checked } = option
|
|
8462
|
+
option._checked = checked
|
|
8463
|
+
if (!checked && _checked !== checked) {
|
|
8464
|
+
if (frMethod) {
|
|
8465
|
+
frMethod({ option, column, $table: $xeTable })
|
|
8466
|
+
}
|
|
8467
|
+
}
|
|
8468
|
+
})
|
|
8469
|
+
$xeTable.checkFilterOptions()
|
|
8470
|
+
},
|
|
8448
8471
|
preventEvent (evnt, type, args, next, end) {
|
|
8449
8472
|
let evntList = interceptor.get(type)
|
|
8450
8473
|
|
|
@@ -9395,8 +9418,8 @@ export default defineVxeComponent({
|
|
|
9395
9418
|
$xeTable.handleHeaderCellDragMousedownEvent(evnt, params)
|
|
9396
9419
|
}
|
|
9397
9420
|
}
|
|
9398
|
-
if (!triggerDrag && mouseConfig && mouseOpts.area && $xeTable.
|
|
9399
|
-
$xeTable.
|
|
9421
|
+
if (!triggerDrag && mouseConfig && mouseOpts.area && $xeTable.handleHeaderCellAreaModownEvent) {
|
|
9422
|
+
$xeTable.handleHeaderCellAreaModownEvent(evnt, Object.assign({ cell, triggerSort, triggerFilter }, params))
|
|
9400
9423
|
}
|
|
9401
9424
|
$xeTable.focus()
|
|
9402
9425
|
if ($xeTable.closeMenu) {
|
|
@@ -11955,7 +11978,7 @@ export default defineVxeComponent({
|
|
|
11955
11978
|
if (rowOpts.height && !props.showOverflow) {
|
|
11956
11979
|
warnLog('vxe.error.notProp', ['table.show-overflow'])
|
|
11957
11980
|
}
|
|
11958
|
-
if (!$xeTable.
|
|
11981
|
+
if (!$xeTable.triggerCellAreaModownEvent) {
|
|
11959
11982
|
if (props.areaConfig) {
|
|
11960
11983
|
warnLog('vxe.error.notProp', ['area-config'])
|
|
11961
11984
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|