@fonixtree/magic-design 0.0.13 → 0.0.18

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 (182) hide show
  1. package/package.json +1 -1
  2. package/src/components/assets/less/cylon-antd.less.js +1 -1
  3. package/src/components/assets/less/index.less.js +1 -1
  4. package/src/components/common/AlignSelector/index.js +2 -2
  5. package/src/components/common/AlignSelector/index.less.js +1 -1
  6. package/src/components/common/Button/index.js +2 -2
  7. package/src/components/common/Button/index.less.js +1 -1
  8. package/src/components/common/ButtonIconLayout/index.js +2 -2
  9. package/src/components/common/ButtonIconLayout/index.less.js +1 -1
  10. package/src/components/common/Collapse/index.js +1 -1
  11. package/src/components/common/Collapse/index.less.js +1 -1
  12. package/src/components/common/ColorPicker/index.js +1 -1
  13. package/src/components/common/ColorPicker/index.less.js +1 -1
  14. package/src/components/common/ColorPickerInput/index.js +2 -2
  15. package/src/components/common/ColorPickerInput/index.less.js +1 -1
  16. package/src/components/common/CountDown/index.js +1 -1
  17. package/src/components/common/CountDown/index.less.js +1 -1
  18. package/src/components/common/Field/index.js +2 -2
  19. package/src/components/common/Field/index.less.js +1 -1
  20. package/src/components/common/FontStyles/index.js +2 -2
  21. package/src/components/common/FontStyles/index.less.js +1 -1
  22. package/src/components/common/GroupList/index.js +1 -1
  23. package/src/components/common/GroupList/index.less.js +1 -1
  24. package/src/components/common/IconPicker/index.js +2 -2
  25. package/src/components/common/IconPicker/index.less.js +1 -1
  26. package/src/components/common/Iconfont/index.js +2 -2
  27. package/src/components/common/Iconfont/index.less.js +1 -1
  28. package/src/components/common/ImageModal/CommonSelPicCard/index.less.js +1 -1
  29. package/src/components/common/ImageModal/index.js +3 -3
  30. package/src/components/common/ImageModal/index.less.js +1 -1
  31. package/src/components/common/ImagePicker/index.js +1 -1
  32. package/src/components/common/ImagePicker/index.less.js +1 -1
  33. package/src/components/common/InputNumber/index.js +1 -1
  34. package/src/components/common/InputNumber/index.less.js +1 -1
  35. package/src/components/common/LayoutSelector/index.js +2 -2
  36. package/src/components/common/LayoutSelector/index.less.js +1 -1
  37. package/src/components/common/LinkModal/CatgTable/index.js +1 -1
  38. package/src/components/common/LinkModal/CouponTable/index.js +1 -1
  39. package/src/components/common/LinkModal/CustomTable/index.js +1 -1
  40. package/src/components/common/LinkModal/FilteredProductModal/index.js +1 -1
  41. package/src/components/common/LinkModal/FilteredProductModal/index.less.js +1 -1
  42. package/src/components/common/LinkModal/FunctionTable/index.js +1 -1
  43. package/src/components/common/LinkModal/ProductDetailPage/index.js +1 -1
  44. package/src/components/common/LinkModal/ProductDetailPage/index.less.js +1 -1
  45. package/src/components/common/LinkModal/index.less.js +1 -1
  46. package/src/components/common/NewImg/index.js +3 -3
  47. package/src/components/common/ProductModal/index.js +1 -1
  48. package/src/components/common/ProductModal/index.less.js +1 -1
  49. package/src/components/common/ProductSource/index.js +1 -1
  50. package/src/components/common/ProductSource/index.less.js +1 -1
  51. package/src/components/common/RcCollapse/Collapse.js +4 -4
  52. package/src/components/common/RcCollapse/Panel.js +5 -5
  53. package/src/components/common/RcCollapse/PanelContent.js +1 -1
  54. package/src/components/common/RcCollapse/index.less.js +1 -1
  55. package/src/components/common/Slider/index.js +2 -2
  56. package/src/components/common/Slider/index.less.js +1 -1
  57. package/src/components/common/SwitchCollapse/index.js +1 -1
  58. package/src/components/common/SwitchCollapse/index.less.js +1 -1
  59. package/src/components/common/UrlPicker/index.js +1 -1
  60. package/src/components/common/UrlPicker/index.less.js +1 -1
  61. package/src/components/composite-comp/bol/components/Banner/defaultJSON.js +1 -1
  62. package/src/components/composite-comp/bol/components/Banner/index.js +1 -1
  63. package/src/components/composite-comp/bol/components/Banner/mobile/index.js +2 -2
  64. package/src/components/composite-comp/bol/components/Banner/mobile/index.less.js +1 -1
  65. package/src/components/composite-comp/bol/components/Banner/pc/index.js +4 -4
  66. package/src/components/composite-comp/bol/components/Banner/pc/index.less.js +1 -1
  67. package/src/components/composite-comp/bol/components/Button/defaultJSON.js +2 -2
  68. package/src/components/composite-comp/bol/components/Button/index.js +2 -2
  69. package/src/components/composite-comp/bol/components/Button/index.less.js +1 -1
  70. package/src/components/composite-comp/bol/components/Carousel/defaultJSON.js +1 -1
  71. package/src/components/composite-comp/bol/components/Carousel/index.js +1 -1
  72. package/src/components/composite-comp/bol/components/Carousel/mobile/index.js +4 -4
  73. package/src/components/composite-comp/bol/components/Carousel/mobile/index.less.js +1 -1
  74. package/src/components/composite-comp/bol/components/Carousel/pc/index.js +5 -5
  75. package/src/components/composite-comp/bol/components/Carousel/pc/index.less.js +1 -1
  76. package/src/components/composite-comp/bol/components/Divider/defaultJSON.js +1 -1
  77. package/src/components/composite-comp/bol/components/Divider/index.js +1 -1
  78. package/src/components/composite-comp/bol/components/ImageGallery/defaultJSON.js +1 -1
  79. package/src/components/composite-comp/bol/components/ImageGallery/index.js +1 -1
  80. package/src/components/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -1
  81. package/src/components/composite-comp/bol/components/ImageGallery/mobile/index.less.js +1 -1
  82. package/src/components/composite-comp/bol/components/ImageText/defaultJSON.js +3 -6
  83. package/src/components/composite-comp/bol/components/ImageText/index.js +1 -1
  84. package/src/components/composite-comp/bol/components/ImageText/mobile/index.js +2 -2
  85. package/src/components/composite-comp/bol/components/ImageText/mobile/index.less.js +1 -1
  86. package/src/components/composite-comp/bol/components/ImageText/pc/index.js +2 -2
  87. package/src/components/composite-comp/bol/components/ImageText/pc/index.less.js +1 -1
  88. package/src/components/composite-comp/bol/components/Newsletter/defaultJSON.js +2 -2
  89. package/src/components/composite-comp/bol/components/Newsletter/index.js +2 -2
  90. package/src/components/composite-comp/bol/components/Newsletter/index.less.js +1 -1
  91. package/src/components/composite-comp/bol/components/Tag/defaultJSON.js +2 -2
  92. package/src/components/composite-comp/bol/components/Tag/index.js +2 -2
  93. package/src/components/composite-comp/bol/components/Tag/index.less.js +1 -1
  94. package/src/components/composite-comp/bol/components/Text/defaultJSON.js +2 -2
  95. package/src/components/composite-comp/bol/components/Text/index.js +2 -2
  96. package/src/components/composite-comp/bol/components/Text/index.less.js +1 -1
  97. package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +1 -1
  98. package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less.js +1 -1
  99. package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +3 -3
  100. package/src/components/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less.js +1 -1
  101. package/src/components/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigContent/index.js +3 -3
  102. package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +1 -1
  103. package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +3 -3
  104. package/src/components/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less.js +1 -1
  105. package/src/components/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +3 -3
  106. package/src/components/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +3 -3
  107. package/src/components/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
  108. package/src/components/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +1 -1
  109. package/src/components/composite-comp/bol/config-panels/ImageTextConfig/index.js +3 -3
  110. package/src/components/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +3 -3
  111. package/src/components/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +3 -3
  112. package/src/components/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +3 -3
  113. package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +3 -3
  114. package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +1 -1
  115. package/src/components/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less.js +1 -1
  116. package/src/components/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +1 -1
  117. package/src/components/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +1 -1
  118. package/src/components/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +3 -3
  119. package/src/components/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +3 -3
  120. package/src/components/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +3 -3
  121. package/src/components/composite-comp/common/components/ImageLabel/index.js +2 -2
  122. package/src/components/composite-comp/common/components/ImageLabel/index.less.js +1 -1
  123. package/src/components/composite-comp/common/components/ProductItem/index.js +1 -1
  124. package/src/components/composite-comp/common/components/ProductItem/index.less.js +1 -1
  125. package/src/components/composite-comp/common/config-panels/BackgroundConfig/index.js +3 -3
  126. package/src/components/composite-comp/common/config-panels/CustomizeConfig/index.js +3 -3
  127. package/src/components/composite-comp/common/config-panels/CustomizeConfig/index.less.js +1 -1
  128. package/src/components/composite-comp/common/config-panels/SpacingConfig/index.js +3 -3
  129. package/src/components/composite-comp/common/config-panels/SpacingConfig/index.less.js +1 -1
  130. package/src/components/composite-comp/dito/components/FlashDeal/defaultJSON.js +1 -1
  131. package/src/components/composite-comp/dito/components/FlashDeal/index.js +1 -1
  132. package/src/components/composite-comp/dito/components/FlashDeal/mobile/index.js +1 -1
  133. package/src/components/composite-comp/dito/components/FlashDeal/mobile/index.less.js +1 -1
  134. package/src/components/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
  135. package/src/components/composite-comp/dito/components/Recommend/index.js +1 -1
  136. package/src/components/composite-comp/dito/components/Recommend/mobile/index.js +1 -1
  137. package/src/components/composite-comp/dito/components/Recommend/mobile/index.less.js +1 -1
  138. package/src/components/composite-comp/dito/components/SearchBar/defaultJSON.js +1 -1
  139. package/src/components/composite-comp/dito/components/SearchBar/index.js +1 -1
  140. package/src/components/composite-comp/dito/components/SearchBar/mobile/index.js +3 -3
  141. package/src/components/composite-comp/dito/components/SearchBar/mobile/index.less.js +1 -1
  142. package/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +3 -3
  143. package/src/components/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +3 -3
  144. package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +3 -3
  145. package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +1 -1
  146. package/src/components/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less.js +1 -1
  147. package/src/components/composite-comp/dito/config-panels/SearchBarConfig/index.js +3 -3
  148. package/src/components/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +1 -1
  149. package/src/components/core/Designer/CompListPanel/CompCard/index.less.js +1 -1
  150. package/src/components/core/Designer/CompListPanel/index.js +2 -2
  151. package/src/components/core/Designer/CompListPanel/index.less.js +1 -1
  152. package/src/components/core/Designer/ConfigPanel/index.js +1 -1
  153. package/src/components/core/Designer/ConfigPanel/index.less.js +1 -1
  154. package/src/components/core/Designer/History/index.js +1 -1
  155. package/src/components/core/Designer/PageCompList/index.js +4 -4
  156. package/src/components/core/Designer/PageCompList/index.less.js +1 -1
  157. package/src/components/core/Designer/QuickMenuBar/index.js +2 -2
  158. package/src/components/core/Designer/QuickMenuBar/index.less.js +1 -1
  159. package/src/components/core/Designer/ViewArea/index.js +3 -3
  160. package/src/components/core/Designer/ViewArea/index.less.js +1 -1
  161. package/src/components/core/Designer/index.js +2 -2
  162. package/src/components/core/Designer/index.less.js +1 -1
  163. package/src/components/core/Renderer/index.js +1 -1
  164. package/src/components/decorator/compositeDecorator.js +1 -1
  165. package/src/components/decorator/metaDecorator.js +1 -1
  166. package/src/components/meta-comp/components/Button/index.js +15 -7
  167. package/src/components/meta-comp/components/Button/index.less.js +1 -1
  168. package/src/components/meta-comp/components/Image/index.js +6 -6
  169. package/src/components/meta-comp/components/Image/index.less.js +1 -1
  170. package/src/components/meta-comp/components/Text/index.js +2 -2
  171. package/src/components/meta-comp/components/Text/index.less.js +1 -1
  172. package/src/components/meta-comp/config-panels/BaseConfig.js +1 -1
  173. package/src/components/meta-comp/config-panels/ButtonConfig/index.js +7 -5
  174. package/src/components/meta-comp/config-panels/ButtonConfig/index.less.js +1 -1
  175. package/src/components/meta-comp/config-panels/ImageConfig/index.js +1 -1
  176. package/src/components/meta-comp/config-panels/ImageConfig/index.less.js +1 -1
  177. package/src/components/meta-comp/config-panels/TextConfig/index.js +3 -3
  178. package/src/components/meta-comp/config-panels/TextConfig/index.less.js +1 -1
  179. package/src/components/utils/commonUtil.js +1 -1
  180. package/src/components/utils/coreUtil.js +1 -1
  181. package/src/components/utils/currencyUtil.js +2 -2
  182. package/src/components/utils/dataTreeUtils.js +4 -4
@@ -1,4 +1,4 @@
1
- import styleInject from '../../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
1
+ import styleInject from '../../../../../my_node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
3
  var css_248z = ".index_page-comp-wrap__hAT7M {\n z-index: 100;\n background-color: #FFF;\n width: 354px;\n flex-shrink: 0;\n}\n.index_page-comp-wrap__hAT7M .index_page-comp-head__rt3Bk {\n height: 81px;\n box-shadow: inset 0px -1px 0px #EDF0F4;\n}\n.index_page-comp-wrap__hAT7M .index_page-comp-list__msp13 {\n padding: 24px;\n}\n.index_page-comp-wrap__hAT7M .index_page-comp-list__msp13 .index_title__1DebN {\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 700;\n font-size: 26px;\n line-height: 36px;\n color: #232F46;\n}\n.index_page-comp-wrap__hAT7M .index_page-comp-list__msp13 .index_list__hxWna .index_inner-list__G1GvV {\n margin-right: -21px;\n overflow-y: auto;\n width: 100%;\n padding: 8px 0px 8px 0;\n height: calc(100vh - 260px);\n background: #F5F6F7;\n border-radius: 8px;\n}\n.index_page-comp-wrap__hAT7M .index_page-comp-list__msp13 .index_list__hxWna .index_inner-list__G1GvV::-webkit-scrollbar {\n width: 8px;\n}\n.index_page-comp-wrap__hAT7M .index_page-comp-list__msp13 .index_list__hxWna .index_inner-list__G1GvV::-webkit-scrollbar-track-piece {\n background-color: #fff;\n}\n.index_page-comp-wrap__hAT7M .index_page-comp-list__msp13 .index_list__hxWna .index_inner-list__G1GvV::-webkit-scrollbar-thumb {\n background-color: #C1C9D7;\n background-clip: padding-box;\n border-radius: 100px;\n}\n.index_card-wrap__l74jT {\n display: flex;\n justify-content: space-between;\n cursor: move;\n height: 64px;\n line-height: 64px;\n padding: 0 20px;\n color: #232F46;\n}\n.index_card-wrap__l74jT .index_left__pBraq {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.index_card-wrap__l74jT .index_left__pBraq .index_comp-icon__YbnCQ {\n display: block;\n}\n.index_card-wrap__l74jT .index_left__pBraq .index_drag-icon__8anEd {\n display: none;\n}\n.index_card-wrap__l74jT .index_left__pBraq .index_card-title__A3MdO {\n line-height: 24px;\n font-family: 'Open Sans';\n font-weight: 400;\n font-size: 16px;\n font-style: normal;\n}\n.index_card-wrap__l74jT .index_more-btn__lWkrz {\n display: none;\n cursor: pointer;\n}\n.index_card-wrap__l74jT:hover {\n background: #E9F0FF;\n color: #2F54EB;\n}\n.index_card-wrap__l74jT:hover .index_left__pBraq {\n font-family: 'Open Sans';\n font-style: normal;\n font-weight: 600;\n font-size: 16px;\n line-height: 24px;\n}\n.index_card-wrap__l74jT:hover .index_left__pBraq .index_comp-icon__YbnCQ {\n display: none;\n}\n.index_card-wrap__l74jT:hover .index_left__pBraq .index_drag-icon__8anEd {\n display: block;\n}\n.index_card-wrap__l74jT:hover .index_left__pBraq .index_card-title__A3MdO {\n font-weight: 600;\n}\n.index_card-wrap__l74jT:hover .index_more-btn__lWkrz {\n display: block;\n}\n.index_active__dMPSq {\n background: #E9F0FF;\n color: #2F54EB;\n}\n.index_active__dMPSq .index_left__pBraq .index_card-title__A3MdO {\n font-weight: 600;\n}\n.index_active__dMPSq .index_more-btn__lWkrz {\n display: block;\n}\n";
4
4
  styleInject(css_248z);
@@ -1,5 +1,5 @@
1
- import { __extends } from '../../../../../my_my_node_modules/tslib/tslib.es6.js';
2
- import classNames from '../../../../../my_my_node_modules/classnames/index.js';
1
+ import { __extends } from '../../../../../my_node_modules/tslib/tslib.es6.js';
2
+ import classNames from '../../../../../my_node_modules/classnames/index.js';
3
3
  import React__default, { Component } from 'react';
4
4
  import Button from '../../../common/Button/index.js';
5
5
  import Iconfont from '../../../common/Iconfont/index.js';
@@ -1,4 +1,4 @@
1
- import styleInject from '../../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
1
+ import styleInject from '../../../../../my_node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
3
  var css_248z = ".index_quick_menu_wrap__5xVae {\n flex-shrink: 0;\n height: 80px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding-left: 24px;\n padding-right: 28px;\n background-color: #FFF;\n}\n.index_quick_menu_wrap__5xVae .index_menu_left__5Vc5c .index_language__08ChO {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 48px;\n border-radius: 8px;\n padding: 12px;\n font-size: 16px;\n}\n.index_quick_menu_wrap__5xVae .index_menu_center__9F4gn {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.index_quick_menu_wrap__5xVae .index_menu_center__9F4gn .index_device_group__3Kk79 {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.index_quick_menu_wrap__5xVae .index_menu_center__9F4gn .index_device_group__3Kk79 .index_device_pc__GZM-C {\n cursor: pointer;\n height: 48px;\n width: 60px;\n padding: 14px;\n border: 1px solid #EDF0F4;\n border-right: none;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n text-align: center;\n}\n.index_quick_menu_wrap__5xVae .index_menu_center__9F4gn .index_device_group__3Kk79 .index_device_phone__odPFU {\n cursor: pointer;\n height: 48px;\n width: 60px;\n padding: 14px;\n border: 1px solid #EDF0F4;\n border-left: none;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n text-align: center;\n}\n.index_quick_menu_wrap__5xVae .index_menu_center__9F4gn .index_device_group__3Kk79 .index_active__cu0sW {\n background: #E9F0FF;\n}\n.index_quick_menu_wrap__5xVae .index_menu_center__9F4gn .index_redo_undo__PGEpQ {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-left: 24px;\n}\n.index_quick_menu_wrap__5xVae .index_menu_right__yqg0- {\n display: flex;\n}\n";
4
4
  styleInject(css_248z);
@@ -1,7 +1,7 @@
1
- import { __extends, __assign } from '../../../../../my_my_node_modules/tslib/tslib.es6.js';
2
- import classNames from '../../../../../my_my_node_modules/classnames/index.js';
1
+ import { __extends, __assign } from '../../../../../my_node_modules/tslib/tslib.es6.js';
2
+ import classNames from '../../../../../my_node_modules/classnames/index.js';
3
3
  import React__default, { Component } from 'react';
4
- import isEmpty_1 from '../../../../../my_my_node_modules/lodash/isEmpty.js';
4
+ import isEmpty_1 from '../../../../../my_node_modules/lodash/isEmpty.js';
5
5
  import { deviceTypeMap } from '../../../constants/index.js';
6
6
  import { componentMap } from '../../../constants/component-types.js';
7
7
  import './index.less.js';
@@ -1,4 +1,4 @@
1
- import styleInject from '../../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
1
+ import styleInject from '../../../../../my_node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
3
  var css_248z = ".index_design-area-wrap__1UMY8 {\n width: calc(100vw - 354px);\n flex: auto;\n background: #F5F6F7;\n display: flex;\n flex-direction: column;\n padding-left: 1px;\n transition-property: all;\n transition-duration: 0.3s;\n transition-timing-function: ease;\n}\n.index_design-area-wrap__1UMY8.index_phone-edit__-2SG9 {\n margin-left: 355px;\n}\n.index_design-area-wrap__1UMY8 .index_phone_view_area__Jv0A0 {\n flex-grow: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 24px 0;\n}\n.index_design-area-wrap__1UMY8 .index_phone_view_area__Jv0A0 .index_device_border__I7Vyh {\n width: 375px;\n max-height: 691px;\n height: calc(100vh - 150px);\n overflow: scroll;\n overflow-x: hidden;\n border: 10px solid #FFF;\n background-color: #F2F2F2;\n border-radius: 12px;\n box-sizing: content-box;\n}\n.index_design-area-wrap__1UMY8 .index_pc_view_area__3s0Hi {\n flex-grow: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 24px;\n}\n.index_design-area-wrap__1UMY8 .index_pc_view_area__3s0Hi .index_device_border__I7Vyh {\n padding: 1px;\n max-width: 1240px;\n width: 100%;\n min-height: 70vh;\n border: 16px solid #FFF;\n border-radius: 12px;\n max-height: calc(100vh - 180px);\n height: 100%;\n overflow: scroll;\n box-sizing: content-box;\n}\n";
4
4
  styleInject(css_248z);
@@ -1,6 +1,6 @@
1
- import { __extends, __assign, __spreadArray } from '../../../../my_my_node_modules/tslib/tslib.es6.js';
1
+ import { __extends, __assign, __spreadArray } from '../../../../my_node_modules/tslib/tslib.es6.js';
2
2
  import React__default, { Component } from 'react';
3
- import uuid_1 from '../../../../my_my_node_modules/uuid/index.js';
3
+ import uuid_1 from '../../../../my_node_modules/uuid/index.js';
4
4
  import { Provider } from 'mobx-react';
5
5
  import { ConfigProvider } from 'antd';
6
6
  import CompListPanel from './CompListPanel/index.js';
@@ -1,4 +1,4 @@
1
- import styleInject from '../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
1
+ import styleInject from '../../../../my_node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
3
  var css_248z = ".index_designer-wrap__u7r1K {\n display: flex;\n width: 100%;\n height: 100vh;\n background-color: #F5F6F7;\n}\n";
4
4
  styleInject(css_248z);
@@ -1,4 +1,4 @@
1
- import { __assign } from '../../../../my_my_node_modules/tslib/tslib.es6.js';
1
+ import { __assign } from '../../../../my_node_modules/tslib/tslib.es6.js';
2
2
  import React__default from 'react';
3
3
  import { componentMap } from '../../constants/component-types.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __extends } from '../../../my_my_node_modules/tslib/tslib.es6.js';
1
+ import { __extends } from '../../../my_node_modules/tslib/tslib.es6.js';
2
2
  import React__default, { Component } from 'react';
3
3
  import { store } from '../mobx/index.js';
4
4
  import { autorun } from 'mobx';
@@ -1,4 +1,4 @@
1
- import { __extends, __rest } from '../../../my_my_node_modules/tslib/tslib.es6.js';
1
+ import { __extends, __rest } from '../../../my_node_modules/tslib/tslib.es6.js';
2
2
  import React__default, { Component } from 'react';
3
3
  import { store } from '../mobx/index.js';
4
4
  import { autorun } from 'mobx';
@@ -1,6 +1,6 @@
1
- import { __extends, __assign, __decorate } from '../../../../../my_my_node_modules/tslib/tslib.es6.js';
1
+ import { __extends, __assign, __decorate } from '../../../../../my_node_modules/tslib/tslib.es6.js';
2
2
  import React__default, { Component } from 'react';
3
- import classNames from '../../../../../my_my_node_modules/classnames/index.js';
3
+ import classNames from '../../../../../my_node_modules/classnames/index.js';
4
4
  import './index.less.js';
5
5
  import { computeStyle } from '../../../utils/businessUtil.js';
6
6
  import { isDesignMode, clickUrl } from '../../../utils/coreUtil.js';
@@ -25,7 +25,10 @@ function (_super) {
25
25
  }
26
26
 
27
27
  Button.prototype.shouldComponentUpdate = function (nextProps) {
28
- return JSON.stringify(nextProps.data) != this.preData;
28
+ var should1 = JSON.stringify(nextProps.data) != this.preData;
29
+ var should2 = window.magicDesign.device != this.preDevice;
30
+ var result = should1 || should2;
31
+ return result;
29
32
  };
30
33
 
31
34
  Button.prototype.render = function () {
@@ -39,22 +42,27 @@ function (_super) {
39
42
  readonly = _b.readonly;
40
43
  var hover = this.state.hover;
41
44
  this.preData = JSON.stringify(data);
45
+ this.preDevice = window.magicDesign.device;
42
46
 
43
- var style = __assign({
47
+ var style = __assign(__assign({
44
48
  backgroundColor: data.content.backgroundColor,
45
49
  border: data.buttonBorder.open && data.buttonBorder.borderColor ? "1px solid ".concat(data.buttonBorder.borderColor) : '1px solid transparent',
46
50
  borderRadius: data.buttonBorder.open ? data.buttonBorder.borderRadius : 0
47
- }, data.buttonText);
51
+ }, data.buttonText), {
52
+ fontSize: window.magicDesign.device == 'pc' ? data.buttonText.pcFontSize : data.buttonText.fontSize
53
+ });
48
54
 
49
55
  var iconUrl = data.buttonIcon.iconUrl;
50
56
  var iconLayout = data.buttonIcon.layout;
51
57
 
52
58
  if (hover && ((_a = data.hover) === null || _a === void 0 ? void 0 : _a.open)) {
53
- style = __assign(__assign(__assign({}, style), {
59
+ style = __assign(__assign(__assign(__assign({}, style), {
54
60
  backgroundColor: data.hover.content.backgroundColor,
55
61
  border: data.hover.buttonBorder.open && data.hover.buttonBorder.borderColor ? "1px solid ".concat(data.hover.buttonBorder.borderColor) : '1px solid transparent',
56
62
  borderRadius: data.hover.buttonBorder.open ? data.hover.buttonBorder.borderRadius : 0
57
- }), data.hover.buttonText);
63
+ }), data.hover.buttonText), {
64
+ fontSize: window.magicDesign.device == 'pc' ? data.hover.buttonText.pcFontSize : data.hover.buttonText.fontSize
65
+ });
58
66
  iconUrl = data.hover.buttonIcon.iconUrl;
59
67
  iconLayout = data.hover.buttonIcon.layout;
60
68
  }
@@ -1,4 +1,4 @@
1
- import styleInject from '../../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
1
+ import styleInject from '../../../../../my_node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
3
  var css_248z = ".index_m-meta-button__xC3hx {\n transition: all 0.25s;\n}\n.index_m-meta-button__xC3hx .index_btnContent__EeMhF {\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n}\n.index_m-meta-button__xC3hx .index_btnContent__EeMhF.index_horizontal__BTkyD {\n flex-direction: row;\n}\n.index_m-meta-button__xC3hx .index_btnContent__EeMhF img {\n height: 20px;\n}\n";
4
4
  styleInject(css_248z);
@@ -1,6 +1,6 @@
1
- import { __extends, __decorate } from '../../../../../my_my_node_modules/tslib/tslib.es6.js';
1
+ import { __extends, __decorate } from '../../../../../my_node_modules/tslib/tslib.es6.js';
2
2
  import React__default from 'react';
3
- import classNames from '../../../../../my_my_node_modules/classnames/index.js';
3
+ import classNames from '../../../../../my_node_modules/classnames/index.js';
4
4
  import './index.less.js';
5
5
  import { isPc, clickUrl } from '../../../utils/coreUtil.js';
6
6
  import '../../../mobx/index.js';
@@ -44,11 +44,11 @@ function (_super) {
44
44
 
45
45
  if (limitWidthHeight) {
46
46
  if (isPc()) {
47
- obj.width = data.content.pcImgWidth;
48
- obj.height = data.content.pcImgHeight;
47
+ if (data.content.pcImgWidth) obj.width = data.content.pcImgWidth;
48
+ if (data.content.pcImgHeight) obj.height = data.content.pcImgHeight;
49
49
  } else {
50
- obj.width = data.content.h5ImgWidth;
51
- obj.height = data.content.h5ImgHeight;
50
+ if (data.content.h5ImgWidth) obj.width = data.content.h5ImgWidth;
51
+ if (data.content.h5ImgHeight) obj.height = data.content.h5ImgHeight;
52
52
  }
53
53
  }
54
54
 
@@ -1,4 +1,4 @@
1
- import styleInject from '../../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
1
+ import styleInject from '../../../../../my_node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
3
  var css_248z = ".index_m-meta-image__6oFhF {\n width: 100%;\n height: 100%;\n}\n.index_m-meta-image__6oFhF > img {\n width: 100%;\n height: 100%;\n object-fit: contain;\n transition: all 0.2s linear;\n vertical-align: initial;\n}\n.index_m-meta-image__6oFhF.index_backgroundImg__-X-kA > img {\n object-fit: cover;\n}\n";
4
4
  styleInject(css_248z);
@@ -1,6 +1,6 @@
1
- import { __extends, __assign, __decorate, __spreadArray } from '../../../../../my_my_node_modules/tslib/tslib.es6.js';
1
+ import { __extends, __assign, __decorate, __spreadArray } from '../../../../../my_node_modules/tslib/tslib.es6.js';
2
2
  import React__default from 'react';
3
- import classNames from '../../../../../my_my_node_modules/classnames/index.js';
3
+ import classNames from '../../../../../my_node_modules/classnames/index.js';
4
4
  import { debounce, isEmpty } from 'lodash';
5
5
  import './index.less.js';
6
6
  import { convertIconClass } from '../../../common/Iconfont/index.js';
@@ -1,4 +1,4 @@
1
- import styleInject from '../../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
1
+ import styleInject from '../../../../../my_node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
3
  var css_248z = ".index_m-meta-text__4g6d0 {\n display: block;\n}\n.index_m-meta-text__4g6d0 .index_select-container__tUvJE {\n position: relative;\n}\n.index_m-meta-text__4g6d0 .index_select-container__tUvJE .index_close-wrap__IItPw {\n user-select: none;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n border: 1px dashed #cccccc;\n}\n.index_m-meta-text__4g6d0 .index_select-container__tUvJE .index_close-wrap__IItPw .index_magic-box-iconfont__8UEh8 {\n position: absolute;\n top: 0;\n right: 0;\n font-size: 21px;\n transform: translate(50%, -50%);\n color: #ffffff;\n text-shadow: 1px 1px 4px #000;\n}\n.index_m-meta-text__4g6d0 .index_select-container__tUvJE .index_close-wrap__IItPw .index_magic-box-iconfont__8UEh8:hover {\n color: #f46868;\n cursor: pointer;\n}\n";
4
4
  styleInject(css_248z);
@@ -1,4 +1,4 @@
1
- import { __extends } from '../../../../my_my_node_modules/tslib/tslib.es6.js';
1
+ import { __extends } from '../../../../my_node_modules/tslib/tslib.es6.js';
2
2
  import React__default, { Component } from 'react';
3
3
  import { renderPreview } from '../../utils/coreUtil.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __extends, __assign } from '../../../../../my_my_node_modules/tslib/tslib.es6.js';
1
+ import { __extends, __assign } from '../../../../../my_node_modules/tslib/tslib.es6.js';
2
2
  import React__default from 'react';
3
3
  import { Select } from 'antd';
4
4
  import './index.less.js';
@@ -18,8 +18,8 @@ import SliderInput from '../../../common/Slider/index.js';
18
18
  import FontStyles from '../../../common/FontStyles/index.js';
19
19
  import ButtonIconLayout from '../../../common/ButtonIconLayout/index.js';
20
20
  import 'axios';
21
- import '../../../../../my_my_node_modules/qs/lib/stringify.js';
22
- import '../../../../../my_my_node_modules/qs/lib/utils.js';
21
+ import '../../../../../my_node_modules/qs/lib/stringify.js';
22
+ import '../../../../../my_node_modules/qs/lib/utils.js';
23
23
  import '../../../common/ProductModal/index.js';
24
24
  import '../../../common/ProductSource/index.less.js';
25
25
  import { sizeTypeList } from '../TextConfig/index.js';
@@ -88,6 +88,7 @@ function (_super) {
88
88
  },
89
89
  value: data.content.backgroundColor
90
90
  })));
91
+ var fontSizeKey = window.magicDesign.device == 'pc' ? 'pcFontSize' : 'fontSize';
91
92
 
92
93
  var ButtonTextSetting = function (data) {
93
94
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Field, {
@@ -136,11 +137,11 @@ function (_super) {
136
137
  onChange: function (_a) {
137
138
  var count = _a.count;
138
139
 
139
- _this.updateAttr(data, 'fontSize', count);
140
+ _this.updateAttr(data, fontSizeKey, count);
140
141
  },
141
142
  unit: "px",
142
143
  value: {
143
- count: data.fontSize
144
+ count: data[fontSizeKey]
144
145
  }
145
146
  })), /*#__PURE__*/React__default.createElement(Field, {
146
147
  title: ""
@@ -281,6 +282,7 @@ function (_super) {
281
282
  fontFamily: 'Open Sans',
282
283
  fontWeight: 600,
283
284
  fontSize: 14,
285
+ pcFontSize: 14,
284
286
  fontStyle: 'normal',
285
287
  color: '#fff'
286
288
  },
@@ -1,4 +1,4 @@
1
- import styleInject from '../../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
1
+ import styleInject from '../../../../../my_node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
3
  var css_248z = ".index_m-button-config__YA6fc {\n padding: 0 12px;\n background-color: #F5F6F7;\n}\n";
4
4
  styleInject(css_248z);
@@ -1,4 +1,4 @@
1
- import { __extends, __awaiter, __generator } from '../../../../../my_my_node_modules/tslib/tslib.es6.js';
1
+ import { __extends, __awaiter, __generator } from '../../../../../my_node_modules/tslib/tslib.es6.js';
2
2
  import React__default from 'react';
3
3
  import { Select } from 'antd';
4
4
  import './index.less.js';
@@ -1,4 +1,4 @@
1
- import styleInject from '../../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
1
+ import styleInject from '../../../../../my_node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
3
  var css_248z = ".index_m-image-config__HxUjo {\n padding: 0 12px 1px;\n background-color: #F5F6F7;\n}\n";
4
4
  styleInject(css_248z);
@@ -1,4 +1,4 @@
1
- import { __extends, __assign } from '../../../../../my_my_node_modules/tslib/tslib.es6.js';
1
+ import { __extends, __assign } from '../../../../../my_node_modules/tslib/tslib.es6.js';
2
2
  import React__default, { Fragment } from 'react';
3
3
  import { Select } from 'antd';
4
4
  import './index.less.js';
@@ -17,8 +17,8 @@ import SliderInput from '../../../common/Slider/index.js';
17
17
  import FontStyles from '../../../common/FontStyles/index.js';
18
18
  import '../../../common/ButtonIconLayout/index.js';
19
19
  import 'axios';
20
- import '../../../../../my_my_node_modules/qs/lib/stringify.js';
21
- import '../../../../../my_my_node_modules/qs/lib/utils.js';
20
+ import '../../../../../my_node_modules/qs/lib/stringify.js';
21
+ import '../../../../../my_node_modules/qs/lib/utils.js';
22
22
  import '../../../common/ProductModal/index.js';
23
23
  import '../../../common/ProductSource/index.less.js';
24
24
  import SpacingConfig from '../../../composite-comp/common/config-panels/SpacingConfig/index.js';
@@ -1,4 +1,4 @@
1
- import styleInject from '../../../../../my_my_node_modules/style-inject/dist/style-inject.es.js';
1
+ import styleInject from '../../../../../my_node_modules/style-inject/dist/style-inject.es.js';
2
2
 
3
3
  var css_248z = ".index_m-text-config__G10fc {\n display: flex;\n flex-direction: column;\n padding: 0 12px;\n background-color: #F5F6F7;\n}\n.index_m-text-config__G10fc .index_line-config__E1EJs {\n text-decoration-line: line-through;\n text-decoration-color: #000;\n font-size: 14px;\n font-weight: 600;\n}\n.index_m-text-config__G10fc .index_line-solid__fpZMp {\n text-decoration-style: solid;\n}\n.index_m-text-config__G10fc .index_dashed-line__up9Nm {\n text-decoration-style: dashed;\n}\n.index_m-text-config__G10fc .index_double-line__WGcsB {\n text-decoration-style: double;\n}\n.index_m-text-config__G10fc .index_wavy-line__WUvJg {\n text-decoration-style: wavy;\n}\n";
4
4
  styleInject(css_248z);
@@ -1,5 +1,5 @@
1
1
  import axios from 'axios';
2
- import lib from '../../../my_my_node_modules/qs/lib/index.js';
2
+ import lib from '../../../my_node_modules/qs/lib/index.js';
3
3
 
4
4
  /**
5
5
  * 安全获取数据
@@ -1,4 +1,4 @@
1
- import uuid_1 from '../../../my_my_node_modules/uuid/index.js';
1
+ import uuid_1 from '../../../my_node_modules/uuid/index.js';
2
2
  import { parseUrl } from './businessUtil.js';
3
3
  import { navigateTo } from './commonUtil.js';
4
4
  import { browserVersion } from './androidUtil.js';
@@ -1,5 +1,5 @@
1
- import divide_1 from '../../../my_my_node_modules/lodash/divide.js';
2
- import isEmpty_1 from '../../../my_my_node_modules/lodash/isEmpty.js';
1
+ import divide_1 from '../../../my_node_modules/lodash/divide.js';
2
+ import isEmpty_1 from '../../../my_node_modules/lodash/isEmpty.js';
3
3
  import { ensure } from './commonUtil.js';
4
4
 
5
5
  /* eslint-disable */
@@ -1,7 +1,7 @@
1
- import isEmpty_1 from '../../../my_my_node_modules/lodash/isEmpty.js';
2
- import isObject_1 from '../../../my_my_node_modules/lodash/isObject.js';
3
- import mapKeys_1 from '../../../my_my_node_modules/lodash/mapKeys.js';
4
- import cloneDeep_1 from '../../../my_my_node_modules/lodash/cloneDeep.js';
1
+ import isEmpty_1 from '../../../my_node_modules/lodash/isEmpty.js';
2
+ import isObject_1 from '../../../my_node_modules/lodash/isObject.js';
3
+ import mapKeys_1 from '../../../my_node_modules/lodash/mapKeys.js';
4
+ import cloneDeep_1 from '../../../my_node_modules/lodash/cloneDeep.js';
5
5
 
6
6
  /**
7
7
  * 处理树相关的工具