isobit-ui 0.2.71 → 0.2.72
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/dist/index.js +7 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.2.
|
|
2
|
+
* isobit-ui v0.2.71
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -2115,13 +2115,13 @@ var script$d = {
|
|
|
2115
2115
|
},
|
|
2116
2116
|
render: function render(createElement) {
|
|
2117
2117
|
var me = this,
|
|
2118
|
-
columns = [],
|
|
2119
2118
|
def = me.$scopedSlots["default"];
|
|
2120
2119
|
var children = def({
|
|
2121
2120
|
row: {}
|
|
2122
2121
|
});
|
|
2123
2122
|
|
|
2124
2123
|
if (children) {
|
|
2124
|
+
me.columns = [];
|
|
2125
2125
|
children.forEach(function (e, i) {
|
|
2126
2126
|
var column = e.data.attrs;
|
|
2127
2127
|
|
|
@@ -2141,11 +2141,9 @@ var script$d = {
|
|
|
2141
2141
|
e.children.shift();
|
|
2142
2142
|
});
|
|
2143
2143
|
}
|
|
2144
|
+
}); //if(!me.columns)me.columns=columns;
|
|
2145
|
+
} //se altera el virtual don of each row deleting v-filters
|
|
2144
2146
|
|
|
2145
|
-
columns.push(column);
|
|
2146
|
-
});
|
|
2147
|
-
if (!me.columns) me.columns = columns;
|
|
2148
|
-
}
|
|
2149
2147
|
|
|
2150
2148
|
me.$scopedSlots["default"] = function (r, r2, r3) {
|
|
2151
2149
|
var item = def(r, r2, r3);
|
|
@@ -2168,10 +2166,10 @@ var script$d = {
|
|
|
2168
2166
|
}
|
|
2169
2167
|
});
|
|
2170
2168
|
return item;
|
|
2171
|
-
};
|
|
2172
|
-
|
|
2169
|
+
};
|
|
2173
2170
|
|
|
2174
|
-
|
|
2171
|
+
console.log('render');
|
|
2172
|
+
var ct = compiledTemplate.render.call(this, createElement); //Se agregan los filtros a las columnas
|
|
2175
2173
|
|
|
2176
2174
|
me.columns.forEach(function (e) {
|
|
2177
2175
|
if (e.filter) ct.children[ct.children.length - 1].children.push(e.filter);
|