@vxe-ui/plugin-render-antd 4.0.7 → 4.0.8

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2019 Xu Liangzhan
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Xu Liangzhan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
package/README.md CHANGED
@@ -1,151 +1,153 @@
1
- # @vxe-ui/plugin-render-antd
2
-
3
- [Vxe UI](https://vxeui.com/) plug-in for compatibility with the [ant-design-vue](https://www.npmjs.com/package/ant-design-vue) component.
4
-
5
- ## Compatibility
6
-
7
- It corresponds to [vxe-table v4](https://www.npmjs.com/package/vxe-table) or [vxe-pc-ui v4](https://www.npmjs.com/package/vxe-pc-ui)
8
-
9
- ## Installing
10
-
11
- ```shell
12
- npm install @vxe-ui/plugin-render-antd
13
- ```
14
-
15
- ```javascript
16
- // ...
17
- // Use vxe-pc-ui
18
- import { VxeUI } from 'vxe-pc-ui'
19
- // Use vxe-table
20
- // import { VxeUI } from 'vxe-table'
21
- import VxeUIPluginRenderAntd from '@vxe-ui/plugin-render-antd'
22
- import '@vxe-ui/plugin-render-antd/dist/style.css'
23
- // ...
24
-
25
- VxeUI.use(VxeUIPluginRenderAntd)
26
- ```
27
-
28
-
29
- ## API
30
-
31
- ### cell-render 默认的渲染器配置项说明
32
-
33
- | 属性 | 描述 | 类型 | 可选值 | 默认值 |
34
- |------|------|-----|-----|-----|
35
- | name | 支持的渲染组件 | String | AInput, AAutocomplete, AInputNumber, ASwitch, ARate, AButton, AButtons | — |
36
- | props | 渲染组件附加属性,参数请查看被渲染的 Component props | Object | — | {} |
37
- | options | 只对 name=ASelect 有效,下拉组件选项列表 | Array | — | [] |
38
- | optionProps | 只对 name=ASelect 有效,下拉组件选项属性参数配置 | Object | — | { value: 'value', label: 'label' } |
39
- | optionGroups | 只对 name=ASelect 有效,下拉组件分组选项列表 | Array | — | [] |
40
- | optionGroupProps | 只对 name=ASelect 有效,下拉组件分组选项属性参数配置 | Object | — | { options: 'options', label: 'label' } |
41
- | events | 渲染组件附加事件,参数为 ( {row,rowIndex,column,columnIndex}, ...Component arguments ) | Object | — | — |
42
-
43
- ### edit-render 可编辑渲染器配置项说明
44
-
45
- | 属性 | 描述 | 类型 | 可选值 | 默认值 |
46
- |------|------|-----|-----|-----|
47
- | name | 支持的渲染组件 | String | AInput, AAutocomplete, AInputNumber, ASelect, ACascader, ADatePicker, AMonthPicker, ARangePicker, AWeekPicker, ATimePicker, ATreeSelect, ASwitch, ARate, AButton, AButtons | — |
48
- | props | 渲染组件附加属性,参数请查看被渲染的 Component props | Object | — | {} |
49
- | options | 只对 name=ASelect 有效,下拉组件选项列表 | Array | — | [] |
50
- | optionProps | 只对 name=ASelect 有效,下拉组件选项属性参数配置 | Object | — | { value: 'value', label: 'label' } |
51
- | optionGroups | 只对 name=ASelect 有效,下拉组件分组选项列表 | Array | — | [] |
52
- | optionGroupProps | 只对 name=ASelect 有效,下拉组件分组选项属性参数配置 | Object | — | { options: 'options', label: 'label' } |
53
- | events | 渲染组件附加事件,参数为 ( {row,rowIndex,column,columnIndex}, ...Component arguments ) | Object | — | — |
54
-
55
- ### filter-render 筛选渲染器配置项说明
56
-
57
- | 属性 | 描述 | 类型 | 可选值 | 默认值 |
58
- |------|------|-----|-----|-----|
59
- | name | 支持的渲染组件 | String | AInput, AAutocomplete, AInputNumber, ASelect, ASwitch, ARate | — |
60
- | props | 渲染组件附加属性,参数请查看被渲染的 Component props | Object | — | {} |
61
- | options | 只对 name=ASelect 有效,下拉组件选项列表 | Array | — | [] |
62
- | optionProps | 只对 name=ASelect 有效,下拉组件选项属性参数配置 | Object | — | { value: 'value', label: 'label' } |
63
- | optionGroups | 只对 name=ASelect 有效,下拉组件分组选项列表 | Array | — | [] |
64
- | optionGroupProps | 只对 name=ASelect 有效,下拉组件分组选项属性参数配置 | Object | — | { options: 'options', label: 'label' } |
65
- | events | 渲染组件附加事件,参数为 ( {}, ...Component arguments ) | Object | — | — |
66
-
67
- ### item-render 表单-项选渲染器配置项说明
68
-
69
- | 属性 | 描述 | 类型 | 可选值 | 默认值 |
70
- |------|------|-----|-----|-----|
71
- | name | 支持的渲染组件 | String | AInput, AAutocomplete, AInputNumber, ASelect, ASwitch, ARate, ARadio, ACheckbox, AButton, AButtons | — |
72
- | props | 渲染组件附加属性,参数请查看被渲染的 Component props | Object | — | {} |
73
- | options | 只对 name=ASelect 有效,下拉组件选项列表 | Array | — | [] |
74
- | optionProps | 只对 name=ASelect 有效,下拉组件选项属性参数配置 | Object | — | { value: 'value', label: 'label' } |
75
- | optionGroups | 只对 name=ASelect 有效,下拉组件分组选项列表 | Array | — | [] |
76
- | optionGroupProps | 只对 name=ASelect 有效,下拉组件分组选项属性参数配置 | Object | — | { options: 'options', label: 'label' } |
77
- | events | 渲染组件附加事件,参数为 ( {}, ...Component arguments ) | Object | — | — |
78
-
79
- ### 表单设计器配置项
80
-
81
- | 描述 |
82
- |------|
83
- | 'AInputWidget', 'ATextareaWidget', 'ANumberInputWidget', 'ADatePickerWidget', 'ASelectWidget', 'ARadioWidget', 'ACheckboxWidget', 'ASwitchWidget' |
84
-
85
- ## Cell demo
86
-
87
- ```html
88
- <vxe-table
89
- height="600"
90
- :data="tableData"
91
- :edit-config="{trigger: 'click', mode: 'cell'}">
92
- <vxe-column field="name" title="Name" :edit-render="{name: 'AInput'}"></vxe-column>
93
- <vxe-column field="age" title="Age" :edit-render="{name: 'AInputNumber'}"></vxe-column>
94
- <vxe-column field="date" title="Date" width="200" :edit-render="{name: 'ADatePicker'}"></vxe-column>
95
- </vxe-table>
96
- ```
97
-
98
- ```javascript
99
- export default {
100
- data () {
101
- return {
102
- tableData: [
103
- { id: 100, name: 'test0', age: 28, sex: '1', date: '' },
104
- { id: 101, name: 'test1', age: 32, sex: '0', date: '' },
105
- { id: 102, name: 'test2', age: 36, sex: '1', date: '' }
106
- ]
107
- }
108
- }
109
- }
110
- ```
111
-
112
- ## Filter demo
113
-
114
- ```html
115
- <vxe-table
116
- height="600"
117
- :data="tableData">
118
- <vxe-column field="name" title="Name":filters="nameOptions" :filter-render="{name: 'AInput'}"></vxe-column>
119
- <vxe-column field="age" title="Age"></vxe-column>
120
- <vxe-column field="date" title="Date" ></vxe-column>
121
- </vxe-table>
122
- ```
123
-
124
- ```javascript
125
- import { defineComponent } from 'vue'
126
-
127
- export default defineComponent({
128
- setup () {
129
- return {
130
- nameOptions: [
131
- { data: '' }
132
- ],
133
- tableData: [
134
- { id: 100, name: 'test0', age: 28, date: '' },
135
- { id: 101, name: 'test1', age: 32, date: '' },
136
- { id: 102, name: 'test2', age: 36, date: '' }
137
- ]
138
- }
139
- }
140
- })
141
- ```
142
-
143
- ## Contributors
144
-
145
- Thank you to everyone who contributed to this project.
146
-
147
- [![vxe-ui-plugins](https://contrib.rocks/image?repo=x-extends/vxe-ui-plugins)](https://github.com/x-extends/vxe-ui-plugins/graphs/contributors)
148
-
149
- ## License
150
-
151
- [MIT](LICENSE) © 2019-present, Xu Liangzhan
1
+ # @vxe-ui/plugin-render-antd
2
+
3
+ [Vxe UI](https://vxeui.com/) plug-in for compatibility with the [ant-design-vue](https://www.npmjs.com/package/ant-design-vue) component.
4
+
5
+ ## Compatibility
6
+
7
+ It corresponds to [vxe-table v4](https://www.npmjs.com/package/vxe-table) or [vxe-pc-ui v4](https://www.npmjs.com/package/vxe-pc-ui)
8
+
9
+ ## Installing
10
+
11
+ ```shell
12
+ npm install @vxe-ui/plugin-render-antd
13
+ ```
14
+
15
+ ```javascript
16
+ // ...
17
+ // Use vxe-pc-ui
18
+ import { VxeUI } from 'vxe-pc-ui'
19
+ // Use vxe-table
20
+ // import { VxeUI } from 'vxe-table'
21
+ import VxeUIPluginRenderAntd from '@vxe-ui/plugin-render-antd'
22
+ import '@vxe-ui/plugin-render-antd/dist/style.css'
23
+ // ...
24
+
25
+ VxeUI.use(VxeUIPluginRenderAntd)
26
+ ```
27
+
28
+
29
+ ## API
30
+
31
+ ### cell-render 默认的渲染器配置项说明
32
+
33
+ | 属性 | 描述 | 类型 | 可选值 | 默认值 |
34
+ |------|------|-----|-----|-----|
35
+ | name | 支持的渲染组件 | String | AInput, AAutocomplete, AInputNumber, ASwitch, ARate, AButton, AButtons | — |
36
+ | props | 渲染组件附加属性,参数请查看被渲染的 Component props | Object | — | {} |
37
+ | options | 只对 name=ASelect 有效,下拉组件选项列表 | Array | — | [] |
38
+ | optionProps | 只对 name=ASelect 有效,下拉组件选项属性参数配置 | Object | — | { value: 'value', label: 'label' } |
39
+ | optionGroups | 只对 name=ASelect 有效,下拉组件分组选项列表 | Array | — | [] |
40
+ | optionGroupProps | 只对 name=ASelect 有效,下拉组件分组选项属性参数配置 | Object | — | { options: 'options', label: 'label' } |
41
+ | events | 渲染组件附加事件,参数为 ( {row,rowIndex,column,columnIndex}, ...Component arguments ) | Object | — | — |
42
+
43
+ ### edit-render 可编辑渲染器配置项说明
44
+
45
+ | 属性 | 描述 | 类型 | 可选值 | 默认值 |
46
+ |------|------|-----|-----|-----|
47
+ | name | 支持的渲染组件 | String | AInput, AAutocomplete, AInputNumber, ASelect, ACascader, ADatePicker, AMonthPicker, ARangePicker, AWeekPicker, ATimePicker, ATreeSelect, ASwitch, ARate, AButton, AButtons | — |
48
+ | props | 渲染组件附加属性,参数请查看被渲染的 Component props | Object | — | {} |
49
+ | options | 只对 name=ASelect 有效,下拉组件选项列表 | Array | — | [] |
50
+ | optionProps | 只对 name=ASelect 有效,下拉组件选项属性参数配置 | Object | — | { value: 'value', label: 'label' } |
51
+ | optionGroups | 只对 name=ASelect 有效,下拉组件分组选项列表 | Array | — | [] |
52
+ | optionGroupProps | 只对 name=ASelect 有效,下拉组件分组选项属性参数配置 | Object | — | { options: 'options', label: 'label' } |
53
+ | events | 渲染组件附加事件,参数为 ( {row,rowIndex,column,columnIndex}, ...Component arguments ) | Object | — | — |
54
+
55
+ ### filter-render 筛选渲染器配置项说明
56
+
57
+ | 属性 | 描述 | 类型 | 可选值 | 默认值 |
58
+ |------|------|-----|-----|-----|
59
+ | name | 支持的渲染组件 | String | AInput, AAutocomplete, AInputNumber, ASelect, ASwitch, ARate | — |
60
+ | props | 渲染组件附加属性,参数请查看被渲染的 Component props | Object | — | {} |
61
+ | options | 只对 name=ASelect 有效,下拉组件选项列表 | Array | — | [] |
62
+ | optionProps | 只对 name=ASelect 有效,下拉组件选项属性参数配置 | Object | — | { value: 'value', label: 'label' } |
63
+ | optionGroups | 只对 name=ASelect 有效,下拉组件分组选项列表 | Array | — | [] |
64
+ | optionGroupProps | 只对 name=ASelect 有效,下拉组件分组选项属性参数配置 | Object | — | { options: 'options', label: 'label' } |
65
+ | events | 渲染组件附加事件,参数为 ( {}, ...Component arguments ) | Object | — | — |
66
+
67
+ ### item-render 表单-项选渲染器配置项说明
68
+
69
+ | 属性 | 描述 | 类型 | 可选值 | 默认值 |
70
+ |------|------|-----|-----|-----|
71
+ | name | 支持的渲染组件 | String | AInput, AAutocomplete, AInputNumber, ASelect, ASwitch, ARate, ARadio, ACheckbox, AButton, AButtons | — |
72
+ | props | 渲染组件附加属性,参数请查看被渲染的 Component props | Object | — | {} |
73
+ | options | 只对 name=ASelect 有效,下拉组件选项列表 | Array | — | [] |
74
+ | optionProps | 只对 name=ASelect 有效,下拉组件选项属性参数配置 | Object | — | { value: 'value', label: 'label' } |
75
+ | optionGroups | 只对 name=ASelect 有效,下拉组件分组选项列表 | Array | — | [] |
76
+ | optionGroupProps | 只对 name=ASelect 有效,下拉组件分组选项属性参数配置 | Object | — | { options: 'options', label: 'label' } |
77
+ | events | 渲染组件附加事件,参数为 ( {}, ...Component arguments ) | Object | — | — |
78
+
79
+ ### 表单设计器配置项
80
+
81
+ | 描述 |
82
+ |------|
83
+ | 'AInputWidget', 'ATextareaWidget', 'ANumberInputWidget', 'ADatePickerWidget', 'ASelectWidget', 'ARadioWidget', 'ACheckboxWidget', 'ASwitchWidget' |
84
+
85
+ ## Table Cell demo
86
+
87
+ ```html
88
+ <vxe-table
89
+ height="600"
90
+ :data="tableData"
91
+ :edit-config="{trigger: 'click', mode: 'cell'}">
92
+ <vxe-column field="name" title="Name" :edit-render="{name: 'AInput'}"></vxe-column>
93
+ <vxe-column field="age" title="Age" :edit-render="{name: 'AInputNumber'}"></vxe-column>
94
+ <vxe-column field="date" title="Date" width="200" :edit-render="{name: 'ADatePicker'}"></vxe-column>
95
+ </vxe-table>
96
+ ```
97
+
98
+ ```javascript
99
+ export default {
100
+ data () {
101
+ return {
102
+ tableData: [
103
+ { id: 100, name: 'test0', age: 28, sex: '1', date: '' },
104
+ { id: 101, name: 'test1', age: 32, sex: '0', date: '' },
105
+ { id: 102, name: 'test2', age: 36, sex: '1', date: '' }
106
+ ]
107
+ }
108
+ }
109
+ }
110
+ ```
111
+
112
+ ## Table Filter demo
113
+
114
+ ```html
115
+ <template>
116
+ <vxe-table
117
+ height="600"
118
+ :data="tableData">
119
+ <vxe-column field="name" title="Name":filters="nameOptions" :filter-render="{name: 'AInput'}"></vxe-column>
120
+ <vxe-column field="age" title="Age"></vxe-column>
121
+ <vxe-column field="date" title="Date" ></vxe-column>
122
+ </vxe-table>
123
+ </template>
124
+ ```
125
+
126
+ ```javascript
127
+ import { defineComponent } from 'vue'
128
+
129
+ export default defineComponent({
130
+ setup () {
131
+ return {
132
+ nameOptions: [
133
+ { data: '' }
134
+ ],
135
+ tableData: [
136
+ { id: 100, name: 'test0', age: 28, date: '' },
137
+ { id: 101, name: 'test1', age: 32, date: '' },
138
+ { id: 102, name: 'test2', age: 36, date: '' }
139
+ ]
140
+ }
141
+ }
142
+ })
143
+ ```
144
+
145
+ ## Contributors
146
+
147
+ Thank you to everyone who contributed to this project.
148
+
149
+ [![vxe-ui-plugins](https://contrib.rocks/image?repo=x-extends/vxe-ui-plugins)](https://github.com/x-extends/vxe-ui-plugins/graphs/contributors)
150
+
151
+ ## License
152
+
153
+ [MIT](LICENSE) © 2019-present, Xu Liangzhan
@@ -127,7 +127,7 @@ function createWidgetACheckbox(VxeUI) {
127
127
  $formView = renderParams.$formView;
128
128
  if ($formView) {
129
129
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
130
- $formView.updateItemStatus(widget, itemValue);
130
+ $formView.updateWidgetStatus(widget, itemValue);
131
131
  }
132
132
  };
133
133
  return function () {
@@ -270,7 +270,7 @@ function createWidgetADatePicker(VxeUI) {
270
270
  $formView = renderParams.$formView;
271
271
  if ($formView) {
272
272
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
273
- $formView.updateItemStatus(widget, itemValue);
273
+ $formView.updateWidgetStatus(widget, itemValue);
274
274
  }
275
275
  };
276
276
  return function () {
@@ -594,7 +594,7 @@ function createWidgetAInput(VxeUI) {
594
594
  $formView = renderParams.$formView;
595
595
  if ($formView) {
596
596
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
597
- $formView.updateItemStatus(widget, itemValue);
597
+ $formView.updateWidgetStatus(widget, itemValue);
598
598
  }
599
599
  };
600
600
  return function () {
@@ -736,7 +736,7 @@ function createWidgetAInputNumber(VxeUI) {
736
736
  $formView = renderParams.$formView;
737
737
  if ($formView) {
738
738
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
739
- $formView.updateItemStatus(widget, itemValue);
739
+ $formView.updateWidgetStatus(widget, itemValue);
740
740
  }
741
741
  };
742
742
  return function () {
@@ -900,7 +900,7 @@ function createWidgetARadio(VxeUI) {
900
900
  $formView = renderParams.$formView;
901
901
  if ($formView) {
902
902
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
903
- $formView.updateItemStatus(widget, itemValue);
903
+ $formView.updateWidgetStatus(widget, itemValue);
904
904
  }
905
905
  };
906
906
  return function () {
@@ -1053,7 +1053,7 @@ function createWidgetASelect(VxeUI) {
1053
1053
  $formView = renderParams.$formView;
1054
1054
  if ($formView) {
1055
1055
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
1056
- $formView.updateItemStatus(widget, itemValue);
1056
+ $formView.updateWidgetStatus(widget, itemValue);
1057
1057
  }
1058
1058
  };
1059
1059
  return function () {
@@ -1196,7 +1196,7 @@ function createWidgetASwitch(VxeUI) {
1196
1196
  $formView = renderParams.$formView;
1197
1197
  if ($formView) {
1198
1198
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
1199
- $formView.updateItemStatus(widget, itemValue);
1199
+ $formView.updateWidgetStatus(widget, itemValue);
1200
1200
  }
1201
1201
  };
1202
1202
  return function () {
@@ -1338,7 +1338,7 @@ function createWidgetATextarea(VxeUI) {
1338
1338
  $formView = renderParams.$formView;
1339
1339
  if ($formView) {
1340
1340
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
1341
- $formView.updateItemStatus(widget, itemValue);
1341
+ $formView.updateWidgetStatus(widget, itemValue);
1342
1342
  }
1343
1343
  };
1344
1344
  return function () {
@@ -1957,7 +1957,7 @@ var VxeUIPluginRenderAntd = exports.VxeUIPluginRenderAntd = {
1957
1957
  install: function install(VxeUI, options) {
1958
1958
  // 检查版本
1959
1959
  if (!/^(4)\./.test(VxeUI.uiVersion)) {
1960
- console.error('[plugin-render-antd 4.x] Version 4.x is required');
1960
+ console.error('[@vxe-ui/plugin-render-antd 4.0.8] Requires vxe-table 4.7.0+ version. https://vxeui.com/other4/#/plugin-export-xlsx/install');
1961
1961
  }
1962
1962
  (0, _table.defineTableRender)(VxeUI);
1963
1963
  (0, _form.defineFormRender)(VxeUI);
@@ -126,7 +126,7 @@ function createWidgetACheckbox(VxeUI) {
126
126
  $formView = renderParams.$formView;
127
127
  if ($formView) {
128
128
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
129
- $formView.updateItemStatus(widget, itemValue);
129
+ $formView.updateWidgetStatus(widget, itemValue);
130
130
  }
131
131
  };
132
132
  return function () {
@@ -106,7 +106,7 @@ function createWidgetADatePicker(VxeUI) {
106
106
  $formView = renderParams.$formView;
107
107
  if ($formView) {
108
108
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
109
- $formView.updateItemStatus(widget, itemValue);
109
+ $formView.updateWidgetStatus(widget, itemValue);
110
110
  }
111
111
  };
112
112
  return function () {
@@ -108,7 +108,7 @@ function createWidgetAInput(VxeUI) {
108
108
  $formView = renderParams.$formView;
109
109
  if ($formView) {
110
110
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
111
- $formView.updateItemStatus(widget, itemValue);
111
+ $formView.updateWidgetStatus(widget, itemValue);
112
112
  }
113
113
  };
114
114
  return function () {
@@ -106,7 +106,7 @@ function createWidgetAInputNumber(VxeUI) {
106
106
  $formView = renderParams.$formView;
107
107
  if ($formView) {
108
108
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
109
- $formView.updateItemStatus(widget, itemValue);
109
+ $formView.updateWidgetStatus(widget, itemValue);
110
110
  }
111
111
  };
112
112
  return function () {
@@ -126,7 +126,7 @@ function createWidgetARadio(VxeUI) {
126
126
  $formView = renderParams.$formView;
127
127
  if ($formView) {
128
128
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
129
- $formView.updateItemStatus(widget, itemValue);
129
+ $formView.updateWidgetStatus(widget, itemValue);
130
130
  }
131
131
  };
132
132
  return function () {
@@ -116,7 +116,7 @@ function createWidgetASelect(VxeUI) {
116
116
  $formView = renderParams.$formView;
117
117
  if ($formView) {
118
118
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
119
- $formView.updateItemStatus(widget, itemValue);
119
+ $formView.updateWidgetStatus(widget, itemValue);
120
120
  }
121
121
  };
122
122
  return function () {
@@ -104,7 +104,7 @@ function createWidgetASwitch(VxeUI) {
104
104
  $formView = renderParams.$formView;
105
105
  if ($formView) {
106
106
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
107
- $formView.updateItemStatus(widget, itemValue);
107
+ $formView.updateWidgetStatus(widget, itemValue);
108
108
  }
109
109
  };
110
110
  return function () {
@@ -106,7 +106,7 @@ function createWidgetATextarea(VxeUI) {
106
106
  $formView = renderParams.$formView;
107
107
  if ($formView) {
108
108
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
109
- $formView.updateItemStatus(widget, itemValue);
109
+ $formView.updateWidgetStatus(widget, itemValue);
110
110
  }
111
111
  };
112
112
  return function () {
@@ -51,7 +51,7 @@ var VxeUIPluginRenderAntd = exports.VxeUIPluginRenderAntd = {
51
51
  install: function install(VxeUI, options) {
52
52
  // 检查版本
53
53
  if (!/^(4)\./.test(VxeUI.uiVersion)) {
54
- console.error('[plugin-render-antd 4.x] Version 4.x is required');
54
+ console.error('[@vxe-ui/plugin-render-antd 4.0.8] Requires vxe-table 4.7.0+ version. https://vxeui.com/other4/#/plugin-export-xlsx/install');
55
55
  }
56
56
  (0, _table.defineTableRender)(VxeUI);
57
57
  (0, _form.defineFormRender)(VxeUI);
package/dist/index.js CHANGED
@@ -51,7 +51,7 @@ var VxeUIPluginRenderAntd = exports.VxeUIPluginRenderAntd = {
51
51
  install: function install(VxeUI, options) {
52
52
  // 检查版本
53
53
  if (!/^(4)\./.test(VxeUI.uiVersion)) {
54
- console.error('[plugin-render-antd 4.x] Version 4.x is required');
54
+ console.error('[@vxe-ui/plugin-render-antd 4.0.8] Requires vxe-table 4.7.0+ version. https://vxeui.com/other4/#/plugin-export-xlsx/install');
55
55
  }
56
56
  (0, _table.defineTableRender)(VxeUI);
57
57
  (0, _form.defineFormRender)(VxeUI);
package/dist/index.umd.js CHANGED
@@ -172,7 +172,7 @@
172
172
  $formView = renderParams.$formView;
173
173
  if ($formView) {
174
174
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
175
- $formView.updateItemStatus(widget, itemValue);
175
+ $formView.updateWidgetStatus(widget, itemValue);
176
176
  }
177
177
  };
178
178
  return function () {
@@ -320,7 +320,7 @@
320
320
  $formView = renderParams.$formView;
321
321
  if ($formView) {
322
322
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
323
- $formView.updateItemStatus(widget, itemValue);
323
+ $formView.updateWidgetStatus(widget, itemValue);
324
324
  }
325
325
  };
326
326
  return function () {
@@ -658,7 +658,7 @@
658
658
  $formView = renderParams.$formView;
659
659
  if ($formView) {
660
660
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
661
- $formView.updateItemStatus(widget, itemValue);
661
+ $formView.updateWidgetStatus(widget, itemValue);
662
662
  }
663
663
  };
664
664
  return function () {
@@ -803,7 +803,7 @@
803
803
  $formView = renderParams.$formView;
804
804
  if ($formView) {
805
805
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
806
- $formView.updateItemStatus(widget, itemValue);
806
+ $formView.updateWidgetStatus(widget, itemValue);
807
807
  }
808
808
  };
809
809
  return function () {
@@ -974,7 +974,7 @@
974
974
  $formView = renderParams.$formView;
975
975
  if ($formView) {
976
976
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
977
- $formView.updateItemStatus(widget, itemValue);
977
+ $formView.updateWidgetStatus(widget, itemValue);
978
978
  }
979
979
  };
980
980
  return function () {
@@ -1136,7 +1136,7 @@
1136
1136
  $formView = renderParams.$formView;
1137
1137
  if ($formView) {
1138
1138
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
1139
- $formView.updateItemStatus(widget, itemValue);
1139
+ $formView.updateWidgetStatus(widget, itemValue);
1140
1140
  }
1141
1141
  };
1142
1142
  return function () {
@@ -1284,7 +1284,7 @@
1284
1284
  $formView = renderParams.$formView;
1285
1285
  if ($formView) {
1286
1286
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
1287
- $formView.updateItemStatus(widget, itemValue);
1287
+ $formView.updateWidgetStatus(widget, itemValue);
1288
1288
  }
1289
1289
  };
1290
1290
  return function () {
@@ -1429,7 +1429,7 @@
1429
1429
  $formView = renderParams.$formView;
1430
1430
  if ($formView) {
1431
1431
  var itemValue = $formView ? $formView.getItemValue(widget) : null;
1432
- $formView.updateItemStatus(widget, itemValue);
1432
+ $formView.updateWidgetStatus(widget, itemValue);
1433
1433
  }
1434
1434
  };
1435
1435
  return function () {
@@ -2126,7 +2126,7 @@
2126
2126
  install: function install(VxeUI, options) {
2127
2127
  // 检查版本
2128
2128
  if (!/^(4)\./.test(VxeUI.uiVersion)) {
2129
- console.error('[plugin-render-antd 4.x] Version 4.x is required');
2129
+ console.error('[@vxe-ui/plugin-render-antd 4.0.8] Requires vxe-table 4.7.0+ version. https://vxeui.com/other4/#/plugin-export-xlsx/install');
2130
2130
  }
2131
2131
  (0, _table.defineTableRender)(VxeUI);
2132
2132
  (0, _form.defineFormRender)(VxeUI);