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