vxe-table 4.0.30 → 4.1.1
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/README.md +1 -0
- package/README.zh-TW.md +1 -0
- package/es/button/style.css +2 -2
- package/es/checkbox/style.css +1 -1
- package/es/edit/src/hook.js +2 -2
- package/es/export/src/hook.js +24 -0
- package/es/export/src/util.js +20 -8
- package/es/export/style.css +1 -1
- package/es/filter/src/hook.js +2 -2
- package/es/filter/style.css +2 -2
- package/es/footer/src/footer.js +4 -4
- package/es/form/src/form.js +13 -6
- package/es/form/src/render.js +4 -4
- package/es/grid/src/grid.js +48 -1
- package/es/header/src/header.js +7 -5
- package/es/header/style.css +3 -10
- package/es/input/style.css +4 -4
- package/es/menu/style.css +1 -1
- package/es/modal/style.css +1 -1
- package/es/pager/style.css +2 -2
- package/es/radio/style.css +1 -1
- package/es/select/src/select.js +5 -5
- package/es/select/style.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/src/body.js +18 -14
- package/es/table/src/emits.js +1 -0
- package/es/table/src/props.js +4 -1
- package/es/table/src/table.js +219 -89
- package/es/table/style.css +15 -12
- package/es/toolbar/style.css +1 -1
- package/es/v-x-e-table/src/conf.js +2 -1
- package/es/v-x-e-table/src/renderer.js +4 -4
- package/es/validator/src/hook.js +12 -5
- package/helper/vetur/attributes.json +16 -204
- package/helper/vetur/tags.json +3 -65
- package/lib/button/style/style.css +2 -2
- package/lib/button/style/style.min.css +1 -1
- package/lib/checkbox/style/style.css +1 -1
- package/lib/checkbox/style/style.min.css +1 -1
- package/lib/edit/src/hook.js +2 -2
- package/lib/edit/src/hook.min.js +1 -1
- package/lib/export/src/hook.js +28 -0
- package/lib/export/src/hook.min.js +1 -1
- package/lib/export/src/util.js +21 -7
- package/lib/export/src/util.min.js +1 -1
- package/lib/export/style/style.css +1 -1
- package/lib/export/style/style.min.css +1 -1
- package/lib/filter/src/hook.js +8 -2
- package/lib/filter/src/hook.min.js +1 -1
- package/lib/filter/style/style.css +2 -2
- package/lib/filter/style/style.min.css +1 -1
- package/lib/footer/src/footer.js +4 -4
- package/lib/footer/src/footer.min.js +1 -1
- package/lib/form/src/form.js +23 -6
- package/lib/form/src/form.min.js +1 -1
- package/lib/form/src/render.js +4 -4
- package/lib/form/src/render.min.js +1 -1
- package/lib/grid/src/grid.js +56 -1
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/header/src/header.js +7 -5
- package/lib/header/src/header.min.js +1 -1
- package/lib/header/style/style.css +3 -10
- package/lib/header/style/style.min.css +1 -1
- package/lib/index.umd.js +561 -186
- package/lib/index.umd.min.js +1 -1
- package/lib/input/style/style.css +4 -4
- package/lib/input/style/style.min.css +1 -1
- package/lib/menu/style/style.css +1 -1
- package/lib/menu/style/style.min.css +1 -1
- package/lib/modal/style/style.css +1 -1
- package/lib/modal/style/style.min.css +1 -1
- package/lib/pager/style/style.css +2 -2
- package/lib/pager/style/style.min.css +1 -1
- package/lib/radio/style/style.css +1 -1
- package/lib/radio/style/style.min.css +1 -1
- package/lib/select/src/select.js +5 -5
- package/lib/select/style/style.css +1 -1
- package/lib/select/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/body.js +18 -14
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/emits.js +1 -1
- package/lib/table/src/emits.min.js +1 -1
- package/lib/table/src/props.js +4 -1
- package/lib/table/src/props.min.js +1 -1
- package/lib/table/src/table.js +288 -120
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +15 -12
- package/lib/table/style/style.min.css +1 -1
- package/lib/toolbar/style/style.css +1 -1
- package/lib/toolbar/style/style.min.css +1 -1
- package/lib/v-x-e-table/src/conf.js +2 -1
- package/lib/v-x-e-table/src/conf.min.js +1 -1
- package/lib/v-x-e-table/src/renderer.js +4 -4
- package/lib/v-x-e-table/src/renderer.min.js +1 -1
- package/lib/validator/src/hook.js +12 -5
- package/lib/validator/src/hook.min.js +1 -1
- package/package.json +4 -4
- package/packages/edit/src/hook.ts +2 -2
- package/packages/export/src/hook.ts +24 -0
- package/packages/export/src/util.ts +17 -5
- package/packages/filter/src/hook.ts +2 -2
- package/packages/footer/src/footer.ts +4 -4
- package/packages/form/src/form.ts +10 -6
- package/packages/form/src/render.ts +4 -4
- package/packages/grid/src/grid.ts +48 -1
- package/packages/header/src/header.ts +7 -5
- package/packages/select/src/select.ts +5 -5
- package/packages/table/src/body.ts +18 -14
- package/packages/table/src/emits.ts +1 -0
- package/packages/table/src/props.ts +4 -1
- package/packages/table/src/table.ts +222 -88
- package/packages/v-x-e-table/src/conf.ts +2 -1
- package/packages/v-x-e-table/src/renderer.ts +4 -4
- package/packages/validator/src/hook.ts +9 -5
- package/styles/header.scss +9 -12
- package/styles/table.scss +9 -3
- package/styles/variable.scss +2 -2
- package/types/column.d.ts +5 -1
- package/types/form-item.d.ts +5 -1
- package/types/form.d.ts +5 -1
- package/types/grid.d.ts +4 -0
- package/types/modal.d.ts +4 -5
- package/types/table.d.ts +53 -11
- package/types/validator.d.ts +5 -1
package/es/select/src/select.js
CHANGED
|
@@ -171,7 +171,7 @@ export default defineComponent({
|
|
|
171
171
|
}
|
|
172
172
|
return nextTick();
|
|
173
173
|
};
|
|
174
|
-
var
|
|
174
|
+
var cacheItemMap = function () {
|
|
175
175
|
var fullOptionList = reactData.fullOptionList, fullGroupList = reactData.fullGroupList;
|
|
176
176
|
var groupOptionsField = computeGroupOptionsField.value;
|
|
177
177
|
var key = getOptkey();
|
|
@@ -674,17 +674,17 @@ export default defineComponent({
|
|
|
674
674
|
reactData.fullGroupList = [];
|
|
675
675
|
reactData.fullOptionList = value || [];
|
|
676
676
|
}
|
|
677
|
-
|
|
677
|
+
cacheItemMap();
|
|
678
678
|
});
|
|
679
679
|
watch(function () { return props.options; }, function (value) {
|
|
680
680
|
reactData.fullGroupList = [];
|
|
681
681
|
reactData.fullOptionList = value || [];
|
|
682
|
-
|
|
682
|
+
cacheItemMap();
|
|
683
683
|
});
|
|
684
684
|
watch(function () { return props.optionGroups; }, function (value) {
|
|
685
685
|
reactData.fullOptionList = [];
|
|
686
686
|
reactData.fullGroupList = value || [];
|
|
687
|
-
|
|
687
|
+
cacheItemMap();
|
|
688
688
|
});
|
|
689
689
|
onMounted(function () {
|
|
690
690
|
nextTick(function () {
|
|
@@ -695,7 +695,7 @@ export default defineComponent({
|
|
|
695
695
|
else if (options) {
|
|
696
696
|
reactData.fullOptionList = options;
|
|
697
697
|
}
|
|
698
|
-
|
|
698
|
+
cacheItemMap();
|
|
699
699
|
});
|
|
700
700
|
GlobalEvent.on($xeselect, 'mousewheel', handleGlobalMousewheelEvent);
|
|
701
701
|
GlobalEvent.on($xeselect, 'mousedown', handleGlobalMousedownEvent);
|
package/es/select/style.css
CHANGED