@fonixtree/magic-design 0.0.131 → 0.0.135
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/images/layout-icon/layout-video-h5-1.png +0 -0
- package/es/common/LinkModal/BundleCampaign/index.js +2 -2
- package/es/common/LinkModal/CatgTable/index.js +1 -1
- package/es/common/LinkModal/CouponTable/index.js +1 -1
- package/es/common/LinkModal/FilteredProductModal/index.js +5 -5
- package/es/common/LinkModal/FunctionTable/index.js +1 -1
- package/es/common/LinkModal/ProductDetailPage/index.js +3 -3
- package/es/common/LinkModal/index.js +2 -2
- package/es/common/ProductModal/index.js +4 -4
- package/es/common/Video/closeImg.png +0 -0
- package/es/common/Video/index.js +13 -0
- package/es/common/Video/index.less +10 -6
- package/es/composite-comp/bol/components/Video/components/ShareBtn/index.less +7 -4
- package/es/composite-comp/bol/components/Video/components/VideoTag/index.js +9 -3
- package/es/composite-comp/bol/components/Video/components/VideoTag/index.less +2 -2
- package/es/composite-comp/bol/components/Video/defaultJSON.js +1 -1
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.js +7 -2
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +2 -2
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.js +8 -5
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +3 -3
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.js +17 -8
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +16 -3
- package/es/composite-comp/bol/components/Video/pc/Layout1/index.js +9 -11
- package/es/composite-comp/bol/components/Video/pc/Layout2/index.js +7 -4
- package/es/composite-comp/bol/components/Video/pc/Layout3/index.js +1 -0
- package/es/composite-comp/bol/components/Video/pc/Layout4/index.js +9 -2
- package/es/composite-comp/bol/components/Video/pc/Layout4/index.less +11 -4
- package/es/composite-comp/bol/components/Video/pc/Layout5/index.js +9 -2
- package/es/composite-comp/bol/components/Video/pc/Layout5/index.less +9 -2
- package/es/composite-comp/bol/components/Video/pc/index.js +14 -5
- package/es/composite-comp/dito/components/PcNavigation/pc/index.less +1 -0
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -6
- package/es/core/Designer/ConfigPanel/index.js +11 -2
- package/es/core/Designer/QuickMenuBar/index.js +3 -4
- package/es/core/Designer/index.js +20 -1
- package/es/utils/commonUtil.js +11 -0
- package/lib/assets/images/layout-icon/layout-video-h5-1.png +0 -0
- package/lib/common/LinkModal/BundleCampaign/index.js +2 -2
- package/lib/common/LinkModal/CatgTable/index.js +1 -1
- package/lib/common/LinkModal/CouponTable/index.js +1 -1
- package/lib/common/LinkModal/FilteredProductModal/index.js +5 -5
- package/lib/common/LinkModal/FunctionTable/index.js +1 -1
- package/lib/common/LinkModal/ProductDetailPage/index.js +3 -3
- package/lib/common/LinkModal/index.js +2 -2
- package/lib/common/ProductModal/index.js +4 -4
- package/lib/common/Video/closeImg.png +0 -0
- package/lib/common/Video/index.js +13 -0
- package/lib/common/Video/index.less +10 -6
- package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.less +7 -4
- package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +9 -3
- package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +2 -2
- package/lib/composite-comp/bol/components/Video/defaultJSON.js +1 -1
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +7 -2
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +2 -2
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +8 -5
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +3 -3
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +17 -8
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +16 -3
- package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +9 -11
- package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +7 -4
- package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +1 -0
- package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +9 -2
- package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +11 -4
- package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +9 -2
- package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +9 -2
- package/lib/composite-comp/bol/components/Video/pc/index.js +14 -5
- package/lib/composite-comp/dito/components/PcNavigation/pc/index.less +1 -0
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -6
- package/lib/core/Designer/ConfigPanel/index.js +11 -2
- package/lib/core/Designer/QuickMenuBar/index.js +3 -4
- package/lib/core/Designer/index.js +20 -1
- package/lib/utils/commonUtil.js +11 -0
- package/package.json +1 -1
package/lib/utils/commonUtil.js
CHANGED
|
@@ -9,6 +9,7 @@ exports.checkFileName = exports.calcLastTime = void 0;
|
|
|
9
9
|
exports.commonFetch = commonFetch;
|
|
10
10
|
exports.convertImageUrl = convertImageUrl;
|
|
11
11
|
exports.copy2ClipBoard = copy2ClipBoard;
|
|
12
|
+
exports.covertKey = covertKey;
|
|
12
13
|
exports.dragSource = void 0;
|
|
13
14
|
exports.ensure = ensure;
|
|
14
15
|
exports.getColorRgba = void 0;
|
|
@@ -22,6 +23,8 @@ exports.styleStringify = void 0;
|
|
|
22
23
|
|
|
23
24
|
var _axios = _interopRequireDefault(require("axios"));
|
|
24
25
|
|
|
26
|
+
var _lodash = require("lodash");
|
|
27
|
+
|
|
25
28
|
var _qs = _interopRequireDefault(require("qs"));
|
|
26
29
|
|
|
27
30
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -463,4 +466,12 @@ function pushGA(data) {
|
|
|
463
466
|
pageName_moduleName_groupName: 'pageName_moduleName_groupName' + random,
|
|
464
467
|
pageName_moduleName_groupName_elementNam: 'pageName_moduleName_groupName_elementNam' + random
|
|
465
468
|
}, data)); // }, 1000);
|
|
469
|
+
}
|
|
470
|
+
/** react key 计算 */
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
function covertKey(data, func) {
|
|
474
|
+
var newData = (0, _lodash.cloneDeep)(data);
|
|
475
|
+
func(newData);
|
|
476
|
+
return JSON.stringify(newData);
|
|
466
477
|
}
|