@tarojs/components-advanced 4.0.0-alpha.0 → 4.0.0-beta.1
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/react/wrapper.js +1 -1
- package/dist/components/virtual-waterfall/react/index.js +1 -1
- package/dist/components/virtual-waterfall/react/waterfall.js +1 -1
- package/dist/components/virtual-waterfall/react/wrapper.js +1 -1
- package/dist/node_modules/.pnpm/{registry.npmjs.org_tslib@2.5.0 → tslib@2.6.2}/node_modules/tslib/tslib.es6.js +82 -5
- package/dist/node_modules/.pnpm/{registry.npmjs.org_tslib@2.5.0 → tslib@2.6.2}/node_modules/tslib/tslib.es6.js.map +1 -1
- package/dist/utils/vue-render.js +1 -1
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __rest } from '../../../node_modules/.pnpm/
|
|
1
|
+
import { __rest } from '../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import { ScrollView, View } from '@tarojs/components';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import List from './list.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __rest } from '../../../node_modules/.pnpm/
|
|
1
|
+
import { __rest } from '../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import { isNumber } from '@tarojs/shared';
|
|
3
3
|
import memoizeOne from 'memoize-one';
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __rest } from '../../../node_modules/.pnpm/
|
|
1
|
+
import { __rest } from '../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '../../../utils/index.js';
|
|
4
4
|
import { convertPX2Int } from '../../../utils/convert.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __rest } from '../../../node_modules/.pnpm/
|
|
1
|
+
import { __rest } from '../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import { ScrollView, View } from '@tarojs/components';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import Waterfall from './waterfall.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __rest } from '../../../node_modules/.pnpm/
|
|
1
|
+
import { __rest } from '../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import { isNumber } from '@tarojs/shared';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import memoizeOne from 'memoize-one';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __rest } from '../../../node_modules/.pnpm/
|
|
1
|
+
import { __rest } from '../../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '../../../utils/index.js';
|
|
4
4
|
import { convertPX2Int } from '../../../utils/convert.js';
|
|
@@ -12,7 +12,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
12
12
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
13
|
PERFORMANCE OF THIS SOFTWARE.
|
|
14
14
|
***************************************************************************** */
|
|
15
|
-
/* global Reflect, Promise */
|
|
15
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
16
16
|
|
|
17
17
|
var extendStatics = function(d, b) {
|
|
18
18
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -80,10 +80,10 @@ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, e
|
|
|
80
80
|
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
|
81
81
|
if (_ = accept(result.get)) descriptor.get = _;
|
|
82
82
|
if (_ = accept(result.set)) descriptor.set = _;
|
|
83
|
-
if (_ = accept(result.init)) initializers.
|
|
83
|
+
if (_ = accept(result.init)) initializers.unshift(_);
|
|
84
84
|
}
|
|
85
85
|
else if (_ = accept(result)) {
|
|
86
|
-
if (kind === "field") initializers.
|
|
86
|
+
if (kind === "field") initializers.unshift(_);
|
|
87
87
|
else descriptor[key] = _;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
@@ -290,7 +290,84 @@ function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
|
290
290
|
function __classPrivateFieldIn(state, receiver) {
|
|
291
291
|
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
|
292
292
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
293
|
-
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
function __addDisposableResource(env, value, async) {
|
|
296
|
+
if (value !== null && value !== void 0) {
|
|
297
|
+
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
|
298
|
+
var dispose;
|
|
299
|
+
if (async) {
|
|
300
|
+
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
301
|
+
dispose = value[Symbol.asyncDispose];
|
|
302
|
+
}
|
|
303
|
+
if (dispose === void 0) {
|
|
304
|
+
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
|
305
|
+
dispose = value[Symbol.dispose];
|
|
306
|
+
}
|
|
307
|
+
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
|
|
308
|
+
env.stack.push({ value: value, dispose: dispose, async: async });
|
|
309
|
+
}
|
|
310
|
+
else if (async) {
|
|
311
|
+
env.stack.push({ async: true });
|
|
312
|
+
}
|
|
313
|
+
return value;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
317
|
+
var e = new Error(message);
|
|
318
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
function __disposeResources(env) {
|
|
322
|
+
function fail(e) {
|
|
323
|
+
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
324
|
+
env.hasError = true;
|
|
325
|
+
}
|
|
326
|
+
function next() {
|
|
327
|
+
while (env.stack.length) {
|
|
328
|
+
var rec = env.stack.pop();
|
|
329
|
+
try {
|
|
330
|
+
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
331
|
+
if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
|
|
332
|
+
}
|
|
333
|
+
catch (e) {
|
|
334
|
+
fail(e);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
if (env.hasError) throw env.error;
|
|
338
|
+
}
|
|
339
|
+
return next();
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
var tslib_es6 = {
|
|
343
|
+
__extends: __extends,
|
|
344
|
+
__assign: __assign,
|
|
345
|
+
__rest: __rest,
|
|
346
|
+
__decorate: __decorate,
|
|
347
|
+
__param: __param,
|
|
348
|
+
__metadata: __metadata,
|
|
349
|
+
__awaiter: __awaiter,
|
|
350
|
+
__generator: __generator,
|
|
351
|
+
__createBinding: __createBinding,
|
|
352
|
+
__exportStar: __exportStar,
|
|
353
|
+
__values: __values,
|
|
354
|
+
__read: __read,
|
|
355
|
+
__spread: __spread,
|
|
356
|
+
__spreadArrays: __spreadArrays,
|
|
357
|
+
__spreadArray: __spreadArray,
|
|
358
|
+
__await: __await,
|
|
359
|
+
__asyncGenerator: __asyncGenerator,
|
|
360
|
+
__asyncDelegator: __asyncDelegator,
|
|
361
|
+
__asyncValues: __asyncValues,
|
|
362
|
+
__makeTemplateObject: __makeTemplateObject,
|
|
363
|
+
__importStar: __importStar,
|
|
364
|
+
__importDefault: __importDefault,
|
|
365
|
+
__classPrivateFieldGet: __classPrivateFieldGet,
|
|
366
|
+
__classPrivateFieldSet: __classPrivateFieldSet,
|
|
367
|
+
__classPrivateFieldIn: __classPrivateFieldIn,
|
|
368
|
+
__addDisposableResource: __addDisposableResource,
|
|
369
|
+
__disposeResources: __disposeResources,
|
|
370
|
+
};
|
|
294
371
|
|
|
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 };
|
|
372
|
+
export { __addDisposableResource, __assign, __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter, __classPrivateFieldGet, __classPrivateFieldIn, __classPrivateFieldSet, __createBinding, __decorate, __disposeResources, __esDecorate, __exportStar, __extends, __generator, __importDefault, __importStar, __makeTemplateObject, __metadata, __param, __propKey, __read, __rest, __runInitializers, __setFunctionName, __spread, __spreadArray, __spreadArrays, __values, tslib_es6 as default };
|
|
296
373
|
//# 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/dist/utils/vue-render.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __rest } from '../node_modules/.pnpm/
|
|
1
|
+
import { __rest } from '../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import { h } from 'vue';
|
|
3
3
|
|
|
4
4
|
function render (componentName, options, children) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/components-advanced",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-beta.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"csstype": "^3.1.1",
|
|
21
21
|
"memoize-one": "^6.0.0",
|
|
22
22
|
"postcss": "^8.4.18",
|
|
23
|
-
"@tarojs/components": "4.0.0-
|
|
24
|
-
"@tarojs/
|
|
25
|
-
"@tarojs/
|
|
26
|
-
"@tarojs/
|
|
23
|
+
"@tarojs/components": "4.0.0-beta.1",
|
|
24
|
+
"@tarojs/runtime": "4.0.0-beta.1",
|
|
25
|
+
"@tarojs/shared": "4.0.0-beta.1",
|
|
26
|
+
"@tarojs/taro": "4.0.0-beta.1"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@babel/cli": "^7.14.5",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"rollup-plugin-postcss": "^3.1.8",
|
|
40
40
|
"rollup-plugin-ts": "^3.0.2",
|
|
41
41
|
"typescript": "^4.7.4",
|
|
42
|
-
"vue": "
|
|
43
|
-
"babel-preset-taro": "4.0.0-
|
|
42
|
+
"vue": "3.2.47",
|
|
43
|
+
"babel-preset-taro": "4.0.0-beta.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": ">=17"
|