vxe-table 3.15.17 → 3.15.19
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 -1
- package/es/locale/lang/de-DE.js +1 -1
- package/es/locale/lang/en-US.js +1 -1
- package/es/locale/lang/es-ES.js +1 -1
- package/es/locale/lang/fr-FR.d.ts +2 -0
- package/es/locale/lang/fr-FR.js +1 -1
- package/es/locale/lang/hu-HU.js +1 -1
- package/es/locale/lang/hy-AM.d.ts +2 -0
- package/es/locale/lang/hy-AM.js +1 -1
- package/es/locale/lang/id-ID.d.ts +2 -0
- package/es/locale/lang/id-ID.js +1 -1
- package/es/locale/lang/it-IT.d.ts +2 -0
- package/es/locale/lang/it-IT.js +1 -1
- package/es/locale/lang/ja-JP.js +1 -1
- package/es/locale/lang/ko-KR.js +1 -1
- package/es/locale/lang/ms-MY.d.ts +2 -0
- package/es/locale/lang/ms-MY.js +708 -0
- package/es/locale/lang/nb-NO.d.ts +2 -0
- package/es/locale/lang/nb-NO.js +1 -1
- package/es/locale/lang/pt-BR.js +1 -1
- package/es/locale/lang/ru-RU.js +1 -1
- package/es/locale/lang/th-TH.d.ts +2 -0
- package/es/locale/lang/th-TH.js +1 -1
- package/es/locale/lang/ug-CN.d.ts +2 -0
- package/es/locale/lang/ug-CN.js +1 -1
- package/es/locale/lang/uk-UA.js +1 -1
- package/es/locale/lang/uz-UZ.d.ts +2 -0
- package/es/locale/lang/uz-UZ.js +708 -0
- package/es/locale/lang/vi-VN.d.ts +2 -0
- package/es/locale/lang/vi-VN.js +1 -1
- package/es/locale/lang/zh-CHT.js +1 -1
- package/es/locale/lang/zh-CN.js +1 -1
- package/es/style.css +1 -1
- package/es/table/module/custom/panel.js +1 -1
- package/es/table/module/filter/mixin.js +10 -0
- package/es/table/render/index.js +27 -21
- package/es/table/src/body.js +2 -1
- package/es/table/src/footer.js +2 -1
- package/es/table/src/header.js +2 -1
- package/es/table/src/methods.js +54 -50
- package/es/table/src/table.js +2 -2
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +112 -80
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.d.ts +2 -0
- package/lib/locale/lang/ar-EG.js +1 -1
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +728 -0
- package/lib/locale/lang/de-DE.d.ts +2 -0
- package/lib/locale/lang/de-DE.js +1 -1
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +728 -0
- package/lib/locale/lang/en-US.js +1 -1
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +1 -1
- package/lib/locale/lang/es-ES.js +1 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +1 -1
- package/lib/locale/lang/fr-FR.d.ts +2 -0
- package/lib/locale/lang/fr-FR.js +1 -1
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +728 -0
- package/lib/locale/lang/hu-HU.js +1 -1
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +1 -1
- package/lib/locale/lang/hy-AM.d.ts +2 -0
- package/lib/locale/lang/hy-AM.js +1 -1
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +728 -0
- package/lib/locale/lang/id-ID.d.ts +2 -0
- package/lib/locale/lang/id-ID.js +1 -1
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +728 -0
- package/lib/locale/lang/it-IT.d.ts +2 -0
- package/lib/locale/lang/it-IT.js +1 -1
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +728 -0
- package/lib/locale/lang/ja-JP.js +1 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +1 -1
- package/lib/locale/lang/ko-KR.js +1 -1
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +1 -1
- package/lib/locale/lang/ms-MY.d.ts +2 -0
- package/lib/locale/lang/ms-MY.js +714 -0
- package/lib/locale/lang/ms-MY.min.js +1 -0
- package/lib/locale/lang/ms-MY.umd.js +728 -0
- package/lib/locale/lang/nb-NO.d.ts +2 -0
- package/lib/locale/lang/nb-NO.js +1 -1
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +728 -0
- package/lib/locale/lang/pt-BR.js +1 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +1 -1
- package/lib/locale/lang/ru-RU.js +1 -1
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +1 -1
- package/lib/locale/lang/th-TH.d.ts +2 -0
- package/lib/locale/lang/th-TH.js +1 -1
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +728 -0
- package/lib/locale/lang/ug-CN.d.ts +2 -0
- package/lib/locale/lang/ug-CN.js +1 -1
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +728 -0
- package/lib/locale/lang/uk-UA.js +1 -1
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +1 -1
- package/lib/locale/lang/uz-UZ.d.ts +2 -0
- package/lib/locale/lang/uz-UZ.js +714 -0
- package/lib/locale/lang/uz-UZ.min.js +1 -0
- package/lib/locale/lang/uz-UZ.umd.js +728 -0
- package/lib/locale/lang/vi-VN.d.ts +2 -0
- package/lib/locale/lang/vi-VN.js +1 -1
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +728 -0
- package/lib/locale/lang/zh-CHT.js +1 -1
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +1 -1
- package/lib/locale/lang/zh-CN.js +1 -1
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +1 -1
- package/lib/locale/lang/zh-TC.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/module/custom/panel.js +1 -1
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/module/filter/mixin.js +10 -0
- package/lib/table/module/filter/mixin.min.js +1 -1
- package/lib/table/render/index.js +27 -21
- package/lib/table/render/index.min.js +1 -1
- package/lib/table/src/body.js +2 -1
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/footer.js +2 -1
- package/lib/table/src/footer.min.js +1 -1
- package/lib/table/src/header.js +2 -1
- package/lib/table/src/header.min.js +1 -1
- package/lib/table/src/methods.js +62 -49
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +2 -2
- package/lib/table/src/table.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/locale/lang/ar-EG.ts +1 -1
- package/packages/locale/lang/de-DE.ts +1 -1
- package/packages/locale/lang/en-US.ts +1 -1
- package/packages/locale/lang/es-ES.ts +1 -1
- package/packages/locale/lang/fr-FR.ts +1 -1
- package/packages/locale/lang/hu-HU.ts +1 -1
- package/packages/locale/lang/hy-AM.ts +1 -1
- package/packages/locale/lang/id-ID.ts +1 -1
- package/packages/locale/lang/it-IT.ts +1 -1
- package/packages/locale/lang/ja-JP.ts +1 -1
- package/packages/locale/lang/ko-KR.ts +1 -1
- package/packages/locale/lang/ms-MY.ts +708 -0
- package/packages/locale/lang/nb-NO.ts +1 -1
- package/packages/locale/lang/pt-BR.ts +1 -1
- package/packages/locale/lang/ru-RU.ts +1 -1
- package/packages/locale/lang/th-TH.ts +1 -1
- package/packages/locale/lang/ug-CN.ts +1 -1
- package/packages/locale/lang/uk-UA.ts +1 -1
- package/packages/locale/lang/uz-UZ.ts +708 -0
- package/packages/locale/lang/vi-VN.ts +1 -1
- package/packages/locale/lang/zh-CHT.ts +1 -1
- package/packages/locale/lang/zh-CN.ts +1 -1
- package/packages/table/module/custom/panel.ts +1 -1
- package/packages/table/module/filter/mixin.ts +12 -0
- package/packages/table/render/index.ts +26 -20
- package/packages/table/src/body.ts +2 -1
- package/packages/table/src/footer.ts +2 -1
- package/packages/table/src/header.ts +2 -1
- package/packages/table/src/methods.ts +58 -48
- package/packages/table/src/table.ts +2 -2
- package/lib/locale/lang/zh-TC.umd.js +0 -23
- /package/es/{iconfont.1746324587006.ttf → iconfont.1746694071741.ttf} +0 -0
- /package/es/{iconfont.1746324587006.woff → iconfont.1746694071741.woff} +0 -0
- /package/es/{iconfont.1746324587006.woff2 → iconfont.1746694071741.woff2} +0 -0
- /package/es/locale/lang/{zh-TC.d.ts → ar-EG.d.ts} +0 -0
- /package/{lib/locale/lang/zh-TC.d.ts → es/locale/lang/de-DE.d.ts} +0 -0
- /package/lib/{iconfont.1746324587006.ttf → iconfont.1746694071741.ttf} +0 -0
- /package/lib/{iconfont.1746324587006.woff → iconfont.1746694071741.woff} +0 -0
- /package/lib/{iconfont.1746324587006.woff2 → iconfont.1746694071741.woff2} +0 -0
package/lib/table/src/methods.js
CHANGED
|
@@ -5769,6 +5769,7 @@ const Methods = {
|
|
|
5769
5769
|
column
|
|
5770
5770
|
} = params;
|
|
5771
5771
|
const {
|
|
5772
|
+
columnStore,
|
|
5772
5773
|
overflowX,
|
|
5773
5774
|
scrollbarHeight
|
|
5774
5775
|
} = reactData;
|
|
@@ -5776,6 +5777,10 @@ const Methods = {
|
|
|
5776
5777
|
elemStore,
|
|
5777
5778
|
visibleColumn
|
|
5778
5779
|
} = internalData;
|
|
5780
|
+
const {
|
|
5781
|
+
leftList,
|
|
5782
|
+
rightList
|
|
5783
|
+
} = columnStore;
|
|
5779
5784
|
const resizableOpts = $xeTable.computeResizableOpts;
|
|
5780
5785
|
const osbHeight = overflowX ? scrollbarHeight : 0;
|
|
5781
5786
|
const tableEl = $xeTable.$refs.refElem;
|
|
@@ -5785,12 +5790,13 @@ const Methods = {
|
|
|
5785
5790
|
if (!resizeBarElem) {
|
|
5786
5791
|
return;
|
|
5787
5792
|
}
|
|
5793
|
+
const isLeftFixed = fixedType === 'left';
|
|
5794
|
+
const isRightFixed = fixedType === 'right';
|
|
5788
5795
|
const resizeTipElem = resizeBarElem.firstElementChild;
|
|
5789
5796
|
const scrollbarXToTop = $xeTable.computeScrollbarXToTop;
|
|
5790
5797
|
const {
|
|
5791
5798
|
clientX: dragClientX
|
|
5792
5799
|
} = evnt;
|
|
5793
|
-
const wrapperElem = $xeTable.$refs.refElem;
|
|
5794
5800
|
const dragBtnElem = evnt.target;
|
|
5795
5801
|
let resizeColumn = column;
|
|
5796
5802
|
if (column.children && column.children.length) {
|
|
@@ -5807,29 +5813,31 @@ const Methods = {
|
|
|
5807
5813
|
if (!bodyScrollElem) {
|
|
5808
5814
|
return;
|
|
5809
5815
|
}
|
|
5810
|
-
const
|
|
5816
|
+
const tableRect = tableEl.getBoundingClientRect();
|
|
5817
|
+
const rightContainerRect = rightContainerElem ? rightContainerElem.getBoundingClientRect() : null;
|
|
5818
|
+
const cellRect = cell.getBoundingClientRect();
|
|
5819
|
+
const dragBtnRect = dragBtnElem.getBoundingClientRect();
|
|
5811
5820
|
const dragBtnWidth = dragBtnElem.clientWidth;
|
|
5812
5821
|
const dragBtnOffsetWidth = Math.floor(dragBtnWidth / 2);
|
|
5822
|
+
const dragPosLeft = dragBtnRect.x - tableRect.x + dragBtnOffsetWidth;
|
|
5813
5823
|
const minInterval = (0, _util.getColReMinWidth)(cellParams) - dragBtnOffsetWidth; // 列之间的最小间距
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
// 计算左右侧固定列偏移量
|
|
5819
|
-
let fixedOffsetWidth = 0;
|
|
5824
|
+
const dragMinLeft = isRightFixed ? 0 : cellRect.x - tableRect.x + dragBtnWidth + minInterval;
|
|
5825
|
+
const dragMaxLeft = cellRect.x - tableRect.x + cell.clientWidth - minInterval;
|
|
5826
|
+
let fixedLeftRemainWidth = 0;
|
|
5827
|
+
let fixedRightRemainWidth = 0;
|
|
5820
5828
|
if (isLeftFixed || isRightFixed) {
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5829
|
+
let isMach = false;
|
|
5830
|
+
const fixedColumn = isLeftFixed ? leftList : rightList;
|
|
5831
|
+
for (let i = 0; i < fixedColumn.length; i++) {
|
|
5832
|
+
const item = fixedColumn[i];
|
|
5833
|
+
if (isMach) {
|
|
5834
|
+
fixedLeftRemainWidth += item.renderWidth;
|
|
5835
|
+
} else {
|
|
5836
|
+
isMach = item.id === resizeColumn.id;
|
|
5837
|
+
if (!isMach) {
|
|
5838
|
+
fixedRightRemainWidth += item.renderWidth;
|
|
5839
|
+
}
|
|
5828
5840
|
}
|
|
5829
|
-
tempCellElem = tempCellElem[siblingProp];
|
|
5830
|
-
}
|
|
5831
|
-
if (isRightFixed && rightContainerElem) {
|
|
5832
|
-
dragPosLeft = rightContainerElem.offsetLeft + fixedOffsetWidth;
|
|
5833
5841
|
}
|
|
5834
5842
|
}
|
|
5835
5843
|
// 处理拖动事件
|
|
@@ -5839,27 +5847,24 @@ const Methods = {
|
|
|
5839
5847
|
const tableHeight = tableEl.clientHeight;
|
|
5840
5848
|
const offsetX = evnt.clientX - dragClientX;
|
|
5841
5849
|
let left = dragPosLeft + offsetX;
|
|
5842
|
-
const scrollLeft = fixedType ? 0 : bodyScrollElem.scrollLeft;
|
|
5843
5850
|
if (isLeftFixed) {
|
|
5844
|
-
|
|
5845
|
-
|
|
5851
|
+
if (rightContainerRect) {
|
|
5852
|
+
left = Math.min(left, rightContainerRect.x - tableRect.x - fixedLeftRemainWidth - minInterval);
|
|
5853
|
+
}
|
|
5846
5854
|
} else if (isRightFixed) {
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
dragMinLeft = Math.max(bodyScrollElem.scrollLeft, dragMinLeft);
|
|
5852
|
-
// left = Math.min(left, bodyScrollElem.clientWidth + bodyScrollElem.scrollLeft - 40)
|
|
5855
|
+
if (leftContainerElem) {
|
|
5856
|
+
left = Math.max(left, leftContainerElem.clientWidth + fixedRightRemainWidth + minInterval);
|
|
5857
|
+
}
|
|
5858
|
+
left = Math.min(left, dragMaxLeft);
|
|
5853
5859
|
}
|
|
5854
5860
|
dragLeft = Math.max(left, dragMinLeft);
|
|
5855
|
-
const resizeBarLeft = Math.max(1, dragLeft
|
|
5861
|
+
const resizeBarLeft = Math.max(1, dragLeft);
|
|
5856
5862
|
resizeBarElem.style.left = `${resizeBarLeft}px`;
|
|
5857
5863
|
resizeBarElem.style.top = `${scrollbarXToTop ? osbHeight : 0}px`;
|
|
5858
5864
|
resizeBarElem.style.height = `${scrollbarXToTop ? tableHeight - osbHeight : tableHeight}px`;
|
|
5859
5865
|
if (resizableOpts.showDragTip && resizeTipElem) {
|
|
5860
|
-
resizeTipElem.textContent = getI18n('vxe.table.resizeColTip', [resizeColumn.renderWidth + (isRightFixed ? dragPosLeft - dragLeft : dragLeft - dragPosLeft)]);
|
|
5866
|
+
resizeTipElem.textContent = getI18n('vxe.table.resizeColTip', [Math.floor(resizeColumn.renderWidth + (isRightFixed ? dragPosLeft - dragLeft : dragLeft - dragPosLeft))]);
|
|
5861
5867
|
const tableWrapperWidth = tableEl.clientWidth;
|
|
5862
|
-
const wrapperRect = wrapperElem.getBoundingClientRect();
|
|
5863
5868
|
const resizeBarWidth = resizeBarElem.clientWidth;
|
|
5864
5869
|
const resizeTipWidth = resizeTipElem.clientWidth;
|
|
5865
5870
|
const resizeTipHeight = resizeTipElem.clientHeight;
|
|
@@ -5870,7 +5875,7 @@ const Methods = {
|
|
|
5870
5875
|
resizeTipLeft += tableWrapperWidth - resizeBarLeft;
|
|
5871
5876
|
}
|
|
5872
5877
|
resizeTipElem.style.left = `${resizeTipLeft}px`;
|
|
5873
|
-
resizeTipElem.style.top = `${Math.min(tableHeight - resizeTipHeight, Math.max(0, evnt.clientY -
|
|
5878
|
+
resizeTipElem.style.top = `${Math.min(tableHeight - resizeTipHeight, Math.max(0, evnt.clientY - tableRect.y - resizeTipHeight / 2))}px`;
|
|
5874
5879
|
}
|
|
5875
5880
|
reactData.isDragResize = true;
|
|
5876
5881
|
};
|
|
@@ -8029,28 +8034,34 @@ const Methods = {
|
|
|
8029
8034
|
} = params;
|
|
8030
8035
|
const radioOpts = $xeTable.computeRadioOpts;
|
|
8031
8036
|
const {
|
|
8032
|
-
trigger
|
|
8037
|
+
trigger,
|
|
8038
|
+
checkMethod
|
|
8033
8039
|
} = radioOpts;
|
|
8034
8040
|
if (trigger === 'manual') {
|
|
8035
8041
|
return;
|
|
8036
8042
|
}
|
|
8037
8043
|
evnt.stopPropagation();
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
isChange = oldValue
|
|
8044
|
+
if (!checkMethod || checkMethod({
|
|
8045
|
+
$table: $xeTable,
|
|
8046
|
+
row
|
|
8047
|
+
})) {
|
|
8048
|
+
let newValue = row;
|
|
8049
|
+
let isChange = oldValue !== newValue;
|
|
8044
8050
|
if (isChange) {
|
|
8045
|
-
newValue
|
|
8046
|
-
|
|
8051
|
+
handleCheckedRadioRow($xeTable, newValue);
|
|
8052
|
+
} else if (!radioOpts.strict) {
|
|
8053
|
+
isChange = oldValue === newValue;
|
|
8054
|
+
if (isChange) {
|
|
8055
|
+
newValue = null;
|
|
8056
|
+
$xeTable.clearRadioRow();
|
|
8057
|
+
}
|
|
8058
|
+
}
|
|
8059
|
+
if (isChange) {
|
|
8060
|
+
$xeTable.dispatchEvent('radio-change', Object.assign({
|
|
8061
|
+
oldValue,
|
|
8062
|
+
newValue
|
|
8063
|
+
}, params), evnt);
|
|
8047
8064
|
}
|
|
8048
|
-
}
|
|
8049
|
-
if (isChange) {
|
|
8050
|
-
$xeTable.dispatchEvent('radio-change', Object.assign({
|
|
8051
|
-
oldValue,
|
|
8052
|
-
newValue
|
|
8053
|
-
}, params), evnt);
|
|
8054
8065
|
}
|
|
8055
8066
|
},
|
|
8056
8067
|
triggerCurrentColumnEvent(evnt, params) {
|
|
@@ -10120,7 +10131,9 @@ const Methods = {
|
|
|
10120
10131
|
return rest;
|
|
10121
10132
|
},
|
|
10122
10133
|
/**
|
|
10123
|
-
*
|
|
10134
|
+
* 内部方法、获取树表格状态
|
|
10135
|
+
* @deprecated
|
|
10136
|
+
* @private
|
|
10124
10137
|
*/
|
|
10125
10138
|
getTreeStatus() {
|
|
10126
10139
|
if (this.treeConfig) {
|
|
@@ -11653,7 +11666,7 @@ const Methods = {
|
|
|
11653
11666
|
}
|
|
11654
11667
|
};
|
|
11655
11668
|
// Module methods
|
|
11656
|
-
const funcs = 'setFilter,openFilter,clearFilter,saveFilterPanel,resetFilterPanel,getCheckedFilters,updateFilterOptionStatus,closeMenu,setActiveCellArea,getActiveCellArea,getCellAreas,clearCellAreas,copyCellArea,cutCellArea,pasteCellArea,getCopyCellArea,getCopyCellAreas,clearCopyCellArea,setCellAreas,openFNR,openFind,openReplace,closeFNR,getSelectedCell,clearSelected,insert,insertAt,insertNextAt,insertChild,insertChildAt,insertChildNextAt,remove,removeCheckboxRow,removeRadioRow,removeCurrentRow,getRecordset,getInsertRecords,getRemoveRecords,getUpdateRecords,clearEdit,clearActived,getEditRecord,getActiveRecord,isEditByRow,isActiveByRow,setEditRow,setActiveRow,setEditCell,setActiveCell,setSelectCell,clearValidate,fullValidate,validate,fullValidateField,validateField,openExport,closeExport,openPrint,closePrint,getPrintHtml,exportData,openImport,closeImport,importData,saveFile,readFile,importByFile,print,openCustom,closeCustom,saveCustom,cancelCustom,resetCustom,toggleCustomAllCheckbox,setCustomAllCheckbox'.split(',');
|
|
11669
|
+
const funcs = 'setFilter,openFilter,clearFilter,saveFilterPanel,saveFilterPanelByEvent,resetFilterPanel,resetFilterPanelByEvent,getCheckedFilters,updateFilterOptionStatus,closeMenu,setActiveCellArea,getActiveCellArea,getCellAreas,clearCellAreas,copyCellArea,cutCellArea,pasteCellArea,getCopyCellArea,getCopyCellAreas,clearCopyCellArea,setCellAreas,openFNR,openFind,openReplace,closeFNR,getSelectedCell,clearSelected,insert,insertAt,insertNextAt,insertChild,insertChildAt,insertChildNextAt,remove,removeCheckboxRow,removeRadioRow,removeCurrentRow,getRecordset,getInsertRecords,getRemoveRecords,getUpdateRecords,clearEdit,clearActived,getEditRecord,getActiveRecord,isEditByRow,isActiveByRow,setEditRow,setActiveRow,setEditCell,setActiveCell,setSelectCell,clearValidate,fullValidate,validate,fullValidateField,validateField,openExport,closeExport,openPrint,closePrint,getPrintHtml,exportData,openImport,closeImport,importData,saveFile,readFile,importByFile,print,openCustom,closeCustom,saveCustom,cancelCustom,resetCustom,toggleCustomAllCheckbox,setCustomAllCheckbox'.split(',');
|
|
11657
11670
|
funcs.forEach(name => {
|
|
11658
11671
|
Methods[name] = function (...args) {
|
|
11659
11672
|
if (!this[`_${name}`]) {
|