@opentinyvue/vue-grid 3.23.0 → 3.24.0
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/lib/index.js +84 -229
- package/package.json +17 -17
- package/src/column/src/column.d.ts +2 -0
- package/src/loading/src/loading.d.ts +2 -0
- package/src/mobile-first/column-content.vue.d.ts +2 -0
- package/src/mobile-first/column-layout.vue.d.ts +2 -0
- package/src/mobile-first/column-link.vue.d.ts +2 -0
- package/src/mobile-first/column-type.vue.d.ts +2 -0
- package/src/mobile-first/custom-view.vue.d.ts +2 -0
- package/src/mobile-first/empty.vue.d.ts +2 -0
- package/src/mobile-first/gantt-view.vue.d.ts +2 -0
- package/src/mobile-first/index.vue.d.ts +2 -0
- package/src/mobile-first/list-view.vue.d.ts +2 -0
- package/src/mobile-first/table-row.vue.d.ts +2 -0
package/lib/index.js
CHANGED
|
@@ -79,229 +79,86 @@ function _toPrimitive(t2, r) {
|
|
|
79
79
|
}
|
|
80
80
|
return ("string" === r ? String : Number)(t2);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function _regenerator() {
|
|
83
83
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
return t4[r2] = e2;
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
function h2(r2, e2, n2, o2) {
|
|
99
|
-
var i2 = e2 && e2.prototype instanceof Generator ? e2 : Generator, a2 = Object.create(i2.prototype);
|
|
100
|
-
return c(a2, "_invoke", /* @__PURE__ */ function(r3, e3, n3) {
|
|
101
|
-
var o3 = 1;
|
|
102
|
-
return function(i3, a3) {
|
|
103
|
-
if (3 === o3) throw Error("Generator is already running");
|
|
104
|
-
if (4 === o3) {
|
|
105
|
-
if ("throw" === i3) throw a3;
|
|
106
|
-
return { value: t2, done: true };
|
|
84
|
+
var e, t2, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag";
|
|
85
|
+
function i(r2, n2, o2, i2) {
|
|
86
|
+
var c2 = n2 && n2.prototype instanceof Generator ? n2 : Generator, u2 = Object.create(c2.prototype);
|
|
87
|
+
return _regeneratorDefine2(u2, "_invoke", function(r3, n3, o3) {
|
|
88
|
+
var i3, c3, u3, f2 = 0, p = o3 || [], y = false, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d2(t3, r4) {
|
|
89
|
+
return i3 = t3, c3 = 0, u3 = e, G.n = r4, a;
|
|
90
|
+
} };
|
|
91
|
+
function d(r4, n4) {
|
|
92
|
+
for (c3 = r4, u3 = n4, t2 = 0; !y && f2 && !o4 && t2 < p.length; t2++) {
|
|
93
|
+
var o4, i4 = p[t2], d2 = G.p, l = i4[2];
|
|
94
|
+
r4 > 3 ? (o4 = l === n4) && (c3 = i4[4] || 3, u3 = i4[5] === e ? i4[3] : i4[5], i4[4] = 3, i4[5] = e) : i4[0] <= d2 && ((o4 = r4 < 2 && d2 < i4[1]) ? (c3 = 0, G.v = n4, G.n = i4[1]) : d2 < l && (o4 = r4 < 3 || i4[0] > n4 || n4 > l) && (i4[4] = r4, i4[5] = n4, G.n = l, c3 = 0));
|
|
107
95
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
96
|
+
if (o4 || r4 > 1) return a;
|
|
97
|
+
throw y = true, n4;
|
|
98
|
+
}
|
|
99
|
+
return function(o4, p2, l) {
|
|
100
|
+
if (f2 > 1) throw TypeError("Generator is already running");
|
|
101
|
+
for (y && 1 === p2 && d(p2, l), c3 = p2, u3 = l; (t2 = c3 < 2 ? e : u3) || !y; ) {
|
|
102
|
+
i3 || (c3 ? c3 < 3 ? (c3 > 1 && (G.n = -1), d(c3, u3)) : G.n = u3 : G.v = u3);
|
|
103
|
+
try {
|
|
104
|
+
if (f2 = 2, i3) {
|
|
105
|
+
if (c3 || (o4 = "next"), t2 = i3[o4]) {
|
|
106
|
+
if (!(t2 = t2.call(i3, u3))) throw TypeError("iterator result is not an object");
|
|
107
|
+
if (!t2.done) return t2;
|
|
108
|
+
u3 = t2.value, c3 < 2 && (c3 = 0);
|
|
109
|
+
} else 1 === c3 && (t2 = i3.return) && t2.call(i3), c3 < 2 && (u3 = TypeError("The iterator does not provide a '" + o4 + "' method"), c3 = 1);
|
|
110
|
+
i3 = e;
|
|
111
|
+
} else if ((t2 = (y = G.n < 0) ? u3 : r3.call(n3, G)) !== a) break;
|
|
112
|
+
} catch (t3) {
|
|
113
|
+
i3 = e, c3 = 1, u3 = t3;
|
|
114
|
+
} finally {
|
|
115
|
+
f2 = 1;
|
|
127
116
|
}
|
|
128
|
-
"throw" === h3.type && (o3 = 4, n3.method = "throw", n3.arg = h3.arg);
|
|
129
117
|
}
|
|
118
|
+
return { value: t2, done: y };
|
|
130
119
|
};
|
|
131
|
-
}(r2,
|
|
132
|
-
}
|
|
133
|
-
function s(t3, r2, e2) {
|
|
134
|
-
try {
|
|
135
|
-
return { type: "normal", arg: t3.call(r2, e2) };
|
|
136
|
-
} catch (t4) {
|
|
137
|
-
return { type: "throw", arg: t4 };
|
|
138
|
-
}
|
|
120
|
+
}(r2, o2, i2), true), u2;
|
|
139
121
|
}
|
|
140
|
-
|
|
141
|
-
var f = {};
|
|
122
|
+
var a = {};
|
|
142
123
|
function Generator() {
|
|
143
124
|
}
|
|
144
125
|
function GeneratorFunction() {
|
|
145
126
|
}
|
|
146
127
|
function GeneratorFunctionPrototype() {
|
|
147
128
|
}
|
|
148
|
-
|
|
149
|
-
c(
|
|
129
|
+
t2 = Object.getPrototypeOf;
|
|
130
|
+
var c = [][n] ? t2(t2([][n]())) : (_regeneratorDefine2(t2 = {}, n, function() {
|
|
150
131
|
return this;
|
|
151
|
-
});
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l);
|
|
155
|
-
function g(t3) {
|
|
156
|
-
["next", "throw", "return"].forEach(function(r2) {
|
|
157
|
-
c(t3, r2, function(t4) {
|
|
158
|
-
return this._invoke(r2, t4);
|
|
159
|
-
});
|
|
160
|
-
});
|
|
132
|
+
}), t2), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
133
|
+
function f(e2) {
|
|
134
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e2, GeneratorFunctionPrototype) : (e2.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e2, o, "GeneratorFunction")), e2.prototype = Object.create(u), e2;
|
|
161
135
|
}
|
|
162
|
-
|
|
163
|
-
function e2(o3, i2, a2, u2) {
|
|
164
|
-
var c2 = s(t3[o3], t3, i2);
|
|
165
|
-
if ("throw" !== c2.type) {
|
|
166
|
-
var h3 = c2.arg, f2 = h3.value;
|
|
167
|
-
return f2 && "object" == typeof f2 && n.call(f2, "__await") ? r2.resolve(f2.__await).then(function(t4) {
|
|
168
|
-
e2("next", t4, a2, u2);
|
|
169
|
-
}, function(t4) {
|
|
170
|
-
e2("throw", t4, a2, u2);
|
|
171
|
-
}) : r2.resolve(f2).then(function(t4) {
|
|
172
|
-
h3.value = t4, a2(h3);
|
|
173
|
-
}, function(t4) {
|
|
174
|
-
return e2("throw", t4, a2, u2);
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
u2(c2.arg);
|
|
178
|
-
}
|
|
179
|
-
var o2;
|
|
180
|
-
c(this, "_invoke", function(t4, n2) {
|
|
181
|
-
function i2() {
|
|
182
|
-
return new r2(function(r3, o3) {
|
|
183
|
-
e2(t4, n2, r3, o3);
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
return o2 = o2 ? o2.then(i2, i2) : i2();
|
|
187
|
-
}, true);
|
|
188
|
-
}
|
|
189
|
-
function d(r2, e2) {
|
|
190
|
-
var n2 = e2.method, o2 = r2.i[n2];
|
|
191
|
-
if (o2 === t2) return e2.delegate = null, "throw" === n2 && r2.i.return && (e2.method = "return", e2.arg = t2, d(r2, e2), "throw" === e2.method) || "return" !== n2 && (e2.method = "throw", e2.arg = new TypeError("The iterator does not provide a '" + n2 + "' method")), f;
|
|
192
|
-
var i2 = s(o2, r2.i, e2.arg);
|
|
193
|
-
if ("throw" === i2.type) return e2.method = "throw", e2.arg = i2.arg, e2.delegate = null, f;
|
|
194
|
-
var a2 = i2.arg;
|
|
195
|
-
return a2 ? a2.done ? (e2[r2.r] = a2.value, e2.next = r2.n, "return" !== e2.method && (e2.method = "next", e2.arg = t2), e2.delegate = null, f) : a2 : (e2.method = "throw", e2.arg = new TypeError("iterator result is not an object"), e2.delegate = null, f);
|
|
196
|
-
}
|
|
197
|
-
function w(t3) {
|
|
198
|
-
this.tryEntries.push(t3);
|
|
199
|
-
}
|
|
200
|
-
function m(r2) {
|
|
201
|
-
var e2 = r2[4] || {};
|
|
202
|
-
e2.type = "normal", e2.arg = t2, r2[4] = e2;
|
|
203
|
-
}
|
|
204
|
-
function Context(t3) {
|
|
205
|
-
this.tryEntries = [[-1]], t3.forEach(w, this), this.reset(true);
|
|
206
|
-
}
|
|
207
|
-
function x(r2) {
|
|
208
|
-
if (null != r2) {
|
|
209
|
-
var e2 = r2[i];
|
|
210
|
-
if (e2) return e2.call(r2);
|
|
211
|
-
if ("function" == typeof r2.next) return r2;
|
|
212
|
-
if (!isNaN(r2.length)) {
|
|
213
|
-
var o2 = -1, a2 = function e3() {
|
|
214
|
-
for (; ++o2 < r2.length; ) if (n.call(r2, o2)) return e3.value = r2[o2], e3.done = false, e3;
|
|
215
|
-
return e3.value = t2, e3.done = true, e3;
|
|
216
|
-
};
|
|
217
|
-
return a2.next = a2;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
throw new TypeError(typeof r2 + " is not iterable");
|
|
221
|
-
}
|
|
222
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function(t3) {
|
|
223
|
-
var r2 = "function" == typeof t3 && t3.constructor;
|
|
224
|
-
return !!r2 && (r2 === GeneratorFunction || "GeneratorFunction" === (r2.displayName || r2.name));
|
|
225
|
-
}, r.mark = function(t3) {
|
|
226
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(t3, GeneratorFunctionPrototype) : (t3.__proto__ = GeneratorFunctionPrototype, c(t3, u, "GeneratorFunction")), t3.prototype = Object.create(v), t3;
|
|
227
|
-
}, r.awrap = function(t3) {
|
|
228
|
-
return { __await: t3 };
|
|
229
|
-
}, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function() {
|
|
230
|
-
return this;
|
|
231
|
-
}), r.AsyncIterator = AsyncIterator, r.async = function(t3, e2, n2, o2, i2) {
|
|
232
|
-
void 0 === i2 && (i2 = Promise);
|
|
233
|
-
var a2 = new AsyncIterator(h2(t3, e2, n2, o2), i2);
|
|
234
|
-
return r.isGeneratorFunction(e2) ? a2 : a2.next().then(function(t4) {
|
|
235
|
-
return t4.done ? t4.value : a2.next();
|
|
236
|
-
});
|
|
237
|
-
}, g(v), c(v, u, "Generator"), c(v, i, function() {
|
|
136
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function() {
|
|
238
137
|
return this;
|
|
239
|
-
}),
|
|
138
|
+
}), _regeneratorDefine2(u, "toString", function() {
|
|
240
139
|
return "[object Generator]";
|
|
241
|
-
}),
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
if (
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
for (var o2 = e2.tryEntries.length - 1; o2 >= 0; --o2) {
|
|
262
|
-
var i2 = this.tryEntries[o2], a2 = i2[4], u2 = this.prev, c2 = i2[1], h3 = i2[2];
|
|
263
|
-
if (-1 === i2[0]) return n2("end"), false;
|
|
264
|
-
if (!c2 && !h3) throw Error("try statement without catch or finally");
|
|
265
|
-
if (null != i2[0] && i2[0] <= u2) {
|
|
266
|
-
if (u2 < c2) return this.method = "next", this.arg = t2, n2(c2), true;
|
|
267
|
-
if (u2 < h3) return n2(h3), false;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}, abrupt: function abrupt(t3, r2) {
|
|
271
|
-
for (var e2 = this.tryEntries.length - 1; e2 >= 0; --e2) {
|
|
272
|
-
var n2 = this.tryEntries[e2];
|
|
273
|
-
if (n2[0] > -1 && n2[0] <= this.prev && this.prev < n2[2]) {
|
|
274
|
-
var o2 = n2;
|
|
275
|
-
break;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
o2 && ("break" === t3 || "continue" === t3) && o2[0] <= r2 && r2 <= o2[2] && (o2 = null);
|
|
279
|
-
var i2 = o2 ? o2[4] : {};
|
|
280
|
-
return i2.type = t3, i2.arg = r2, o2 ? (this.method = "next", this.next = o2[2], f) : this.complete(i2);
|
|
281
|
-
}, complete: function complete(t3, r2) {
|
|
282
|
-
if ("throw" === t3.type) throw t3.arg;
|
|
283
|
-
return "break" === t3.type || "continue" === t3.type ? this.next = t3.arg : "return" === t3.type ? (this.rval = this.arg = t3.arg, this.method = "return", this.next = "end") : "normal" === t3.type && r2 && (this.next = r2), f;
|
|
284
|
-
}, finish: function finish(t3) {
|
|
285
|
-
for (var r2 = this.tryEntries.length - 1; r2 >= 0; --r2) {
|
|
286
|
-
var e2 = this.tryEntries[r2];
|
|
287
|
-
if (e2[2] === t3) return this.complete(e2[4], e2[3]), m(e2), f;
|
|
288
|
-
}
|
|
289
|
-
}, catch: function _catch(t3) {
|
|
290
|
-
for (var r2 = this.tryEntries.length - 1; r2 >= 0; --r2) {
|
|
291
|
-
var e2 = this.tryEntries[r2];
|
|
292
|
-
if (e2[0] === t3) {
|
|
293
|
-
var n2 = e2[4];
|
|
294
|
-
if ("throw" === n2.type) {
|
|
295
|
-
var o2 = n2.arg;
|
|
296
|
-
m(e2);
|
|
297
|
-
}
|
|
298
|
-
return o2;
|
|
299
|
-
}
|
|
140
|
+
}), (_regenerator = function _regenerator2() {
|
|
141
|
+
return { w: i, m: f };
|
|
142
|
+
})();
|
|
143
|
+
}
|
|
144
|
+
function _regeneratorDefine2(e, r, n, t2) {
|
|
145
|
+
var i = Object.defineProperty;
|
|
146
|
+
try {
|
|
147
|
+
i({}, "", {});
|
|
148
|
+
} catch (e2) {
|
|
149
|
+
i = 0;
|
|
150
|
+
}
|
|
151
|
+
_regeneratorDefine2 = function _regeneratorDefine(e2, r2, n2, t3) {
|
|
152
|
+
if (r2) i ? i(e2, r2, { value: n2, enumerable: !t3, configurable: !t3, writable: !t3 }) : e2[r2] = n2;
|
|
153
|
+
else {
|
|
154
|
+
var o = function o2(r3, n3) {
|
|
155
|
+
_regeneratorDefine2(e2, r3, function(e3) {
|
|
156
|
+
return this._invoke(r3, n3, e3);
|
|
157
|
+
});
|
|
158
|
+
};
|
|
159
|
+
o("next", 0), o("throw", 1), o("return", 2);
|
|
300
160
|
}
|
|
301
|
-
|
|
302
|
-
}, delegateYield: function delegateYield(r2, e2, n2) {
|
|
303
|
-
return this.delegate = { i: x(r2), r: e2, n: n2 }, "next" === this.method && (this.arg = t2), f;
|
|
304
|
-
} }, r;
|
|
161
|
+
}, _regeneratorDefine2(e, r, n, t2);
|
|
305
162
|
}
|
|
306
163
|
function asyncGeneratorStep(n, t2, e, r, o, a, c) {
|
|
307
164
|
try {
|
|
@@ -4280,6 +4137,10 @@ var Panel$1 = /* @__PURE__ */ defineComponent({
|
|
|
4280
4137
|
confirmFilter: function confirmFilter(type) {
|
|
4281
4138
|
var column = this.filterStore.column;
|
|
4282
4139
|
this.condition.type = type;
|
|
4140
|
+
if (typeof this.condition.input === "string") {
|
|
4141
|
+
var _this$condition$input;
|
|
4142
|
+
this.condition.input = (_this$condition$input = this.condition.input) == null ? void 0 : _this$condition$input.trim();
|
|
4143
|
+
}
|
|
4283
4144
|
column.filter.condition = extend(true, {}, this.condition);
|
|
4284
4145
|
this.$parent.confirmFilterEvent();
|
|
4285
4146
|
},
|
|
@@ -13131,10 +12992,10 @@ var Methods$c = {
|
|
|
13131
12992
|
*/
|
|
13132
12993
|
handleActived: function handleActived(params, event) {
|
|
13133
12994
|
var _this68 = this;
|
|
13134
|
-
return _asyncToGenerator(/* @__PURE__ */
|
|
12995
|
+
return _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee() {
|
|
13135
12996
|
var editConfig, editStore, tableColumn3, cell, column, row2, editor, actived, isActiveCell, type, canActive, args;
|
|
13136
|
-
return
|
|
13137
|
-
while (1) switch (_context.
|
|
12997
|
+
return _regenerator().w(function(_context) {
|
|
12998
|
+
while (1) switch (_context.n) {
|
|
13138
12999
|
case 0:
|
|
13139
13000
|
editConfig = _this68.editConfig, editStore = _this68.editStore, tableColumn3 = _this68.tableColumn;
|
|
13140
13001
|
cell = params.cell, column = params.column, row2 = params.row;
|
|
@@ -13147,17 +13008,17 @@ var Methods$c = {
|
|
|
13147
13008
|
row: row2
|
|
13148
13009
|
});
|
|
13149
13010
|
if (!(editor && cell && isActiveCell)) {
|
|
13150
|
-
_context.
|
|
13011
|
+
_context.n = 2;
|
|
13151
13012
|
break;
|
|
13152
13013
|
}
|
|
13153
13014
|
type = "edit-disabled";
|
|
13154
|
-
_context.
|
|
13015
|
+
_context.n = 1;
|
|
13155
13016
|
return handleActivedCanActive({
|
|
13156
13017
|
editConfig,
|
|
13157
13018
|
params
|
|
13158
13019
|
});
|
|
13159
|
-
case
|
|
13160
|
-
canActive = _context.
|
|
13020
|
+
case 1:
|
|
13021
|
+
canActive = _context.v;
|
|
13161
13022
|
args = {
|
|
13162
13023
|
_vm: _this68,
|
|
13163
13024
|
actived,
|
|
@@ -13180,7 +13041,7 @@ var Methods$c = {
|
|
|
13180
13041
|
event
|
|
13181
13042
|
});
|
|
13182
13043
|
emitEvent(_this68, type, [params, event]);
|
|
13183
|
-
case
|
|
13044
|
+
case 2:
|
|
13184
13045
|
handleActivedTryActive({
|
|
13185
13046
|
_vm: _this68,
|
|
13186
13047
|
actived,
|
|
@@ -13192,10 +13053,7 @@ var Methods$c = {
|
|
|
13192
13053
|
params,
|
|
13193
13054
|
row: row2
|
|
13194
13055
|
});
|
|
13195
|
-
return _context.
|
|
13196
|
-
case 17:
|
|
13197
|
-
case "end":
|
|
13198
|
-
return _context.stop();
|
|
13056
|
+
return _context.a(2, _this68.$nextTick());
|
|
13199
13057
|
}
|
|
13200
13058
|
}, _callee);
|
|
13201
13059
|
}))();
|
|
@@ -14447,25 +14305,22 @@ var onRejected = function onRejected2(opt, _this) {
|
|
|
14447
14305
|
};
|
|
14448
14306
|
};
|
|
14449
14307
|
var funcPosAndFinish = function funcPosAndFinish2(params2, finish) {
|
|
14450
|
-
return /* @__PURE__ */ _asyncToGenerator(/* @__PURE__ */
|
|
14451
|
-
return
|
|
14452
|
-
while (1) switch (_context2.
|
|
14308
|
+
return /* @__PURE__ */ _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee2() {
|
|
14309
|
+
return _regenerator().w(function(_context2) {
|
|
14310
|
+
while (1) switch (_context2.n) {
|
|
14453
14311
|
case 0:
|
|
14454
14312
|
if (!_this.scrollXLoad) {
|
|
14455
|
-
_context2.
|
|
14313
|
+
_context2.n = 1;
|
|
14456
14314
|
break;
|
|
14457
14315
|
}
|
|
14458
|
-
_context2.
|
|
14316
|
+
_context2.n = 1;
|
|
14459
14317
|
return _this.scrollToColumn(params2.column, true);
|
|
14460
|
-
case
|
|
14461
|
-
return _context2.
|
|
14318
|
+
case 1:
|
|
14319
|
+
return _context2.a(2, getCell(_this, params2).then(function(activeCell) {
|
|
14462
14320
|
params2.cell = activeCell;
|
|
14463
14321
|
_this.handleValidError(params2);
|
|
14464
14322
|
finish();
|
|
14465
14323
|
}));
|
|
14466
|
-
case 4:
|
|
14467
|
-
case "end":
|
|
14468
|
-
return _context2.stop();
|
|
14469
14324
|
}
|
|
14470
14325
|
}, _callee2);
|
|
14471
14326
|
}));
|
|
@@ -16634,7 +16489,7 @@ var Tree = {
|
|
|
16634
16489
|
Object.assign(host.methods, Methods);
|
|
16635
16490
|
}
|
|
16636
16491
|
};
|
|
16637
|
-
var version = "3.
|
|
16492
|
+
var version = "3.undefined";
|
|
16638
16493
|
var plugins = [Panel, Edit, Export, Keyboard, Validator, Resize, Panel$1, FetchData, Pager, Toolbar, ColumnAnchor, Dragger, Sort, Tooltip, Checkbox, Tree];
|
|
16639
16494
|
Grid$1.setup({
|
|
16640
16495
|
i18n: t
|
package/package.json
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-grid",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.24.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"module": "./lib/index.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opentinyvue/vue-common": "~3.
|
|
12
|
-
"@opentinyvue/vue-directive": "~3.
|
|
13
|
-
"@opentinyvue/vue-dropdown": "~3.
|
|
14
|
-
"@opentinyvue/vue-dropdown-item": "~3.
|
|
15
|
-
"@opentinyvue/vue-dropdown-menu": "~3.
|
|
16
|
-
"@opentinyvue/vue-exception": "~3.
|
|
17
|
-
"@opentinyvue/vue-icon": "~3.
|
|
18
|
-
"@opentinyvue/vue-loading": "~3.
|
|
19
|
-
"@opentinyvue/vue-locale": "~3.
|
|
20
|
-
"@opentinyvue/vue-modal": "~3.
|
|
21
|
-
"@opentinyvue/vue-pager": "~3.
|
|
22
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
23
|
-
"@opentinyvue/vue-tag": "~3.
|
|
24
|
-
"@opentinyvue/vue-theme": "~3.
|
|
25
|
-
"@opentinyvue/vue-tooltip": "~3.
|
|
26
|
-
"@opentinyvue/utils": "~3.
|
|
11
|
+
"@opentinyvue/vue-common": "~3.24.0",
|
|
12
|
+
"@opentinyvue/vue-directive": "~3.24.0",
|
|
13
|
+
"@opentinyvue/vue-dropdown": "~3.24.0",
|
|
14
|
+
"@opentinyvue/vue-dropdown-item": "~3.24.0",
|
|
15
|
+
"@opentinyvue/vue-dropdown-menu": "~3.24.0",
|
|
16
|
+
"@opentinyvue/vue-exception": "~3.24.0",
|
|
17
|
+
"@opentinyvue/vue-icon": "~3.24.0",
|
|
18
|
+
"@opentinyvue/vue-loading": "~3.24.0",
|
|
19
|
+
"@opentinyvue/vue-locale": "~3.24.0",
|
|
20
|
+
"@opentinyvue/vue-modal": "~3.24.0",
|
|
21
|
+
"@opentinyvue/vue-pager": "~3.24.0",
|
|
22
|
+
"@opentinyvue/vue-renderless": "~3.24.0",
|
|
23
|
+
"@opentinyvue/vue-tag": "~3.24.0",
|
|
24
|
+
"@opentinyvue/vue-theme": "~3.24.0",
|
|
25
|
+
"@opentinyvue/vue-tooltip": "~3.24.0",
|
|
26
|
+
"@opentinyvue/utils": "~3.24.0"
|
|
27
27
|
},
|
|
28
28
|
"types": "index.d.ts",
|
|
29
29
|
"scripts": {
|
|
@@ -85,6 +85,7 @@ declare const _default: hooks.DefineComponent<{
|
|
|
85
85
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
86
86
|
tiny_renderless: FunctionConstructor;
|
|
87
87
|
tiny_theme: StringConstructor;
|
|
88
|
+
tiny_mcp_config: ObjectConstructor;
|
|
88
89
|
tiny_chart_theme: ObjectConstructor;
|
|
89
90
|
}, {
|
|
90
91
|
columnConfig: any;
|
|
@@ -210,6 +211,7 @@ declare const _default: hooks.DefineComponent<{
|
|
|
210
211
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
211
212
|
tiny_renderless: FunctionConstructor;
|
|
212
213
|
tiny_theme: StringConstructor;
|
|
214
|
+
tiny_mcp_config: ObjectConstructor;
|
|
213
215
|
tiny_chart_theme: ObjectConstructor;
|
|
214
216
|
}>>, {
|
|
215
217
|
required: boolean;
|
|
@@ -18,6 +18,7 @@ declare const _default: hooks.DefineComponent<{
|
|
|
18
18
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
19
19
|
tiny_renderless: FunctionConstructor;
|
|
20
20
|
tiny_theme: StringConstructor;
|
|
21
|
+
tiny_mcp_config: ObjectConstructor;
|
|
21
22
|
tiny_chart_theme: ObjectConstructor;
|
|
22
23
|
}, unknown, unknown, {}, {}, hooks.ComponentOptionsMixin, hooks.ComponentOptionsMixin, {}, string, hooks.PublicProps, Readonly<hooks.ExtractPropTypes<{
|
|
23
24
|
visible: BooleanConstructor;
|
|
@@ -27,6 +28,7 @@ declare const _default: hooks.DefineComponent<{
|
|
|
27
28
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
28
29
|
tiny_renderless: FunctionConstructor;
|
|
29
30
|
tiny_theme: StringConstructor;
|
|
31
|
+
tiny_mcp_config: ObjectConstructor;
|
|
30
32
|
tiny_chart_theme: ObjectConstructor;
|
|
31
33
|
}>>, {
|
|
32
34
|
visible: boolean;
|
|
@@ -6,6 +6,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
6
6
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
7
7
|
tiny_renderless: FunctionConstructor;
|
|
8
8
|
tiny_theme: StringConstructor;
|
|
9
|
+
tiny_mcp_config: ObjectConstructor;
|
|
9
10
|
tiny_chart_theme: ObjectConstructor;
|
|
10
11
|
}, unknown, unknown, {}, {
|
|
11
12
|
handleMouseenter(e: any): void;
|
|
@@ -18,6 +19,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
18
19
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
19
20
|
tiny_renderless: FunctionConstructor;
|
|
20
21
|
tiny_theme: StringConstructor;
|
|
22
|
+
tiny_mcp_config: ObjectConstructor;
|
|
21
23
|
tiny_chart_theme: ObjectConstructor;
|
|
22
24
|
}>>, {
|
|
23
25
|
tiny_mode_root: boolean;
|
|
@@ -6,6 +6,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
6
6
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
7
7
|
tiny_renderless: FunctionConstructor;
|
|
8
8
|
tiny_theme: StringConstructor;
|
|
9
|
+
tiny_mcp_config: ObjectConstructor;
|
|
9
10
|
tiny_chart_theme: ObjectConstructor;
|
|
10
11
|
}, unknown, unknown, {
|
|
11
12
|
showLink(): any;
|
|
@@ -17,6 +18,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
17
18
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
18
19
|
tiny_renderless: FunctionConstructor;
|
|
19
20
|
tiny_theme: StringConstructor;
|
|
21
|
+
tiny_mcp_config: ObjectConstructor;
|
|
20
22
|
tiny_chart_theme: ObjectConstructor;
|
|
21
23
|
}>>, {
|
|
22
24
|
tiny_mode_root: boolean;
|
|
@@ -6,6 +6,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
6
6
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
7
7
|
tiny_renderless: FunctionConstructor;
|
|
8
8
|
tiny_theme: StringConstructor;
|
|
9
|
+
tiny_mcp_config: ObjectConstructor;
|
|
9
10
|
tiny_chart_theme: ObjectConstructor;
|
|
10
11
|
}, unknown, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
11
12
|
datas: ObjectConstructor;
|
|
@@ -15,6 +16,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
15
16
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
16
17
|
tiny_renderless: FunctionConstructor;
|
|
17
18
|
tiny_theme: StringConstructor;
|
|
19
|
+
tiny_mcp_config: ObjectConstructor;
|
|
18
20
|
tiny_chart_theme: ObjectConstructor;
|
|
19
21
|
}>>, {
|
|
20
22
|
tiny_mode_root: boolean;
|
|
@@ -6,6 +6,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
6
6
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
7
7
|
tiny_renderless: FunctionConstructor;
|
|
8
8
|
tiny_theme: StringConstructor;
|
|
9
|
+
tiny_mcp_config: ObjectConstructor;
|
|
9
10
|
tiny_chart_theme: ObjectConstructor;
|
|
10
11
|
}, unknown, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
11
12
|
datas: ObjectConstructor;
|
|
@@ -15,6 +16,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
15
16
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
16
17
|
tiny_renderless: FunctionConstructor;
|
|
17
18
|
tiny_theme: StringConstructor;
|
|
19
|
+
tiny_mcp_config: ObjectConstructor;
|
|
18
20
|
tiny_chart_theme: ObjectConstructor;
|
|
19
21
|
}>>, {
|
|
20
22
|
tiny_mode_root: boolean;
|
|
@@ -4,6 +4,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
4
4
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
5
5
|
tiny_renderless: FunctionConstructor;
|
|
6
6
|
tiny_theme: StringConstructor;
|
|
7
|
+
tiny_mcp_config: ObjectConstructor;
|
|
7
8
|
tiny_chart_theme: ObjectConstructor;
|
|
8
9
|
}, unknown, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
9
10
|
tiny_mode: StringConstructor;
|
|
@@ -11,6 +12,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
11
12
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
12
13
|
tiny_renderless: FunctionConstructor;
|
|
13
14
|
tiny_theme: StringConstructor;
|
|
15
|
+
tiny_mcp_config: ObjectConstructor;
|
|
14
16
|
tiny_chart_theme: ObjectConstructor;
|
|
15
17
|
}>>, {
|
|
16
18
|
tiny_mode_root: boolean;
|
|
@@ -4,6 +4,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
4
4
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
5
5
|
tiny_renderless: FunctionConstructor;
|
|
6
6
|
tiny_theme: StringConstructor;
|
|
7
|
+
tiny_mcp_config: ObjectConstructor;
|
|
7
8
|
tiny_chart_theme: ObjectConstructor;
|
|
8
9
|
}, unknown, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
9
10
|
tiny_mode: StringConstructor;
|
|
@@ -11,6 +12,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
11
12
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
12
13
|
tiny_renderless: FunctionConstructor;
|
|
13
14
|
tiny_theme: StringConstructor;
|
|
15
|
+
tiny_mcp_config: ObjectConstructor;
|
|
14
16
|
tiny_chart_theme: ObjectConstructor;
|
|
15
17
|
}>>, {
|
|
16
18
|
tiny_mode_root: boolean;
|
|
@@ -4,6 +4,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
4
4
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
5
5
|
tiny_renderless: FunctionConstructor;
|
|
6
6
|
tiny_theme: StringConstructor;
|
|
7
|
+
tiny_mcp_config: ObjectConstructor;
|
|
7
8
|
tiny_chart_theme: ObjectConstructor;
|
|
8
9
|
}, unknown, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
9
10
|
tiny_mode: StringConstructor;
|
|
@@ -11,6 +12,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
11
12
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
12
13
|
tiny_renderless: FunctionConstructor;
|
|
13
14
|
tiny_theme: StringConstructor;
|
|
15
|
+
tiny_mcp_config: ObjectConstructor;
|
|
14
16
|
tiny_chart_theme: ObjectConstructor;
|
|
15
17
|
}>>, {
|
|
16
18
|
tiny_mode_root: boolean;
|
|
@@ -11,6 +11,7 @@ declare const _default: hooks.DefineComponent<{
|
|
|
11
11
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
12
12
|
tiny_renderless: FunctionConstructor;
|
|
13
13
|
tiny_theme: StringConstructor;
|
|
14
|
+
tiny_mcp_config: ObjectConstructor;
|
|
14
15
|
tiny_chart_theme: ObjectConstructor;
|
|
15
16
|
}, unknown, {
|
|
16
17
|
primaryColumn: null;
|
|
@@ -70,6 +71,7 @@ declare const _default: hooks.DefineComponent<{
|
|
|
70
71
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
71
72
|
tiny_renderless: FunctionConstructor;
|
|
72
73
|
tiny_theme: StringConstructor;
|
|
74
|
+
tiny_mcp_config: ObjectConstructor;
|
|
73
75
|
tiny_chart_theme: ObjectConstructor;
|
|
74
76
|
}>>, {
|
|
75
77
|
tiny_mode_root: boolean;
|
|
@@ -4,6 +4,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
4
4
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
5
5
|
tiny_renderless: FunctionConstructor;
|
|
6
6
|
tiny_theme: StringConstructor;
|
|
7
|
+
tiny_mcp_config: ObjectConstructor;
|
|
7
8
|
tiny_chart_theme: ObjectConstructor;
|
|
8
9
|
}, unknown, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
9
10
|
tiny_mode: StringConstructor;
|
|
@@ -11,6 +12,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
11
12
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
12
13
|
tiny_renderless: FunctionConstructor;
|
|
13
14
|
tiny_theme: StringConstructor;
|
|
15
|
+
tiny_mcp_config: ObjectConstructor;
|
|
14
16
|
tiny_chart_theme: ObjectConstructor;
|
|
15
17
|
}>>, {
|
|
16
18
|
tiny_mode_root: boolean;
|
|
@@ -6,6 +6,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
6
6
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
7
7
|
tiny_renderless: FunctionConstructor;
|
|
8
8
|
tiny_theme: StringConstructor;
|
|
9
|
+
tiny_mcp_config: ObjectConstructor;
|
|
9
10
|
tiny_chart_theme: ObjectConstructor;
|
|
10
11
|
}, unknown, {
|
|
11
12
|
mergeClass: (...cssClasses: any[]) => string;
|
|
@@ -23,6 +24,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
23
24
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
24
25
|
tiny_renderless: FunctionConstructor;
|
|
25
26
|
tiny_theme: StringConstructor;
|
|
27
|
+
tiny_mcp_config: ObjectConstructor;
|
|
26
28
|
tiny_chart_theme: ObjectConstructor;
|
|
27
29
|
}>> & {
|
|
28
30
|
"onCard-click"?: ((...args: any[]) => any) | undefined;
|