@opentinyvue/vue-guide 2.23.0 → 2.25.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 +1 -1
- package/lib/pc.js +84 -231
- package/package.json +5 -5
package/lib/index.js
CHANGED
package/lib/pc.js
CHANGED
|
@@ -33,229 +33,86 @@ function normalizeComponent(scriptExports, render, staticRenderFns, functionalTe
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
function
|
|
36
|
+
function _regenerator() {
|
|
37
37
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
return t3[r2] = e2;
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function h(r2, e2, n2, o2) {
|
|
53
|
-
var i2 = e2 && e2.prototype instanceof Generator ? e2 : Generator, a2 = Object.create(i2.prototype);
|
|
54
|
-
return c(a2, "_invoke", /* @__PURE__ */ function(r3, e3, n3) {
|
|
55
|
-
var o3 = 1;
|
|
56
|
-
return function(i3, a3) {
|
|
57
|
-
if (3 === o3) throw Error("Generator is already running");
|
|
58
|
-
if (4 === o3) {
|
|
59
|
-
if ("throw" === i3) throw a3;
|
|
60
|
-
return { value: t, done: true };
|
|
38
|
+
var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag";
|
|
39
|
+
function i(r2, n2, o2, i2) {
|
|
40
|
+
var c2 = n2 && n2.prototype instanceof Generator ? n2 : Generator, u2 = Object.create(c2.prototype);
|
|
41
|
+
return _regeneratorDefine2(u2, "_invoke", function(r3, n3, o3) {
|
|
42
|
+
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(t2, r4) {
|
|
43
|
+
return i3 = t2, c3 = 0, u3 = e, G.n = r4, a;
|
|
44
|
+
} };
|
|
45
|
+
function d(r4, n4) {
|
|
46
|
+
for (c3 = r4, u3 = n4, t = 0; !y && f2 && !o4 && t < p.length; t++) {
|
|
47
|
+
var o4, i4 = p[t], d2 = G.p, l = i4[2];
|
|
48
|
+
r4 > 3 ? (o4 = l === n4) && (u3 = i4[(c3 = i4[4]) ? 5 : (c3 = 3, 3)], i4[4] = 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));
|
|
61
49
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
50
|
+
if (o4 || r4 > 1) return a;
|
|
51
|
+
throw y = true, n4;
|
|
52
|
+
}
|
|
53
|
+
return function(o4, p2, l) {
|
|
54
|
+
if (f2 > 1) throw TypeError("Generator is already running");
|
|
55
|
+
for (y && 1 === p2 && d(p2, l), c3 = p2, u3 = l; (t = c3 < 2 ? e : u3) || !y; ) {
|
|
56
|
+
i3 || (c3 ? c3 < 3 ? (c3 > 1 && (G.n = -1), d(c3, u3)) : G.n = u3 : G.v = u3);
|
|
57
|
+
try {
|
|
58
|
+
if (f2 = 2, i3) {
|
|
59
|
+
if (c3 || (o4 = "next"), t = i3[o4]) {
|
|
60
|
+
if (!(t = t.call(i3, u3))) throw TypeError("iterator result is not an object");
|
|
61
|
+
if (!t.done) return t;
|
|
62
|
+
u3 = t.value, c3 < 2 && (c3 = 0);
|
|
63
|
+
} else 1 === c3 && (t = i3.return) && t.call(i3), c3 < 2 && (u3 = TypeError("The iterator does not provide a '" + o4 + "' method"), c3 = 1);
|
|
64
|
+
i3 = e;
|
|
65
|
+
} else if ((t = (y = G.n < 0) ? u3 : r3.call(n3, G)) !== a) break;
|
|
66
|
+
} catch (t2) {
|
|
67
|
+
i3 = e, c3 = 1, u3 = t2;
|
|
68
|
+
} finally {
|
|
69
|
+
f2 = 1;
|
|
81
70
|
}
|
|
82
|
-
"throw" === h2.type && (o3 = 4, n3.method = "throw", n3.arg = h2.arg);
|
|
83
71
|
}
|
|
72
|
+
return { value: t, done: y };
|
|
84
73
|
};
|
|
85
|
-
}(r2,
|
|
86
|
-
}
|
|
87
|
-
function s(t2, r2, e2) {
|
|
88
|
-
try {
|
|
89
|
-
return { type: "normal", arg: t2.call(r2, e2) };
|
|
90
|
-
} catch (t3) {
|
|
91
|
-
return { type: "throw", arg: t3 };
|
|
92
|
-
}
|
|
74
|
+
}(r2, o2, i2), true), u2;
|
|
93
75
|
}
|
|
94
|
-
|
|
95
|
-
var f = {};
|
|
76
|
+
var a = {};
|
|
96
77
|
function Generator() {
|
|
97
78
|
}
|
|
98
79
|
function GeneratorFunction() {
|
|
99
80
|
}
|
|
100
81
|
function GeneratorFunctionPrototype() {
|
|
101
82
|
}
|
|
102
|
-
|
|
103
|
-
c(
|
|
83
|
+
t = Object.getPrototypeOf;
|
|
84
|
+
var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function() {
|
|
104
85
|
return this;
|
|
105
|
-
});
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l);
|
|
109
|
-
function g(t2) {
|
|
110
|
-
["next", "throw", "return"].forEach(function(r2) {
|
|
111
|
-
c(t2, r2, function(t3) {
|
|
112
|
-
return this._invoke(r2, t3);
|
|
113
|
-
});
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
function AsyncIterator(t2, r2) {
|
|
117
|
-
function e2(o3, i2, a2, u2) {
|
|
118
|
-
var c2 = s(t2[o3], t2, i2);
|
|
119
|
-
if ("throw" !== c2.type) {
|
|
120
|
-
var h2 = c2.arg, f2 = h2.value;
|
|
121
|
-
return f2 && "object" == typeof f2 && n.call(f2, "__await") ? r2.resolve(f2.__await).then(function(t3) {
|
|
122
|
-
e2("next", t3, a2, u2);
|
|
123
|
-
}, function(t3) {
|
|
124
|
-
e2("throw", t3, a2, u2);
|
|
125
|
-
}) : r2.resolve(f2).then(function(t3) {
|
|
126
|
-
h2.value = t3, a2(h2);
|
|
127
|
-
}, function(t3) {
|
|
128
|
-
return e2("throw", t3, a2, u2);
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
u2(c2.arg);
|
|
132
|
-
}
|
|
133
|
-
var o2;
|
|
134
|
-
c(this, "_invoke", function(t3, n2) {
|
|
135
|
-
function i2() {
|
|
136
|
-
return new r2(function(r3, o3) {
|
|
137
|
-
e2(t3, n2, r3, o3);
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
return o2 = o2 ? o2.then(i2, i2) : i2();
|
|
141
|
-
}, true);
|
|
142
|
-
}
|
|
143
|
-
function d(r2, e2) {
|
|
144
|
-
var n2 = e2.method, o2 = r2.i[n2];
|
|
145
|
-
if (o2 === t) return e2.delegate = null, "throw" === n2 && r2.i.return && (e2.method = "return", e2.arg = t, d(r2, e2), "throw" === e2.method) || "return" !== n2 && (e2.method = "throw", e2.arg = new TypeError("The iterator does not provide a '" + n2 + "' method")), f;
|
|
146
|
-
var i2 = s(o2, r2.i, e2.arg);
|
|
147
|
-
if ("throw" === i2.type) return e2.method = "throw", e2.arg = i2.arg, e2.delegate = null, f;
|
|
148
|
-
var a2 = i2.arg;
|
|
149
|
-
return a2 ? a2.done ? (e2[r2.r] = a2.value, e2.next = r2.n, "return" !== e2.method && (e2.method = "next", e2.arg = t), e2.delegate = null, f) : a2 : (e2.method = "throw", e2.arg = new TypeError("iterator result is not an object"), e2.delegate = null, f);
|
|
150
|
-
}
|
|
151
|
-
function w(t2) {
|
|
152
|
-
this.tryEntries.push(t2);
|
|
153
|
-
}
|
|
154
|
-
function m(r2) {
|
|
155
|
-
var e2 = r2[4] || {};
|
|
156
|
-
e2.type = "normal", e2.arg = t, r2[4] = e2;
|
|
157
|
-
}
|
|
158
|
-
function Context(t2) {
|
|
159
|
-
this.tryEntries = [[-1]], t2.forEach(w, this), this.reset(true);
|
|
86
|
+
}), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
87
|
+
function f(e2) {
|
|
88
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e2, GeneratorFunctionPrototype) : (e2.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e2, o, "GeneratorFunction")), e2.prototype = Object.create(u), e2;
|
|
160
89
|
}
|
|
161
|
-
|
|
162
|
-
if (null != r2) {
|
|
163
|
-
var e2 = r2[i];
|
|
164
|
-
if (e2) return e2.call(r2);
|
|
165
|
-
if ("function" == typeof r2.next) return r2;
|
|
166
|
-
if (!isNaN(r2.length)) {
|
|
167
|
-
var o2 = -1, a2 = function e3() {
|
|
168
|
-
for (; ++o2 < r2.length; ) if (n.call(r2, o2)) return e3.value = r2[o2], e3.done = false, e3;
|
|
169
|
-
return e3.value = t, e3.done = true, e3;
|
|
170
|
-
};
|
|
171
|
-
return a2.next = a2;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
throw new TypeError(typeof r2 + " is not iterable");
|
|
175
|
-
}
|
|
176
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function(t2) {
|
|
177
|
-
var r2 = "function" == typeof t2 && t2.constructor;
|
|
178
|
-
return !!r2 && (r2 === GeneratorFunction || "GeneratorFunction" === (r2.displayName || r2.name));
|
|
179
|
-
}, r.mark = function(t2) {
|
|
180
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(t2, GeneratorFunctionPrototype) : (t2.__proto__ = GeneratorFunctionPrototype, c(t2, u, "GeneratorFunction")), t2.prototype = Object.create(v), t2;
|
|
181
|
-
}, r.awrap = function(t2) {
|
|
182
|
-
return { __await: t2 };
|
|
183
|
-
}, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function() {
|
|
184
|
-
return this;
|
|
185
|
-
}), r.AsyncIterator = AsyncIterator, r.async = function(t2, e2, n2, o2, i2) {
|
|
186
|
-
void 0 === i2 && (i2 = Promise);
|
|
187
|
-
var a2 = new AsyncIterator(h(t2, e2, n2, o2), i2);
|
|
188
|
-
return r.isGeneratorFunction(e2) ? a2 : a2.next().then(function(t3) {
|
|
189
|
-
return t3.done ? t3.value : a2.next();
|
|
190
|
-
});
|
|
191
|
-
}, g(v), c(v, u, "Generator"), c(v, i, function() {
|
|
90
|
+
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() {
|
|
192
91
|
return this;
|
|
193
|
-
}),
|
|
92
|
+
}), _regeneratorDefine2(u, "toString", function() {
|
|
194
93
|
return "[object Generator]";
|
|
195
|
-
}),
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
if (
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
for (var o2 = e2.tryEntries.length - 1; o2 >= 0; --o2) {
|
|
216
|
-
var i2 = this.tryEntries[o2], a2 = i2[4], u2 = this.prev, c2 = i2[1], h2 = i2[2];
|
|
217
|
-
if (-1 === i2[0]) return n2("end"), false;
|
|
218
|
-
if (!c2 && !h2) throw Error("try statement without catch or finally");
|
|
219
|
-
if (null != i2[0] && i2[0] <= u2) {
|
|
220
|
-
if (u2 < c2) return this.method = "next", this.arg = t, n2(c2), true;
|
|
221
|
-
if (u2 < h2) return n2(h2), false;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}, abrupt: function abrupt(t2, r2) {
|
|
225
|
-
for (var e2 = this.tryEntries.length - 1; e2 >= 0; --e2) {
|
|
226
|
-
var n2 = this.tryEntries[e2];
|
|
227
|
-
if (n2[0] > -1 && n2[0] <= this.prev && this.prev < n2[2]) {
|
|
228
|
-
var o2 = n2;
|
|
229
|
-
break;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
o2 && ("break" === t2 || "continue" === t2) && o2[0] <= r2 && r2 <= o2[2] && (o2 = null);
|
|
233
|
-
var i2 = o2 ? o2[4] : {};
|
|
234
|
-
return i2.type = t2, i2.arg = r2, o2 ? (this.method = "next", this.next = o2[2], f) : this.complete(i2);
|
|
235
|
-
}, complete: function complete(t2, r2) {
|
|
236
|
-
if ("throw" === t2.type) throw t2.arg;
|
|
237
|
-
return "break" === t2.type || "continue" === t2.type ? this.next = t2.arg : "return" === t2.type ? (this.rval = this.arg = t2.arg, this.method = "return", this.next = "end") : "normal" === t2.type && r2 && (this.next = r2), f;
|
|
238
|
-
}, finish: function finish(t2) {
|
|
239
|
-
for (var r2 = this.tryEntries.length - 1; r2 >= 0; --r2) {
|
|
240
|
-
var e2 = this.tryEntries[r2];
|
|
241
|
-
if (e2[2] === t2) return this.complete(e2[4], e2[3]), m(e2), f;
|
|
242
|
-
}
|
|
243
|
-
}, catch: function _catch(t2) {
|
|
244
|
-
for (var r2 = this.tryEntries.length - 1; r2 >= 0; --r2) {
|
|
245
|
-
var e2 = this.tryEntries[r2];
|
|
246
|
-
if (e2[0] === t2) {
|
|
247
|
-
var n2 = e2[4];
|
|
248
|
-
if ("throw" === n2.type) {
|
|
249
|
-
var o2 = n2.arg;
|
|
250
|
-
m(e2);
|
|
251
|
-
}
|
|
252
|
-
return o2;
|
|
253
|
-
}
|
|
94
|
+
}), (_regenerator = function _regenerator2() {
|
|
95
|
+
return { w: i, m: f };
|
|
96
|
+
})();
|
|
97
|
+
}
|
|
98
|
+
function _regeneratorDefine2(e, r, n, t) {
|
|
99
|
+
var i = Object.defineProperty;
|
|
100
|
+
try {
|
|
101
|
+
i({}, "", {});
|
|
102
|
+
} catch (e2) {
|
|
103
|
+
i = 0;
|
|
104
|
+
}
|
|
105
|
+
_regeneratorDefine2 = function _regeneratorDefine(e2, r2, n2, t2) {
|
|
106
|
+
if (r2) i ? i(e2, r2, { value: n2, enumerable: !t2, configurable: !t2, writable: !t2 }) : e2[r2] = n2;
|
|
107
|
+
else {
|
|
108
|
+
var o = function o2(r3, n3) {
|
|
109
|
+
_regeneratorDefine2(e2, r3, function(e3) {
|
|
110
|
+
return this._invoke(r3, n3, e3);
|
|
111
|
+
});
|
|
112
|
+
};
|
|
113
|
+
o("next", 0), o("throw", 1), o("return", 2);
|
|
254
114
|
}
|
|
255
|
-
|
|
256
|
-
}, delegateYield: function delegateYield(r2, e2, n2) {
|
|
257
|
-
return this.delegate = { i: x(r2), r: e2, n: n2 }, "next" === this.method && (this.arg = t), f;
|
|
258
|
-
} }, r;
|
|
115
|
+
}, _regeneratorDefine2(e, r, n, t);
|
|
259
116
|
}
|
|
260
117
|
function _extends() {
|
|
261
118
|
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
@@ -298,27 +155,29 @@ function getSide(placement) {
|
|
|
298
155
|
function getAlignment(placement) {
|
|
299
156
|
return placement.split("-")[1];
|
|
300
157
|
}
|
|
158
|
+
var yAxisSides = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
301
159
|
function getSideAxis(placement) {
|
|
302
|
-
return
|
|
160
|
+
return yAxisSides.has(getSide(placement)) ? "y" : "x";
|
|
303
161
|
}
|
|
162
|
+
var originSides = /* @__PURE__ */ new Set(["left", "top"]);
|
|
304
163
|
function convertValueToCoords(_x, _x2) {
|
|
305
164
|
return _convertValueToCoords.apply(this, arguments);
|
|
306
165
|
}
|
|
307
166
|
function _convertValueToCoords() {
|
|
308
|
-
_convertValueToCoords = _asyncToGenerator(/* @__PURE__ */
|
|
167
|
+
_convertValueToCoords = _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee2(state, options) {
|
|
309
168
|
var placement, platform, elements, rtl, side, alignment, isVertical, mainAxisMulti, crossAxisMulti, rawValue, _ref, mainAxis, crossAxis, alignmentAxis;
|
|
310
|
-
return
|
|
311
|
-
while (1) switch (_context2.
|
|
169
|
+
return _regenerator().w(function(_context2) {
|
|
170
|
+
while (1) switch (_context2.n) {
|
|
312
171
|
case 0:
|
|
313
172
|
placement = state.placement, platform = state.platform, elements = state.elements;
|
|
314
|
-
_context2.
|
|
173
|
+
_context2.n = 1;
|
|
315
174
|
return platform.isRTL == null ? void 0 : platform.isRTL(elements.floating);
|
|
316
|
-
case
|
|
317
|
-
rtl = _context2.
|
|
175
|
+
case 1:
|
|
176
|
+
rtl = _context2.v;
|
|
318
177
|
side = getSide(placement);
|
|
319
178
|
alignment = getAlignment(placement);
|
|
320
179
|
isVertical = getSideAxis(placement) === "y";
|
|
321
|
-
mainAxisMulti =
|
|
180
|
+
mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
322
181
|
crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
323
182
|
rawValue = evaluate(options, state);
|
|
324
183
|
_ref = typeof rawValue === "number" ? {
|
|
@@ -333,16 +192,13 @@ function _convertValueToCoords() {
|
|
|
333
192
|
if (alignment && typeof alignmentAxis === "number") {
|
|
334
193
|
crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
|
|
335
194
|
}
|
|
336
|
-
return _context2.
|
|
195
|
+
return _context2.a(2, isVertical ? {
|
|
337
196
|
x: crossAxis * crossAxisMulti,
|
|
338
197
|
y: mainAxis * mainAxisMulti
|
|
339
198
|
} : {
|
|
340
199
|
x: mainAxis * mainAxisMulti,
|
|
341
200
|
y: crossAxis * crossAxisMulti
|
|
342
201
|
});
|
|
343
|
-
case 13:
|
|
344
|
-
case "end":
|
|
345
|
-
return _context2.stop();
|
|
346
202
|
}
|
|
347
203
|
}, _callee2);
|
|
348
204
|
}));
|
|
@@ -356,32 +212,29 @@ var offset$1 = function offset$12(options) {
|
|
|
356
212
|
name: "offset",
|
|
357
213
|
options,
|
|
358
214
|
fn: function fn(state) {
|
|
359
|
-
return _asyncToGenerator(/* @__PURE__ */
|
|
215
|
+
return _asyncToGenerator(/* @__PURE__ */ _regenerator().m(function _callee() {
|
|
360
216
|
var _middlewareData$offse, _middlewareData$arrow, x, y, placement, middlewareData, diffCoords;
|
|
361
|
-
return
|
|
362
|
-
while (1) switch (_context.
|
|
217
|
+
return _regenerator().w(function(_context) {
|
|
218
|
+
while (1) switch (_context.n) {
|
|
363
219
|
case 0:
|
|
364
220
|
x = state.x, y = state.y, placement = state.placement, middlewareData = state.middlewareData;
|
|
365
|
-
_context.
|
|
221
|
+
_context.n = 1;
|
|
366
222
|
return convertValueToCoords(state, options);
|
|
367
|
-
case
|
|
368
|
-
diffCoords = _context.
|
|
223
|
+
case 1:
|
|
224
|
+
diffCoords = _context.v;
|
|
369
225
|
if (!(placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset)) {
|
|
370
|
-
_context.
|
|
226
|
+
_context.n = 2;
|
|
371
227
|
break;
|
|
372
228
|
}
|
|
373
|
-
return _context.
|
|
374
|
-
case
|
|
375
|
-
return _context.
|
|
229
|
+
return _context.a(2, {});
|
|
230
|
+
case 2:
|
|
231
|
+
return _context.a(2, {
|
|
376
232
|
x: x + diffCoords.x,
|
|
377
233
|
y: y + diffCoords.y,
|
|
378
234
|
data: _extends({}, diffCoords, {
|
|
379
235
|
placement
|
|
380
236
|
})
|
|
381
237
|
});
|
|
382
|
-
case 7:
|
|
383
|
-
case "end":
|
|
384
|
-
return _context.stop();
|
|
385
238
|
}
|
|
386
239
|
}, _callee);
|
|
387
240
|
}))();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-guide",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.25.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"module": "./lib/index.js",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@floating-ui/dom": "^1.0.10",
|
|
12
|
-
"@opentinyvue/utils": "~3.
|
|
13
|
-
"@opentinyvue/vue-common": "~2.
|
|
14
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
15
|
-
"@opentinyvue/vue-theme": "~3.
|
|
12
|
+
"@opentinyvue/utils": "~3.25.0",
|
|
13
|
+
"@opentinyvue/vue-common": "~2.25.0",
|
|
14
|
+
"@opentinyvue/vue-renderless": "~3.25.0",
|
|
15
|
+
"@opentinyvue/vue-theme": "~3.25.0",
|
|
16
16
|
"shepherd.js": "11.1.1"
|
|
17
17
|
},
|
|
18
18
|
"types": "index.d.ts"
|