@fonixtree/magic-design 0.1.93 → 0.2.2
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/es/assets/fonts/magic-box-iconfont.css +7 -35
- package/es/assets/fonts/magic-box-iconfont.css.bak +4 -8
- package/es/assets/fonts/magic-box-iconfont.js +1 -1
- package/es/assets/fonts/magic-box-iconfont.js.bak +1 -1
- package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/es/assets/less/button.less +0 -5
- package/es/common/AffiliateProductModal/index.js +1 -1
- package/es/common/AffiliateProductModal/index.less +1 -1
- package/es/common/Button/index.less +1 -0
- package/es/common/CountDown/index.js +11 -20
- package/es/common/GroupList/index.js +2 -7
- package/es/common/LinkModal/BundleCampaign/index.js +2 -2
- package/es/common/LinkModal/CouponTable/index.js +1 -1
- package/es/common/LinkModal/CustomTable/index.js +0 -1
- package/es/common/LinkModal/FilteredProductModal/index.js +106 -82
- package/es/common/LinkModal/FilteredProductModal/index.less +0 -1
- package/es/common/LinkModal/ProductDetailPage/index.js +60 -115
- package/es/common/LinkModal/ProductDetailPage/index.less +1 -6
- package/es/common/LinkModal/SelectVideoModal/index.js +2 -3
- package/es/common/LinkModal/index.js +5 -20
- package/es/common/MagicLink/index.js +2 -2
- package/es/common/ProductModal/index.js +124 -181
- package/es/common/ProductModal/index.less +1 -7
- package/es/common/ProductSource/index.js +21 -81
- package/es/common/UrlPicker/index.js +10 -51
- package/es/common/Video/index.js +86 -142
- package/es/common/VideoUpload/index.js +1 -1
- package/es/common/index.js +0 -8
- package/es/composite-comp/bol/components/Banner/mobile/index.js +2 -4
- package/es/composite-comp/bol/components/WalletNuri/mobile/index.js +8 -4
- package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +1 -3
- package/es/composite-comp/common/components/AffiliateProductItem/index.js +20 -22
- package/es/composite-comp/common/components/AffiliateProductItem/index.less +1 -31
- package/es/composite-comp/common/config-panels/SpacingConfig/index.js +0 -1
- package/{lib/composite-comp/nuri → es/composite-comp/dito}/components/AffiliateRecommend/mobile/index.js +10 -12
- package/es/composite-comp/{nuri → dito}/components/AffiliateRecommend/pc/index.js +10 -12
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +1 -8
- package/es/composite-comp/dito/components/HeadNavigation/defaultJSON.js +17 -22
- package/es/composite-comp/dito/components/HeadNavigation/mobile/index.js +2 -2
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.js +0 -11
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +26 -31
- package/es/composite-comp/dito/components/Recommend/pc/index.js +1 -1
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +1 -13
- package/{lib/composite-comp/nuri → es/composite-comp/dito}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +1 -1
- package/es/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +27 -25
- package/es/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +1 -1
- package/es/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +1 -1
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +2 -4
- package/es/constants/component-types.js +6 -24
- package/es/constants/index.js +5 -52
- package/es/core/Designer/ChatRobot/components/SearchCondition/index.js +16 -34
- package/es/core/Designer/ChatRobot/index.js +4 -49
- package/es/core/Designer/ConfigPanel/index.js +0 -6
- package/es/core/Designer/FonixtreeGpt/index.js +29 -222
- package/es/core/Designer/PageCompList/index.js +1 -1
- package/es/core/Designer/QuickMenuBar/index.js +2 -6
- package/es/core/Designer/ToolBarModal/index.js +1 -5
- package/es/core/Designer/index.js +1 -12
- package/es/core/Renderer/index.js +2 -6
- package/es/decorator/compositeDecorator.js +6 -10
- package/es/decorator/index.js +1 -4
- package/es/decorator/metaDecorator.js +3 -7
- package/es/locale/en/en.json +2 -20
- package/es/locale/es/es.json +2 -20
- package/es/locale/id/id.json +2 -20
- package/es/meta-comp/config-panels/TextConfig/index.js +1 -1
- package/es/mobx/index.js +3 -9
- package/es/utils/androidUtil.js +2 -17
- package/es/utils/businessUtil.js +5 -54
- package/es/utils/commonUtil.js +13 -151
- package/es/utils/coreUtil.js +24 -89
- package/lib/assets/fonts/magic-box-iconfont.css +7 -35
- package/lib/assets/fonts/magic-box-iconfont.css.bak +4 -8
- package/lib/assets/fonts/magic-box-iconfont.js +1 -1
- package/lib/assets/fonts/magic-box-iconfont.js.bak +1 -1
- package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/lib/assets/less/button.less +0 -5
- package/lib/common/AffiliateProductModal/index.js +1 -1
- package/lib/common/AffiliateProductModal/index.less +1 -1
- package/lib/common/Button/index.less +1 -0
- package/lib/common/CountDown/index.js +11 -20
- package/lib/common/GroupList/index.js +2 -7
- package/lib/common/LinkModal/BundleCampaign/index.js +2 -2
- package/lib/common/LinkModal/CouponTable/index.js +1 -1
- package/lib/common/LinkModal/CustomTable/index.js +0 -1
- package/lib/common/LinkModal/FilteredProductModal/index.js +106 -82
- package/lib/common/LinkModal/FilteredProductModal/index.less +0 -1
- package/lib/common/LinkModal/ProductDetailPage/index.js +60 -115
- package/lib/common/LinkModal/ProductDetailPage/index.less +1 -6
- package/lib/common/LinkModal/SelectVideoModal/index.js +2 -3
- package/lib/common/LinkModal/index.js +5 -20
- package/lib/common/MagicLink/index.js +2 -2
- package/lib/common/ProductModal/index.js +124 -181
- package/lib/common/ProductModal/index.less +1 -7
- package/lib/common/ProductSource/index.js +21 -81
- package/lib/common/UrlPicker/index.js +10 -51
- package/lib/common/Video/index.js +86 -142
- package/lib/common/VideoUpload/index.js +1 -1
- package/lib/common/index.js +0 -8
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +2 -4
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +8 -4
- package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +1 -3
- package/lib/composite-comp/common/components/AffiliateProductItem/index.js +20 -22
- package/lib/composite-comp/common/components/AffiliateProductItem/index.less +1 -31
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +0 -1
- package/{es/composite-comp/nuri → lib/composite-comp/dito}/components/AffiliateRecommend/mobile/index.js +10 -12
- package/lib/composite-comp/{nuri → dito}/components/AffiliateRecommend/pc/index.js +10 -12
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +1 -8
- package/lib/composite-comp/dito/components/HeadNavigation/defaultJSON.js +17 -22
- package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.js +2 -2
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +0 -11
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +26 -31
- package/lib/composite-comp/dito/components/Recommend/pc/index.js +1 -1
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +1 -13
- package/{es/composite-comp/nuri → lib/composite-comp/dito}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +1 -1
- package/lib/composite-comp/dito/config-panels/HeadNavigationConfig/index.js +27 -25
- package/lib/composite-comp/dito/second-config-panels/HeadNavigationSecondConfig/index.js +1 -1
- package/lib/composite-comp/dito/second-config-panels/MenuNavigationSecondConfig/index.js +1 -1
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +2 -4
- package/lib/constants/component-types.js +6 -24
- package/lib/constants/index.js +5 -52
- package/lib/core/Designer/ChatRobot/components/SearchCondition/index.js +16 -34
- package/lib/core/Designer/ChatRobot/index.js +4 -49
- package/lib/core/Designer/ConfigPanel/index.js +0 -6
- package/lib/core/Designer/FonixtreeGpt/index.js +29 -222
- package/lib/core/Designer/PageCompList/index.js +1 -1
- package/lib/core/Designer/QuickMenuBar/index.js +2 -6
- package/lib/core/Designer/ToolBarModal/index.js +1 -5
- package/lib/core/Designer/index.js +1 -12
- package/lib/core/Renderer/index.js +2 -6
- package/lib/decorator/compositeDecorator.js +6 -10
- package/lib/decorator/index.js +1 -4
- package/lib/decorator/metaDecorator.js +3 -7
- package/lib/locale/en/en.json +2 -20
- package/lib/locale/es/es.json +2 -20
- package/lib/locale/id/id.json +2 -20
- package/lib/meta-comp/config-panels/TextConfig/index.js +1 -1
- package/lib/mobx/index.js +3 -9
- package/lib/utils/androidUtil.js +2 -17
- package/lib/utils/businessUtil.js +5 -54
- package/lib/utils/commonUtil.js +13 -151
- package/lib/utils/coreUtil.js +24 -89
- package/package.json +1 -2
- package/es/common/CropperModal/index.js +0 -126
- package/es/common/CropperModal/index.less +0 -29
- package/es/common/LinkModal/AffiliatePlatform/index.js +0 -326
- package/es/common/LinkModal/AffiliateStore/index.js +0 -332
- package/es/common/ProductModal/SortableImageList/index.js +0 -118
- package/es/common/ProductModal/SortableImageList/index.less +0 -3
- package/es/common/UrlPicker/AnchorModal/index.js +0 -170
- package/es/common/UrlPicker/AnchorModal/index.less +0 -21
- package/es/common/Video/QualityComponent/index.js +0 -169
- package/es/common/Video/QualityComponent/index.less +0 -78
- package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-cashback.svg +0 -9
- package/es/composite-comp/dito/components/CommonFunctions/defaultJSON.js +0 -92
- package/es/composite-comp/dito/components/CommonFunctions/index.js +0 -84
- package/es/composite-comp/dito/components/CommonFunctions/mobile/index.js +0 -113
- package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +0 -30
- package/es/composite-comp/dito/components/Orders/defaultJSON.js +0 -89
- package/es/composite-comp/dito/components/Orders/index.js +0 -84
- package/es/composite-comp/dito/components/Orders/mobile/index.js +0 -350
- package/es/composite-comp/dito/components/Orders/mobile/index.less +0 -86
- package/es/composite-comp/dito/components/PersonalInformation/defaultJSON.js +0 -95
- package/es/composite-comp/dito/components/PersonalInformation/index.js +0 -84
- package/es/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +0 -592
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +0 -135
- package/es/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +0 -128
- package/es/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +0 -113
- package/es/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +0 -131
- package/es/composite-comp/dito/config-panels/OrdersConfig/index.js +0 -114
- package/es/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +0 -131
- package/es/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +0 -118
- package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -121
- package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +0 -148
- package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
- package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +0 -143
- package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +0 -9
- package/es/mobx/UserState.js +0 -144
- package/lib/common/CropperModal/index.js +0 -126
- package/lib/common/CropperModal/index.less +0 -29
- package/lib/common/LinkModal/AffiliatePlatform/index.js +0 -326
- package/lib/common/LinkModal/AffiliateStore/index.js +0 -332
- package/lib/common/ProductModal/SortableImageList/index.js +0 -118
- package/lib/common/ProductModal/SortableImageList/index.less +0 -3
- package/lib/common/UrlPicker/AnchorModal/index.js +0 -170
- package/lib/common/UrlPicker/AnchorModal/index.less +0 -21
- package/lib/common/Video/QualityComponent/index.js +0 -169
- package/lib/common/Video/QualityComponent/index.less +0 -78
- package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-cashback.svg +0 -9
- package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +0 -92
- package/lib/composite-comp/dito/components/CommonFunctions/index.js +0 -84
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +0 -113
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +0 -30
- package/lib/composite-comp/dito/components/Orders/defaultJSON.js +0 -89
- package/lib/composite-comp/dito/components/Orders/index.js +0 -84
- package/lib/composite-comp/dito/components/Orders/mobile/index.js +0 -350
- package/lib/composite-comp/dito/components/Orders/mobile/index.less +0 -86
- package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +0 -95
- package/lib/composite-comp/dito/components/PersonalInformation/index.js +0 -84
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +0 -592
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +0 -135
- package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +0 -128
- package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +0 -113
- package/lib/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +0 -131
- package/lib/composite-comp/dito/config-panels/OrdersConfig/index.js +0 -114
- package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +0 -131
- package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +0 -118
- package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -121
- package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +0 -148
- package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
- package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +0 -143
- package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +0 -9
- package/lib/mobx/UserState.js +0 -144
- /package/es/common/Video/{RateComponent → components}/index.js +0 -0
- /package/es/common/Video/{RateComponent → components}/index.less +0 -0
- /package/es/composite-comp/{nuri → dito}/components/AffiliateRecommend/defaultJSON.js +0 -0
- /package/es/composite-comp/{nuri → dito}/components/AffiliateRecommend/index.js +0 -0
- /package/es/composite-comp/{nuri → dito}/components/AffiliateRecommend/mobile/index.less +0 -0
- /package/es/composite-comp/{nuri → dito}/components/AffiliateRecommend/pc/index.less +0 -0
- /package/es/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +0 -0
- /package/es/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
- /package/es/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +0 -0
- /package/es/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
- /package/es/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/index.js +0 -0
- /package/es/composite-comp/{nuri → dito}/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +0 -0
- /package/es/composite-comp/{nuri → dito}/second-config-panels/AffiliateRecommendSecondConfig/index.js +0 -0
- /package/es/composite-comp/{nuri → dito}/second-config-panels/AffiliateRecommendSecondConfig/index.less +0 -0
- /package/lib/common/Video/{RateComponent → components}/index.js +0 -0
- /package/lib/common/Video/{RateComponent → components}/index.less +0 -0
- /package/lib/composite-comp/{nuri → dito}/components/AffiliateRecommend/defaultJSON.js +0 -0
- /package/lib/composite-comp/{nuri → dito}/components/AffiliateRecommend/index.js +0 -0
- /package/lib/composite-comp/{nuri → dito}/components/AffiliateRecommend/mobile/index.less +0 -0
- /package/lib/composite-comp/{nuri → dito}/components/AffiliateRecommend/pc/index.less +0 -0
- /package/lib/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +0 -0
- /package/lib/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
- /package/lib/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +0 -0
- /package/lib/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
- /package/lib/composite-comp/{nuri → dito}/config-panels/AffiliateRecommendConfig/index.js +0 -0
- /package/lib/composite-comp/{nuri → dito}/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +0 -0
- /package/lib/composite-comp/{nuri → dito}/second-config-panels/AffiliateRecommendSecondConfig/index.js +0 -0
- /package/lib/composite-comp/{nuri → dito}/second-config-panels/AffiliateRecommendSecondConfig/index.less +0 -0
|
@@ -15,7 +15,7 @@ var _commonUtil = require("../../utils/commonUtil");
|
|
|
15
15
|
|
|
16
16
|
var _Button = _interopRequireDefault(require("../Button"));
|
|
17
17
|
|
|
18
|
-
var _ProductModal =
|
|
18
|
+
var _ProductModal = _interopRequireDefault(require("../ProductModal"));
|
|
19
19
|
|
|
20
20
|
require("./index.less");
|
|
21
21
|
|
|
@@ -27,22 +27,6 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
27
27
|
|
|
28
28
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
29
29
|
|
|
30
|
-
var __assign = void 0 && (void 0).__assign || function () {
|
|
31
|
-
__assign = Object.assign || function (t) {
|
|
32
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
-
s = arguments[i];
|
|
34
|
-
|
|
35
|
-
for (var p in s) {
|
|
36
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
return t;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
return __assign.apply(this, arguments);
|
|
44
|
-
};
|
|
45
|
-
|
|
46
30
|
var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
|
|
47
31
|
function adopt(value) {
|
|
48
32
|
return value instanceof P ? value : new P(function (resolve) {
|
|
@@ -191,8 +175,7 @@ function ProductSource(_a) {
|
|
|
191
175
|
|
|
192
176
|
var value = _a.value,
|
|
193
177
|
onChange = _a.onChange,
|
|
194
|
-
isAffiliate = _a.isAffiliate
|
|
195
|
-
prodType = _a.prodType;
|
|
178
|
+
isAffiliate = _a.isAffiliate;
|
|
196
179
|
|
|
197
180
|
var _b = (0, _react.useState)([]),
|
|
198
181
|
selectedProds = _b[0],
|
|
@@ -204,22 +187,27 @@ function ProductSource(_a) {
|
|
|
204
187
|
|
|
205
188
|
var onSelectProduct = function onSelectProduct() {
|
|
206
189
|
return __awaiter(_this, void 0, void 0, function () {
|
|
207
|
-
var url, param, list
|
|
190
|
+
var url, param, list;
|
|
208
191
|
return __generator(this, function (_a) {
|
|
209
192
|
switch (_a.label) {
|
|
210
193
|
case 0:
|
|
211
194
|
if (!(value && value.length > 0)) return [3
|
|
212
195
|
/*break*/
|
|
213
|
-
, 7];
|
|
214
|
-
if (!isAffiliate) return [3
|
|
215
|
-
/*break*/
|
|
216
196
|
, 2];
|
|
217
|
-
url = "/designer/v1/" + window.magicDesign.MBaseUrl + "/
|
|
197
|
+
url = "/designer/v1/" + window.magicDesign.MBaseUrl + "/products";
|
|
218
198
|
param = {
|
|
219
|
-
|
|
220
|
-
pageSize: value.length,
|
|
221
|
-
pageIndex: 1
|
|
199
|
+
products: value
|
|
222
200
|
};
|
|
201
|
+
|
|
202
|
+
if (isAffiliate) {
|
|
203
|
+
url = "/designer/v1/" + window.magicDesign.MBaseUrl + "/distributor/product/list";
|
|
204
|
+
param = {
|
|
205
|
+
affiliateProductIds: value,
|
|
206
|
+
pageSize: value.length,
|
|
207
|
+
pageIndex: 1
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
|
|
223
211
|
return [4
|
|
224
212
|
/*yield*/
|
|
225
213
|
, (0, _commonUtil.commonFetch)(url, param, 'GET')];
|
|
@@ -229,60 +217,13 @@ function ProductSource(_a) {
|
|
|
229
217
|
setSelectedProds(list || []);
|
|
230
218
|
return [3
|
|
231
219
|
/*break*/
|
|
232
|
-
,
|
|
220
|
+
, 3];
|
|
233
221
|
|
|
234
222
|
case 2:
|
|
235
|
-
if (!(prodType === 'spu')) return [3
|
|
236
|
-
/*break*/
|
|
237
|
-
, 4];
|
|
238
|
-
url = "/designer/v1/" + window.magicDesign.MBaseUrl + "/offers";
|
|
239
|
-
param = {
|
|
240
|
-
offers: value,
|
|
241
|
-
isDefaultCover: 'Y',
|
|
242
|
-
onlyQryPublishSku: true,
|
|
243
|
-
auditState: 'S',
|
|
244
|
-
crmFlag: 'on'
|
|
245
|
-
};
|
|
246
|
-
return [4
|
|
247
|
-
/*yield*/
|
|
248
|
-
, (0, _commonUtil.commonFetch)(url, param, 'GET')];
|
|
249
|
-
|
|
250
|
-
case 3:
|
|
251
|
-
list_1 = _a.sent().list;
|
|
252
|
-
setSelectedProds((0, _ProductModal.formatData)((0, _commonUtil.ensure)(function () {
|
|
253
|
-
return list_1.map(function (m) {
|
|
254
|
-
return __assign(__assign({}, m.products[0]), m);
|
|
255
|
-
});
|
|
256
|
-
}, []), prodType));
|
|
257
|
-
return [3
|
|
258
|
-
/*break*/
|
|
259
|
-
, 6];
|
|
260
|
-
|
|
261
|
-
case 4:
|
|
262
|
-
url = "/designer/v1/" + window.magicDesign.MBaseUrl + "/products";
|
|
263
|
-
param = {
|
|
264
|
-
products: value,
|
|
265
|
-
state: 'A'
|
|
266
|
-
};
|
|
267
|
-
return [4
|
|
268
|
-
/*yield*/
|
|
269
|
-
, (0, _commonUtil.commonFetch)(url, param, 'GET')];
|
|
270
|
-
|
|
271
|
-
case 5:
|
|
272
|
-
list = _a.sent().list;
|
|
273
|
-
setSelectedProds((0, _ProductModal.formatData)(list || []));
|
|
274
|
-
_a.label = 6;
|
|
275
|
-
|
|
276
|
-
case 6:
|
|
277
|
-
return [3
|
|
278
|
-
/*break*/
|
|
279
|
-
, 8];
|
|
280
|
-
|
|
281
|
-
case 7:
|
|
282
223
|
setSelectedProds([]);
|
|
283
|
-
_a.label =
|
|
224
|
+
_a.label = 3;
|
|
284
225
|
|
|
285
|
-
case
|
|
226
|
+
case 3:
|
|
286
227
|
setVisbile(true);
|
|
287
228
|
return [2
|
|
288
229
|
/*return*/
|
|
@@ -292,7 +233,7 @@ function ProductSource(_a) {
|
|
|
292
233
|
});
|
|
293
234
|
};
|
|
294
235
|
|
|
295
|
-
var handleModalSave = function handleModalSave(list
|
|
236
|
+
var handleModalSave = function handleModalSave(list) {
|
|
296
237
|
var ids = '';
|
|
297
238
|
|
|
298
239
|
if (isAffiliate) {
|
|
@@ -301,11 +242,11 @@ function ProductSource(_a) {
|
|
|
301
242
|
}).join(',');
|
|
302
243
|
} else {
|
|
303
244
|
ids = list.map(function (prod) {
|
|
304
|
-
return prod.
|
|
245
|
+
return prod.productId;
|
|
305
246
|
}).join(',');
|
|
306
247
|
}
|
|
307
248
|
|
|
308
|
-
onChange(ids
|
|
249
|
+
onChange(ids);
|
|
309
250
|
};
|
|
310
251
|
|
|
311
252
|
var getLength = function getLength() {
|
|
@@ -340,7 +281,6 @@ function ProductSource(_a) {
|
|
|
340
281
|
defaultList: selectedProds,
|
|
341
282
|
handleModalSave: handleModalSave,
|
|
342
283
|
maxSelect: 100,
|
|
343
|
-
prodType: prodType,
|
|
344
284
|
visible: visible
|
|
345
285
|
})));
|
|
346
286
|
}
|
|
@@ -7,11 +7,9 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var _AnchorModal = _interopRequireDefault(require("./AnchorModal"));
|
|
10
|
+
require("./index.less");
|
|
13
11
|
|
|
14
|
-
var
|
|
12
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
15
13
|
|
|
16
14
|
var _locale = require("../../locale");
|
|
17
15
|
|
|
@@ -19,12 +17,6 @@ var _LinkModal = _interopRequireDefault(require("../LinkModal"));
|
|
|
19
17
|
|
|
20
18
|
var _Iconfont = _interopRequireDefault(require("../Iconfont"));
|
|
21
19
|
|
|
22
|
-
var _constants = require("../../constants");
|
|
23
|
-
|
|
24
|
-
var _mobx = require("../../mobx");
|
|
25
|
-
|
|
26
|
-
require("./index.less");
|
|
27
|
-
|
|
28
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
29
21
|
|
|
30
22
|
var __extends = void 0 && (void 0).__extends || function () {
|
|
@@ -52,8 +44,6 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
52
44
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
53
45
|
};
|
|
54
46
|
}();
|
|
55
|
-
/* eslint-disable max-len */
|
|
56
|
-
|
|
57
47
|
|
|
58
48
|
var UrlPicker =
|
|
59
49
|
/** @class */
|
|
@@ -64,8 +54,7 @@ function (_super) {
|
|
|
64
54
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
65
55
|
|
|
66
56
|
_this.state = {
|
|
67
|
-
visible: false
|
|
68
|
-
anchorModalVisible: false
|
|
57
|
+
visible: false
|
|
69
58
|
};
|
|
70
59
|
return _this;
|
|
71
60
|
}
|
|
@@ -73,29 +62,14 @@ function (_super) {
|
|
|
73
62
|
UrlPicker.prototype.render = function () {
|
|
74
63
|
var _this = this;
|
|
75
64
|
|
|
76
|
-
var
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
value = _c.value,
|
|
83
|
-
_onChange = _c.onChange,
|
|
84
|
-
disabled = _c.disabled,
|
|
85
|
-
onlySpecificCode = _c.onlySpecificCode; // 弹框选择url不可编辑,需要先清除
|
|
65
|
+
var visible = this.state.visible;
|
|
66
|
+
var _a = this.props,
|
|
67
|
+
value = _a.value,
|
|
68
|
+
_onChange = _a.onChange,
|
|
69
|
+
disabled = _a.disabled,
|
|
70
|
+
onlySpecificCode = _a.onlySpecificCode; // 弹框选择url不可编辑,需要先清除
|
|
86
71
|
|
|
87
72
|
var editable = !value || !value.type;
|
|
88
|
-
var inputName = (value === null || value === void 0 ? void 0 : value.name) || '';
|
|
89
|
-
|
|
90
|
-
if ((value === null || value === void 0 ? void 0 : value.type) === _constants.urlTypeMap.ANCHOR) {
|
|
91
|
-
var selectedAnchorIndex = _mobx.store.MPageData.findIndex(function (m) {
|
|
92
|
-
return m.id === ((0, _coreUtil.isPc)() ? value.value.pcNodeId : value.value.mobileNodeId);
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
var selectedAnchor = _mobx.store.MPageData[selectedAnchorIndex];
|
|
96
|
-
inputName = selectedAnchorIndex + 1 + "\u3001" + ((_a = _constants.compInfoMap[selectedAnchor.type]) === null || _a === void 0 ? void 0 : _a.name);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
73
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
100
74
|
className: "m-url-picker"
|
|
101
75
|
}, disabled && /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -114,7 +88,7 @@ function (_super) {
|
|
|
114
88
|
},
|
|
115
89
|
placeholder: (0, _locale.i18n)('PLEASE_ADD_A_LINK'),
|
|
116
90
|
type: "text",
|
|
117
|
-
value:
|
|
91
|
+
value: value.name || ''
|
|
118
92
|
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
119
93
|
className: "icon-btns"
|
|
120
94
|
}, window.magicDesign.outputType != 'html' && /*#__PURE__*/_react["default"].createElement(_Iconfont["default"], {
|
|
@@ -148,21 +122,6 @@ function (_super) {
|
|
|
148
122
|
},
|
|
149
123
|
onlySpecificCode: onlySpecificCode,
|
|
150
124
|
visible: visible
|
|
151
|
-
}), anchorModalVisible && /*#__PURE__*/_react["default"].createElement(_AnchorModal["default"], {
|
|
152
|
-
initData: value,
|
|
153
|
-
onClose: function onClose() {
|
|
154
|
-
return _this.setState({
|
|
155
|
-
anchorModalVisible: false
|
|
156
|
-
});
|
|
157
|
-
},
|
|
158
|
-
onConfirm: function onConfirm(value) {
|
|
159
|
-
_onChange(value);
|
|
160
|
-
|
|
161
|
-
_this.setState({
|
|
162
|
-
anchorModalVisible: false
|
|
163
|
-
});
|
|
164
|
-
},
|
|
165
|
-
visible: anchorModalVisible
|
|
166
125
|
}));
|
|
167
126
|
};
|
|
168
127
|
|
package/es/common/Video/index.js
CHANGED
|
@@ -7,9 +7,7 @@ exports["default"] = exports.createVideoModal = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
var _index2 = _interopRequireDefault(require("./QualityComponent/index"));
|
|
10
|
+
var _components = _interopRequireDefault(require("./components"));
|
|
13
11
|
|
|
14
12
|
var _closeImg = _interopRequireDefault(require("./closeImg.png"));
|
|
15
13
|
|
|
@@ -269,149 +267,95 @@ var createAliVideo = function createAliVideo(domId, opts) {
|
|
|
269
267
|
}
|
|
270
268
|
|
|
271
269
|
return new Promise(function (resolve) {
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
270
|
+
var _window$Aliplayer;
|
|
271
|
+
|
|
272
|
+
var skinLayout = [{
|
|
273
|
+
name: 'H5Loading',
|
|
274
|
+
align: 'cc'
|
|
275
|
+
}, {
|
|
276
|
+
name: 'errorDisplay',
|
|
277
|
+
align: 'tlabs',
|
|
278
|
+
x: 0,
|
|
279
|
+
y: 0
|
|
280
|
+
}, {
|
|
281
|
+
name: 'tooltip',
|
|
282
|
+
align: 'blabs',
|
|
283
|
+
x: 0,
|
|
284
|
+
y: 56
|
|
285
|
+
}, {
|
|
286
|
+
name: 'thumbnail'
|
|
287
|
+
}];
|
|
288
|
+
var controlBar = {
|
|
289
|
+
name: 'controlBar',
|
|
290
|
+
align: 'blabs',
|
|
291
|
+
x: 0,
|
|
292
|
+
y: 0,
|
|
293
|
+
children: [{
|
|
294
|
+
name: 'playButton',
|
|
295
|
+
align: 'tl',
|
|
296
|
+
x: 15,
|
|
297
|
+
y: 12
|
|
298
|
+
}, {
|
|
299
|
+
name: 'timeDisplay',
|
|
300
|
+
align: 'tl',
|
|
301
|
+
x: 10,
|
|
302
|
+
y: 7
|
|
303
|
+
}, {
|
|
304
|
+
name: 'volume',
|
|
305
|
+
align: 'tr',
|
|
306
|
+
x: 5,
|
|
307
|
+
y: 10
|
|
308
|
+
}, {
|
|
309
|
+
name: 'fullScreenButton',
|
|
310
|
+
align: 'tr',
|
|
311
|
+
x: 10,
|
|
312
|
+
y: 12
|
|
313
|
+
}]
|
|
314
|
+
};
|
|
315
|
+
skinLayout.push(controlBar);
|
|
316
|
+
|
|
317
|
+
if (opts.progressBar) {
|
|
318
|
+
controlBar.children.push({
|
|
319
|
+
name: 'progress',
|
|
320
|
+
align: 'blabs',
|
|
321
|
+
x: 0,
|
|
322
|
+
y: 10
|
|
323
|
+
});
|
|
324
|
+
}
|
|
311
325
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
children: [{
|
|
334
|
-
name: 'playButton',
|
|
335
|
-
align: 'tl',
|
|
336
|
-
x: 15,
|
|
337
|
-
y: 12
|
|
338
|
-
}, {
|
|
339
|
-
name: 'timeDisplay',
|
|
340
|
-
align: 'tl',
|
|
341
|
-
x: 10,
|
|
342
|
-
y: 7
|
|
343
|
-
}, {
|
|
344
|
-
name: 'volume',
|
|
345
|
-
align: 'tr',
|
|
346
|
-
x: 5,
|
|
347
|
-
y: 10
|
|
348
|
-
}, {
|
|
349
|
-
name: 'fullScreenButton',
|
|
350
|
-
align: 'tr',
|
|
351
|
-
x: 10,
|
|
352
|
-
y: 12
|
|
353
|
-
}]
|
|
354
|
-
};
|
|
355
|
-
skinLayout.push(controlBar);
|
|
356
|
-
|
|
357
|
-
if (opts.progressBar) {
|
|
358
|
-
controlBar.children.push({
|
|
359
|
-
name: 'progress',
|
|
360
|
-
align: 'blabs',
|
|
361
|
-
x: 0,
|
|
362
|
-
y: 10
|
|
363
|
-
});
|
|
364
|
-
}
|
|
326
|
+
new window.Aliplayer((_window$Aliplayer = {
|
|
327
|
+
id: 'video' + domId,
|
|
328
|
+
source: opts.source,
|
|
329
|
+
cover: opts.cover,
|
|
330
|
+
width: '100%',
|
|
331
|
+
height: '100%',
|
|
332
|
+
autoplay: false,
|
|
333
|
+
isLive: false,
|
|
334
|
+
rePlay: false,
|
|
335
|
+
playsinline: true,
|
|
336
|
+
preload: true,
|
|
337
|
+
controlBarVisibility: 'hover',
|
|
338
|
+
useH5Prism: true,
|
|
339
|
+
skinLayout: skinLayout
|
|
340
|
+
}, _defineProperty(_window$Aliplayer, "autoplay", opts.autoplay), _defineProperty(_window$Aliplayer, "rePlay", opts.loop), _defineProperty(_window$Aliplayer, "components", [{
|
|
341
|
+
name: 'RateComponent',
|
|
342
|
+
type: _components["default"]
|
|
343
|
+
}]), _window$Aliplayer), function (player) {
|
|
344
|
+
if (!opts.videoSound) {
|
|
345
|
+
player.setVolume(0);
|
|
346
|
+
}
|
|
365
347
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
width: '100%',
|
|
372
|
-
height: '100%',
|
|
373
|
-
autoplay: false,
|
|
374
|
-
isLive: false,
|
|
375
|
-
rePlay: false,
|
|
376
|
-
playsinline: true,
|
|
377
|
-
preload: true,
|
|
378
|
-
controlBarVisibility: 'hover',
|
|
379
|
-
useH5Prism: true,
|
|
380
|
-
skinLayout: skinLayout
|
|
381
|
-
}, _defineProperty(_window$Aliplayer, "autoplay", opts.autoplay), _defineProperty(_window$Aliplayer, "rePlay", opts.loop), _defineProperty(_window$Aliplayer, "components", components), _window$Aliplayer), function (player) {
|
|
382
|
-
if (!opts.videoSound) {
|
|
383
|
-
player.setVolume(0);
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
if (opts.speed) {
|
|
387
|
-
var speed = Number(opts.speed).toFixed(1);
|
|
388
|
-
player.setSpeed(speed);
|
|
389
|
-
player._speed = speed;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
if (opts.startAt) {
|
|
393
|
-
player.seek(opts.startAt);
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
if (Object.keys(qualitySource).length) {
|
|
397
|
-
var defaultKey = Object.keys(qualitySource)[0];
|
|
398
|
-
|
|
399
|
-
if (qualitySource['720P']) {
|
|
400
|
-
defaultKey = '720P';
|
|
401
|
-
} else {
|
|
402
|
-
defaultKey = '480P';
|
|
403
|
-
}
|
|
348
|
+
if (opts.speed) {
|
|
349
|
+
var speed = Number(opts.speed).toFixed(1);
|
|
350
|
+
player.setSpeed(speed);
|
|
351
|
+
player._speed = speed;
|
|
352
|
+
}
|
|
404
353
|
|
|
405
|
-
|
|
406
|
-
|
|
354
|
+
if (opts.startAt) {
|
|
355
|
+
player.seek(opts.startAt);
|
|
356
|
+
}
|
|
407
357
|
|
|
408
|
-
|
|
409
|
-
});
|
|
410
|
-
return [2
|
|
411
|
-
/*return*/
|
|
412
|
-
];
|
|
413
|
-
}
|
|
414
|
-
});
|
|
358
|
+
resolve(player);
|
|
415
359
|
});
|
|
416
360
|
});
|
|
417
361
|
};
|
package/es/common/index.js
CHANGED
|
@@ -39,12 +39,6 @@ Object.defineProperty(exports, "ColorPickerInput", {
|
|
|
39
39
|
return _ColorPickerInput["default"];
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
Object.defineProperty(exports, "CropperModal", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function get() {
|
|
45
|
-
return _CropperModal["default"];
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
42
|
Object.defineProperty(exports, "Field", {
|
|
49
43
|
enumerable: true,
|
|
50
44
|
get: function get() {
|
|
@@ -194,6 +188,4 @@ var _CardCarousel = _interopRequireDefault(require("./CardCarousel"));
|
|
|
194
188
|
|
|
195
189
|
var _MyModal = _interopRequireDefault(require("./MyModal"));
|
|
196
190
|
|
|
197
|
-
var _CropperModal = _interopRequireDefault(require("./CropperModal"));
|
|
198
|
-
|
|
199
191
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -13,8 +13,6 @@ var _antd = require("antd");
|
|
|
13
13
|
|
|
14
14
|
require("./index.less");
|
|
15
15
|
|
|
16
|
-
var _locale = require("../../../../../locale");
|
|
17
|
-
|
|
18
16
|
var _mobx = require("../../../../../mobx");
|
|
19
17
|
|
|
20
18
|
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
@@ -214,8 +212,8 @@ function (_super) {
|
|
|
214
212
|
/** PTO 定制GA */
|
|
215
213
|
if (window.magicDesign.pushGA) {
|
|
216
214
|
window.magicDesign.pushGA({}, 'select_promotion', {
|
|
217
|
-
|
|
218
|
-
promotion_name:
|
|
215
|
+
event_label: (0, _ConfigPanel.getSecondConfigName)(data, item.id),
|
|
216
|
+
promotion_name: (0, _ConfigPanel.getSecondConfigName)(data, item.id)
|
|
219
217
|
});
|
|
220
218
|
}
|
|
221
219
|
},
|
|
@@ -231,7 +231,7 @@ function (_super) {
|
|
|
231
231
|
case 0:
|
|
232
232
|
return [4
|
|
233
233
|
/*yield*/
|
|
234
|
-
, (0, _commonUtil.commonFetch)('/designer/v1
|
|
234
|
+
, (0, _commonUtil.commonFetch)('/designer/v1/h5/nuri/distribute/commission')];
|
|
235
235
|
|
|
236
236
|
case 1:
|
|
237
237
|
infoObj = _a.sent();
|
|
@@ -268,8 +268,12 @@ function (_super) {
|
|
|
268
268
|
};
|
|
269
269
|
|
|
270
270
|
_this.clickJump = function (title) {
|
|
271
|
-
if (title
|
|
272
|
-
(0, _coreUtil.clickUrl)('/
|
|
271
|
+
if (title === 'Saldo') {
|
|
272
|
+
(0, _coreUtil.clickUrl)('/social-commerce/my-earnings');
|
|
273
|
+
} else if (title === 'Koin') {
|
|
274
|
+
(0, _coreUtil.clickUrl)('/my-points');
|
|
275
|
+
} else if (title === 'Voucher') {
|
|
276
|
+
(0, _coreUtil.clickUrl)('/my-coupon');
|
|
273
277
|
}
|
|
274
278
|
};
|
|
275
279
|
|
|
@@ -291,7 +295,7 @@ function (_super) {
|
|
|
291
295
|
}
|
|
292
296
|
|
|
293
297
|
WalletNuriMobile.prototype.componentDidMount = function () {
|
|
294
|
-
if (localStorage.getItem('isLogin') === 'Y') {
|
|
298
|
+
if (localStorage.getItem('isLogin') === 'Y' && !(0, _coreUtil.isDesignMode)()) {
|
|
295
299
|
this.getInfo();
|
|
296
300
|
}
|
|
297
301
|
};
|
|
@@ -219,10 +219,8 @@ function (_super) {
|
|
|
219
219
|
size: "20px",
|
|
220
220
|
type: "icon-delete1"
|
|
221
221
|
})))), panelProps.video.sourceType === 'Upload' && /*#__PURE__*/_react["default"].createElement(_common.VideoUpload, {
|
|
222
|
-
onChange: function onChange(v
|
|
222
|
+
onChange: function onChange(v) {
|
|
223
223
|
panelProps.video.sourceUrl = v;
|
|
224
|
-
panelProps.video.sourceName = n;
|
|
225
|
-
panelProps.video.sourceId = id;
|
|
226
224
|
|
|
227
225
|
_this.reRender();
|
|
228
226
|
},
|