vxe-table 3.15.18 → 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.js +1 -1
- package/es/locale/lang/hu-HU.js +1 -1
- package/es/locale/lang/hy-AM.js +1 -1
- package/es/locale/lang/id-ID.js +1 -1
- 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.js +1 -1
- 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.js +1 -1
- package/es/locale/lang/ug-CN.js +1 -1
- package/es/locale/lang/uk-UA.js +1 -1
- package/es/locale/lang/uz-UZ.js +1 -1
- 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/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 +18 -14
- 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 +63 -46
- package/lib/index.umd.min.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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.js +1 -1
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +1 -1
- 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.js +1 -1
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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.js +1 -1
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +1 -1
- 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 +1 -1
- 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.js +1 -1
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +1 -1
- 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 +1 -1
- 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.js +1 -1
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +1 -1
- 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 +1 -1
- 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/style.css +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 +24 -16
- 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 +1 -1
- 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 +1 -1
- 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/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 +17 -13
- package/packages/table/src/table.ts +2 -2
- /package/es/{iconfont.1746578838891.ttf → iconfont.1746694071741.ttf} +0 -0
- /package/es/{iconfont.1746578838891.woff → iconfont.1746694071741.woff} +0 -0
- /package/es/{iconfont.1746578838891.woff2 → iconfont.1746694071741.woff2} +0 -0
- /package/lib/{iconfont.1746578838891.ttf → iconfont.1746694071741.ttf} +0 -0
- /package/lib/{iconfont.1746578838891.woff → iconfont.1746694071741.woff} +0 -0
- /package/lib/{iconfont.1746578838891.woff2 → iconfont.1746694071741.woff2} +0 -0
package/es/table/render/index.js
CHANGED
|
@@ -380,14 +380,17 @@ function renderNativeOptgroups(h, renderOpts, params, renderOptionsMethods) {
|
|
|
380
380
|
const { optionGroups, optionGroupProps = {} } = renderOpts;
|
|
381
381
|
const groupOptions = optionGroupProps.options || 'options';
|
|
382
382
|
const groupLabel = optionGroupProps.label || 'label';
|
|
383
|
-
|
|
384
|
-
return
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
383
|
+
if (optionGroups) {
|
|
384
|
+
return optionGroups.map((group, gIndex) => {
|
|
385
|
+
return h('optgroup', {
|
|
386
|
+
key: gIndex,
|
|
387
|
+
attrs: {
|
|
388
|
+
label: group[groupLabel]
|
|
389
|
+
}
|
|
390
|
+
}, renderOptionsMethods(h, group[groupOptions], renderOpts, params));
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
return [];
|
|
391
394
|
}
|
|
392
395
|
/**
|
|
393
396
|
* 渲染原生的 option 标签
|
|
@@ -399,19 +402,22 @@ function renderNativeOptions(h, options, renderOpts, params) {
|
|
|
399
402
|
const valueProp = optionProps.value || 'value';
|
|
400
403
|
const disabledProp = optionProps.disabled || 'disabled';
|
|
401
404
|
const cellValue = isImmediateCell(renderOpts, params) ? getCellValue(row, column) : column.model.value;
|
|
402
|
-
|
|
403
|
-
return
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
405
|
+
if (options) {
|
|
406
|
+
return options.map((option, oIndex) => {
|
|
407
|
+
return h('option', {
|
|
408
|
+
key: oIndex,
|
|
409
|
+
attrs: {
|
|
410
|
+
value: option[valueProp],
|
|
411
|
+
disabled: option[disabledProp]
|
|
412
|
+
},
|
|
413
|
+
domProps: {
|
|
414
|
+
/* eslint-disable eqeqeq */
|
|
415
|
+
selected: option[valueProp] == cellValue
|
|
416
|
+
}
|
|
417
|
+
}, option[labelProp]);
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
return [];
|
|
415
421
|
}
|
|
416
422
|
function nativeFilterRender(h, renderOpts, params) {
|
|
417
423
|
const { column } = params;
|
package/es/table/src/body.js
CHANGED
package/es/table/src/footer.js
CHANGED
package/es/table/src/header.js
CHANGED
package/es/table/src/methods.js
CHANGED
|
@@ -6886,25 +6886,27 @@ const Methods = {
|
|
|
6886
6886
|
const { selectRadioRow: oldValue } = reactData;
|
|
6887
6887
|
const { row } = params;
|
|
6888
6888
|
const radioOpts = $xeTable.computeRadioOpts;
|
|
6889
|
-
const { trigger } = radioOpts;
|
|
6889
|
+
const { trigger, checkMethod } = radioOpts;
|
|
6890
6890
|
if (trigger === 'manual') {
|
|
6891
6891
|
return;
|
|
6892
6892
|
}
|
|
6893
6893
|
evnt.stopPropagation();
|
|
6894
|
-
|
|
6895
|
-
|
|
6896
|
-
|
|
6897
|
-
handleCheckedRadioRow($xeTable, newValue);
|
|
6898
|
-
}
|
|
6899
|
-
else if (!radioOpts.strict) {
|
|
6900
|
-
isChange = oldValue === newValue;
|
|
6894
|
+
if (!checkMethod || checkMethod({ $table: $xeTable, row })) {
|
|
6895
|
+
let newValue = row;
|
|
6896
|
+
let isChange = oldValue !== newValue;
|
|
6901
6897
|
if (isChange) {
|
|
6902
|
-
newValue
|
|
6903
|
-
|
|
6898
|
+
handleCheckedRadioRow($xeTable, newValue);
|
|
6899
|
+
}
|
|
6900
|
+
else if (!radioOpts.strict) {
|
|
6901
|
+
isChange = oldValue === newValue;
|
|
6902
|
+
if (isChange) {
|
|
6903
|
+
newValue = null;
|
|
6904
|
+
$xeTable.clearRadioRow();
|
|
6905
|
+
}
|
|
6906
|
+
}
|
|
6907
|
+
if (isChange) {
|
|
6908
|
+
$xeTable.dispatchEvent('radio-change', Object.assign({ oldValue, newValue }, params), evnt);
|
|
6904
6909
|
}
|
|
6905
|
-
}
|
|
6906
|
-
if (isChange) {
|
|
6907
|
-
$xeTable.dispatchEvent('radio-change', Object.assign({ oldValue, newValue }, params), evnt);
|
|
6908
6910
|
}
|
|
6909
6911
|
},
|
|
6910
6912
|
triggerCurrentColumnEvent(evnt, params) {
|
|
@@ -8649,7 +8651,9 @@ const Methods = {
|
|
|
8649
8651
|
return rest;
|
|
8650
8652
|
},
|
|
8651
8653
|
/**
|
|
8652
|
-
*
|
|
8654
|
+
* 内部方法、获取树表格状态
|
|
8655
|
+
* @deprecated
|
|
8656
|
+
* @private
|
|
8653
8657
|
*/
|
|
8654
8658
|
getTreeStatus() {
|
|
8655
8659
|
if (this.treeConfig) {
|
package/es/table/src/table.js
CHANGED
|
@@ -1450,8 +1450,8 @@ export default {
|
|
|
1450
1450
|
if (props.editConfig && editOpts.showStatus && !props.keepSource) {
|
|
1451
1451
|
warnLog('vxe.error.reqProp', ['keep-source']);
|
|
1452
1452
|
}
|
|
1453
|
-
if (treeConfig && (treeOpts.showLine || treeOpts.line) &&
|
|
1454
|
-
warnLog('vxe.error.reqProp', ['
|
|
1453
|
+
if (treeConfig && (treeOpts.showLine || treeOpts.line) && !showOverflow) {
|
|
1454
|
+
warnLog('vxe.error.reqProp', ['show-overflow']);
|
|
1455
1455
|
}
|
|
1456
1456
|
if (treeConfig && !treeOpts.transform && props.stripe) {
|
|
1457
1457
|
warnLog('vxe.error.noTree', ['stripe']);
|
package/es/ui/index.js
CHANGED
package/es/ui/src/log.js
CHANGED
package/lib/index.umd.js
CHANGED
|
@@ -2220,7 +2220,7 @@ function getClass(property, params) {
|
|
|
2220
2220
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
2221
2221
|
|
|
2222
2222
|
|
|
2223
|
-
const version = "3.15.
|
|
2223
|
+
const version = "3.15.19";
|
|
2224
2224
|
core_.VxeUI.version = version;
|
|
2225
2225
|
core_.VxeUI.tableVersion = version;
|
|
2226
2226
|
core_.VxeUI.setConfig({
|
|
@@ -2858,7 +2858,7 @@ function isNodeElement(elem) {
|
|
|
2858
2858
|
const {
|
|
2859
2859
|
log: log_log
|
|
2860
2860
|
} = core_.VxeUI;
|
|
2861
|
-
const log_version = `table v${"3.15.
|
|
2861
|
+
const log_version = `table v${"3.15.19"}`;
|
|
2862
2862
|
const warnLog = log_log.create('warn', log_version);
|
|
2863
2863
|
const errLog = log_log.create('error', log_version);
|
|
2864
2864
|
;// CONCATENATED MODULE: ./packages/table/src/columnInfo.ts
|
|
@@ -13307,29 +13307,35 @@ const Methods = {
|
|
|
13307
13307
|
} = params;
|
|
13308
13308
|
const radioOpts = $xeTable.computeRadioOpts;
|
|
13309
13309
|
const {
|
|
13310
|
-
trigger
|
|
13310
|
+
trigger,
|
|
13311
|
+
checkMethod
|
|
13311
13312
|
} = radioOpts;
|
|
13312
13313
|
if (trigger === 'manual') {
|
|
13313
13314
|
return;
|
|
13314
13315
|
}
|
|
13315
13316
|
evnt.stopPropagation();
|
|
13316
|
-
|
|
13317
|
-
|
|
13318
|
-
|
|
13319
|
-
|
|
13320
|
-
|
|
13321
|
-
isChange = oldValue
|
|
13317
|
+
if (!checkMethod || checkMethod({
|
|
13318
|
+
$table: $xeTable,
|
|
13319
|
+
row
|
|
13320
|
+
})) {
|
|
13321
|
+
let newValue = row;
|
|
13322
|
+
let isChange = oldValue !== newValue;
|
|
13322
13323
|
if (isChange) {
|
|
13323
|
-
newValue
|
|
13324
|
-
|
|
13324
|
+
handleCheckedRadioRow($xeTable, newValue);
|
|
13325
|
+
} else if (!radioOpts.strict) {
|
|
13326
|
+
isChange = oldValue === newValue;
|
|
13327
|
+
if (isChange) {
|
|
13328
|
+
newValue = null;
|
|
13329
|
+
$xeTable.clearRadioRow();
|
|
13330
|
+
}
|
|
13331
|
+
}
|
|
13332
|
+
if (isChange) {
|
|
13333
|
+
$xeTable.dispatchEvent('radio-change', {
|
|
13334
|
+
oldValue,
|
|
13335
|
+
newValue,
|
|
13336
|
+
...params
|
|
13337
|
+
}, evnt);
|
|
13325
13338
|
}
|
|
13326
|
-
}
|
|
13327
|
-
if (isChange) {
|
|
13328
|
-
$xeTable.dispatchEvent('radio-change', {
|
|
13329
|
-
oldValue,
|
|
13330
|
-
newValue,
|
|
13331
|
-
...params
|
|
13332
|
-
}, evnt);
|
|
13333
13339
|
}
|
|
13334
13340
|
},
|
|
13335
13341
|
triggerCurrentColumnEvent(evnt, params) {
|
|
@@ -15400,7 +15406,9 @@ const Methods = {
|
|
|
15400
15406
|
return rest;
|
|
15401
15407
|
},
|
|
15402
15408
|
/**
|
|
15403
|
-
*
|
|
15409
|
+
* 内部方法、获取树表格状态
|
|
15410
|
+
* @deprecated
|
|
15411
|
+
* @private
|
|
15404
15412
|
*/
|
|
15405
15413
|
getTreeStatus() {
|
|
15406
15414
|
if (this.treeConfig) {
|
|
@@ -17880,7 +17888,8 @@ function renderRows(h, _vm, fixedType, isOptimizeMode, tableData, tableColumn) {
|
|
|
17880
17888
|
xid: xID,
|
|
17881
17889
|
cellspacing: 0,
|
|
17882
17890
|
cellpadding: 0,
|
|
17883
|
-
border: 0
|
|
17891
|
+
border: 0,
|
|
17892
|
+
xvm: isOptimizeMode ? '1' : null
|
|
17884
17893
|
}
|
|
17885
17894
|
}, [
|
|
17886
17895
|
/**
|
|
@@ -18355,7 +18364,8 @@ function renderHeads(h, _vm, isGroup, isOptimizeMode, headerGroups) {
|
|
|
18355
18364
|
xid: xID,
|
|
18356
18365
|
cellspacing: 0,
|
|
18357
18366
|
cellpadding: 0,
|
|
18358
|
-
border: 0
|
|
18367
|
+
border: 0,
|
|
18368
|
+
xvm: isOptimizeMode ? '1' : null
|
|
18359
18369
|
}
|
|
18360
18370
|
}, [
|
|
18361
18371
|
/**
|
|
@@ -18829,7 +18839,8 @@ function footer_renderHeads(h, _vm, isOptimizeMode, renderColumnList) {
|
|
|
18829
18839
|
xid: xID,
|
|
18830
18840
|
cellspacing: 0,
|
|
18831
18841
|
cellpadding: 0,
|
|
18832
|
-
border: 0
|
|
18842
|
+
border: 0,
|
|
18843
|
+
xvm: isOptimizeMode ? '1' : null
|
|
18833
18844
|
}
|
|
18834
18845
|
}, [
|
|
18835
18846
|
/**
|
|
@@ -28489,8 +28500,8 @@ function renderBody(h, $xeTable) {
|
|
|
28489
28500
|
if (props.editConfig && editOpts.showStatus && !props.keepSource) {
|
|
28490
28501
|
warnLog('vxe.error.reqProp', ['keep-source']);
|
|
28491
28502
|
}
|
|
28492
|
-
if (treeConfig && (treeOpts.showLine || treeOpts.line) &&
|
|
28493
|
-
warnLog('vxe.error.reqProp', ['
|
|
28503
|
+
if (treeConfig && (treeOpts.showLine || treeOpts.line) && !showOverflow) {
|
|
28504
|
+
warnLog('vxe.error.reqProp', ['show-overflow']);
|
|
28494
28505
|
}
|
|
28495
28506
|
if (treeConfig && !treeOpts.transform && props.stripe) {
|
|
28496
28507
|
warnLog('vxe.error.noTree', ['stripe']);
|
|
@@ -31889,14 +31900,17 @@ function renderNativeOptgroups(h, renderOpts, params, renderOptionsMethods) {
|
|
|
31889
31900
|
} = renderOpts;
|
|
31890
31901
|
const groupOptions = optionGroupProps.options || 'options';
|
|
31891
31902
|
const groupLabel = optionGroupProps.label || 'label';
|
|
31892
|
-
|
|
31893
|
-
return
|
|
31894
|
-
|
|
31895
|
-
|
|
31896
|
-
|
|
31897
|
-
|
|
31898
|
-
|
|
31899
|
-
|
|
31903
|
+
if (optionGroups) {
|
|
31904
|
+
return optionGroups.map((group, gIndex) => {
|
|
31905
|
+
return h('optgroup', {
|
|
31906
|
+
key: gIndex,
|
|
31907
|
+
attrs: {
|
|
31908
|
+
label: group[groupLabel]
|
|
31909
|
+
}
|
|
31910
|
+
}, renderOptionsMethods(h, group[groupOptions], renderOpts, params));
|
|
31911
|
+
});
|
|
31912
|
+
}
|
|
31913
|
+
return [];
|
|
31900
31914
|
}
|
|
31901
31915
|
/**
|
|
31902
31916
|
* 渲染原生的 option 标签
|
|
@@ -31913,19 +31927,22 @@ function renderNativeOptions(h, options, renderOpts, params) {
|
|
|
31913
31927
|
const valueProp = optionProps.value || 'value';
|
|
31914
31928
|
const disabledProp = optionProps.disabled || 'disabled';
|
|
31915
31929
|
const cellValue = isImmediateCell(renderOpts, params) ? getCellValue(row, column) : column.model.value;
|
|
31916
|
-
|
|
31917
|
-
return
|
|
31918
|
-
|
|
31919
|
-
|
|
31920
|
-
|
|
31921
|
-
|
|
31922
|
-
|
|
31923
|
-
|
|
31924
|
-
|
|
31925
|
-
|
|
31926
|
-
|
|
31927
|
-
|
|
31928
|
-
|
|
31930
|
+
if (options) {
|
|
31931
|
+
return options.map((option, oIndex) => {
|
|
31932
|
+
return h('option', {
|
|
31933
|
+
key: oIndex,
|
|
31934
|
+
attrs: {
|
|
31935
|
+
value: option[valueProp],
|
|
31936
|
+
disabled: option[disabledProp]
|
|
31937
|
+
},
|
|
31938
|
+
domProps: {
|
|
31939
|
+
/* eslint-disable eqeqeq */
|
|
31940
|
+
selected: option[valueProp] == cellValue
|
|
31941
|
+
}
|
|
31942
|
+
}, option[labelProp]);
|
|
31943
|
+
});
|
|
31944
|
+
}
|
|
31945
|
+
return [];
|
|
31929
31946
|
}
|
|
31930
31947
|
function nativeFilterRender(h, renderOpts, params) {
|
|
31931
31948
|
const {
|
|
@@ -33048,7 +33065,7 @@ const Toolbar = VxeToolbar;
|
|
|
33048
33065
|
year: 'yyyy'
|
|
33049
33066
|
},
|
|
33050
33067
|
weeks: {
|
|
33051
|
-
w: '
|
|
33068
|
+
w: '',
|
|
33052
33069
|
w0: '周日',
|
|
33053
33070
|
w1: '周一',
|
|
33054
33071
|
w2: '周二',
|