@tarojs/components-advanced 3.6.5-canary.0 → 3.6.5
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/components/virtual-list/react/index.js +1 -1
- package/dist/components/virtual-list/react/list.js +1 -1
- package/dist/components/virtual-list/vue/render.js +1 -1
- package/dist/node_modules/.pnpm/{registry.npmjs.org_tslib@1.14.1 → registry.npmjs.org_tslib@2.5.0}/node_modules/tslib/tslib.es6.js +98 -23
- package/dist/node_modules/.pnpm/{registry.npmjs.org_tslib@1.14.1 → registry.npmjs.org_tslib@2.5.0}/node_modules/tslib/tslib.es6.js.map +1 -1
- package/package.json +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __rest } from '../../../node_modules/.pnpm/registry.npmjs.org_tslib@
|
|
1
|
+
import { __rest } from '../../../node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import { ScrollView, View } from '@tarojs/components';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { convertPX2Int } from '../../../utils/convert.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __rest } from '../../../node_modules/.pnpm/registry.npmjs.org_tslib@
|
|
1
|
+
import { __rest } from '../../../node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import memoizeOne from 'memoize-one';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { convertNumber2PX } from '../../../utils/convert.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __rest } from '../../../node_modules/.pnpm/registry.npmjs.org_tslib@
|
|
1
|
+
import { __rest } from '../../../node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import { h } from 'vue';
|
|
3
3
|
|
|
4
4
|
function render (componentName, options, children) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/******************************************************************************
|
|
2
2
|
Copyright (c) Microsoft Corporation.
|
|
3
3
|
|
|
4
4
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -17,11 +17,13 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
17
17
|
var extendStatics = function(d, b) {
|
|
18
18
|
extendStatics = Object.setPrototypeOf ||
|
|
19
19
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
20
|
-
function (d, b) { for (var p in b) if (
|
|
20
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
21
21
|
return extendStatics(d, b);
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
function __extends(d, b) {
|
|
25
|
+
if (typeof b !== "function" && b !== null)
|
|
26
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
27
|
extendStatics(d, b);
|
|
26
28
|
function __() { this.constructor = d; }
|
|
27
29
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -61,6 +63,51 @@ function __param(paramIndex, decorator) {
|
|
|
61
63
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
62
64
|
}
|
|
63
65
|
|
|
66
|
+
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
67
|
+
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
|
68
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
69
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
70
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
71
|
+
var _, done = false;
|
|
72
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
73
|
+
var context = {};
|
|
74
|
+
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
|
75
|
+
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
|
76
|
+
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
77
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
78
|
+
if (kind === "accessor") {
|
|
79
|
+
if (result === void 0) continue;
|
|
80
|
+
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
81
|
+
if (_ = accept(result.get)) descriptor.get = _;
|
|
82
|
+
if (_ = accept(result.set)) descriptor.set = _;
|
|
83
|
+
if (_ = accept(result.init)) initializers.push(_);
|
|
84
|
+
}
|
|
85
|
+
else if (_ = accept(result)) {
|
|
86
|
+
if (kind === "field") initializers.push(_);
|
|
87
|
+
else descriptor[key] = _;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
|
91
|
+
done = true;
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
function __runInitializers(thisArg, initializers, value) {
|
|
95
|
+
var useValue = arguments.length > 2;
|
|
96
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
97
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
98
|
+
}
|
|
99
|
+
return useValue ? value : void 0;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
function __propKey(x) {
|
|
103
|
+
return typeof x === "symbol" ? x : "".concat(x);
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
function __setFunctionName(f, name, prefix) {
|
|
107
|
+
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
|
108
|
+
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
109
|
+
};
|
|
110
|
+
|
|
64
111
|
function __metadata(metadataKey, metadataValue) {
|
|
65
112
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
66
113
|
}
|
|
@@ -81,7 +128,7 @@ function __generator(thisArg, body) {
|
|
|
81
128
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
82
129
|
function step(op) {
|
|
83
130
|
if (f) throw new TypeError("Generator is already executing.");
|
|
84
|
-
while (_) try {
|
|
131
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
85
132
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
86
133
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
87
134
|
switch (op[0]) {
|
|
@@ -103,13 +150,20 @@ function __generator(thisArg, body) {
|
|
|
103
150
|
}
|
|
104
151
|
}
|
|
105
152
|
|
|
106
|
-
|
|
153
|
+
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
|
154
|
+
if (k2 === undefined) k2 = k;
|
|
155
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
156
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
157
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
158
|
+
}
|
|
159
|
+
Object.defineProperty(o, k2, desc);
|
|
160
|
+
}) : (function(o, m, k, k2) {
|
|
107
161
|
if (k2 === undefined) k2 = k;
|
|
108
162
|
o[k2] = m[k];
|
|
109
|
-
}
|
|
163
|
+
});
|
|
110
164
|
|
|
111
|
-
function __exportStar(m,
|
|
112
|
-
for (var p in m) if (p !== "default" && !
|
|
165
|
+
function __exportStar(m, o) {
|
|
166
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
|
113
167
|
}
|
|
114
168
|
|
|
115
169
|
function __values(o) {
|
|
@@ -141,19 +195,31 @@ function __read(o, n) {
|
|
|
141
195
|
return ar;
|
|
142
196
|
}
|
|
143
197
|
|
|
198
|
+
/** @deprecated */
|
|
144
199
|
function __spread() {
|
|
145
200
|
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
146
201
|
ar = ar.concat(__read(arguments[i]));
|
|
147
202
|
return ar;
|
|
148
203
|
}
|
|
149
204
|
|
|
205
|
+
/** @deprecated */
|
|
150
206
|
function __spreadArrays() {
|
|
151
207
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
152
208
|
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
153
209
|
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
154
210
|
r[k] = a[j];
|
|
155
211
|
return r;
|
|
156
|
-
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
function __spreadArray(to, from, pack) {
|
|
215
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
216
|
+
if (ar || !(i in from)) {
|
|
217
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
218
|
+
ar[i] = from[i];
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
222
|
+
}
|
|
157
223
|
|
|
158
224
|
function __await(v) {
|
|
159
225
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -174,7 +240,7 @@ function __asyncGenerator(thisArg, _arguments, generator) {
|
|
|
174
240
|
function __asyncDelegator(o) {
|
|
175
241
|
var i, p;
|
|
176
242
|
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
177
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done:
|
|
243
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
|
178
244
|
}
|
|
179
245
|
|
|
180
246
|
function __asyncValues(o) {
|
|
@@ -190,11 +256,17 @@ function __makeTemplateObject(cooked, raw) {
|
|
|
190
256
|
return cooked;
|
|
191
257
|
};
|
|
192
258
|
|
|
259
|
+
var __setModuleDefault = Object.create ? (function(o, v) {
|
|
260
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
261
|
+
}) : function(o, v) {
|
|
262
|
+
o["default"] = v;
|
|
263
|
+
};
|
|
264
|
+
|
|
193
265
|
function __importStar(mod) {
|
|
194
266
|
if (mod && mod.__esModule) return mod;
|
|
195
267
|
var result = {};
|
|
196
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result
|
|
197
|
-
result
|
|
268
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
269
|
+
__setModuleDefault(result, mod);
|
|
198
270
|
return result;
|
|
199
271
|
}
|
|
200
272
|
|
|
@@ -202,20 +274,23 @@ function __importDefault(mod) {
|
|
|
202
274
|
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
203
275
|
}
|
|
204
276
|
|
|
205
|
-
function __classPrivateFieldGet(receiver,
|
|
206
|
-
if (!
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
return privateMap.get(receiver);
|
|
277
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
278
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
279
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
280
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
210
281
|
}
|
|
211
282
|
|
|
212
|
-
function __classPrivateFieldSet(receiver,
|
|
213
|
-
if (
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
283
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
284
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
285
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
286
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
287
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
291
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
|
292
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
218
293
|
}
|
|
219
294
|
|
|
220
|
-
export { __assign, __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter, __classPrivateFieldGet, __classPrivateFieldSet, __createBinding, __decorate, __exportStar, __extends, __generator, __importDefault, __importStar, __makeTemplateObject, __metadata, __param, __read, __rest, __spread, __spreadArrays, __values };
|
|
295
|
+
export { __assign, __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter, __classPrivateFieldGet, __classPrivateFieldIn, __classPrivateFieldSet, __createBinding, __decorate, __esDecorate, __exportStar, __extends, __generator, __importDefault, __importStar, __makeTemplateObject, __metadata, __param, __propKey, __read, __rest, __runInitializers, __setFunctionName, __spread, __spreadArray, __spreadArrays, __values };
|
|
221
296
|
//# sourceMappingURL=tslib.es6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tslib.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tslib.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/components-advanced",
|
|
3
|
-
"version": "3.6.5
|
|
3
|
+
"version": "3.6.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"memoize-one": "^6.0.0",
|
|
20
20
|
"postcss": "^8.4.18",
|
|
21
|
-
"@tarojs/components": "3.6.5
|
|
22
|
-
"@tarojs/shared": "3.6.5
|
|
23
|
-
"@tarojs/runtime": "3.6.5
|
|
24
|
-
"@tarojs/taro": "3.6.5
|
|
21
|
+
"@tarojs/components": "3.6.5",
|
|
22
|
+
"@tarojs/shared": "3.6.5",
|
|
23
|
+
"@tarojs/runtime": "3.6.5",
|
|
24
|
+
"@tarojs/taro": "3.6.5"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@babel/cli": "^7.14.5",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"rollup-plugin-ts": "^3.0.2",
|
|
39
39
|
"typescript": "^4.7.4",
|
|
40
40
|
"vue": "^3.0.0",
|
|
41
|
-
"babel-preset-taro": "3.6.5
|
|
41
|
+
"babel-preset-taro": "3.6.5"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">=17"
|