@nutui/nutui-react-taro 3.0.19-cpp-beta.5 → 3.0.19-cpp.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/cjs/hooks/taro/use-custom-event.js +5 -5
- package/dist/cjs/hooks/use-ref-state.js +3 -3
- package/dist/cjs/hooks/use-touch.js +1 -2
- package/dist/cjs/packages/address/utils.js +3 -3
- package/dist/cjs/packages/avatarcropper/avatarcropper.js +16 -28
- package/dist/cjs/packages/badge/badge.js +4 -7
- package/dist/cjs/packages/barrage/barrage.js +14 -24
- package/dist/cjs/packages/calendar/utils.js +8 -8
- package/dist/cjs/packages/calendarcard/icon.js +5 -5
- package/dist/cjs/packages/calendarcard/utils.js +6 -6
- package/dist/cjs/packages/cascader/cascader.js +12 -21
- package/dist/cjs/packages/cascader/utils.js +3 -3
- package/dist/cjs/packages/collapseitem/collapseitem.js +4 -7
- package/dist/cjs/packages/configprovider/configprovider.js +7 -7
- package/dist/cjs/packages/configprovider/index.js +6 -6
- package/dist/cjs/packages/countdown/countdown.js +1 -2
- package/dist/cjs/packages/datepicker/utils.js +9 -9
- package/dist/cjs/packages/dialog/content.js +3 -3
- package/dist/cjs/packages/dialog/dialog.js +8 -11
- package/dist/cjs/packages/drag/drag.js +4 -7
- package/dist/cjs/packages/elevator/elevator.js +7 -10
- package/dist/cjs/packages/ellipsis/ellipsis.js +17 -30
- package/dist/cjs/packages/form/index.js +0 -2
- package/dist/cjs/packages/form/useform.js +50 -57
- package/dist/cjs/packages/infiniteloading/infiniteloading.js +8 -14
- package/dist/cjs/packages/inputnumber/inputnumber.js +16 -28
- package/dist/cjs/packages/lottie/types.js +0 -2
- package/dist/cjs/packages/menuitem/menuitem.js +24 -22
- package/dist/cjs/packages/noticebar/noticebar.js +71 -67
- package/dist/cjs/packages/notify/notify.js +4 -4
- package/dist/cjs/packages/nutui.react.build.js +105 -105
- package/dist/cjs/packages/nutui.react.js +105 -105
- package/dist/cjs/packages/overlay/overlay.js +3 -3
- package/dist/cjs/packages/pickerview/pickerroller.js +4 -7
- package/dist/cjs/packages/pickerview/pickerview.js +1 -2
- package/dist/cjs/packages/pickerview/utils.js +3 -3
- package/dist/cjs/packages/popover/popover.js +75 -77
- package/dist/cjs/packages/popup/popup.js +8 -14
- package/dist/cjs/packages/pulltorefresh/pulltorefresh.js +52 -56
- package/dist/cjs/packages/radio/index.js +0 -2
- package/dist/cjs/packages/range/range.js +16 -28
- package/dist/cjs/packages/shortpassword/shortpassword.js +3 -3
- package/dist/cjs/packages/sticky/sticky.js +4 -7
- package/dist/cjs/packages/swipe/swipe.js +8 -15
- package/dist/cjs/packages/swiper/index.js +0 -1
- package/dist/cjs/packages/switch/switch.js +4 -7
- package/dist/cjs/packages/toast/toast.js +4 -4
- package/dist/cjs/packages/uploader/uploader.js +38 -51
- package/dist/cjs/packages/virtuallist/utils.js +6 -6
- package/dist/cjs/packages/watermark/watermark.js +4 -8
- package/dist/cjs/types/spec/address/base.js +0 -2
- package/dist/cjs/utils/date.js +5 -5
- package/dist/cjs/utils/event-mocker.js +10 -18
- package/dist/cjs/utils/get-rect.js +4 -4
- package/dist/cjs/utils/get-scroll-parent.js +3 -3
- package/dist/cjs/utils/merge-props.js +3 -3
- package/dist/cjs/utils/merge.js +6 -6
- package/dist/cjs/utils/raf.js +3 -3
- package/dist/cjs/utils/render.js +5 -9
- package/dist/cjs/utils/rubberband.js +3 -3
- package/dist/cjs/utils/taro/get-rect.js +14 -24
- package/dist/cjs/utils/taro/get-system-info.js +4 -4
- package/dist/cjs/utils/taro/platform.js +5 -5
- package/dist/es/hooks/use-touch.js +1 -1
- package/dist/es/packages/avatarcropper/avatarcropper.js +16 -28
- package/dist/es/packages/badge/badge.js +4 -7
- package/dist/es/packages/barrage/barrage.js +14 -24
- package/dist/es/packages/cascader/cascader.js +12 -21
- package/dist/es/packages/collapseitem/collapseitem.js +4 -7
- package/dist/es/packages/countdown/countdown.js +1 -2
- package/dist/es/packages/dialog/dialog.js +4 -7
- package/dist/es/packages/drag/drag.js +4 -7
- package/dist/es/packages/elevator/elevator.js +4 -7
- package/dist/es/packages/ellipsis/ellipsis.js +17 -30
- package/dist/es/packages/form/index.js +0 -1
- package/dist/es/packages/form/useform.js +46 -53
- package/dist/es/packages/infiniteloading/infiniteloading.js +8 -14
- package/dist/es/packages/inputnumber/inputnumber.js +16 -28
- package/dist/es/packages/lottie/types.js +1 -1
- package/dist/es/packages/menuitem/menuitem.js +24 -22
- package/dist/es/packages/noticebar/noticebar.js +71 -67
- package/dist/es/packages/pickerview/pickerroller.js +4 -7
- package/dist/es/packages/pickerview/pickerview.js +1 -2
- package/dist/es/packages/popover/popover.js +75 -77
- package/dist/es/packages/popup/popup.js +8 -14
- package/dist/es/packages/pulltorefresh/pulltorefresh.js +52 -56
- package/dist/es/packages/radio/index.js +0 -1
- package/dist/es/packages/range/range.js +16 -28
- package/dist/es/packages/sticky/sticky.js +4 -7
- package/dist/es/packages/swipe/swipe.js +8 -15
- package/dist/es/packages/swiper/index.js +0 -1
- package/dist/es/packages/switch/switch.js +4 -7
- package/dist/es/packages/uploader/uploader.js +38 -51
- package/dist/es/packages/watermark/watermark.js +4 -8
- package/dist/es/types/spec/address/base.js +1 -1
- package/dist/es/utils/event-mocker.js +4 -12
- package/dist/es/utils/render.js +2 -6
- package/dist/es/utils/taro/get-rect.js +10 -20
- package/dist/nutui.react.umd.js +596 -811
- package/dist/style-jmapp.css +1 -1
- package/dist/style-jmapp.scss +37 -37
- package/dist/style-jrkf.css +1 -1
- package/dist/style-jrkf.scss +24 -24
- package/dist/style.css +1 -1
- package/dist/style.scss +37 -37
- package/package.json +1 -1
package/dist/nutui.react.umd.js
CHANGED
|
@@ -152,7 +152,6 @@
|
|
|
152
152
|
var classnamesExports = classnames.exports;
|
|
153
153
|
const classNames = /* @__PURE__ */ getDefaultExportFromCjs(classnamesExports);
|
|
154
154
|
const globalConfig = {
|
|
155
|
-
useSvg: true,
|
|
156
155
|
classPrefix: "nut-icon",
|
|
157
156
|
tag: "i",
|
|
158
157
|
fontClassName: "nutui-iconfont"
|
|
@@ -179,7 +178,6 @@
|
|
|
179
178
|
height: height2,
|
|
180
179
|
size,
|
|
181
180
|
svg64,
|
|
182
|
-
svgSrc,
|
|
183
181
|
children,
|
|
184
182
|
onClick,
|
|
185
183
|
fallback = false
|
|
@@ -2224,12 +2222,10 @@
|
|
|
2224
2222
|
height: height2
|
|
2225
2223
|
};
|
|
2226
2224
|
}
|
|
2227
|
-
var getRectInMultiPlatform =
|
|
2228
|
-
var
|
|
2229
|
-
|
|
2230
|
-
var _arguments = arguments;
|
|
2225
|
+
var getRectInMultiPlatform = function(element) {
|
|
2226
|
+
var harmonyId = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
2227
|
+
return _async_to_generator(function() {
|
|
2231
2228
|
return __generator(this, function(_state) {
|
|
2232
|
-
harmonyId = _arguments.length > 1 && _arguments[1] !== void 0 ? _arguments[1] : "";
|
|
2233
2229
|
if (element) {
|
|
2234
2230
|
if (inBrowser) {
|
|
2235
2231
|
return [
|
|
@@ -2259,17 +2255,12 @@
|
|
|
2259
2255
|
Promise.resolve(makeRect(0, 0))
|
|
2260
2256
|
];
|
|
2261
2257
|
});
|
|
2262
|
-
});
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
var getRectInMultiPlatformWithoutCache = /* @__PURE__ */ function() {
|
|
2268
|
-
var _ref = _async_to_generator(function(element) {
|
|
2269
|
-
var harmonyId;
|
|
2270
|
-
var _arguments = arguments;
|
|
2258
|
+
})();
|
|
2259
|
+
};
|
|
2260
|
+
var getRectInMultiPlatformWithoutCache = function(element) {
|
|
2261
|
+
var harmonyId = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
2262
|
+
return _async_to_generator(function() {
|
|
2271
2263
|
return __generator(this, function(_state) {
|
|
2272
|
-
harmonyId = _arguments.length > 1 && _arguments[1] !== void 0 ? _arguments[1] : "";
|
|
2273
2264
|
if (element) {
|
|
2274
2265
|
if (inBrowser) {
|
|
2275
2266
|
return [
|
|
@@ -2292,11 +2283,8 @@
|
|
|
2292
2283
|
Promise.resolve(makeRect(0, 0))
|
|
2293
2284
|
];
|
|
2294
2285
|
});
|
|
2295
|
-
});
|
|
2296
|
-
|
|
2297
|
-
return _ref.apply(this, arguments);
|
|
2298
|
-
};
|
|
2299
|
-
}();
|
|
2286
|
+
})();
|
|
2287
|
+
};
|
|
2300
2288
|
var defaultProps$1r = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
2301
2289
|
position: "top",
|
|
2302
2290
|
zIndex: 900
|
|
@@ -2365,8 +2353,8 @@
|
|
|
2365
2353
|
threshold,
|
|
2366
2354
|
zIndex
|
|
2367
2355
|
]);
|
|
2368
|
-
var handleScroll =
|
|
2369
|
-
|
|
2356
|
+
var handleScroll = function(scrollTop) {
|
|
2357
|
+
return _async_to_generator(function() {
|
|
2370
2358
|
var curRootRect, stickyRect, containerRect, difference, curTransform, curFixed, windowHeight;
|
|
2371
2359
|
return __generator(this, function(_state) {
|
|
2372
2360
|
switch (_state.label) {
|
|
@@ -2434,11 +2422,8 @@
|
|
|
2434
2422
|
];
|
|
2435
2423
|
}
|
|
2436
2424
|
});
|
|
2437
|
-
});
|
|
2438
|
-
|
|
2439
|
-
return _ref2.apply(this, arguments);
|
|
2440
|
-
};
|
|
2441
|
-
}();
|
|
2425
|
+
})();
|
|
2426
|
+
};
|
|
2442
2427
|
var getElement = React.useCallback(function() {
|
|
2443
2428
|
return getScrollParent(rootRef.current);
|
|
2444
2429
|
}, []);
|
|
@@ -2915,16 +2900,7 @@
|
|
|
2915
2900
|
return months.slice(preDates - days);
|
|
2916
2901
|
};
|
|
2917
2902
|
var ENV_TYPE$1 = {
|
|
2918
|
-
|
|
2919
|
-
SWAN: "SWAN",
|
|
2920
|
-
ALIPAY: "ALIPAY",
|
|
2921
|
-
TT: "TT",
|
|
2922
|
-
QQ: "QQ",
|
|
2923
|
-
JD: "JD",
|
|
2924
|
-
WEB: "WEB",
|
|
2925
|
-
RN: "RN",
|
|
2926
|
-
HARMONY: "HARMONY",
|
|
2927
|
-
QUICKAPP: "QUICKAPP"
|
|
2903
|
+
WEB: "WEB"
|
|
2928
2904
|
};
|
|
2929
2905
|
var getRectById = function(id) {
|
|
2930
2906
|
return new Promise(function(resolve, reject) {
|
|
@@ -3146,10 +3122,7 @@
|
|
|
3146
3122
|
return unmountComponentAtNode(container);
|
|
3147
3123
|
}
|
|
3148
3124
|
function concurrentUnmount(container) {
|
|
3149
|
-
return
|
|
3150
|
-
}
|
|
3151
|
-
function _concurrentUnmount() {
|
|
3152
|
-
_concurrentUnmount = _async_to_generator(function(container) {
|
|
3125
|
+
return _async_to_generator(function() {
|
|
3153
3126
|
return __generator(this, function(_state) {
|
|
3154
3127
|
return [
|
|
3155
3128
|
2,
|
|
@@ -3160,8 +3133,7 @@
|
|
|
3160
3133
|
})
|
|
3161
3134
|
];
|
|
3162
3135
|
});
|
|
3163
|
-
});
|
|
3164
|
-
return _concurrentUnmount.apply(this, arguments);
|
|
3136
|
+
})();
|
|
3165
3137
|
}
|
|
3166
3138
|
function unmount(container) {
|
|
3167
3139
|
if (createRoot) {
|
|
@@ -3463,8 +3435,8 @@
|
|
|
3463
3435
|
}
|
|
3464
3436
|
});
|
|
3465
3437
|
};
|
|
3466
|
-
var scrollTo =
|
|
3467
|
-
|
|
3438
|
+
var scrollTo = function(index2) {
|
|
3439
|
+
return _async_to_generator(function() {
|
|
3468
3440
|
var cacheIndex, scrollTop2;
|
|
3469
3441
|
return __generator(this, function(_state) {
|
|
3470
3442
|
switch (_state.label) {
|
|
@@ -3504,11 +3476,8 @@
|
|
|
3504
3476
|
];
|
|
3505
3477
|
}
|
|
3506
3478
|
});
|
|
3507
|
-
});
|
|
3508
|
-
|
|
3509
|
-
return _ref2.apply(this, arguments);
|
|
3510
|
-
};
|
|
3511
|
-
}();
|
|
3479
|
+
})();
|
|
3480
|
+
};
|
|
3512
3481
|
var touchMove = function(e) {
|
|
3513
3482
|
var firstTouch = e.touches[0];
|
|
3514
3483
|
touchState.current.y2 = firstTouch.pageY;
|
|
@@ -3687,8 +3656,8 @@
|
|
|
3687
3656
|
getPositionStyle();
|
|
3688
3657
|
}
|
|
3689
3658
|
}, []);
|
|
3690
|
-
var getPositionStyle =
|
|
3691
|
-
|
|
3659
|
+
var getPositionStyle = function() {
|
|
3660
|
+
return _async_to_generator(function() {
|
|
3692
3661
|
var style2;
|
|
3693
3662
|
return __generator(this, function(_state) {
|
|
3694
3663
|
style2 = _define_property({
|
|
@@ -3699,11 +3668,8 @@
|
|
|
3699
3668
|
2
|
|
3700
3669
|
];
|
|
3701
3670
|
});
|
|
3702
|
-
});
|
|
3703
|
-
|
|
3704
|
-
return _ref.apply(this, arguments);
|
|
3705
|
-
};
|
|
3706
|
-
}();
|
|
3671
|
+
})();
|
|
3672
|
+
};
|
|
3707
3673
|
var _obj1;
|
|
3708
3674
|
return /* @__PURE__ */ React.createElement(components.View, {
|
|
3709
3675
|
className: classes,
|
|
@@ -4491,8 +4457,8 @@
|
|
|
4491
4457
|
}
|
|
4492
4458
|
onOpen && onOpen();
|
|
4493
4459
|
};
|
|
4494
|
-
var getPopupHeight =
|
|
4495
|
-
|
|
4460
|
+
var getPopupHeight = function() {
|
|
4461
|
+
return _async_to_generator(function() {
|
|
4496
4462
|
var _nodeRef_current, rect, height2;
|
|
4497
4463
|
return __generator(this, function(_state) {
|
|
4498
4464
|
switch (_state.label) {
|
|
@@ -4510,11 +4476,8 @@
|
|
|
4510
4476
|
];
|
|
4511
4477
|
}
|
|
4512
4478
|
});
|
|
4513
|
-
});
|
|
4514
|
-
|
|
4515
|
-
return _ref.apply(this, arguments);
|
|
4516
|
-
};
|
|
4517
|
-
}();
|
|
4479
|
+
})();
|
|
4480
|
+
};
|
|
4518
4481
|
React.useEffect(function() {
|
|
4519
4482
|
if (innerVisible && topNodeRef.current && nodeRef.current) {
|
|
4520
4483
|
Taro.nextTick(function() {
|
|
@@ -4581,8 +4544,8 @@
|
|
|
4581
4544
|
return renderCloseIcon();
|
|
4582
4545
|
}
|
|
4583
4546
|
};
|
|
4584
|
-
var handleTouchStart =
|
|
4585
|
-
|
|
4547
|
+
var handleTouchStart = function(event) {
|
|
4548
|
+
return _async_to_generator(function() {
|
|
4586
4549
|
var _nodeRef_current, _rootRect_current, e, rect;
|
|
4587
4550
|
return __generator(this, function(_state) {
|
|
4588
4551
|
switch (_state.label) {
|
|
@@ -4608,11 +4571,8 @@
|
|
|
4608
4571
|
];
|
|
4609
4572
|
}
|
|
4610
4573
|
});
|
|
4611
|
-
});
|
|
4612
|
-
|
|
4613
|
-
return _ref.apply(this, arguments);
|
|
4614
|
-
};
|
|
4615
|
-
}();
|
|
4574
|
+
})();
|
|
4575
|
+
};
|
|
4616
4576
|
var handleTouchMove = function(event) {
|
|
4617
4577
|
if (position2 !== "bottom" || !resizable || !nodeRef.current || !rootRect.current) return;
|
|
4618
4578
|
var e = event;
|
|
@@ -5292,8 +5252,8 @@
|
|
|
5292
5252
|
outerOptions
|
|
5293
5253
|
]);
|
|
5294
5254
|
React.useEffect(function() {
|
|
5295
|
-
var load =
|
|
5296
|
-
|
|
5255
|
+
var load = function() {
|
|
5256
|
+
return _async_to_generator(function() {
|
|
5297
5257
|
var parent2, error;
|
|
5298
5258
|
return __generator(this, function(_state) {
|
|
5299
5259
|
switch (_state.label) {
|
|
@@ -5311,8 +5271,8 @@
|
|
|
5311
5271
|
]);
|
|
5312
5272
|
return [
|
|
5313
5273
|
4,
|
|
5314
|
-
innerValue.reduce(
|
|
5315
|
-
|
|
5274
|
+
innerValue.reduce(function(promise, val2, key2) {
|
|
5275
|
+
return _async_to_generator(function() {
|
|
5316
5276
|
var pane, parent3, node;
|
|
5317
5277
|
return __generator(this, function(_state2) {
|
|
5318
5278
|
switch (_state2.label) {
|
|
@@ -5352,11 +5312,8 @@
|
|
|
5352
5312
|
];
|
|
5353
5313
|
}
|
|
5354
5314
|
});
|
|
5355
|
-
});
|
|
5356
|
-
|
|
5357
|
-
return _ref2.apply(this, arguments);
|
|
5358
|
-
};
|
|
5359
|
-
}(), Promise.resolve(parent2))
|
|
5315
|
+
})();
|
|
5316
|
+
}, Promise.resolve(parent2))
|
|
5360
5317
|
];
|
|
5361
5318
|
case 2:
|
|
5362
5319
|
_state.sent();
|
|
@@ -5378,17 +5335,14 @@
|
|
|
5378
5335
|
];
|
|
5379
5336
|
}
|
|
5380
5337
|
});
|
|
5381
|
-
});
|
|
5382
|
-
|
|
5383
|
-
return _ref.apply(this, arguments);
|
|
5384
|
-
};
|
|
5385
|
-
}();
|
|
5338
|
+
})();
|
|
5339
|
+
};
|
|
5386
5340
|
if (lazy) load();
|
|
5387
5341
|
}, [
|
|
5388
5342
|
lazy
|
|
5389
5343
|
]);
|
|
5390
|
-
var chooseItem =
|
|
5391
|
-
|
|
5344
|
+
var chooseItem = function(pane, levelIndex) {
|
|
5345
|
+
return _async_to_generator(function() {
|
|
5392
5346
|
var nextValue, nextPathNodes, _props_onPathChange, asyncOptions;
|
|
5393
5347
|
return __generator(this, function(_state) {
|
|
5394
5348
|
switch (_state.label) {
|
|
@@ -5440,11 +5394,8 @@
|
|
|
5440
5394
|
];
|
|
5441
5395
|
}
|
|
5442
5396
|
});
|
|
5443
|
-
});
|
|
5444
|
-
|
|
5445
|
-
return _ref.apply(this, arguments);
|
|
5446
|
-
};
|
|
5447
|
-
}();
|
|
5397
|
+
})();
|
|
5398
|
+
};
|
|
5448
5399
|
var renderCascaderItem = function(item, levelIndex) {
|
|
5449
5400
|
var _item_pane;
|
|
5450
5401
|
return (_item_pane = item.pane) === null || _item_pane === void 0 ? void 0 : _item_pane.map(function(pane, index2) {
|
|
@@ -7343,8 +7294,8 @@
|
|
|
7343
7294
|
setTouchTime(0);
|
|
7344
7295
|
selectValue(scrollDistance);
|
|
7345
7296
|
};
|
|
7346
|
-
var getReactHeight =
|
|
7347
|
-
|
|
7297
|
+
var getReactHeight = function() {
|
|
7298
|
+
return _async_to_generator(function() {
|
|
7348
7299
|
var placeholder, placeholderHeight, error;
|
|
7349
7300
|
return __generator(this, function(_state) {
|
|
7350
7301
|
switch (_state.label) {
|
|
@@ -7379,11 +7330,8 @@
|
|
|
7379
7330
|
];
|
|
7380
7331
|
}
|
|
7381
7332
|
});
|
|
7382
|
-
});
|
|
7383
|
-
|
|
7384
|
-
return _ref.apply(this, arguments);
|
|
7385
|
-
};
|
|
7386
|
-
}();
|
|
7333
|
+
})();
|
|
7334
|
+
};
|
|
7387
7335
|
React.useEffect(function() {
|
|
7388
7336
|
var element = pickerRollerRef.current;
|
|
7389
7337
|
var currentLineSpacing;
|
|
@@ -7527,8 +7475,6 @@
|
|
|
7527
7475
|
if (!options2.length) return [];
|
|
7528
7476
|
var formatted = [];
|
|
7529
7477
|
var columnOptions = {
|
|
7530
|
-
label: "",
|
|
7531
|
-
value: "",
|
|
7532
7478
|
children: options2
|
|
7533
7479
|
};
|
|
7534
7480
|
var columnIndex = 0;
|
|
@@ -9288,7 +9234,6 @@
|
|
|
9288
9234
|
var _this = this;
|
|
9289
9235
|
var _this1 = this;
|
|
9290
9236
|
_class_call_check(this, FormStore2);
|
|
9291
|
-
var _this2 = this;
|
|
9292
9237
|
_define_property(this, "initialValues", {});
|
|
9293
9238
|
_define_property(this, "updateList", []);
|
|
9294
9239
|
_define_property(this, "store", {});
|
|
@@ -9357,8 +9302,8 @@
|
|
|
9357
9302
|
_define_property(this, "setCallback", function(callback) {
|
|
9358
9303
|
_this.callbacks = _object_spread({}, _this.callbacks, callback);
|
|
9359
9304
|
});
|
|
9360
|
-
_define_property(this, "validateEntities",
|
|
9361
|
-
|
|
9305
|
+
_define_property(this, "validateEntities", function(entity, errs) {
|
|
9306
|
+
return _async_to_generator(function() {
|
|
9362
9307
|
var _entity_props, name2, _entity_props_rules, rules2, descriptor, validator, _this_store, param, errors, _errs;
|
|
9363
9308
|
return __generator(this, function(_state) {
|
|
9364
9309
|
switch (_state.label) {
|
|
@@ -9392,7 +9337,7 @@
|
|
|
9392
9337
|
]);
|
|
9393
9338
|
return [
|
|
9394
9339
|
4,
|
|
9395
|
-
validator.validate(_define_property({}, name2, (_this_store =
|
|
9340
|
+
validator.validate(_define_property({}, name2, (_this_store = this.store) === null || _this_store === void 0 ? void 0 : _this_store[name2]))
|
|
9396
9341
|
];
|
|
9397
9342
|
case 2:
|
|
9398
9343
|
_state.sent();
|
|
@@ -9405,7 +9350,7 @@
|
|
|
9405
9350
|
errors = param.errors;
|
|
9406
9351
|
if (errors) {
|
|
9407
9352
|
(_errs = errs).push.apply(_errs, _to_consumable_array(errors));
|
|
9408
|
-
|
|
9353
|
+
this.errors[name2] = errors;
|
|
9409
9354
|
}
|
|
9410
9355
|
return [
|
|
9411
9356
|
3,
|
|
@@ -9413,7 +9358,7 @@
|
|
|
9413
9358
|
];
|
|
9414
9359
|
case 4:
|
|
9415
9360
|
if (!errs || errs.length === 0) {
|
|
9416
|
-
|
|
9361
|
+
this.errors[name2] = [];
|
|
9417
9362
|
}
|
|
9418
9363
|
return [
|
|
9419
9364
|
7
|
|
@@ -9425,22 +9370,20 @@
|
|
|
9425
9370
|
];
|
|
9426
9371
|
}
|
|
9427
9372
|
});
|
|
9428
|
-
});
|
|
9429
|
-
|
|
9430
|
-
|
|
9431
|
-
|
|
9432
|
-
|
|
9433
|
-
_define_property(this, "validateFields", /* @__PURE__ */ function() {
|
|
9434
|
-
var _ref = _async_to_generator(function(nameList) {
|
|
9435
|
-
var filterEntities, errs;
|
|
9373
|
+
}).call(_this);
|
|
9374
|
+
});
|
|
9375
|
+
_define_property(this, "validateFields", function(nameList) {
|
|
9376
|
+
return _async_to_generator(function() {
|
|
9377
|
+
var _this2, filterEntities, errs;
|
|
9436
9378
|
return __generator(this, function(_state) {
|
|
9437
9379
|
switch (_state.label) {
|
|
9438
9380
|
case 0:
|
|
9381
|
+
_this2 = this;
|
|
9439
9382
|
filterEntities = [];
|
|
9440
9383
|
if (!nameList || nameList.length === 0) {
|
|
9441
|
-
filterEntities =
|
|
9384
|
+
filterEntities = this.fieldEntities;
|
|
9442
9385
|
} else {
|
|
9443
|
-
filterEntities =
|
|
9386
|
+
filterEntities = this.fieldEntities.filter(function(param) {
|
|
9444
9387
|
var name2 = param.props.name;
|
|
9445
9388
|
return nameList.includes(name2);
|
|
9446
9389
|
});
|
|
@@ -9448,14 +9391,14 @@
|
|
|
9448
9391
|
errs = [];
|
|
9449
9392
|
return [
|
|
9450
9393
|
4,
|
|
9451
|
-
Promise.all(filterEntities.map(
|
|
9452
|
-
|
|
9394
|
+
Promise.all(filterEntities.map(function(entity) {
|
|
9395
|
+
return _async_to_generator(function() {
|
|
9453
9396
|
return __generator(this, function(_state2) {
|
|
9454
9397
|
switch (_state2.label) {
|
|
9455
9398
|
case 0:
|
|
9456
9399
|
return [
|
|
9457
9400
|
4,
|
|
9458
|
-
|
|
9401
|
+
this.validateEntities(entity, errs)
|
|
9459
9402
|
];
|
|
9460
9403
|
case 1:
|
|
9461
9404
|
_state2.sent();
|
|
@@ -9464,11 +9407,8 @@
|
|
|
9464
9407
|
];
|
|
9465
9408
|
}
|
|
9466
9409
|
});
|
|
9467
|
-
});
|
|
9468
|
-
|
|
9469
|
-
return _ref2.apply(this, arguments);
|
|
9470
|
-
};
|
|
9471
|
-
}()))
|
|
9410
|
+
}).call(_this2);
|
|
9411
|
+
}))
|
|
9472
9412
|
];
|
|
9473
9413
|
case 1:
|
|
9474
9414
|
_state.sent();
|
|
@@ -9478,33 +9418,32 @@
|
|
|
9478
9418
|
];
|
|
9479
9419
|
}
|
|
9480
9420
|
});
|
|
9481
|
-
});
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9502
|
-
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
}));
|
|
9421
|
+
}).call(_this);
|
|
9422
|
+
});
|
|
9423
|
+
_define_property(this, "submit", function() {
|
|
9424
|
+
return _async_to_generator(function() {
|
|
9425
|
+
var errors, _this_callbacks_onFinish, _this_callbacks, _this_callbacks_onFinishFailed, _this_callbacks1;
|
|
9426
|
+
return __generator(this, function(_state) {
|
|
9427
|
+
switch (_state.label) {
|
|
9428
|
+
case 0:
|
|
9429
|
+
return [
|
|
9430
|
+
4,
|
|
9431
|
+
this.validateFields()
|
|
9432
|
+
];
|
|
9433
|
+
case 1:
|
|
9434
|
+
errors = _state.sent();
|
|
9435
|
+
if (errors.length === 0) {
|
|
9436
|
+
(_this_callbacks_onFinish = (_this_callbacks = this.callbacks).onFinish) === null || _this_callbacks_onFinish === void 0 ? void 0 : _this_callbacks_onFinish.call(_this_callbacks, this.store);
|
|
9437
|
+
} else if (errors.length > 0) {
|
|
9438
|
+
(_this_callbacks_onFinishFailed = (_this_callbacks1 = this.callbacks).onFinishFailed) === null || _this_callbacks_onFinishFailed === void 0 ? void 0 : _this_callbacks_onFinishFailed.call(_this_callbacks1, this.store, errors);
|
|
9439
|
+
}
|
|
9440
|
+
return [
|
|
9441
|
+
2
|
|
9442
|
+
];
|
|
9443
|
+
}
|
|
9444
|
+
});
|
|
9445
|
+
}).call(_this);
|
|
9446
|
+
});
|
|
9508
9447
|
_define_property(this, "resetFields", function(namePaths) {
|
|
9509
9448
|
if (namePaths && namePaths.length) {
|
|
9510
9449
|
namePaths.forEach(function(path) {
|
|
@@ -10009,16 +9948,7 @@
|
|
|
10009
9948
|
return value2.replace(regExp, "");
|
|
10010
9949
|
}
|
|
10011
9950
|
var ENV_TYPE = {
|
|
10012
|
-
|
|
10013
|
-
SWAN: "SWAN",
|
|
10014
|
-
ALIPAY: "ALIPAY",
|
|
10015
|
-
TT: "TT",
|
|
10016
|
-
QQ: "QQ",
|
|
10017
|
-
JD: "JD",
|
|
10018
|
-
WEB: "WEB",
|
|
10019
|
-
RN: "RN",
|
|
10020
|
-
HARMONY: "HARMONY",
|
|
10021
|
-
QUICKAPP: "QUICKAPP"
|
|
9951
|
+
WEB: "WEB"
|
|
10022
9952
|
};
|
|
10023
9953
|
var defaultProps$Y = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
10024
9954
|
type: "text",
|
|
@@ -10293,8 +10223,8 @@
|
|
|
10293
10223
|
var stepAmount = parseFloat(stepValue) * symbol;
|
|
10294
10224
|
return (currentValue * dig + stepAmount * dig) / dig;
|
|
10295
10225
|
};
|
|
10296
|
-
var update =
|
|
10297
|
-
|
|
10226
|
+
var update = function(negative, e) {
|
|
10227
|
+
return _async_to_generator(function() {
|
|
10298
10228
|
var shouldOverBoundary, maybeResume, nextValue;
|
|
10299
10229
|
return __generator(this, function(_state) {
|
|
10300
10230
|
switch (_state.label) {
|
|
@@ -10325,13 +10255,10 @@
|
|
|
10325
10255
|
];
|
|
10326
10256
|
}
|
|
10327
10257
|
});
|
|
10328
|
-
});
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
}();
|
|
10333
|
-
var handleReduce = /* @__PURE__ */ function() {
|
|
10334
|
-
var _ref2 = _async_to_generator(function(e) {
|
|
10258
|
+
})();
|
|
10259
|
+
};
|
|
10260
|
+
var handleReduce = function(e) {
|
|
10261
|
+
return _async_to_generator(function() {
|
|
10335
10262
|
return __generator(this, function(_state) {
|
|
10336
10263
|
switch (_state.label) {
|
|
10337
10264
|
case 0:
|
|
@@ -10349,13 +10276,10 @@
|
|
|
10349
10276
|
];
|
|
10350
10277
|
}
|
|
10351
10278
|
});
|
|
10352
|
-
});
|
|
10353
|
-
|
|
10354
|
-
|
|
10355
|
-
|
|
10356
|
-
}();
|
|
10357
|
-
var handlePlus = /* @__PURE__ */ function() {
|
|
10358
|
-
var _ref2 = _async_to_generator(function(e) {
|
|
10279
|
+
})();
|
|
10280
|
+
};
|
|
10281
|
+
var handlePlus = function(e) {
|
|
10282
|
+
return _async_to_generator(function() {
|
|
10359
10283
|
return __generator(this, function(_state) {
|
|
10360
10284
|
switch (_state.label) {
|
|
10361
10285
|
case 0:
|
|
@@ -10373,18 +10297,15 @@
|
|
|
10373
10297
|
];
|
|
10374
10298
|
}
|
|
10375
10299
|
});
|
|
10376
|
-
});
|
|
10377
|
-
|
|
10378
|
-
return _ref2.apply(this, arguments);
|
|
10379
|
-
};
|
|
10380
|
-
}();
|
|
10300
|
+
})();
|
|
10301
|
+
};
|
|
10381
10302
|
var parseValue = function(text2) {
|
|
10382
10303
|
if (text2 === "") return null;
|
|
10383
10304
|
if (text2 === "-") return null;
|
|
10384
10305
|
return text2;
|
|
10385
10306
|
};
|
|
10386
|
-
var handleInputChange =
|
|
10387
|
-
|
|
10307
|
+
var handleInputChange = function(e) {
|
|
10308
|
+
return _async_to_generator(function() {
|
|
10388
10309
|
var valueStr, maybeResume;
|
|
10389
10310
|
return __generator(this, function(_state) {
|
|
10390
10311
|
switch (_state.label) {
|
|
@@ -10414,11 +10335,8 @@
|
|
|
10414
10335
|
];
|
|
10415
10336
|
}
|
|
10416
10337
|
});
|
|
10417
|
-
});
|
|
10418
|
-
|
|
10419
|
-
return _ref2.apply(this, arguments);
|
|
10420
|
-
};
|
|
10421
|
-
}();
|
|
10338
|
+
})();
|
|
10339
|
+
};
|
|
10422
10340
|
var handleFocus = function(e) {
|
|
10423
10341
|
setFocused(true);
|
|
10424
10342
|
setInputValue(shadowValue !== void 0 && shadowValue !== null ? bound(Number(shadowValue), Number(min), Number(max)).toString() : "");
|
|
@@ -10472,7 +10390,7 @@
|
|
|
10472
10390
|
if (null == r) return {};
|
|
10473
10391
|
var t = {};
|
|
10474
10392
|
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
10475
|
-
if (e.
|
|
10393
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
10476
10394
|
t[n] = r[n];
|
|
10477
10395
|
}
|
|
10478
10396
|
return t;
|
|
@@ -12184,28 +12102,30 @@
|
|
|
12184
12102
|
show2
|
|
12185
12103
|
]);
|
|
12186
12104
|
var getParentOffset = React.useCallback(function() {
|
|
12187
|
-
setTimeout(
|
|
12188
|
-
|
|
12189
|
-
|
|
12190
|
-
|
|
12191
|
-
|
|
12192
|
-
|
|
12193
|
-
|
|
12194
|
-
|
|
12195
|
-
|
|
12196
|
-
|
|
12197
|
-
|
|
12198
|
-
|
|
12199
|
-
|
|
12200
|
-
|
|
12201
|
-
|
|
12202
|
-
|
|
12203
|
-
|
|
12204
|
-
|
|
12205
|
-
|
|
12206
|
-
|
|
12207
|
-
|
|
12208
|
-
|
|
12105
|
+
setTimeout(function() {
|
|
12106
|
+
return _async_to_generator(function() {
|
|
12107
|
+
var p, rect;
|
|
12108
|
+
return __generator(this, function(_state) {
|
|
12109
|
+
switch (_state.label) {
|
|
12110
|
+
case 0:
|
|
12111
|
+
p = parent2.menuRef.current;
|
|
12112
|
+
return [
|
|
12113
|
+
4,
|
|
12114
|
+
getRectInMultiPlatform(p)
|
|
12115
|
+
];
|
|
12116
|
+
case 1:
|
|
12117
|
+
rect = _state.sent();
|
|
12118
|
+
setPosition({
|
|
12119
|
+
height: rect.height,
|
|
12120
|
+
top: rect.top
|
|
12121
|
+
});
|
|
12122
|
+
return [
|
|
12123
|
+
2
|
|
12124
|
+
];
|
|
12125
|
+
}
|
|
12126
|
+
});
|
|
12127
|
+
})();
|
|
12128
|
+
}, 100);
|
|
12209
12129
|
}, [
|
|
12210
12130
|
parent2.menuRef
|
|
12211
12131
|
]);
|
|
@@ -13087,8 +13007,8 @@
|
|
|
13087
13007
|
onEnd,
|
|
13088
13008
|
setInnerValue
|
|
13089
13009
|
]);
|
|
13090
|
-
var handleClick = React.useCallback(
|
|
13091
|
-
|
|
13010
|
+
var handleClick = React.useCallback(function(event) {
|
|
13011
|
+
return _async_to_generator(function() {
|
|
13092
13012
|
var _event_detail, rect, _event_detail_x, x, delta, total, _event_detail1, _event_detail_y, y, value3, _innerValue, left2, right2, middle;
|
|
13093
13013
|
return __generator(this, function(_state) {
|
|
13094
13014
|
switch (_state.label) {
|
|
@@ -13140,11 +13060,8 @@
|
|
|
13140
13060
|
];
|
|
13141
13061
|
}
|
|
13142
13062
|
});
|
|
13143
|
-
});
|
|
13144
|
-
|
|
13145
|
-
return _ref.apply(this, arguments);
|
|
13146
|
-
};
|
|
13147
|
-
}(), [
|
|
13063
|
+
})();
|
|
13064
|
+
}, [
|
|
13148
13065
|
innerValue,
|
|
13149
13066
|
disabled,
|
|
13150
13067
|
isRange,
|
|
@@ -13154,8 +13071,8 @@
|
|
|
13154
13071
|
vertical
|
|
13155
13072
|
]);
|
|
13156
13073
|
Taro.useReady(function() {
|
|
13157
|
-
var getRootRect =
|
|
13158
|
-
|
|
13074
|
+
var getRootRect = function() {
|
|
13075
|
+
return _async_to_generator(function() {
|
|
13159
13076
|
var rect;
|
|
13160
13077
|
return __generator(this, function(_state) {
|
|
13161
13078
|
switch (_state.label) {
|
|
@@ -13178,11 +13095,8 @@
|
|
|
13178
13095
|
];
|
|
13179
13096
|
}
|
|
13180
13097
|
});
|
|
13181
|
-
});
|
|
13182
|
-
|
|
13183
|
-
return _ref.apply(this, arguments);
|
|
13184
|
-
};
|
|
13185
|
-
}();
|
|
13098
|
+
})();
|
|
13099
|
+
};
|
|
13186
13100
|
Taro.nextTick(function() {
|
|
13187
13101
|
getRootRect();
|
|
13188
13102
|
});
|
|
@@ -13204,8 +13118,8 @@
|
|
|
13204
13118
|
isRange,
|
|
13205
13119
|
touch
|
|
13206
13120
|
]);
|
|
13207
|
-
var onTouchMove = React.useCallback(
|
|
13208
|
-
|
|
13121
|
+
var onTouchMove = React.useCallback(function(event) {
|
|
13122
|
+
return _async_to_generator(function() {
|
|
13209
13123
|
var handleMove;
|
|
13210
13124
|
return __generator(this, function(_state) {
|
|
13211
13125
|
if (disabled || !root2.current) return [
|
|
@@ -13216,8 +13130,8 @@
|
|
|
13216
13130
|
dragStatusRef.current = "draging";
|
|
13217
13131
|
}
|
|
13218
13132
|
touch.move(event);
|
|
13219
|
-
handleMove =
|
|
13220
|
-
|
|
13133
|
+
handleMove = function() {
|
|
13134
|
+
return _async_to_generator(function() {
|
|
13221
13135
|
var delta, total, diff, newValue;
|
|
13222
13136
|
return __generator(this, function(_state2) {
|
|
13223
13137
|
if (!rootRect.current) return [
|
|
@@ -13243,21 +13157,15 @@
|
|
|
13243
13157
|
2
|
|
13244
13158
|
];
|
|
13245
13159
|
});
|
|
13246
|
-
});
|
|
13247
|
-
|
|
13248
|
-
return _ref2.apply(this, arguments);
|
|
13249
|
-
};
|
|
13250
|
-
}();
|
|
13160
|
+
})();
|
|
13161
|
+
};
|
|
13251
13162
|
requestAnimationFrame(handleMove);
|
|
13252
13163
|
return [
|
|
13253
13164
|
2
|
|
13254
13165
|
];
|
|
13255
13166
|
});
|
|
13256
|
-
});
|
|
13257
|
-
|
|
13258
|
-
return _ref.apply(this, arguments);
|
|
13259
|
-
};
|
|
13260
|
-
}(), [
|
|
13167
|
+
})();
|
|
13168
|
+
}, [
|
|
13261
13169
|
disabled,
|
|
13262
13170
|
isRange,
|
|
13263
13171
|
onStart,
|
|
@@ -14167,8 +14075,8 @@
|
|
|
14167
14075
|
(_obj2 = {}, _define_property(_obj2, "".concat(classPrefix2, "-close"), !value2), _define_property(_obj2, "".concat(classPrefix2, "-disabled"), disabled), _define_property(_obj2, "".concat(classPrefix2, "-disabled-close"), disabled && !value2), _obj2)
|
|
14168
14076
|
]);
|
|
14169
14077
|
};
|
|
14170
|
-
var onClick =
|
|
14171
|
-
|
|
14078
|
+
var onClick = function() {
|
|
14079
|
+
return _async_to_generator(function() {
|
|
14172
14080
|
return __generator(this, function(_state) {
|
|
14173
14081
|
switch (_state.label) {
|
|
14174
14082
|
case 0:
|
|
@@ -14212,11 +14120,8 @@
|
|
|
14212
14120
|
];
|
|
14213
14121
|
}
|
|
14214
14122
|
});
|
|
14215
|
-
});
|
|
14216
|
-
|
|
14217
|
-
return _ref2.apply(this, arguments);
|
|
14218
|
-
};
|
|
14219
|
-
}();
|
|
14123
|
+
})();
|
|
14124
|
+
};
|
|
14220
14125
|
var _obj, _obj1;
|
|
14221
14126
|
return /* @__PURE__ */ React.createElement(components.View, _object_spread({
|
|
14222
14127
|
className: classes(),
|
|
@@ -14724,22 +14629,24 @@
|
|
|
14724
14629
|
var classes = classNames(className, "nut-uploader");
|
|
14725
14630
|
React.useImperativeHandle(ref, function() {
|
|
14726
14631
|
return {
|
|
14727
|
-
submit:
|
|
14728
|
-
return
|
|
14729
|
-
|
|
14730
|
-
|
|
14731
|
-
|
|
14732
|
-
|
|
14733
|
-
|
|
14734
|
-
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
|
-
|
|
14738
|
-
|
|
14739
|
-
|
|
14740
|
-
|
|
14741
|
-
|
|
14742
|
-
|
|
14632
|
+
submit: function() {
|
|
14633
|
+
return _async_to_generator(function() {
|
|
14634
|
+
return __generator(this, function(_state) {
|
|
14635
|
+
switch (_state.label) {
|
|
14636
|
+
case 0:
|
|
14637
|
+
return [
|
|
14638
|
+
4,
|
|
14639
|
+
uploadAction(uploadQueue)
|
|
14640
|
+
];
|
|
14641
|
+
case 1:
|
|
14642
|
+
_state.sent();
|
|
14643
|
+
return [
|
|
14644
|
+
2
|
|
14645
|
+
];
|
|
14646
|
+
}
|
|
14647
|
+
});
|
|
14648
|
+
})();
|
|
14649
|
+
},
|
|
14743
14650
|
clear: function() {
|
|
14744
14651
|
clearUploadQueue();
|
|
14745
14652
|
}
|
|
@@ -14812,8 +14719,8 @@
|
|
|
14812
14719
|
});
|
|
14813
14720
|
}
|
|
14814
14721
|
};
|
|
14815
|
-
var uploadAction =
|
|
14816
|
-
|
|
14722
|
+
var uploadAction = function(tasks) {
|
|
14723
|
+
return _async_to_generator(function() {
|
|
14817
14724
|
var taskIds, list;
|
|
14818
14725
|
return __generator(this, function(_state) {
|
|
14819
14726
|
switch (_state.label) {
|
|
@@ -14833,8 +14740,8 @@
|
|
|
14833
14740
|
setFileList(list);
|
|
14834
14741
|
return [
|
|
14835
14742
|
4,
|
|
14836
|
-
Promise.all(tasks.map(
|
|
14837
|
-
|
|
14743
|
+
Promise.all(tasks.map(function(currentTask, index2) {
|
|
14744
|
+
return _async_to_generator(function() {
|
|
14838
14745
|
var result, list2, e, list1;
|
|
14839
14746
|
return __generator(this, function(_state2) {
|
|
14840
14747
|
switch (_state2.label) {
|
|
@@ -14881,11 +14788,8 @@
|
|
|
14881
14788
|
];
|
|
14882
14789
|
}
|
|
14883
14790
|
});
|
|
14884
|
-
});
|
|
14885
|
-
|
|
14886
|
-
return _ref3.apply(this, arguments);
|
|
14887
|
-
};
|
|
14888
|
-
}())).catch(function(errs) {
|
|
14791
|
+
})();
|
|
14792
|
+
})).catch(function(errs) {
|
|
14889
14793
|
return console.error(errs);
|
|
14890
14794
|
})
|
|
14891
14795
|
];
|
|
@@ -14896,14 +14800,11 @@
|
|
|
14896
14800
|
];
|
|
14897
14801
|
}
|
|
14898
14802
|
});
|
|
14899
|
-
});
|
|
14900
|
-
|
|
14901
|
-
return _ref2.apply(this, arguments);
|
|
14902
|
-
};
|
|
14903
|
-
}();
|
|
14803
|
+
})();
|
|
14804
|
+
};
|
|
14904
14805
|
var idCountRef = React.useRef(0);
|
|
14905
|
-
var readFile =
|
|
14906
|
-
|
|
14806
|
+
var readFile = function(files) {
|
|
14807
|
+
return _async_to_generator(function() {
|
|
14907
14808
|
var tasks;
|
|
14908
14809
|
return __generator(this, function(_state) {
|
|
14909
14810
|
switch (_state.label) {
|
|
@@ -14961,11 +14862,8 @@
|
|
|
14961
14862
|
];
|
|
14962
14863
|
}
|
|
14963
14864
|
});
|
|
14964
|
-
});
|
|
14965
|
-
|
|
14966
|
-
return _ref2.apply(this, arguments);
|
|
14967
|
-
};
|
|
14968
|
-
}();
|
|
14865
|
+
})();
|
|
14866
|
+
};
|
|
14969
14867
|
var filterFiles = function(files) {
|
|
14970
14868
|
var maximum = maxCount * 1;
|
|
14971
14869
|
var maximize = maxFileSize * 1;
|
|
@@ -15004,8 +14902,8 @@
|
|
|
15004
14902
|
}
|
|
15005
14903
|
});
|
|
15006
14904
|
};
|
|
15007
|
-
var onChangeMedia =
|
|
15008
|
-
|
|
14905
|
+
var onChangeMedia = function(res) {
|
|
14906
|
+
return _async_to_generator(function() {
|
|
15009
14907
|
var tempFiles, _files;
|
|
15010
14908
|
return __generator(this, function(_state) {
|
|
15011
14909
|
tempFiles = res.tempFiles;
|
|
@@ -15023,13 +14921,10 @@
|
|
|
15023
14921
|
2
|
|
15024
14922
|
];
|
|
15025
14923
|
});
|
|
15026
|
-
});
|
|
15027
|
-
|
|
15028
|
-
|
|
15029
|
-
|
|
15030
|
-
}();
|
|
15031
|
-
var onChangeImage = /* @__PURE__ */ function() {
|
|
15032
|
-
var _ref2 = _async_to_generator(function(res) {
|
|
14924
|
+
})();
|
|
14925
|
+
};
|
|
14926
|
+
var onChangeImage = function(res) {
|
|
14927
|
+
return _async_to_generator(function() {
|
|
15033
14928
|
var tempFiles, _files;
|
|
15034
14929
|
return __generator(this, function(_state) {
|
|
15035
14930
|
tempFiles = res.tempFiles;
|
|
@@ -15047,11 +14942,8 @@
|
|
|
15047
14942
|
2
|
|
15048
14943
|
];
|
|
15049
14944
|
});
|
|
15050
|
-
});
|
|
15051
|
-
|
|
15052
|
-
return _ref2.apply(this, arguments);
|
|
15053
|
-
};
|
|
15054
|
-
}();
|
|
14945
|
+
})();
|
|
14946
|
+
};
|
|
15055
14947
|
var handleItemClick = function(file, index2) {
|
|
15056
14948
|
onFileItemClick === null || onFileItemClick === void 0 ? void 0 : onFileItemClick(file, index2);
|
|
15057
14949
|
};
|
|
@@ -15264,8 +15156,8 @@
|
|
|
15264
15156
|
if (!(beforeCancel === null || beforeCancel === void 0 ? void 0 : beforeCancel())) return;
|
|
15265
15157
|
onCancel();
|
|
15266
15158
|
};
|
|
15267
|
-
var handleOk =
|
|
15268
|
-
|
|
15159
|
+
var handleOk = function(e) {
|
|
15160
|
+
return _async_to_generator(function() {
|
|
15269
15161
|
return __generator(this, function(_state) {
|
|
15270
15162
|
switch (_state.label) {
|
|
15271
15163
|
case 0:
|
|
@@ -15304,11 +15196,8 @@
|
|
|
15304
15196
|
];
|
|
15305
15197
|
}
|
|
15306
15198
|
});
|
|
15307
|
-
});
|
|
15308
|
-
|
|
15309
|
-
return _ref.apply(this, arguments);
|
|
15310
|
-
};
|
|
15311
|
-
}();
|
|
15199
|
+
})();
|
|
15200
|
+
};
|
|
15312
15201
|
var btnClass = hideCancelButton || hideConfirmButton ? "".concat(classPrefix2, "-footer-block") : "";
|
|
15313
15202
|
var renderCancelOfVertical = function() {
|
|
15314
15203
|
return !hideCancelButton && /* @__PURE__ */ React.createElement(components.View, {
|
|
@@ -15452,9 +15341,9 @@
|
|
|
15452
15341
|
var translateX = React.useRef(0);
|
|
15453
15342
|
var translateY = React.useRef(0);
|
|
15454
15343
|
var middleLine = React.useRef(0);
|
|
15455
|
-
var getInfo =
|
|
15456
|
-
|
|
15457
|
-
var el, top, left2, bottom, right2, _getWindowInfo, screenWidth, windowHeight,
|
|
15344
|
+
var getInfo = function() {
|
|
15345
|
+
return _async_to_generator(function() {
|
|
15346
|
+
var el, top, left2, bottom, right2, _getWindowInfo, screenWidth, windowHeight, _ref, width2, height2, dragTop, dragLeft;
|
|
15458
15347
|
return __generator(this, function(_state) {
|
|
15459
15348
|
switch (_state.label) {
|
|
15460
15349
|
case 0:
|
|
@@ -15470,7 +15359,7 @@
|
|
|
15470
15359
|
getRectInMultiPlatform(dragRef.current)
|
|
15471
15360
|
];
|
|
15472
15361
|
case 1:
|
|
15473
|
-
|
|
15362
|
+
_ref = _state.sent(), width2 = _ref.width, height2 = _ref.height, dragTop = _ref.top, dragLeft = _ref.left;
|
|
15474
15363
|
setBoundaryState({
|
|
15475
15364
|
top: -dragTop + top,
|
|
15476
15365
|
left: -dragLeft + left2,
|
|
@@ -15485,11 +15374,8 @@
|
|
|
15485
15374
|
];
|
|
15486
15375
|
}
|
|
15487
15376
|
});
|
|
15488
|
-
});
|
|
15489
|
-
|
|
15490
|
-
return _ref.apply(this, arguments);
|
|
15491
|
-
};
|
|
15492
|
-
}();
|
|
15377
|
+
})();
|
|
15378
|
+
};
|
|
15493
15379
|
var touchStart = function(e) {
|
|
15494
15380
|
onDragStart === null || onDragStart === void 0 ? void 0 : onDragStart();
|
|
15495
15381
|
var touches = e.touches[0];
|
|
@@ -15741,8 +15627,8 @@
|
|
|
15741
15627
|
}
|
|
15742
15628
|
onScroll && onScroll(e.target.scrollTop);
|
|
15743
15629
|
};
|
|
15744
|
-
var lower =
|
|
15745
|
-
|
|
15630
|
+
var lower = function() {
|
|
15631
|
+
return _async_to_generator(function() {
|
|
15746
15632
|
return __generator(this, function(_state) {
|
|
15747
15633
|
switch (_state.label) {
|
|
15748
15634
|
case 0:
|
|
@@ -15765,11 +15651,8 @@
|
|
|
15765
15651
|
];
|
|
15766
15652
|
}
|
|
15767
15653
|
});
|
|
15768
|
-
});
|
|
15769
|
-
|
|
15770
|
-
return _ref2.apply(this, arguments);
|
|
15771
|
-
};
|
|
15772
|
-
}();
|
|
15654
|
+
})();
|
|
15655
|
+
};
|
|
15773
15656
|
var touchStart = function(event) {
|
|
15774
15657
|
if (scrollTop.current === 0 && !isTouching.current && pullRefresh) {
|
|
15775
15658
|
y.current = event.touches[0].pageY;
|
|
@@ -15791,8 +15674,8 @@
|
|
|
15791
15674
|
isTouching.current = false;
|
|
15792
15675
|
}
|
|
15793
15676
|
};
|
|
15794
|
-
var touchEnd =
|
|
15795
|
-
|
|
15677
|
+
var touchEnd = function() {
|
|
15678
|
+
return _async_to_generator(function() {
|
|
15796
15679
|
return __generator(this, function(_state) {
|
|
15797
15680
|
switch (_state.label) {
|
|
15798
15681
|
case 0:
|
|
@@ -15822,11 +15705,8 @@
|
|
|
15822
15705
|
];
|
|
15823
15706
|
}
|
|
15824
15707
|
});
|
|
15825
|
-
});
|
|
15826
|
-
|
|
15827
|
-
return _ref2.apply(this, arguments);
|
|
15828
|
-
};
|
|
15829
|
-
}();
|
|
15708
|
+
})();
|
|
15709
|
+
};
|
|
15830
15710
|
return /* @__PURE__ */ React.createElement(components.ScrollView, _object_spread_props(_object_spread({}, rest), {
|
|
15831
15711
|
className: classes,
|
|
15832
15712
|
scrollY: true,
|
|
@@ -15998,46 +15878,48 @@
|
|
|
15998
15878
|
if (showNoticeBar === false) {
|
|
15999
15879
|
return;
|
|
16000
15880
|
}
|
|
16001
|
-
setTimeout(
|
|
16002
|
-
|
|
16003
|
-
|
|
16004
|
-
|
|
16005
|
-
|
|
16006
|
-
|
|
15881
|
+
setTimeout(function() {
|
|
15882
|
+
return _async_to_generator(function() {
|
|
15883
|
+
var warpRes, contentRes, wrapW, offsetW, canScroll;
|
|
15884
|
+
return __generator(this, function(_state) {
|
|
15885
|
+
switch (_state.label) {
|
|
15886
|
+
case 0:
|
|
15887
|
+
if (!wrapRef.current || !contentRef.current) {
|
|
15888
|
+
return [
|
|
15889
|
+
2
|
|
15890
|
+
];
|
|
15891
|
+
}
|
|
15892
|
+
return [
|
|
15893
|
+
4,
|
|
15894
|
+
getRectInMultiPlatform(wrapRef.current)
|
|
15895
|
+
];
|
|
15896
|
+
case 1:
|
|
15897
|
+
warpRes = _state.sent();
|
|
15898
|
+
return [
|
|
15899
|
+
4,
|
|
15900
|
+
getRectInMultiPlatform(contentRef.current)
|
|
15901
|
+
];
|
|
15902
|
+
case 2:
|
|
15903
|
+
contentRes = _state.sent();
|
|
15904
|
+
wrapW = warpRes.width;
|
|
15905
|
+
offsetW = contentRes.width;
|
|
15906
|
+
canScroll = align === "left" && scrollable == null ? offsetW > wrapW : scrollable;
|
|
15907
|
+
SetIsCanScroll(canScroll);
|
|
15908
|
+
if (canScroll) {
|
|
15909
|
+
SetWrapWidth(wrapW);
|
|
15910
|
+
SetOffsetW(offsetW);
|
|
15911
|
+
SetAnimationDuration(offsetW / speed);
|
|
15912
|
+
SetAnimationClass("play");
|
|
15913
|
+
} else {
|
|
15914
|
+
SetAnimationClass("");
|
|
15915
|
+
}
|
|
16007
15916
|
return [
|
|
16008
15917
|
2
|
|
16009
15918
|
];
|
|
16010
|
-
|
|
16011
|
-
|
|
16012
|
-
|
|
16013
|
-
|
|
16014
|
-
];
|
|
16015
|
-
case 1:
|
|
16016
|
-
warpRes = _state.sent();
|
|
16017
|
-
return [
|
|
16018
|
-
4,
|
|
16019
|
-
getRectInMultiPlatform(contentRef.current)
|
|
16020
|
-
];
|
|
16021
|
-
case 2:
|
|
16022
|
-
contentRes = _state.sent();
|
|
16023
|
-
wrapW = warpRes.width;
|
|
16024
|
-
offsetW = contentRes.width;
|
|
16025
|
-
canScroll = align === "left" && scrollable == null ? offsetW > wrapW : scrollable;
|
|
16026
|
-
SetIsCanScroll(canScroll);
|
|
16027
|
-
if (canScroll) {
|
|
16028
|
-
SetWrapWidth(wrapW);
|
|
16029
|
-
SetOffsetW(offsetW);
|
|
16030
|
-
SetAnimationDuration(offsetW / speed);
|
|
16031
|
-
SetAnimationClass("play");
|
|
16032
|
-
} else {
|
|
16033
|
-
SetAnimationClass("");
|
|
16034
|
-
}
|
|
16035
|
-
return [
|
|
16036
|
-
2
|
|
16037
|
-
];
|
|
16038
|
-
}
|
|
16039
|
-
});
|
|
16040
|
-
}), 0);
|
|
15919
|
+
}
|
|
15920
|
+
});
|
|
15921
|
+
})();
|
|
15922
|
+
}, 0);
|
|
16041
15923
|
};
|
|
16042
15924
|
var handleClick = function(event) {
|
|
16043
15925
|
click && click(event);
|
|
@@ -16100,35 +15982,37 @@
|
|
|
16100
15982
|
var init = function() {
|
|
16101
15983
|
var activeIndex = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
|
|
16102
15984
|
if (!(container === null || container === void 0 ? void 0 : container.current)) return;
|
|
16103
|
-
setTimeout(
|
|
16104
|
-
|
|
16105
|
-
|
|
16106
|
-
|
|
16107
|
-
|
|
16108
|
-
|
|
16109
|
-
|
|
16110
|
-
|
|
16111
|
-
|
|
16112
|
-
|
|
16113
|
-
|
|
16114
|
-
|
|
16115
|
-
|
|
16116
|
-
|
|
16117
|
-
|
|
16118
|
-
|
|
16119
|
-
|
|
16120
|
-
|
|
16121
|
-
|
|
16122
|
-
|
|
16123
|
-
|
|
16124
|
-
|
|
16125
|
-
|
|
16126
|
-
|
|
16127
|
-
|
|
16128
|
-
|
|
16129
|
-
|
|
16130
|
-
|
|
16131
|
-
|
|
15985
|
+
setTimeout(function() {
|
|
15986
|
+
return _async_to_generator(function() {
|
|
15987
|
+
var rects, _active, _height, targetOffset;
|
|
15988
|
+
return __generator(this, function(_state) {
|
|
15989
|
+
switch (_state.label) {
|
|
15990
|
+
case 0:
|
|
15991
|
+
return [
|
|
15992
|
+
4,
|
|
15993
|
+
getRectInMultiPlatform(container === null || container === void 0 ? void 0 : container.current)
|
|
15994
|
+
];
|
|
15995
|
+
case 1:
|
|
15996
|
+
rects = _state.sent();
|
|
15997
|
+
_active = Math.max(Math.min(childCount - 1, activeIndex), 0);
|
|
15998
|
+
_height = rects === null || rects === void 0 ? void 0 : rects.height;
|
|
15999
|
+
trackSize = childCount * Number(_height);
|
|
16000
|
+
targetOffset = getOffset(_active);
|
|
16001
|
+
activeRef.current = _active;
|
|
16002
|
+
setRect(rects);
|
|
16003
|
+
setOffset(targetOffset);
|
|
16004
|
+
setChildOffset(new Array(childCount).fill(0));
|
|
16005
|
+
swiperRef.current.moving = true;
|
|
16006
|
+
setStyle(targetOffset, rects);
|
|
16007
|
+
swiperRef.current.moving = false;
|
|
16008
|
+
setReady(true);
|
|
16009
|
+
return [
|
|
16010
|
+
2
|
|
16011
|
+
];
|
|
16012
|
+
}
|
|
16013
|
+
});
|
|
16014
|
+
})();
|
|
16015
|
+
}, 0);
|
|
16132
16016
|
};
|
|
16133
16017
|
React.useEffect(function() {
|
|
16134
16018
|
if (ready) {
|
|
@@ -16517,93 +16401,91 @@
|
|
|
16517
16401
|
]);
|
|
16518
16402
|
var uid = useUuid();
|
|
16519
16403
|
var popoverId = "popover-".concat(uid);
|
|
16520
|
-
var getWrapperPosition =
|
|
16521
|
-
|
|
16404
|
+
var getWrapperPosition = function() {
|
|
16405
|
+
return _async_to_generator(function() {
|
|
16522
16406
|
return __generator(this, function(_state) {
|
|
16523
|
-
Taro.nextTick(
|
|
16524
|
-
|
|
16525
|
-
|
|
16526
|
-
|
|
16527
|
-
|
|
16528
|
-
|
|
16529
|
-
|
|
16530
|
-
|
|
16531
|
-
|
|
16532
|
-
|
|
16533
|
-
|
|
16534
|
-
|
|
16535
|
-
|
|
16536
|
-
|
|
16537
|
-
|
|
16538
|
-
|
|
16539
|
-
|
|
16540
|
-
|
|
16541
|
-
|
|
16542
|
-
|
|
16543
|
-
|
|
16544
|
-
|
|
16545
|
-
|
|
16546
|
-
|
|
16547
|
-
|
|
16548
|
-
|
|
16549
|
-
|
|
16550
|
-
|
|
16551
|
-
|
|
16552
|
-
|
|
16553
|
-
|
|
16554
|
-
|
|
16555
|
-
|
|
16556
|
-
|
|
16557
|
-
|
|
16558
|
-
|
|
16559
|
-
|
|
16560
|
-
|
|
16561
|
-
|
|
16562
|
-
|
|
16563
|
-
|
|
16564
|
-
|
|
16565
|
-
|
|
16566
|
-
|
|
16407
|
+
Taro.nextTick(function() {
|
|
16408
|
+
return _async_to_generator(function() {
|
|
16409
|
+
var rect, _tmp, width2, height2, right2, left2, top;
|
|
16410
|
+
return __generator(this, function(_state2) {
|
|
16411
|
+
switch (_state2.label) {
|
|
16412
|
+
case 0:
|
|
16413
|
+
if (!targetId) return [
|
|
16414
|
+
3,
|
|
16415
|
+
2
|
|
16416
|
+
];
|
|
16417
|
+
return [
|
|
16418
|
+
4,
|
|
16419
|
+
getRectInMultiPlatform(document.querySelector("#".concat(targetId)), targetId)
|
|
16420
|
+
];
|
|
16421
|
+
case 1:
|
|
16422
|
+
_tmp = _state2.sent();
|
|
16423
|
+
return [
|
|
16424
|
+
3,
|
|
16425
|
+
4
|
|
16426
|
+
];
|
|
16427
|
+
case 2:
|
|
16428
|
+
return [
|
|
16429
|
+
4,
|
|
16430
|
+
getRectInMultiPlatform(popoverRef.current, popoverId)
|
|
16431
|
+
];
|
|
16432
|
+
case 3:
|
|
16433
|
+
_tmp = _state2.sent();
|
|
16434
|
+
_state2.label = 4;
|
|
16435
|
+
case 4:
|
|
16436
|
+
rect = _tmp;
|
|
16437
|
+
width2 = rect.width, height2 = rect.height, right2 = rect.right, left2 = rect.left, top = rect.top;
|
|
16438
|
+
setWrapperPosition({
|
|
16439
|
+
width: width2,
|
|
16440
|
+
height: height2,
|
|
16441
|
+
left: rtl ? right2 : left2,
|
|
16442
|
+
top,
|
|
16443
|
+
right: rtl ? left2 : right2
|
|
16444
|
+
});
|
|
16445
|
+
getPopoverContentW();
|
|
16446
|
+
return [
|
|
16447
|
+
2
|
|
16448
|
+
];
|
|
16449
|
+
}
|
|
16450
|
+
});
|
|
16451
|
+
})();
|
|
16452
|
+
});
|
|
16567
16453
|
return [
|
|
16568
16454
|
2
|
|
16569
16455
|
];
|
|
16570
16456
|
});
|
|
16571
|
-
});
|
|
16572
|
-
|
|
16573
|
-
|
|
16574
|
-
|
|
16575
|
-
}();
|
|
16576
|
-
var getPopoverContentW = /* @__PURE__ */ function() {
|
|
16577
|
-
var _ref2 = _async_to_generator(function() {
|
|
16457
|
+
})();
|
|
16458
|
+
};
|
|
16459
|
+
var getPopoverContentW = function() {
|
|
16460
|
+
return _async_to_generator(function() {
|
|
16578
16461
|
return __generator(this, function(_state) {
|
|
16579
|
-
Taro.nextTick(
|
|
16580
|
-
|
|
16581
|
-
|
|
16582
|
-
|
|
16583
|
-
|
|
16584
|
-
|
|
16585
|
-
|
|
16586
|
-
|
|
16587
|
-
|
|
16588
|
-
|
|
16589
|
-
|
|
16590
|
-
|
|
16591
|
-
|
|
16592
|
-
|
|
16593
|
-
|
|
16594
|
-
|
|
16595
|
-
|
|
16596
|
-
|
|
16597
|
-
|
|
16462
|
+
Taro.nextTick(function() {
|
|
16463
|
+
return _async_to_generator(function() {
|
|
16464
|
+
var rectContent;
|
|
16465
|
+
return __generator(this, function(_state2) {
|
|
16466
|
+
switch (_state2.label) {
|
|
16467
|
+
case 0:
|
|
16468
|
+
return [
|
|
16469
|
+
4,
|
|
16470
|
+
getRectInMultiPlatform(popoverContentRef.current)
|
|
16471
|
+
];
|
|
16472
|
+
case 1:
|
|
16473
|
+
rectContent = _state2.sent();
|
|
16474
|
+
setPopWidth(rectContent.width);
|
|
16475
|
+
setPopHeight(rectContent.height);
|
|
16476
|
+
return [
|
|
16477
|
+
2
|
|
16478
|
+
];
|
|
16479
|
+
}
|
|
16480
|
+
});
|
|
16481
|
+
})();
|
|
16482
|
+
});
|
|
16598
16483
|
return [
|
|
16599
16484
|
2
|
|
16600
16485
|
];
|
|
16601
16486
|
});
|
|
16602
|
-
});
|
|
16603
|
-
|
|
16604
|
-
return _ref2.apply(this, arguments);
|
|
16605
|
-
};
|
|
16606
|
-
}();
|
|
16487
|
+
})();
|
|
16488
|
+
};
|
|
16607
16489
|
var clickAway = function() {
|
|
16608
16490
|
if (closeOnOutsideClick) {
|
|
16609
16491
|
onClick === null || onClick === void 0 ? void 0 : onClick();
|
|
@@ -16794,7 +16676,58 @@
|
|
|
16794
16676
|
});
|
|
16795
16677
|
var PullToRefresh = function(p) {
|
|
16796
16678
|
var doRefresh = function doRefresh2() {
|
|
16797
|
-
return
|
|
16679
|
+
return _async_to_generator(function() {
|
|
16680
|
+
var e;
|
|
16681
|
+
return __generator(this, function(_state) {
|
|
16682
|
+
switch (_state.label) {
|
|
16683
|
+
case 0:
|
|
16684
|
+
setHeight(headHeight);
|
|
16685
|
+
setStatus("refreshing");
|
|
16686
|
+
_state.label = 1;
|
|
16687
|
+
case 1:
|
|
16688
|
+
_state.trys.push([
|
|
16689
|
+
1,
|
|
16690
|
+
3,
|
|
16691
|
+
,
|
|
16692
|
+
4
|
|
16693
|
+
]);
|
|
16694
|
+
return [
|
|
16695
|
+
4,
|
|
16696
|
+
props.onRefresh()
|
|
16697
|
+
];
|
|
16698
|
+
case 2:
|
|
16699
|
+
_state.sent();
|
|
16700
|
+
setStatus("complete");
|
|
16701
|
+
return [
|
|
16702
|
+
3,
|
|
16703
|
+
4
|
|
16704
|
+
];
|
|
16705
|
+
case 3:
|
|
16706
|
+
e = _state.sent();
|
|
16707
|
+
setHeight(0);
|
|
16708
|
+
setStatus("pulling");
|
|
16709
|
+
throw e;
|
|
16710
|
+
case 4:
|
|
16711
|
+
if (!(props.completeDelay > 0)) return [
|
|
16712
|
+
3,
|
|
16713
|
+
6
|
|
16714
|
+
];
|
|
16715
|
+
return [
|
|
16716
|
+
4,
|
|
16717
|
+
sleep(props.completeDelay)
|
|
16718
|
+
];
|
|
16719
|
+
case 5:
|
|
16720
|
+
_state.sent();
|
|
16721
|
+
_state.label = 6;
|
|
16722
|
+
case 6:
|
|
16723
|
+
setHeight(0);
|
|
16724
|
+
setStatus("pulling");
|
|
16725
|
+
return [
|
|
16726
|
+
2
|
|
16727
|
+
];
|
|
16728
|
+
}
|
|
16729
|
+
});
|
|
16730
|
+
})();
|
|
16798
16731
|
};
|
|
16799
16732
|
var classPrefix2 = "nut-pulltorefresh";
|
|
16800
16733
|
var locale = useConfig().locale;
|
|
@@ -16850,61 +16783,6 @@
|
|
|
16850
16783
|
}
|
|
16851
16784
|
clearTimeout(timer.current);
|
|
16852
16785
|
};
|
|
16853
|
-
function _doRefresh() {
|
|
16854
|
-
_doRefresh = _async_to_generator(function() {
|
|
16855
|
-
var e;
|
|
16856
|
-
return __generator(this, function(_state) {
|
|
16857
|
-
switch (_state.label) {
|
|
16858
|
-
case 0:
|
|
16859
|
-
setHeight(headHeight);
|
|
16860
|
-
setStatus("refreshing");
|
|
16861
|
-
_state.label = 1;
|
|
16862
|
-
case 1:
|
|
16863
|
-
_state.trys.push([
|
|
16864
|
-
1,
|
|
16865
|
-
3,
|
|
16866
|
-
,
|
|
16867
|
-
4
|
|
16868
|
-
]);
|
|
16869
|
-
return [
|
|
16870
|
-
4,
|
|
16871
|
-
props.onRefresh()
|
|
16872
|
-
];
|
|
16873
|
-
case 2:
|
|
16874
|
-
_state.sent();
|
|
16875
|
-
setStatus("complete");
|
|
16876
|
-
return [
|
|
16877
|
-
3,
|
|
16878
|
-
4
|
|
16879
|
-
];
|
|
16880
|
-
case 3:
|
|
16881
|
-
e = _state.sent();
|
|
16882
|
-
setHeight(0);
|
|
16883
|
-
setStatus("pulling");
|
|
16884
|
-
throw e;
|
|
16885
|
-
case 4:
|
|
16886
|
-
if (!(props.completeDelay > 0)) return [
|
|
16887
|
-
3,
|
|
16888
|
-
6
|
|
16889
|
-
];
|
|
16890
|
-
return [
|
|
16891
|
-
4,
|
|
16892
|
-
sleep(props.completeDelay)
|
|
16893
|
-
];
|
|
16894
|
-
case 5:
|
|
16895
|
-
_state.sent();
|
|
16896
|
-
_state.label = 6;
|
|
16897
|
-
case 6:
|
|
16898
|
-
setHeight(0);
|
|
16899
|
-
setStatus("pulling");
|
|
16900
|
-
return [
|
|
16901
|
-
2
|
|
16902
|
-
];
|
|
16903
|
-
}
|
|
16904
|
-
});
|
|
16905
|
-
});
|
|
16906
|
-
return _doRefresh.apply(this, arguments);
|
|
16907
|
-
}
|
|
16908
16786
|
var handleTouchEnd = function() {
|
|
16909
16787
|
if (props.disabled) return;
|
|
16910
16788
|
pullingRef.current = false;
|
|
@@ -17095,8 +16973,8 @@
|
|
|
17095
16973
|
var uid = useUuid();
|
|
17096
16974
|
var leftId = "swipe-left-".concat(uid);
|
|
17097
16975
|
var rightId = "swipe-right-".concat(uid);
|
|
17098
|
-
var getWidth =
|
|
17099
|
-
|
|
16976
|
+
var getWidth = function() {
|
|
16977
|
+
return _async_to_generator(function() {
|
|
17100
16978
|
var leftRect, rightRect;
|
|
17101
16979
|
return __generator(this, function(_state) {
|
|
17102
16980
|
switch (_state.label) {
|
|
@@ -17140,11 +17018,8 @@
|
|
|
17140
17018
|
];
|
|
17141
17019
|
}
|
|
17142
17020
|
});
|
|
17143
|
-
});
|
|
17144
|
-
|
|
17145
|
-
return _ref.apply(this, arguments);
|
|
17146
|
-
};
|
|
17147
|
-
}();
|
|
17021
|
+
})();
|
|
17022
|
+
};
|
|
17148
17023
|
Taro.useReady(function() {
|
|
17149
17024
|
Taro.nextTick(function() {
|
|
17150
17025
|
return getWidth();
|
|
@@ -17185,8 +17060,8 @@
|
|
|
17185
17060
|
state.offset,
|
|
17186
17061
|
state.dragging
|
|
17187
17062
|
]);
|
|
17188
|
-
var onTouchStart =
|
|
17189
|
-
|
|
17063
|
+
var onTouchStart = function(event) {
|
|
17064
|
+
return _async_to_generator(function() {
|
|
17190
17065
|
var _props_onTouchStart;
|
|
17191
17066
|
return __generator(this, function(_state) {
|
|
17192
17067
|
if (!props.disabled) {
|
|
@@ -17199,11 +17074,8 @@
|
|
|
17199
17074
|
2
|
|
17200
17075
|
];
|
|
17201
17076
|
});
|
|
17202
|
-
});
|
|
17203
|
-
|
|
17204
|
-
return _ref.apply(this, arguments);
|
|
17205
|
-
};
|
|
17206
|
-
}();
|
|
17077
|
+
})();
|
|
17078
|
+
};
|
|
17207
17079
|
var onTouchMove = function(event) {
|
|
17208
17080
|
var _props_onTouchMove;
|
|
17209
17081
|
if (props.disabled) return;
|
|
@@ -17319,7 +17191,6 @@
|
|
|
17319
17191
|
});
|
|
17320
17192
|
React.useEffect(function() {
|
|
17321
17193
|
var handler = function(event) {
|
|
17322
|
-
console.log("~~hanyu handler---- window", event);
|
|
17323
17194
|
var targets = [
|
|
17324
17195
|
root2
|
|
17325
17196
|
];
|
|
@@ -18175,8 +18046,8 @@
|
|
|
18175
18046
|
var _useState = _sliced_to_array(React.useState(0), 2), tran = _useState[0], setTran = _useState[1];
|
|
18176
18047
|
var _useRefState = _sliced_to_array(useRefState(0), 2), currentHeight = _useRefState[0], setCurrentHeight = _useRefState[1];
|
|
18177
18048
|
var _useState1 = _sliced_to_array(React.useState(0), 2), wrapperHeight = _useState1[0], setWrapperHeight = _useState1[1];
|
|
18178
|
-
var updateRectHeight =
|
|
18179
|
-
|
|
18049
|
+
var updateRectHeight = function() {
|
|
18050
|
+
return _async_to_generator(function() {
|
|
18180
18051
|
var res;
|
|
18181
18052
|
return __generator(this, function(_state) {
|
|
18182
18053
|
switch (_state.label) {
|
|
@@ -18199,11 +18070,8 @@
|
|
|
18199
18070
|
];
|
|
18200
18071
|
}
|
|
18201
18072
|
});
|
|
18202
|
-
});
|
|
18203
|
-
|
|
18204
|
-
return _ref2.apply(this, arguments);
|
|
18205
|
-
};
|
|
18206
|
-
}();
|
|
18073
|
+
})();
|
|
18074
|
+
};
|
|
18207
18075
|
React.useEffect(function() {
|
|
18208
18076
|
Taro.nextTick(function() {
|
|
18209
18077
|
updateRectHeight();
|
|
@@ -18606,8 +18474,8 @@
|
|
|
18606
18474
|
}, [
|
|
18607
18475
|
content2
|
|
18608
18476
|
]);
|
|
18609
|
-
var getSymbolInfo =
|
|
18610
|
-
|
|
18477
|
+
var getSymbolInfo = function() {
|
|
18478
|
+
return _async_to_generator(function() {
|
|
18611
18479
|
var refe;
|
|
18612
18480
|
return __generator(this, function(_state) {
|
|
18613
18481
|
switch (_state.label) {
|
|
@@ -18624,19 +18492,16 @@
|
|
|
18624
18492
|
];
|
|
18625
18493
|
}
|
|
18626
18494
|
});
|
|
18627
|
-
});
|
|
18628
|
-
|
|
18629
|
-
return _ref2.apply(this, arguments);
|
|
18630
|
-
};
|
|
18631
|
-
}();
|
|
18495
|
+
})();
|
|
18496
|
+
};
|
|
18632
18497
|
var symbolText = function() {
|
|
18633
18498
|
if (direction === "end" || direction === "middle") {
|
|
18634
18499
|
return "".concat(symbol).concat(expandText);
|
|
18635
18500
|
}
|
|
18636
18501
|
return "".concat(symbol).concat(expandText).concat(symbol);
|
|
18637
18502
|
};
|
|
18638
|
-
var getReference =
|
|
18639
|
-
|
|
18503
|
+
var getReference = function() {
|
|
18504
|
+
return _async_to_generator(function() {
|
|
18640
18505
|
var query;
|
|
18641
18506
|
return __generator(this, function(_state) {
|
|
18642
18507
|
query = Taro.createSelectorQuery();
|
|
@@ -18672,13 +18537,10 @@
|
|
|
18672
18537
|
2
|
|
18673
18538
|
];
|
|
18674
18539
|
});
|
|
18675
|
-
});
|
|
18676
|
-
|
|
18677
|
-
|
|
18678
|
-
|
|
18679
|
-
}();
|
|
18680
|
-
var calcEllipse = /* @__PURE__ */ function() {
|
|
18681
|
-
var _ref2 = _async_to_generator(function() {
|
|
18540
|
+
})();
|
|
18541
|
+
};
|
|
18542
|
+
var calcEllipse = function() {
|
|
18543
|
+
return _async_to_generator(function() {
|
|
18682
18544
|
var refe, rowNum, end, end1, start;
|
|
18683
18545
|
return __generator(this, function(_state) {
|
|
18684
18546
|
switch (_state.label) {
|
|
@@ -18715,13 +18577,10 @@
|
|
|
18715
18577
|
];
|
|
18716
18578
|
}
|
|
18717
18579
|
});
|
|
18718
|
-
});
|
|
18719
|
-
|
|
18720
|
-
|
|
18721
|
-
|
|
18722
|
-
}();
|
|
18723
|
-
var verifyEllipsis = /* @__PURE__ */ function() {
|
|
18724
|
-
var _ref2 = _async_to_generator(function() {
|
|
18580
|
+
})();
|
|
18581
|
+
};
|
|
18582
|
+
var verifyEllipsis = function() {
|
|
18583
|
+
return _async_to_generator(function() {
|
|
18725
18584
|
var refe, _ellipsis_current_leading, _ellipsis_current4, _ellipsis_current_leading1, _ellipsis_current12, _ellipsis_current22, _ellipsis_current_tailing, _ellipsis_current32;
|
|
18726
18585
|
return __generator(this, function(_state) {
|
|
18727
18586
|
switch (_state.label) {
|
|
@@ -18748,11 +18607,8 @@
|
|
|
18748
18607
|
];
|
|
18749
18608
|
}
|
|
18750
18609
|
});
|
|
18751
|
-
});
|
|
18752
|
-
|
|
18753
|
-
return _ref2.apply(this, arguments);
|
|
18754
|
-
};
|
|
18755
|
-
}();
|
|
18610
|
+
})();
|
|
18611
|
+
};
|
|
18756
18612
|
var assignContent = function() {
|
|
18757
18613
|
var _ellipsis_current4, _ellipsis_current12, _ellipsis_current22, _ellipsis_current32;
|
|
18758
18614
|
var newContent = "".concat(((_ellipsis_current4 = ellipsis.current) === null || _ellipsis_current4 === void 0 ? void 0 : _ellipsis_current4.leading) || "").concat(((_ellipsis_current12 = ellipsis.current) === null || _ellipsis_current12 === void 0 ? void 0 : _ellipsis_current12.leading) ? symbol : "").concat(expandText || "").concat(((_ellipsis_current22 = ellipsis.current) === null || _ellipsis_current22 === void 0 ? void 0 : _ellipsis_current22.tailing) ? symbol : "").concat(((_ellipsis_current32 = ellipsis.current) === null || _ellipsis_current32 === void 0 ? void 0 : _ellipsis_current32.tailing) || "");
|
|
@@ -19298,7 +19154,7 @@
|
|
|
19298
19154
|
ImagePreview.displayName = "NutImagePreview";
|
|
19299
19155
|
var lottie$2 = { exports: {} };
|
|
19300
19156
|
(function(module, exports) {
|
|
19301
|
-
typeof navigator !== "undefined" && function(global2, factory2) {
|
|
19157
|
+
typeof document !== "undefined" && typeof navigator !== "undefined" && function(global2, factory2) {
|
|
19302
19158
|
module.exports = factory2();
|
|
19303
19159
|
}(commonjsGlobal, function() {
|
|
19304
19160
|
var svgNS = "http://www.w3.org/2000/svg";
|
|
@@ -19468,18 +19324,13 @@
|
|
|
19468
19324
|
length: len2
|
|
19469
19325
|
});
|
|
19470
19326
|
}
|
|
19471
|
-
function _typeof$6(
|
|
19327
|
+
function _typeof$6(o) {
|
|
19472
19328
|
"@babel/helpers - typeof";
|
|
19473
|
-
|
|
19474
|
-
|
|
19475
|
-
|
|
19476
|
-
|
|
19477
|
-
}
|
|
19478
|
-
_typeof$6 = function _typeof2(obj2) {
|
|
19479
|
-
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
19480
|
-
};
|
|
19481
|
-
}
|
|
19482
|
-
return _typeof$6(obj);
|
|
19329
|
+
return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
19330
|
+
return typeof o2;
|
|
19331
|
+
} : function(o2) {
|
|
19332
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
19333
|
+
}, _typeof$6(o);
|
|
19483
19334
|
}
|
|
19484
19335
|
var subframeEnabled = true;
|
|
19485
19336
|
var expressionsPlugin = null;
|
|
@@ -19726,18 +19577,13 @@
|
|
|
19726
19577
|
function createNS(type2) {
|
|
19727
19578
|
return document.createElementNS(svgNS, type2);
|
|
19728
19579
|
}
|
|
19729
|
-
function _typeof$5(
|
|
19580
|
+
function _typeof$5(o) {
|
|
19730
19581
|
"@babel/helpers - typeof";
|
|
19731
|
-
|
|
19732
|
-
|
|
19733
|
-
|
|
19734
|
-
|
|
19735
|
-
}
|
|
19736
|
-
_typeof$5 = function _typeof2(obj2) {
|
|
19737
|
-
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
19738
|
-
};
|
|
19739
|
-
}
|
|
19740
|
-
return _typeof$5(obj);
|
|
19582
|
+
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
19583
|
+
return typeof o2;
|
|
19584
|
+
} : function(o2) {
|
|
19585
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
19586
|
+
}, _typeof$5(o);
|
|
19741
19587
|
}
|
|
19742
19588
|
var dataManager = /* @__PURE__ */ function() {
|
|
19743
19589
|
var _counterId = 1;
|
|
@@ -20693,18 +20539,13 @@
|
|
|
20693
20539
|
}
|
|
20694
20540
|
return "";
|
|
20695
20541
|
}
|
|
20696
|
-
function _typeof$4(
|
|
20542
|
+
function _typeof$4(o) {
|
|
20697
20543
|
"@babel/helpers - typeof";
|
|
20698
|
-
|
|
20699
|
-
|
|
20700
|
-
|
|
20701
|
-
|
|
20702
|
-
}
|
|
20703
|
-
_typeof$4 = function _typeof2(obj2) {
|
|
20704
|
-
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
20705
|
-
};
|
|
20706
|
-
}
|
|
20707
|
-
return _typeof$4(obj);
|
|
20544
|
+
return _typeof$4 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
20545
|
+
return typeof o2;
|
|
20546
|
+
} : function(o2) {
|
|
20547
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
20548
|
+
}, _typeof$4(o);
|
|
20708
20549
|
}
|
|
20709
20550
|
var AnimationItem = function AnimationItem2() {
|
|
20710
20551
|
this._cbs = [];
|
|
@@ -23473,18 +23314,13 @@
|
|
|
23473
23314
|
this.reset();
|
|
23474
23315
|
};
|
|
23475
23316
|
}();
|
|
23476
|
-
function _typeof$3(
|
|
23317
|
+
function _typeof$3(o) {
|
|
23477
23318
|
"@babel/helpers - typeof";
|
|
23478
|
-
|
|
23479
|
-
|
|
23480
|
-
|
|
23481
|
-
|
|
23482
|
-
}
|
|
23483
|
-
_typeof$3 = function _typeof2(obj2) {
|
|
23484
|
-
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
23485
|
-
};
|
|
23486
|
-
}
|
|
23487
|
-
return _typeof$3(obj);
|
|
23319
|
+
return _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
23320
|
+
return typeof o2;
|
|
23321
|
+
} : function(o2) {
|
|
23322
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
23323
|
+
}, _typeof$3(o);
|
|
23488
23324
|
}
|
|
23489
23325
|
var lottie = {};
|
|
23490
23326
|
function setLocation(href) {
|
|
@@ -23568,7 +23404,7 @@
|
|
|
23568
23404
|
lottie.useWebWorker = setWebWorker;
|
|
23569
23405
|
lottie.setIDPrefix = setPrefix;
|
|
23570
23406
|
lottie.__getFactory = getFactory;
|
|
23571
|
-
lottie.version = "5.
|
|
23407
|
+
lottie.version = "5.13.0";
|
|
23572
23408
|
function checkReady() {
|
|
23573
23409
|
if (document.readyState === "complete") {
|
|
23574
23410
|
clearInterval(readyStateCheckInterval);
|
|
@@ -26162,7 +25998,7 @@
|
|
|
26162
25998
|
}
|
|
26163
25999
|
}
|
|
26164
26000
|
}
|
|
26165
|
-
if (this.finalTransform._matMdf) {
|
|
26001
|
+
if (!this.localTransforms || this.finalTransform._matMdf) {
|
|
26166
26002
|
this.finalTransform._localMatMdf = this.finalTransform._matMdf;
|
|
26167
26003
|
}
|
|
26168
26004
|
if (this.finalTransform._opMdf) {
|
|
@@ -27400,7 +27236,7 @@
|
|
|
27400
27236
|
itemData.of.setAttribute("r", rad);
|
|
27401
27237
|
}
|
|
27402
27238
|
}
|
|
27403
|
-
if (itemData.e._mdf || itemData.h._mdf || itemData.a._mdf || isFirstFrame) {
|
|
27239
|
+
if (itemData.s._mdf || itemData.e._mdf || itemData.h._mdf || itemData.a._mdf || isFirstFrame) {
|
|
27404
27240
|
if (!rad) {
|
|
27405
27241
|
rad = Math.sqrt(Math.pow(pt1[0] - pt2[0], 2) + Math.pow(pt1[1] - pt2[1], 2));
|
|
27406
27242
|
}
|
|
@@ -27597,7 +27433,7 @@
|
|
|
27597
27433
|
var j;
|
|
27598
27434
|
var jLen = this.stylesList.length;
|
|
27599
27435
|
for (j = 0; j < jLen; j += 1) {
|
|
27600
|
-
if (!this.stylesList[j].closed) {
|
|
27436
|
+
if (arr.indexOf(this.stylesList[j]) === -1 && !this.stylesList[j].closed) {
|
|
27601
27437
|
arr.push(this.stylesList[j]);
|
|
27602
27438
|
}
|
|
27603
27439
|
}
|
|
@@ -27639,7 +27475,7 @@
|
|
|
27639
27475
|
if (!processedPos) {
|
|
27640
27476
|
itemsData[i2] = this.createStyleElement(arr[i2], level);
|
|
27641
27477
|
} else {
|
|
27642
|
-
itemsData[i2].style.closed =
|
|
27478
|
+
itemsData[i2].style.closed = arr[i2].hd;
|
|
27643
27479
|
}
|
|
27644
27480
|
if (arr[i2]._render) {
|
|
27645
27481
|
if (itemsData[i2].style.pElem.parentNode !== container) {
|
|
@@ -32476,18 +32312,13 @@
|
|
|
32476
32312
|
return _thisLayerFunction;
|
|
32477
32313
|
};
|
|
32478
32314
|
}();
|
|
32479
|
-
function _typeof$2(
|
|
32315
|
+
function _typeof$2(o) {
|
|
32480
32316
|
"@babel/helpers - typeof";
|
|
32481
|
-
|
|
32482
|
-
|
|
32483
|
-
|
|
32484
|
-
|
|
32485
|
-
}
|
|
32486
|
-
_typeof$2 = function _typeof2(obj2) {
|
|
32487
|
-
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
32488
|
-
};
|
|
32489
|
-
}
|
|
32490
|
-
return _typeof$2(obj);
|
|
32317
|
+
return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
32318
|
+
return typeof o2;
|
|
32319
|
+
} : function(o2) {
|
|
32320
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
32321
|
+
}, _typeof$2(o);
|
|
32491
32322
|
}
|
|
32492
32323
|
function seedRandom(pool, math) {
|
|
32493
32324
|
var global2 = this, width2 = 256, chunks = 6, digits = 52, rngname = "random", startdenom = math.pow(width2, chunks), significance = math.pow(2, digits), overflow = significance * 2, mask2 = width2 - 1, nodecrypto;
|
|
@@ -32606,18 +32437,13 @@
|
|
|
32606
32437
|
var propTypes = {
|
|
32607
32438
|
SHAPE: "shape"
|
|
32608
32439
|
};
|
|
32609
|
-
function _typeof$1(
|
|
32440
|
+
function _typeof$1(o) {
|
|
32610
32441
|
"@babel/helpers - typeof";
|
|
32611
|
-
|
|
32612
|
-
|
|
32613
|
-
|
|
32614
|
-
|
|
32615
|
-
}
|
|
32616
|
-
_typeof$1 = function _typeof2(obj2) {
|
|
32617
|
-
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
32618
|
-
};
|
|
32619
|
-
}
|
|
32620
|
-
return _typeof$1(obj);
|
|
32442
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
32443
|
+
return typeof o2;
|
|
32444
|
+
} : function(o2) {
|
|
32445
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
32446
|
+
}, _typeof$1(o);
|
|
32621
32447
|
}
|
|
32622
32448
|
var ExpressionManager = function() {
|
|
32623
32449
|
var ob = {};
|
|
@@ -32985,6 +32811,7 @@
|
|
|
32985
32811
|
var content;
|
|
32986
32812
|
var effect;
|
|
32987
32813
|
var thisProperty = property;
|
|
32814
|
+
thisProperty._name = elem.data.nm;
|
|
32988
32815
|
thisProperty.valueAtTime = thisProperty.getValueAtTime;
|
|
32989
32816
|
Object.defineProperty(thisProperty, "value", {
|
|
32990
32817
|
get: function get() {
|
|
@@ -33421,6 +33248,7 @@
|
|
|
33421
33248
|
if (expressionValue.value !== val2) {
|
|
33422
33249
|
expressionValue = new Number(val2);
|
|
33423
33250
|
expressionValue.value = val2;
|
|
33251
|
+
expressionValue[0] = val2;
|
|
33424
33252
|
completeProperty(expressionValue, property2, "unidimensional");
|
|
33425
33253
|
}
|
|
33426
33254
|
return expressionValue;
|
|
@@ -34460,18 +34288,13 @@
|
|
|
34460
34288
|
return _thisLayerFunction;
|
|
34461
34289
|
};
|
|
34462
34290
|
}();
|
|
34463
|
-
function _typeof(
|
|
34291
|
+
function _typeof(o) {
|
|
34464
34292
|
"@babel/helpers - typeof";
|
|
34465
|
-
|
|
34466
|
-
|
|
34467
|
-
|
|
34468
|
-
|
|
34469
|
-
}
|
|
34470
|
-
_typeof = function _typeof2(obj2) {
|
|
34471
|
-
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
34472
|
-
};
|
|
34473
|
-
}
|
|
34474
|
-
return _typeof(obj);
|
|
34293
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
34294
|
+
return typeof o2;
|
|
34295
|
+
} : function(o2) {
|
|
34296
|
+
return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
|
|
34297
|
+
}, _typeof(o);
|
|
34475
34298
|
}
|
|
34476
34299
|
var FootageInterface = /* @__PURE__ */ function() {
|
|
34477
34300
|
var outlineInterfaceFactory = function outlineInterfaceFactory2(elem2) {
|
|
@@ -35583,122 +35406,106 @@
|
|
|
35583
35406
|
})(lottie$2, lottie$2.exports);
|
|
35584
35407
|
var lottieExports = lottie$2.exports;
|
|
35585
35408
|
const lottie$1 = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports);
|
|
35586
|
-
function
|
|
35587
|
-
|
|
35588
|
-
|
|
35589
|
-
|
|
35409
|
+
function _arrayLikeToArray(r, a) {
|
|
35410
|
+
(null == a || a > r.length) && (a = r.length);
|
|
35411
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
35412
|
+
return n;
|
|
35413
|
+
}
|
|
35414
|
+
function _arrayWithHoles(r) {
|
|
35415
|
+
if (Array.isArray(r)) return r;
|
|
35416
|
+
}
|
|
35417
|
+
function _defineProperty(e, r, t) {
|
|
35418
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
35419
|
+
value: t,
|
|
35420
|
+
enumerable: true,
|
|
35421
|
+
configurable: true,
|
|
35422
|
+
writable: true
|
|
35423
|
+
}) : e[r] = t, e;
|
|
35424
|
+
}
|
|
35425
|
+
function _iterableToArrayLimit(r, l) {
|
|
35426
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
35427
|
+
if (null != t) {
|
|
35428
|
+
var e, n, i2, u, a = [], f = true, o = false;
|
|
35590
35429
|
try {
|
|
35591
|
-
if (
|
|
35592
|
-
else for (; !(
|
|
35593
|
-
} catch (
|
|
35594
|
-
|
|
35430
|
+
if (i2 = (t = t.call(r)).next, 0 === l) ;
|
|
35431
|
+
else for (; !(f = (e = i2.call(t)).done) && (a.push(e.value), a.length !== l); f = true) ;
|
|
35432
|
+
} catch (r2) {
|
|
35433
|
+
o = true, n = r2;
|
|
35595
35434
|
} finally {
|
|
35596
35435
|
try {
|
|
35597
|
-
if (!
|
|
35436
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
35598
35437
|
} finally {
|
|
35599
|
-
if (
|
|
35438
|
+
if (o) throw n;
|
|
35600
35439
|
}
|
|
35601
35440
|
}
|
|
35602
|
-
return
|
|
35441
|
+
return a;
|
|
35603
35442
|
}
|
|
35604
35443
|
}
|
|
35605
|
-
function
|
|
35606
|
-
|
|
35444
|
+
function _nonIterableRest() {
|
|
35445
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
35446
|
+
}
|
|
35447
|
+
function ownKeys(e, r) {
|
|
35448
|
+
var t = Object.keys(e);
|
|
35607
35449
|
if (Object.getOwnPropertySymbols) {
|
|
35608
|
-
var
|
|
35609
|
-
|
|
35610
|
-
return Object.getOwnPropertyDescriptor(
|
|
35611
|
-
})),
|
|
35450
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
35451
|
+
r && (o = o.filter(function(r2) {
|
|
35452
|
+
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
35453
|
+
})), t.push.apply(t, o);
|
|
35612
35454
|
}
|
|
35613
|
-
return
|
|
35455
|
+
return t;
|
|
35614
35456
|
}
|
|
35615
|
-
function _objectSpread2(
|
|
35616
|
-
for (var
|
|
35617
|
-
var
|
|
35618
|
-
|
|
35619
|
-
_defineProperty(
|
|
35620
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
35621
|
-
Object.defineProperty(
|
|
35457
|
+
function _objectSpread2(e) {
|
|
35458
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
35459
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
35460
|
+
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
|
|
35461
|
+
_defineProperty(e, r2, t[r2]);
|
|
35462
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
|
35463
|
+
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
35622
35464
|
});
|
|
35623
35465
|
}
|
|
35624
|
-
return
|
|
35466
|
+
return e;
|
|
35625
35467
|
}
|
|
35626
|
-
function
|
|
35627
|
-
|
|
35628
|
-
|
|
35629
|
-
Object.defineProperty(obj, key2, {
|
|
35630
|
-
value: value2,
|
|
35631
|
-
enumerable: true,
|
|
35632
|
-
configurable: true,
|
|
35633
|
-
writable: true
|
|
35634
|
-
});
|
|
35635
|
-
} else {
|
|
35636
|
-
obj[key2] = value2;
|
|
35637
|
-
}
|
|
35638
|
-
return obj;
|
|
35639
|
-
}
|
|
35640
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
35641
|
-
if (source == null) return {};
|
|
35642
|
-
var target = {};
|
|
35643
|
-
var sourceKeys = Object.keys(source);
|
|
35644
|
-
var key2, i2;
|
|
35645
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
|
35646
|
-
key2 = sourceKeys[i2];
|
|
35647
|
-
if (excluded.indexOf(key2) >= 0) continue;
|
|
35648
|
-
target[key2] = source[key2];
|
|
35649
|
-
}
|
|
35650
|
-
return target;
|
|
35651
|
-
}
|
|
35652
|
-
function _objectWithoutProperties(source, excluded) {
|
|
35653
|
-
if (source == null) return {};
|
|
35654
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
35655
|
-
var key2, i2;
|
|
35468
|
+
function _objectWithoutProperties(e, t) {
|
|
35469
|
+
if (null == e) return {};
|
|
35470
|
+
var o, r, i2 = _objectWithoutPropertiesLoose(e, t);
|
|
35656
35471
|
if (Object.getOwnPropertySymbols) {
|
|
35657
|
-
var
|
|
35658
|
-
for (
|
|
35659
|
-
key2 = sourceSymbolKeys[i2];
|
|
35660
|
-
if (excluded.indexOf(key2) >= 0) continue;
|
|
35661
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key2)) continue;
|
|
35662
|
-
target[key2] = source[key2];
|
|
35663
|
-
}
|
|
35472
|
+
var s = Object.getOwnPropertySymbols(e);
|
|
35473
|
+
for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i2[o] = e[o]);
|
|
35664
35474
|
}
|
|
35665
|
-
return
|
|
35475
|
+
return i2;
|
|
35666
35476
|
}
|
|
35667
|
-
function
|
|
35668
|
-
|
|
35669
|
-
|
|
35670
|
-
|
|
35671
|
-
|
|
35672
|
-
|
|
35673
|
-
|
|
35674
|
-
|
|
35675
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
35676
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
35677
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
35678
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
35679
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
35680
|
-
}
|
|
35681
|
-
function _arrayLikeToArray(arr, len2) {
|
|
35682
|
-
if (len2 == null || len2 > arr.length) len2 = arr.length;
|
|
35683
|
-
for (var i2 = 0, arr2 = new Array(len2); i2 < len2; i2++) arr2[i2] = arr[i2];
|
|
35684
|
-
return arr2;
|
|
35477
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
35478
|
+
if (null == r) return {};
|
|
35479
|
+
var t = {};
|
|
35480
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
35481
|
+
if (e.includes(n)) continue;
|
|
35482
|
+
t[n] = r[n];
|
|
35483
|
+
}
|
|
35484
|
+
return t;
|
|
35685
35485
|
}
|
|
35686
|
-
function
|
|
35687
|
-
|
|
35486
|
+
function _slicedToArray(r, e) {
|
|
35487
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
35688
35488
|
}
|
|
35689
|
-
function _toPrimitive(
|
|
35690
|
-
if (
|
|
35691
|
-
var
|
|
35692
|
-
if (
|
|
35693
|
-
var
|
|
35694
|
-
if (
|
|
35489
|
+
function _toPrimitive(t, r) {
|
|
35490
|
+
if ("object" != typeof t || !t) return t;
|
|
35491
|
+
var e = t[Symbol.toPrimitive];
|
|
35492
|
+
if (void 0 !== e) {
|
|
35493
|
+
var i2 = e.call(t, r);
|
|
35494
|
+
if ("object" != typeof i2) return i2;
|
|
35695
35495
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
35696
35496
|
}
|
|
35697
|
-
return (
|
|
35497
|
+
return ("string" === r ? String : Number)(t);
|
|
35698
35498
|
}
|
|
35699
|
-
function _toPropertyKey(
|
|
35700
|
-
var
|
|
35701
|
-
return
|
|
35499
|
+
function _toPropertyKey(t) {
|
|
35500
|
+
var i2 = _toPrimitive(t, "string");
|
|
35501
|
+
return "symbol" == typeof i2 ? i2 : i2 + "";
|
|
35502
|
+
}
|
|
35503
|
+
function _unsupportedIterableToArray(r, a) {
|
|
35504
|
+
if (r) {
|
|
35505
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
35506
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
35507
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
35508
|
+
}
|
|
35702
35509
|
}
|
|
35703
35510
|
var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "onLoopComplete", "onEnterFrame", "onSegmentStart", "onConfigReady", "onDataReady", "onDataFailed", "onLoadedImages", "onDOMLoaded", "onDestroy", "lottieRef", "renderer", "name", "assetsPath", "rendererSettings"];
|
|
35704
35511
|
var useLottie = function useLottie2(props, style) {
|
|
@@ -36151,7 +35958,7 @@
|
|
|
36151
35958
|
if ("object" != s(t3) || !t3) return t3;
|
|
36152
35959
|
var r2 = t3[Symbol.toPrimitive];
|
|
36153
35960
|
if (void 0 !== r2) {
|
|
36154
|
-
var i3 = r2.call(t3, e3
|
|
35961
|
+
var i3 = r2.call(t3, e3);
|
|
36155
35962
|
if ("object" != s(i3)) return i3;
|
|
36156
35963
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
36157
35964
|
}
|
|
@@ -39051,7 +38858,7 @@
|
|
|
39051
38858
|
var parent, randSeed = Math.floor(1e6 * Math.random());
|
|
39052
38859
|
elem.globalData;
|
|
39053
38860
|
function executeExpression(t) {
|
|
39054
|
-
return value = t, _needsRandom && seedRandom(randSeed), this.frameExpressionId === elem.globalData.frameId && "textSelector" !== this.propType ? value : ("textSelector" === this.propType && (this.textIndex, this.textTotal, this.selectorValue), thisLayer || (elem.layerInterface.text, thisLayer = elem.layerInterface, elem.comp.compInterface, thisLayer.toWorld.bind(thisLayer), thisLayer.fromWorld.bind(thisLayer), fromComp = thisLayer.fromComp.bind(thisLayer), thisLayer.toComp.bind(thisLayer), thisLayer.mask ? thisLayer.mask.bind(thisLayer) : null, fromComp), transform || (transform = elem.layerInterface("ADBE Transform Group"), transform && transform.anchorPoint), 4 !== elemType || content || (content = thisLayer("ADBE Root Vectors Group")), effect || (effect = thisLayer(4)), !(!elem.hierarchy || !elem.hierarchy.length) && !parent && (parent = elem.hierarchy[0].layerInterface), time = this.comp.renderedFrame / this.comp.globalData.frameRate, needsVelocity && velocityAtTime(time), expression_function(), this.frameExpressionId = elem.globalData.frameId, "shape" === scoped_bm_rt.propType, scoped_bm_rt);
|
|
38861
|
+
return value = t, _needsRandom && seedRandom(randSeed), this.frameExpressionId === elem.globalData.frameId && "textSelector" !== this.propType ? value : ("textSelector" === this.propType && (this.textIndex, this.textTotal, this.selectorValue), thisLayer || (elem.layerInterface.text, thisLayer = elem.layerInterface, elem.comp.compInterface, thisLayer.toWorld.bind(thisLayer), thisLayer.fromWorld.bind(thisLayer), fromComp = thisLayer.fromComp.bind(thisLayer), thisLayer.toComp.bind(thisLayer), thisLayer.mask ? thisLayer.mask.bind(thisLayer) : null, fromComp), transform || (transform = elem.layerInterface("ADBE Transform Group"), transform && transform.anchorPoint), 4 !== elemType || content || (content = thisLayer("ADBE Root Vectors Group")), effect || (effect = thisLayer(4)), !(!elem.hierarchy || !elem.hierarchy.length) && !parent && (parent = elem.hierarchy[0].layerInterface), time = this.comp.renderedFrame / this.comp.globalData.frameRate, needsVelocity && velocityAtTime(time), expression_function(), this.frameExpressionId = elem.globalData.frameId, "shape" === scoped_bm_rt.propType && (scoped_bm_rt = scoped_bm_rt.v), scoped_bm_rt);
|
|
39055
38862
|
}
|
|
39056
38863
|
return executeExpression;
|
|
39057
38864
|
}
|
|
@@ -41228,8 +41035,8 @@
|
|
|
41228
41035
|
maxMoveY,
|
|
41229
41036
|
draw
|
|
41230
41037
|
]);
|
|
41231
|
-
var setDrawImgInfo =
|
|
41232
|
-
|
|
41038
|
+
var setDrawImgInfo = function(image) {
|
|
41039
|
+
return _async_to_generator(function() {
|
|
41233
41040
|
var displayWidth, cropperWidth, copyDrawImg, imgWidth, imgHeight, isPortrait, rate, scale2;
|
|
41234
41041
|
return __generator(this, function(_state) {
|
|
41235
41042
|
switch (_state.label) {
|
|
@@ -41279,11 +41086,8 @@
|
|
|
41279
41086
|
];
|
|
41280
41087
|
}
|
|
41281
41088
|
});
|
|
41282
|
-
});
|
|
41283
|
-
|
|
41284
|
-
return _ref2.apply(this, arguments);
|
|
41285
|
-
};
|
|
41286
|
-
}();
|
|
41089
|
+
})();
|
|
41090
|
+
};
|
|
41287
41091
|
var chooseImage = function() {
|
|
41288
41092
|
Taro.chooseImage({
|
|
41289
41093
|
count: 1,
|
|
@@ -41296,8 +41100,8 @@
|
|
|
41296
41100
|
}
|
|
41297
41101
|
});
|
|
41298
41102
|
};
|
|
41299
|
-
var imageChange =
|
|
41300
|
-
|
|
41103
|
+
var imageChange = function(file) {
|
|
41104
|
+
return _async_to_generator(function() {
|
|
41301
41105
|
return __generator(this, function(_state) {
|
|
41302
41106
|
Taro.getImageInfo({
|
|
41303
41107
|
src: file.path
|
|
@@ -41309,11 +41113,8 @@
|
|
|
41309
41113
|
2
|
|
41310
41114
|
];
|
|
41311
41115
|
});
|
|
41312
|
-
});
|
|
41313
|
-
|
|
41314
|
-
return _ref2.apply(this, arguments);
|
|
41315
|
-
};
|
|
41316
|
-
}();
|
|
41116
|
+
})();
|
|
41117
|
+
};
|
|
41317
41118
|
var resetScale = function(scale2) {
|
|
41318
41119
|
setState(_object_spread_props(_object_spread({}, state), {
|
|
41319
41120
|
moveX: 0,
|
|
@@ -41462,8 +41263,8 @@
|
|
|
41462
41263
|
height: cropperWidth,
|
|
41463
41264
|
destWidth: cropperWidth,
|
|
41464
41265
|
destHeight: cropperWidth,
|
|
41465
|
-
success:
|
|
41466
|
-
|
|
41266
|
+
success: function(res) {
|
|
41267
|
+
return _async_to_generator(function() {
|
|
41467
41268
|
var filePath;
|
|
41468
41269
|
return __generator(this, function(_state) {
|
|
41469
41270
|
filePath = res.tempFilePath;
|
|
@@ -41473,11 +41274,8 @@
|
|
|
41473
41274
|
2
|
|
41474
41275
|
];
|
|
41475
41276
|
});
|
|
41476
|
-
});
|
|
41477
|
-
|
|
41478
|
-
return _ref2.apply(this, arguments);
|
|
41479
|
-
};
|
|
41480
|
-
}()
|
|
41277
|
+
})();
|
|
41278
|
+
}
|
|
41481
41279
|
});
|
|
41482
41280
|
};
|
|
41483
41281
|
var confirm = function() {
|
|
@@ -41499,8 +41297,8 @@
|
|
|
41499
41297
|
height: cropperWidth,
|
|
41500
41298
|
destWidth: cropperWidth * systemInfo.pixelRatio,
|
|
41501
41299
|
destHeight: cropperWidth * systemInfo.pixelRatio,
|
|
41502
|
-
success:
|
|
41503
|
-
|
|
41300
|
+
success: function(res) {
|
|
41301
|
+
return _async_to_generator(function() {
|
|
41504
41302
|
var filePath;
|
|
41505
41303
|
return __generator(this, function(_state) {
|
|
41506
41304
|
filePath = res.tempFilePath;
|
|
@@ -41510,11 +41308,8 @@
|
|
|
41510
41308
|
2
|
|
41511
41309
|
];
|
|
41512
41310
|
});
|
|
41513
|
-
});
|
|
41514
|
-
|
|
41515
|
-
return _ref2.apply(this, arguments);
|
|
41516
|
-
};
|
|
41517
|
-
}()
|
|
41311
|
+
})();
|
|
41312
|
+
}
|
|
41518
41313
|
});
|
|
41519
41314
|
};
|
|
41520
41315
|
var ToolBar = function() {
|
|
@@ -41611,14 +41406,13 @@
|
|
|
41611
41406
|
}
|
|
41612
41407
|
};
|
|
41613
41408
|
});
|
|
41614
|
-
var getNodeWidth =
|
|
41615
|
-
var
|
|
41616
|
-
|
|
41617
|
-
var
|
|
41409
|
+
var getNodeWidth = function(node) {
|
|
41410
|
+
var type2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "width";
|
|
41411
|
+
return _async_to_generator(function() {
|
|
41412
|
+
var refe;
|
|
41618
41413
|
return __generator(this, function(_state) {
|
|
41619
41414
|
switch (_state.label) {
|
|
41620
41415
|
case 0:
|
|
41621
|
-
type2 = _arguments.length > 1 && _arguments[1] !== void 0 ? _arguments[1] : "width";
|
|
41622
41416
|
if (!node) return [
|
|
41623
41417
|
3,
|
|
41624
41418
|
2
|
|
@@ -41640,11 +41434,8 @@
|
|
|
41640
41434
|
];
|
|
41641
41435
|
}
|
|
41642
41436
|
});
|
|
41643
|
-
});
|
|
41644
|
-
|
|
41645
|
-
return _ref2.apply(this, arguments);
|
|
41646
|
-
};
|
|
41647
|
-
}();
|
|
41437
|
+
})();
|
|
41438
|
+
};
|
|
41648
41439
|
var clearDomTimeout = function() {
|
|
41649
41440
|
if (domTimer.current) {
|
|
41650
41441
|
clearTimeout(domTimer.current);
|
|
@@ -41652,8 +41443,8 @@
|
|
|
41652
41443
|
}
|
|
41653
41444
|
};
|
|
41654
41445
|
React.useEffect(function() {
|
|
41655
|
-
var init =
|
|
41656
|
-
|
|
41446
|
+
var init = function() {
|
|
41447
|
+
return _async_to_generator(function() {
|
|
41657
41448
|
var _barrageBody_current;
|
|
41658
41449
|
return __generator(this, function(_state) {
|
|
41659
41450
|
switch (_state.label) {
|
|
@@ -41678,11 +41469,8 @@
|
|
|
41678
41469
|
];
|
|
41679
41470
|
}
|
|
41680
41471
|
});
|
|
41681
|
-
});
|
|
41682
|
-
|
|
41683
|
-
return _ref2.apply(this, arguments);
|
|
41684
|
-
};
|
|
41685
|
-
}();
|
|
41472
|
+
})();
|
|
41473
|
+
};
|
|
41686
41474
|
domTimer.current = window.setTimeout(function() {
|
|
41687
41475
|
init();
|
|
41688
41476
|
}, 300);
|
|
@@ -41704,8 +41492,8 @@
|
|
|
41704
41492
|
play();
|
|
41705
41493
|
}, intervalCache);
|
|
41706
41494
|
};
|
|
41707
|
-
var setStyle =
|
|
41708
|
-
|
|
41495
|
+
var setStyle = function(el, currentIndex) {
|
|
41496
|
+
return _async_to_generator(function() {
|
|
41709
41497
|
var refe, width2, height2, elScrollDuration, error;
|
|
41710
41498
|
return __generator(this, function(_state) {
|
|
41711
41499
|
switch (_state.label) {
|
|
@@ -41757,11 +41545,8 @@
|
|
|
41757
41545
|
];
|
|
41758
41546
|
}
|
|
41759
41547
|
});
|
|
41760
|
-
});
|
|
41761
|
-
|
|
41762
|
-
return _ref2.apply(this, arguments);
|
|
41763
|
-
};
|
|
41764
|
-
}();
|
|
41548
|
+
})();
|
|
41549
|
+
};
|
|
41765
41550
|
var play = function() {
|
|
41766
41551
|
if (!loop && index2.current >= list.length) {
|
|
41767
41552
|
return;
|