iov-pro-components 0.0.29 → 0.0.31
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.
|
@@ -9704,8 +9704,7 @@ var script$j = {
|
|
|
9704
9704
|
*/
|
|
9705
9705
|
var defaultSelectProps = function defaultSelectProps(key) {
|
|
9706
9706
|
var defaultProps = {
|
|
9707
|
-
|
|
9708
|
-
remoteMethod: function remoteMethod(query) {
|
|
9707
|
+
filterMethod: function filterMethod(query) {
|
|
9709
9708
|
// 如果没有下拉配置
|
|
9710
9709
|
if (!_this15.optionConfig[key]) {
|
|
9711
9710
|
_this15.$set(_this15.optionConfig, key, {
|
|
@@ -11864,7 +11863,7 @@ var script$9 = {
|
|
|
11864
11863
|
*/
|
|
11865
11864
|
getTableProps: function getTableProps(props) {
|
|
11866
11865
|
// 当前属性的key
|
|
11867
|
-
var PROP_KEYS = ['index', 'columnKey', 'label', 'prop', 'width', 'minWidth', 'fixed', 'renderHeader', 'resizable', 'formatter', 'showOverflowTooltip', 'align', 'headerAlign', 'className', 'labelClassName', 'selectable', 'reserveSelection'];
|
|
11866
|
+
var PROP_KEYS = ['index', 'columnKey', 'label', 'prop', 'width', 'minWidth', 'fixed', 'renderHeader', 'resizable', 'formatter', 'showOverflowTooltip', 'align', 'headerAlign', 'className', 'labelClassName', 'selectable', 'reserveSelection', 'emptyValuePlaceholder'];
|
|
11868
11867
|
return PROP_KEYS.reduce(function (memo, propKey) {
|
|
11869
11868
|
// 如果值非空,则继续添加
|
|
11870
11869
|
if (!isNil$2(props[propKey])) {
|
|
@@ -12067,7 +12066,7 @@ var script$9 = {
|
|
|
12067
12066
|
// 遍历所有的列,将其他列的排序方式清空
|
|
12068
12067
|
this.columns.forEach(function (c) {
|
|
12069
12068
|
// 如果循环出来的列是可排序,但是非当前排序字段
|
|
12070
|
-
if (c
|
|
12069
|
+
if (!isEqual(c, column) && c.sortable) {
|
|
12071
12070
|
_this5.$refs["".concat(c.prop, "-sortable")] && _this5.$refs["".concat(c.prop, "-sortable")].onReset();
|
|
12072
12071
|
}
|
|
12073
12072
|
});
|
|
@@ -12174,7 +12173,9 @@ var script$9 = {
|
|
|
12174
12173
|
// 遍历配置项
|
|
12175
12174
|
_this7.displayColumns.map(function (column) {
|
|
12176
12175
|
// 当前属性
|
|
12177
|
-
var props =
|
|
12176
|
+
var props = _objectSpread2({
|
|
12177
|
+
emptyValuePlaceholder: '--'
|
|
12178
|
+
}, _this7.getTableProps(column));
|
|
12178
12179
|
// slots
|
|
12179
12180
|
var scopedSlots = {};
|
|
12180
12181
|
// 插槽的执行方法
|
|
@@ -19246,7 +19247,7 @@ var script$4 = {
|
|
|
19246
19247
|
return _objectSpread2({
|
|
19247
19248
|
grid: true,
|
|
19248
19249
|
span: 6,
|
|
19249
|
-
gutter: 16,
|
|
19250
|
+
gutter: this.config.simple ? 8 : 16,
|
|
19250
19251
|
collapse: true,
|
|
19251
19252
|
maxLine: 2,
|
|
19252
19253
|
space: 16
|
|
@@ -20339,7 +20340,7 @@ var install = function install(Vue, componentConfig) {
|
|
|
20339
20340
|
};
|
|
20340
20341
|
var index = {
|
|
20341
20342
|
install: install,
|
|
20342
|
-
version: '0.0.
|
|
20343
|
+
version: '0.0.31',
|
|
20343
20344
|
ColumnTooltip: __vue_component__$t,
|
|
20344
20345
|
Description: __vue_component__$q,
|
|
20345
20346
|
DialogSelect: __vue_component__$p,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iov-pro-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.31",
|
|
4
4
|
"description": "IOV Pro Components for Vue.js",
|
|
5
5
|
"main": "lib/iov-pro-components.min.js",
|
|
6
6
|
"files": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"src/**/*.{js,vue,jsx,ts,tsx}": "eslint"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"iov-design": "^2.15.
|
|
24
|
+
"iov-design": "^2.15.44",
|
|
25
25
|
"vue": "^2.6.10",
|
|
26
26
|
"vuedraggable": "2.24.3"
|
|
27
27
|
},
|