@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.
Files changed (75) hide show
  1. package/es/assets/images/layout-icon/layout-video-h5-1.png +0 -0
  2. package/es/common/LinkModal/BundleCampaign/index.js +2 -2
  3. package/es/common/LinkModal/CatgTable/index.js +1 -1
  4. package/es/common/LinkModal/CouponTable/index.js +1 -1
  5. package/es/common/LinkModal/FilteredProductModal/index.js +5 -5
  6. package/es/common/LinkModal/FunctionTable/index.js +1 -1
  7. package/es/common/LinkModal/ProductDetailPage/index.js +3 -3
  8. package/es/common/LinkModal/index.js +2 -2
  9. package/es/common/ProductModal/index.js +4 -4
  10. package/es/common/Video/closeImg.png +0 -0
  11. package/es/common/Video/index.js +13 -0
  12. package/es/common/Video/index.less +10 -6
  13. package/es/composite-comp/bol/components/Video/components/ShareBtn/index.less +7 -4
  14. package/es/composite-comp/bol/components/Video/components/VideoTag/index.js +9 -3
  15. package/es/composite-comp/bol/components/Video/components/VideoTag/index.less +2 -2
  16. package/es/composite-comp/bol/components/Video/defaultJSON.js +1 -1
  17. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.js +7 -2
  18. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +2 -2
  19. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.js +8 -5
  20. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +3 -3
  21. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.js +17 -8
  22. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +16 -3
  23. package/es/composite-comp/bol/components/Video/pc/Layout1/index.js +9 -11
  24. package/es/composite-comp/bol/components/Video/pc/Layout2/index.js +7 -4
  25. package/es/composite-comp/bol/components/Video/pc/Layout3/index.js +1 -0
  26. package/es/composite-comp/bol/components/Video/pc/Layout4/index.js +9 -2
  27. package/es/composite-comp/bol/components/Video/pc/Layout4/index.less +11 -4
  28. package/es/composite-comp/bol/components/Video/pc/Layout5/index.js +9 -2
  29. package/es/composite-comp/bol/components/Video/pc/Layout5/index.less +9 -2
  30. package/es/composite-comp/bol/components/Video/pc/index.js +14 -5
  31. package/es/composite-comp/dito/components/PcNavigation/pc/index.less +1 -0
  32. package/es/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
  33. package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -6
  34. package/es/core/Designer/ConfigPanel/index.js +11 -2
  35. package/es/core/Designer/QuickMenuBar/index.js +3 -4
  36. package/es/core/Designer/index.js +20 -1
  37. package/es/utils/commonUtil.js +11 -0
  38. package/lib/assets/images/layout-icon/layout-video-h5-1.png +0 -0
  39. package/lib/common/LinkModal/BundleCampaign/index.js +2 -2
  40. package/lib/common/LinkModal/CatgTable/index.js +1 -1
  41. package/lib/common/LinkModal/CouponTable/index.js +1 -1
  42. package/lib/common/LinkModal/FilteredProductModal/index.js +5 -5
  43. package/lib/common/LinkModal/FunctionTable/index.js +1 -1
  44. package/lib/common/LinkModal/ProductDetailPage/index.js +3 -3
  45. package/lib/common/LinkModal/index.js +2 -2
  46. package/lib/common/ProductModal/index.js +4 -4
  47. package/lib/common/Video/closeImg.png +0 -0
  48. package/lib/common/Video/index.js +13 -0
  49. package/lib/common/Video/index.less +10 -6
  50. package/lib/composite-comp/bol/components/Video/components/ShareBtn/index.less +7 -4
  51. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +9 -3
  52. package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +2 -2
  53. package/lib/composite-comp/bol/components/Video/defaultJSON.js +1 -1
  54. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +7 -2
  55. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +2 -2
  56. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +8 -5
  57. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +3 -3
  58. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +17 -8
  59. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +16 -3
  60. package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +9 -11
  61. package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +7 -4
  62. package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +1 -0
  63. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +9 -2
  64. package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +11 -4
  65. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +9 -2
  66. package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +9 -2
  67. package/lib/composite-comp/bol/components/Video/pc/index.js +14 -5
  68. package/lib/composite-comp/dito/components/PcNavigation/pc/index.less +1 -0
  69. package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
  70. package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +4 -6
  71. package/lib/core/Designer/ConfigPanel/index.js +11 -2
  72. package/lib/core/Designer/QuickMenuBar/index.js +3 -4
  73. package/lib/core/Designer/index.js +20 -1
  74. package/lib/utils/commonUtil.js +11 -0
  75. package/package.json +1 -1
@@ -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
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "0.0.131",
4
+ "version": "0.0.135",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",