@fonixtree/magic-design 0.0.63 → 0.0.65

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 (29) hide show
  1. package/es/composite-comp/bol/components/Button/index.js +1 -1
  2. package/es/composite-comp/bol/components/ImageText/mobile/index.js +1 -2
  3. package/es/composite-comp/bol/components/ImageText/mobile/index.less +8 -8
  4. package/es/composite-comp/bol/components/ImageText/pc/index.js +45 -17
  5. package/es/composite-comp/bol/components/Tag/index.js +1 -1
  6. package/es/composite-comp/bol/config-panels/ImageTextConfig/index.js +2 -1
  7. package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +8 -13
  8. package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +15 -0
  9. package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +41 -0
  10. package/es/composite-comp/dito/components/SearchBar/mobile/index.js +1 -1
  11. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +16 -6
  12. package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +20 -0
  13. package/es/composite-comp/dito/config-panels/FlashDealConfig/index.js +9 -1
  14. package/es/meta-comp/components/Button/index.js +23 -1
  15. package/lib/composite-comp/bol/components/Button/index.js +1 -1
  16. package/lib/composite-comp/bol/components/ImageText/mobile/index.js +1 -2
  17. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +8 -8
  18. package/lib/composite-comp/bol/components/ImageText/pc/index.js +45 -17
  19. package/lib/composite-comp/bol/components/Tag/index.js +1 -1
  20. package/lib/composite-comp/bol/config-panels/ImageTextConfig/index.js +2 -1
  21. package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +8 -13
  22. package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +15 -0
  23. package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +41 -0
  24. package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +1 -1
  25. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +16 -6
  26. package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +20 -0
  27. package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +9 -1
  28. package/lib/meta-comp/components/Button/index.js +23 -1
  29. package/package.json +1 -1
@@ -77,7 +77,7 @@ function (_super) {
77
77
  return /*#__PURE__*/_react["default"].createElement("div", {
78
78
  className: (0, _classnames["default"])('button-comp-wrap', (_a = {}, _a[nodeData.customize.layout] = true, _a[nodeData.customize.align] = true, _a)),
79
79
  onClick: this.onComponentClick
80
- }, nodeData.groupSource.map(function (m) {
80
+ }, nodeData.groupSource && nodeData.groupSource.map(function (m) {
81
81
  return /*#__PURE__*/_react["default"].createElement("div", {
82
82
  className: "secondary-button"
83
83
  }, /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
@@ -102,8 +102,7 @@ function (_super) {
102
102
  ImageTextMobile.prototype.render = function () {
103
103
  var _this = this;
104
104
 
105
- var data = this.props.data; // const { ready } = this.state;
106
- // console.log('----imagetext mobile', data);
105
+ var data = this.props.data; // console.log('----imagetext mobile', data);
107
106
 
108
107
  var wrapStyle = {};
109
108
  wrapStyle.textAlign = data.customize.align; // if (data.background.bgType === 'color') {
@@ -59,8 +59,8 @@
59
59
  }
60
60
  .card-btn-wrap {
61
61
  display: flex;
62
- .card-first-btn {
63
- margin-right: 12px;
62
+ .card-second-btn {
63
+ margin-left: 12px;
64
64
  }
65
65
  }
66
66
  }
@@ -94,8 +94,8 @@
94
94
  }
95
95
  .card-btn-wrap {
96
96
  display: flex;
97
- .card-first-btn {
98
- margin-right: 12px;
97
+ .card-second-btn {
98
+ margin-left: 12px;
99
99
  }
100
100
  }
101
101
  }
@@ -135,8 +135,8 @@
135
135
  flex-direction: column;
136
136
  }
137
137
 
138
- .card-second-btn {
139
- margin-top: 8px;
138
+ .card-first-btn, .card-second-btn {
139
+ margin-bottom: 8px;
140
140
  }
141
141
  }
142
142
  .card-margin-bottom {
@@ -170,8 +170,8 @@
170
170
  }
171
171
  .card-btn-wrap {
172
172
  display: flex;
173
- .card-first-btn {
174
- margin-right: 12px;
173
+ .card-second-btn {
174
+ margin-left: 12px;
175
175
  }
176
176
  }
177
177
  }
@@ -11,6 +11,8 @@ require("./index.less");
11
11
 
12
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
13
 
14
+ var _lodash = require("lodash");
15
+
14
16
  var _AlignSelector = require("../../../../../common/AlignSelector");
15
17
 
16
18
  var _components = require("../../../../../meta-comp/components");
@@ -63,7 +65,7 @@ var __assign = void 0 && (void 0).__assign || function () {
63
65
 
64
66
  var maxWidthAndHeight = {
65
67
  normal: 410,
66
- outside: 100,
68
+ outside: 86,
67
69
  center: 410
68
70
  };
69
71
 
@@ -76,17 +78,26 @@ function (_super) {
76
78
  var _this = _super !== null && _super.apply(this, arguments) || this;
77
79
 
78
80
  _this.state = {
79
- hoverIndex: -1
80
- }; // componentDidMount() {
81
- // this.distroy = autorun(() => {
82
- // this.setState({
83
- // clickedGroup: store.clickedGroup,
84
- // });
85
- // });
86
- // }
87
- // componentWillUnmount() {
88
- // this.distroy();
89
- // }
81
+ hoverIndex: -1,
82
+ currentMaxWidth: 410
83
+ };
84
+
85
+ _this.listenCardWidth = function () {
86
+ var _a;
87
+
88
+ var data = _this.props.data;
89
+
90
+ try {
91
+ var cardWidth = ((_a = document.querySelector('.group-wrap .one-card')) === null || _a === void 0 ? void 0 : _a.offsetWidth) - 40;
92
+ var maxLayoutWidth = maxWidthAndHeight[data.customize.layout.pcLayout];
93
+
94
+ _this.setState({
95
+ currentMaxWidth: Math.min(cardWidth, maxLayoutWidth)
96
+ });
97
+ } catch (error) {
98
+ console.log(error);
99
+ }
100
+ };
90
101
 
91
102
  _this.calcWidth = function (num) {
92
103
  return (100 - (num - 1) * 2) / num + "%";
@@ -114,14 +125,31 @@ function (_super) {
114
125
  return _this;
115
126
  }
116
127
 
128
+ ImageTextPc.prototype.componentDidMount = function () {
129
+ var data = this.props.data;
130
+ this.layout = data.customize.layout.pcLayout;
131
+ this.listenCardWidth();
132
+ window.addEventListener('resize', (0, _lodash.debounce)(this.listenCardWidth));
133
+ };
134
+
135
+ ImageTextPc.prototype.componentWillUnmount = function () {
136
+ window.removeEventListener('resize', this.listenCardWidth);
137
+ };
138
+
139
+ ImageTextPc.prototype.componentWillReceiveProps = function (nextProps) {
140
+ if (nextProps.data.customize.layout.pcLayout !== this.layout) {
141
+ this.layout = nextProps.data.customize.layout.pcLayout;
142
+ this.listenCardWidth();
143
+ }
144
+ };
145
+
117
146
  ImageTextPc.prototype.render = function () {
118
147
  var _this = this;
119
148
 
120
149
  var data = this.props.data;
121
- var hoverIndex = this.state.hoverIndex; // console.log('====================================');
122
- // console.log(data);
123
- // console.log('====================================');
124
-
150
+ var _a = this.state,
151
+ hoverIndex = _a.hoverIndex,
152
+ currentMaxWidth = _a.currentMaxWidth;
125
153
  var wrapStyle = {};
126
154
  wrapStyle.alignItems = _AlignSelector.alignItemMap[data.customize.align];
127
155
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -156,7 +184,7 @@ function (_super) {
156
184
  data: hoverIndex == i ? source.hover.image : source.image,
157
185
  limitWidthHeight: true,
158
186
  maxHeight: maxWidthAndHeight[data.customize.layout.pcLayout],
159
- maxWidth: maxWidthAndHeight[data.customize.layout.pcLayout],
187
+ maxWidth: currentMaxWidth,
160
188
  scale: 0.5
161
189
  })), (source.title.open && data.customize.layout.pcLayout !== 'center' && hoverIndex != i || hoverIndex == i && source.hover.title.open && data.customize.layout.pcLayout !== 'center') && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
162
190
  className: "card-title",
@@ -81,7 +81,7 @@ function (_super) {
81
81
  className: "tag-image"
82
82
  }, /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
83
83
  data: nodeData.content.image
84
- })), nodeData.groupSource.map(function (m) {
84
+ })), nodeData.groupSource && nodeData.groupSource.map(function (m) {
85
85
  return /*#__PURE__*/_react["default"].createElement("div", {
86
86
  className: "first-button"
87
87
  }, /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
@@ -164,7 +164,7 @@ function (_super) {
164
164
  }),
165
165
  metaOption: data.groupSource
166
166
  }, {
167
- key: '2',
167
+ key: 'imageText3',
168
168
  name: (0, _locale.i18n)('SPACING'),
169
169
  value: /*#__PURE__*/_react["default"].createElement(_SpacingConfig["default"], {
170
170
  data: data.spacing
@@ -173,6 +173,7 @@ function (_super) {
173
173
  key: 'imageText4',
174
174
  name: (0, _locale.i18n)('CUSTOMIZE'),
175
175
  value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
176
+ component: "imageText",
176
177
  data: data.customize,
177
178
  layoutSource: (0, _coreUtil.isPc)() ? _layout.imageTextLayoutPc : _layout.imageTextLayoutMobile,
178
179
  selectedLayoutFun: function selectedLayoutFun(v) {
@@ -85,40 +85,35 @@ function (_super) {
85
85
  value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
86
86
  data: panelProps.title
87
87
  }),
88
- metaOption: panelProps.title,
89
- toggleType: 'switch'
88
+ metaOption: panelProps.title
90
89
  }, {
91
90
  key: '3',
92
91
  name: (0, _locale.i18n)('TEXT'),
93
92
  value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
94
93
  data: panelProps.text
95
94
  }),
96
- metaOption: panelProps.text,
97
- toggleType: 'switch'
95
+ metaOption: panelProps.text
98
96
  }, {
99
97
  key: '4',
100
98
  name: (0, _locale.i18n)('IMAGE_TAG'),
101
99
  value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
102
100
  data: panelProps.imageTag
103
101
  }),
104
- metaOption: panelProps.imageTag,
105
- toggleType: 'switch'
102
+ metaOption: panelProps.imageTag
106
103
  }, {
107
104
  key: '5',
108
105
  name: (0, _locale.i18n)('BUTTON_TAG'),
109
106
  value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
110
107
  data: panelProps.buttonTag
111
108
  }),
112
- metaOption: panelProps.buttonTag,
113
- toggleType: 'switch'
109
+ metaOption: panelProps.buttonTag
114
110
  }, {
115
111
  key: '6',
116
112
  name: (0, _locale.i18n)('SECONDARY_BUTTON_TAG'),
117
113
  value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
118
114
  data: panelProps.secondButtonTag
119
115
  }),
120
- metaOption: panelProps.secondButtonTag,
121
- toggleType: 'switch'
116
+ metaOption: panelProps.secondButtonTag
122
117
  }];
123
118
 
124
119
  var _textSource = _mobx.store.CarouselStore[panelProps.compId] === 'layout2' ? textSource : [];
@@ -136,7 +131,8 @@ function (_super) {
136
131
  }),
137
132
  metaOption: panelProps.image,
138
133
  toggleType: 'switch'
139
- }], _textSource)
134
+ }], _textSource),
135
+ type: "switch"
140
136
  });
141
137
  };
142
138
 
@@ -149,8 +145,7 @@ function (_super) {
149
145
  key: '1',
150
146
  name: (0, _locale.i18n)('CONTENT'),
151
147
  value: getConfig()
152
- }],
153
- type: "triangle"
148
+ }]
154
149
  }));
155
150
  };
156
151
 
@@ -121,6 +121,21 @@ function (_super) {
121
121
  _this.props.store.setState({
122
122
  CarouselStore: __assign(__assign({}, _mobx.store.CarouselStore), (_a = {}, _a[id] = v, _a))
123
123
  });
124
+ } // 图文组件,移动端,只有第3个组件可选列数
125
+
126
+
127
+ if (component === 'imageText') {
128
+ if (!(0, _coreUtil.isPc)()) {
129
+ if (v === 'normal3') {
130
+ _this.setState({
131
+ showRowNum: true
132
+ });
133
+ } else {
134
+ _this.setState({
135
+ showRowNum: false
136
+ });
137
+ }
138
+ }
124
139
  } // 移动端导航特殊处理
125
140
  // 更改需求,两个布局都需 可选行数
126
141
  // if (component == 'mobileNavigation') {
@@ -8,11 +8,13 @@ exports.getDefaultJSON = void 0;
8
8
  var _uuid = require("uuid");
9
9
 
10
10
  var getDefaultJSON = function getDefaultJSON() {
11
+ var contentId = (0, _uuid.v4)();
11
12
  return {
12
13
  id: (0, _uuid.v4)(),
13
14
  type: 'FLASH_DEAL',
14
15
  title: {
15
16
  icon: {
17
+ id: (0, _uuid.v4)(),
16
18
  open: true,
17
19
  url: '/get/resource/platform/conf/20220722/picture/组633391550411058986147840.png'
18
20
  },
@@ -23,6 +25,7 @@ var getDefaultJSON = function getDefaultJSON() {
23
25
  specialContent: [],
24
26
  text: 'Flash Deal',
25
27
  content: {
28
+ sizeType: 'Customize font styles',
26
29
  fontFamily: 'Open Sans',
27
30
  fontWeight: 600,
28
31
  fontSize: 14,
@@ -48,6 +51,7 @@ var getDefaultJSON = function getDefaultJSON() {
48
51
  backgroundColor: ''
49
52
  },
50
53
  buttonText: {
54
+ sizeType: 'Customize font styles',
51
55
  fontFamily: 'Open Sans',
52
56
  fontWeight: 600,
53
57
  fontSize: 12,
@@ -60,6 +64,20 @@ var getDefaultJSON = function getDefaultJSON() {
60
64
  borderColor: '',
61
65
  borderRadius: 6
62
66
  },
67
+ spacing: {
68
+ pc: {
69
+ paddingTop: 2,
70
+ paddingBottom: 2,
71
+ paddingLeft: 5,
72
+ paddingRight: 5
73
+ },
74
+ mobile: {
75
+ paddingTop: 2,
76
+ paddingBottom: 2,
77
+ paddingLeft: 5,
78
+ paddingRight: 5
79
+ }
80
+ },
63
81
  buttonIcon: {
64
82
  iconUrl: '/get/resource/platform/conf/20220719/picture/icon-arrow-right-s1549371733179686912.png',
65
83
  layout: 'right'
@@ -68,9 +86,11 @@ var getDefaultJSON = function getDefaultJSON() {
68
86
  }
69
87
  },
70
88
  content: {
89
+ id: contentId,
71
90
  sortType: '1',
72
91
  label: {
73
92
  id: (0, _uuid.v4)(),
93
+ contentId: contentId,
74
94
  open: true,
75
95
  type: 'BUTTON',
76
96
  text: 'Button',
@@ -79,6 +99,7 @@ var getDefaultJSON = function getDefaultJSON() {
79
99
  backgroundColor: '#CC1D20'
80
100
  },
81
101
  buttonText: {
102
+ sizeType: 'Customize font styles',
82
103
  fontFamily: 'Open Sans',
83
104
  fontWeight: 600,
84
105
  fontSize: 8,
@@ -91,6 +112,20 @@ var getDefaultJSON = function getDefaultJSON() {
91
112
  borderColor: '',
92
113
  borderRadius: 7
93
114
  },
115
+ spacing: {
116
+ pc: {
117
+ paddingTop: 2,
118
+ paddingBottom: 2,
119
+ paddingLeft: 3,
120
+ paddingRight: 3
121
+ },
122
+ mobile: {
123
+ paddingTop: 2,
124
+ paddingBottom: 2,
125
+ paddingLeft: 3,
126
+ paddingRight: 3
127
+ }
128
+ },
94
129
  buttonIcon: {
95
130
  iconUrl: '',
96
131
  layout: 'right'
@@ -99,11 +134,13 @@ var getDefaultJSON = function getDefaultJSON() {
99
134
  },
100
135
  productName: {
101
136
  id: (0, _uuid.v4)(),
137
+ contentId: contentId,
102
138
  open: true,
103
139
  type: 'Text',
104
140
  specialContent: [],
105
141
  text: 'Flash Deal',
106
142
  content: {
143
+ sizeType: 'Customize font styles',
107
144
  fontFamily: 'Open Sans',
108
145
  fontWeight: 500,
109
146
  fontSize: 14,
@@ -121,11 +158,13 @@ var getDefaultJSON = function getDefaultJSON() {
121
158
  },
122
159
  activityPrice: {
123
160
  id: (0, _uuid.v4)(),
161
+ contentId: contentId,
124
162
  open: true,
125
163
  type: 'Text',
126
164
  specialContent: [],
127
165
  text: 'Flash Deal',
128
166
  content: {
167
+ sizeType: 'Customize font styles',
129
168
  fontFamily: 'Open Sans',
130
169
  fontWeight: 600,
131
170
  fontSize: 14,
@@ -143,11 +182,13 @@ var getDefaultJSON = function getDefaultJSON() {
143
182
  },
144
183
  salesPrice: {
145
184
  id: (0, _uuid.v4)(),
185
+ contentId: contentId,
146
186
  open: true,
147
187
  type: 'Text',
148
188
  specialContent: [],
149
189
  text: 'Flash Deal',
150
190
  content: {
191
+ sizeType: 'Customize font styles',
151
192
  fontFamily: 'Open Sans',
152
193
  fontWeight: 500,
153
194
  fontSize: 10,
@@ -264,7 +264,7 @@ function (_super) {
264
264
  })), /*#__PURE__*/_react["default"].createElement("div", {
265
265
  className: "message-wrap"
266
266
  }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
267
- color: "#262626",
267
+ color: "#fff",
268
268
  onClick: function onClick() {
269
269
  return (0, _coreUtil.clickUrl)('/message-center');
270
270
  },
@@ -19,6 +19,8 @@ var _common = require("../../../../../common");
19
19
 
20
20
  var _locale = require("../../../../../locale");
21
21
 
22
+ require("./index.less");
23
+
22
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
25
 
24
26
  var __extends = void 0 && (void 0).__extends || function () {
@@ -116,14 +118,22 @@ function (_super) {
116
118
  data: panelProps.salesPrice
117
119
  }),
118
120
  metaOption: panelProps.salesPrice
119
- }, {
120
- key: '5',
121
- name: (0, _locale.i18n)('SALES_PROGRESS'),
122
- value: null,
123
- metaOption: panelProps.salesProgressVisible
124
121
  }],
125
122
  type: "switch"
126
- }));
123
+ }), /*#__PURE__*/_react["default"].createElement("div", {
124
+ className: "sales_progress_wrap"
125
+ }, /*#__PURE__*/_react["default"].createElement("span", {
126
+ className: "label"
127
+ }, (0, _locale.i18n)('SALES_PROGRESS')), /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
128
+ checked: panelProps.salesProgressVisible.open,
129
+ onChange: function onChange(v) {
130
+ panelProps.salesProgressVisible = {
131
+ open: v
132
+ };
133
+
134
+ _this.reRender();
135
+ }
136
+ })));
127
137
  };
128
138
 
129
139
  AComponent.defaultProps = {
@@ -0,0 +1,20 @@
1
+ .flash_sale_content {
2
+
3
+ .sales_progress_wrap {
4
+ border-top: 1px solid #EDF0F4;
5
+ padding-top: 20px;
6
+ padding-bottom: 10px;
7
+ display: flex;
8
+ justify-content: space-between;
9
+
10
+ .label {
11
+ font-size: 16px !important;
12
+ line-height: 24px !important;
13
+ height: 24px !important;
14
+ font-weight: 600 !important;
15
+ color: #232F46;
16
+ font-family: 'Open Sans';
17
+ font-style: normal;
18
+ }
19
+ }
20
+ }
@@ -21,12 +21,19 @@ var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-pa
21
21
 
22
22
  var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
23
23
 
24
+ var _mobx = require("../../../../mobx");
25
+
24
26
  var _locale = require("../../../../locale");
25
27
 
26
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27
29
 
28
30
  function FlashDealConfig(props) {
29
31
  var data = props.data;
32
+
33
+ var getIsContentActive = function getIsContentActive(content) {
34
+ return JSON.stringify(content).includes(_mobx.store.clickedMetaParent);
35
+ };
36
+
30
37
  return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
31
38
  divider: "bold",
32
39
  headerSize: "large",
@@ -41,7 +48,8 @@ function FlashDealConfig(props) {
41
48
  name: (0, _locale.i18n)('CONTENT'),
42
49
  value: /*#__PURE__*/_react["default"].createElement(_FlashDealConfigContent["default"], {
43
50
  panelProps: data.content
44
- })
51
+ }),
52
+ active: getIsContentActive(data.content)
45
53
  }, {
46
54
  key: '3',
47
55
  name: (0, _locale.i18n)('SPACING'),
@@ -15,6 +15,8 @@ var _coreUtil = require("../../../utils/coreUtil");
15
15
 
16
16
  var _decorator = require("../../../decorator");
17
17
 
18
+ var _commonUtil = require("../../../utils/commonUtil");
19
+
18
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
21
 
20
22
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -117,7 +119,27 @@ function (_super) {
117
119
  border: data.buttonBorder.open && data.buttonBorder.borderColor ? "1px solid " + data.buttonBorder.borderColor : '1px solid transparent',
118
120
  borderRadius: data.buttonBorder.open ? data.buttonBorder.borderRadius : 0
119
121
  }, data.buttonText), {
120
- fontSize: window.magicDesign.device == 'pc' ? data.buttonText.pcFontSize : data.buttonText.fontSize
122
+ fontSize: window.magicDesign.device == 'pc' ? data.buttonText.pcFontSize : data.buttonText.fontSize,
123
+ paddingTop: window.magicDesign.device == 'pc' ? (0, _commonUtil.ensure)(function () {
124
+ return data.spacing.pc.paddingTop;
125
+ }, 10) : (0, _commonUtil.ensure)(function () {
126
+ return data.spacing.mobile.paddingTop;
127
+ }, 10),
128
+ paddingBottom: window.magicDesign.device == 'pc' ? (0, _commonUtil.ensure)(function () {
129
+ return data.spacing.pc.paddingBottom;
130
+ }, 10) : (0, _commonUtil.ensure)(function () {
131
+ return data.spacing.mobile.paddingBottom;
132
+ }, 10),
133
+ paddingLeft: window.magicDesign.device == 'pc' ? (0, _commonUtil.ensure)(function () {
134
+ return data.spacing.pc.paddingLeft;
135
+ }, 10) : (0, _commonUtil.ensure)(function () {
136
+ return data.spacing.mobile.paddingLeft;
137
+ }, 10),
138
+ paddingRight: window.magicDesign.device == 'pc' ? (0, _commonUtil.ensure)(function () {
139
+ return data.spacing.pc.paddingRight;
140
+ }, 10) : (0, _commonUtil.ensure)(function () {
141
+ return data.spacing.mobile.paddingRight;
142
+ }, 10)
121
143
  });
122
144
 
123
145
  var iconUrl = data.buttonIcon.iconUrl;
@@ -77,7 +77,7 @@ function (_super) {
77
77
  return /*#__PURE__*/_react["default"].createElement("div", {
78
78
  className: (0, _classnames["default"])('button-comp-wrap', (_a = {}, _a[nodeData.customize.layout] = true, _a[nodeData.customize.align] = true, _a)),
79
79
  onClick: this.onComponentClick
80
- }, nodeData.groupSource.map(function (m) {
80
+ }, nodeData.groupSource && nodeData.groupSource.map(function (m) {
81
81
  return /*#__PURE__*/_react["default"].createElement("div", {
82
82
  className: "secondary-button"
83
83
  }, /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
@@ -102,8 +102,7 @@ function (_super) {
102
102
  ImageTextMobile.prototype.render = function () {
103
103
  var _this = this;
104
104
 
105
- var data = this.props.data; // const { ready } = this.state;
106
- // console.log('----imagetext mobile', data);
105
+ var data = this.props.data; // console.log('----imagetext mobile', data);
107
106
 
108
107
  var wrapStyle = {};
109
108
  wrapStyle.textAlign = data.customize.align; // if (data.background.bgType === 'color') {
@@ -59,8 +59,8 @@
59
59
  }
60
60
  .card-btn-wrap {
61
61
  display: flex;
62
- .card-first-btn {
63
- margin-right: 12px;
62
+ .card-second-btn {
63
+ margin-left: 12px;
64
64
  }
65
65
  }
66
66
  }
@@ -94,8 +94,8 @@
94
94
  }
95
95
  .card-btn-wrap {
96
96
  display: flex;
97
- .card-first-btn {
98
- margin-right: 12px;
97
+ .card-second-btn {
98
+ margin-left: 12px;
99
99
  }
100
100
  }
101
101
  }
@@ -135,8 +135,8 @@
135
135
  flex-direction: column;
136
136
  }
137
137
 
138
- .card-second-btn {
139
- margin-top: 8px;
138
+ .card-first-btn, .card-second-btn {
139
+ margin-bottom: 8px;
140
140
  }
141
141
  }
142
142
  .card-margin-bottom {
@@ -170,8 +170,8 @@
170
170
  }
171
171
  .card-btn-wrap {
172
172
  display: flex;
173
- .card-first-btn {
174
- margin-right: 12px;
173
+ .card-second-btn {
174
+ margin-left: 12px;
175
175
  }
176
176
  }
177
177
  }
@@ -11,6 +11,8 @@ require("./index.less");
11
11
 
12
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
13
 
14
+ var _lodash = require("lodash");
15
+
14
16
  var _AlignSelector = require("../../../../../common/AlignSelector");
15
17
 
16
18
  var _components = require("../../../../../meta-comp/components");
@@ -63,7 +65,7 @@ var __assign = void 0 && (void 0).__assign || function () {
63
65
 
64
66
  var maxWidthAndHeight = {
65
67
  normal: 410,
66
- outside: 100,
68
+ outside: 86,
67
69
  center: 410
68
70
  };
69
71
 
@@ -76,17 +78,26 @@ function (_super) {
76
78
  var _this = _super !== null && _super.apply(this, arguments) || this;
77
79
 
78
80
  _this.state = {
79
- hoverIndex: -1
80
- }; // componentDidMount() {
81
- // this.distroy = autorun(() => {
82
- // this.setState({
83
- // clickedGroup: store.clickedGroup,
84
- // });
85
- // });
86
- // }
87
- // componentWillUnmount() {
88
- // this.distroy();
89
- // }
81
+ hoverIndex: -1,
82
+ currentMaxWidth: 410
83
+ };
84
+
85
+ _this.listenCardWidth = function () {
86
+ var _a;
87
+
88
+ var data = _this.props.data;
89
+
90
+ try {
91
+ var cardWidth = ((_a = document.querySelector('.group-wrap .one-card')) === null || _a === void 0 ? void 0 : _a.offsetWidth) - 40;
92
+ var maxLayoutWidth = maxWidthAndHeight[data.customize.layout.pcLayout];
93
+
94
+ _this.setState({
95
+ currentMaxWidth: Math.min(cardWidth, maxLayoutWidth)
96
+ });
97
+ } catch (error) {
98
+ console.log(error);
99
+ }
100
+ };
90
101
 
91
102
  _this.calcWidth = function (num) {
92
103
  return (100 - (num - 1) * 2) / num + "%";
@@ -114,14 +125,31 @@ function (_super) {
114
125
  return _this;
115
126
  }
116
127
 
128
+ ImageTextPc.prototype.componentDidMount = function () {
129
+ var data = this.props.data;
130
+ this.layout = data.customize.layout.pcLayout;
131
+ this.listenCardWidth();
132
+ window.addEventListener('resize', (0, _lodash.debounce)(this.listenCardWidth));
133
+ };
134
+
135
+ ImageTextPc.prototype.componentWillUnmount = function () {
136
+ window.removeEventListener('resize', this.listenCardWidth);
137
+ };
138
+
139
+ ImageTextPc.prototype.componentWillReceiveProps = function (nextProps) {
140
+ if (nextProps.data.customize.layout.pcLayout !== this.layout) {
141
+ this.layout = nextProps.data.customize.layout.pcLayout;
142
+ this.listenCardWidth();
143
+ }
144
+ };
145
+
117
146
  ImageTextPc.prototype.render = function () {
118
147
  var _this = this;
119
148
 
120
149
  var data = this.props.data;
121
- var hoverIndex = this.state.hoverIndex; // console.log('====================================');
122
- // console.log(data);
123
- // console.log('====================================');
124
-
150
+ var _a = this.state,
151
+ hoverIndex = _a.hoverIndex,
152
+ currentMaxWidth = _a.currentMaxWidth;
125
153
  var wrapStyle = {};
126
154
  wrapStyle.alignItems = _AlignSelector.alignItemMap[data.customize.align];
127
155
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -156,7 +184,7 @@ function (_super) {
156
184
  data: hoverIndex == i ? source.hover.image : source.image,
157
185
  limitWidthHeight: true,
158
186
  maxHeight: maxWidthAndHeight[data.customize.layout.pcLayout],
159
- maxWidth: maxWidthAndHeight[data.customize.layout.pcLayout],
187
+ maxWidth: currentMaxWidth,
160
188
  scale: 0.5
161
189
  })), (source.title.open && data.customize.layout.pcLayout !== 'center' && hoverIndex != i || hoverIndex == i && source.hover.title.open && data.customize.layout.pcLayout !== 'center') && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
162
190
  className: "card-title",
@@ -81,7 +81,7 @@ function (_super) {
81
81
  className: "tag-image"
82
82
  }, /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
83
83
  data: nodeData.content.image
84
- })), nodeData.groupSource.map(function (m) {
84
+ })), nodeData.groupSource && nodeData.groupSource.map(function (m) {
85
85
  return /*#__PURE__*/_react["default"].createElement("div", {
86
86
  className: "first-button"
87
87
  }, /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
@@ -164,7 +164,7 @@ function (_super) {
164
164
  }),
165
165
  metaOption: data.groupSource
166
166
  }, {
167
- key: '2',
167
+ key: 'imageText3',
168
168
  name: (0, _locale.i18n)('SPACING'),
169
169
  value: /*#__PURE__*/_react["default"].createElement(_SpacingConfig["default"], {
170
170
  data: data.spacing
@@ -173,6 +173,7 @@ function (_super) {
173
173
  key: 'imageText4',
174
174
  name: (0, _locale.i18n)('CUSTOMIZE'),
175
175
  value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
176
+ component: "imageText",
176
177
  data: data.customize,
177
178
  layoutSource: (0, _coreUtil.isPc)() ? _layout.imageTextLayoutPc : _layout.imageTextLayoutMobile,
178
179
  selectedLayoutFun: function selectedLayoutFun(v) {
@@ -85,40 +85,35 @@ function (_super) {
85
85
  value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
86
86
  data: panelProps.title
87
87
  }),
88
- metaOption: panelProps.title,
89
- toggleType: 'switch'
88
+ metaOption: panelProps.title
90
89
  }, {
91
90
  key: '3',
92
91
  name: (0, _locale.i18n)('TEXT'),
93
92
  value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
94
93
  data: panelProps.text
95
94
  }),
96
- metaOption: panelProps.text,
97
- toggleType: 'switch'
95
+ metaOption: panelProps.text
98
96
  }, {
99
97
  key: '4',
100
98
  name: (0, _locale.i18n)('IMAGE_TAG'),
101
99
  value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
102
100
  data: panelProps.imageTag
103
101
  }),
104
- metaOption: panelProps.imageTag,
105
- toggleType: 'switch'
102
+ metaOption: panelProps.imageTag
106
103
  }, {
107
104
  key: '5',
108
105
  name: (0, _locale.i18n)('BUTTON_TAG'),
109
106
  value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
110
107
  data: panelProps.buttonTag
111
108
  }),
112
- metaOption: panelProps.buttonTag,
113
- toggleType: 'switch'
109
+ metaOption: panelProps.buttonTag
114
110
  }, {
115
111
  key: '6',
116
112
  name: (0, _locale.i18n)('SECONDARY_BUTTON_TAG'),
117
113
  value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
118
114
  data: panelProps.secondButtonTag
119
115
  }),
120
- metaOption: panelProps.secondButtonTag,
121
- toggleType: 'switch'
116
+ metaOption: panelProps.secondButtonTag
122
117
  }];
123
118
 
124
119
  var _textSource = _mobx.store.CarouselStore[panelProps.compId] === 'layout2' ? textSource : [];
@@ -136,7 +131,8 @@ function (_super) {
136
131
  }),
137
132
  metaOption: panelProps.image,
138
133
  toggleType: 'switch'
139
- }], _textSource)
134
+ }], _textSource),
135
+ type: "switch"
140
136
  });
141
137
  };
142
138
 
@@ -149,8 +145,7 @@ function (_super) {
149
145
  key: '1',
150
146
  name: (0, _locale.i18n)('CONTENT'),
151
147
  value: getConfig()
152
- }],
153
- type: "triangle"
148
+ }]
154
149
  }));
155
150
  };
156
151
 
@@ -121,6 +121,21 @@ function (_super) {
121
121
  _this.props.store.setState({
122
122
  CarouselStore: __assign(__assign({}, _mobx.store.CarouselStore), (_a = {}, _a[id] = v, _a))
123
123
  });
124
+ } // 图文组件,移动端,只有第3个组件可选列数
125
+
126
+
127
+ if (component === 'imageText') {
128
+ if (!(0, _coreUtil.isPc)()) {
129
+ if (v === 'normal3') {
130
+ _this.setState({
131
+ showRowNum: true
132
+ });
133
+ } else {
134
+ _this.setState({
135
+ showRowNum: false
136
+ });
137
+ }
138
+ }
124
139
  } // 移动端导航特殊处理
125
140
  // 更改需求,两个布局都需 可选行数
126
141
  // if (component == 'mobileNavigation') {
@@ -8,11 +8,13 @@ exports.getDefaultJSON = void 0;
8
8
  var _uuid = require("uuid");
9
9
 
10
10
  var getDefaultJSON = function getDefaultJSON() {
11
+ var contentId = (0, _uuid.v4)();
11
12
  return {
12
13
  id: (0, _uuid.v4)(),
13
14
  type: 'FLASH_DEAL',
14
15
  title: {
15
16
  icon: {
17
+ id: (0, _uuid.v4)(),
16
18
  open: true,
17
19
  url: '/get/resource/platform/conf/20220722/picture/组633391550411058986147840.png'
18
20
  },
@@ -23,6 +25,7 @@ var getDefaultJSON = function getDefaultJSON() {
23
25
  specialContent: [],
24
26
  text: 'Flash Deal',
25
27
  content: {
28
+ sizeType: 'Customize font styles',
26
29
  fontFamily: 'Open Sans',
27
30
  fontWeight: 600,
28
31
  fontSize: 14,
@@ -48,6 +51,7 @@ var getDefaultJSON = function getDefaultJSON() {
48
51
  backgroundColor: ''
49
52
  },
50
53
  buttonText: {
54
+ sizeType: 'Customize font styles',
51
55
  fontFamily: 'Open Sans',
52
56
  fontWeight: 600,
53
57
  fontSize: 12,
@@ -60,6 +64,20 @@ var getDefaultJSON = function getDefaultJSON() {
60
64
  borderColor: '',
61
65
  borderRadius: 6
62
66
  },
67
+ spacing: {
68
+ pc: {
69
+ paddingTop: 2,
70
+ paddingBottom: 2,
71
+ paddingLeft: 5,
72
+ paddingRight: 5
73
+ },
74
+ mobile: {
75
+ paddingTop: 2,
76
+ paddingBottom: 2,
77
+ paddingLeft: 5,
78
+ paddingRight: 5
79
+ }
80
+ },
63
81
  buttonIcon: {
64
82
  iconUrl: '/get/resource/platform/conf/20220719/picture/icon-arrow-right-s1549371733179686912.png',
65
83
  layout: 'right'
@@ -68,9 +86,11 @@ var getDefaultJSON = function getDefaultJSON() {
68
86
  }
69
87
  },
70
88
  content: {
89
+ id: contentId,
71
90
  sortType: '1',
72
91
  label: {
73
92
  id: (0, _uuid.v4)(),
93
+ contentId: contentId,
74
94
  open: true,
75
95
  type: 'BUTTON',
76
96
  text: 'Button',
@@ -79,6 +99,7 @@ var getDefaultJSON = function getDefaultJSON() {
79
99
  backgroundColor: '#CC1D20'
80
100
  },
81
101
  buttonText: {
102
+ sizeType: 'Customize font styles',
82
103
  fontFamily: 'Open Sans',
83
104
  fontWeight: 600,
84
105
  fontSize: 8,
@@ -91,6 +112,20 @@ var getDefaultJSON = function getDefaultJSON() {
91
112
  borderColor: '',
92
113
  borderRadius: 7
93
114
  },
115
+ spacing: {
116
+ pc: {
117
+ paddingTop: 2,
118
+ paddingBottom: 2,
119
+ paddingLeft: 3,
120
+ paddingRight: 3
121
+ },
122
+ mobile: {
123
+ paddingTop: 2,
124
+ paddingBottom: 2,
125
+ paddingLeft: 3,
126
+ paddingRight: 3
127
+ }
128
+ },
94
129
  buttonIcon: {
95
130
  iconUrl: '',
96
131
  layout: 'right'
@@ -99,11 +134,13 @@ var getDefaultJSON = function getDefaultJSON() {
99
134
  },
100
135
  productName: {
101
136
  id: (0, _uuid.v4)(),
137
+ contentId: contentId,
102
138
  open: true,
103
139
  type: 'Text',
104
140
  specialContent: [],
105
141
  text: 'Flash Deal',
106
142
  content: {
143
+ sizeType: 'Customize font styles',
107
144
  fontFamily: 'Open Sans',
108
145
  fontWeight: 500,
109
146
  fontSize: 14,
@@ -121,11 +158,13 @@ var getDefaultJSON = function getDefaultJSON() {
121
158
  },
122
159
  activityPrice: {
123
160
  id: (0, _uuid.v4)(),
161
+ contentId: contentId,
124
162
  open: true,
125
163
  type: 'Text',
126
164
  specialContent: [],
127
165
  text: 'Flash Deal',
128
166
  content: {
167
+ sizeType: 'Customize font styles',
129
168
  fontFamily: 'Open Sans',
130
169
  fontWeight: 600,
131
170
  fontSize: 14,
@@ -143,11 +182,13 @@ var getDefaultJSON = function getDefaultJSON() {
143
182
  },
144
183
  salesPrice: {
145
184
  id: (0, _uuid.v4)(),
185
+ contentId: contentId,
146
186
  open: true,
147
187
  type: 'Text',
148
188
  specialContent: [],
149
189
  text: 'Flash Deal',
150
190
  content: {
191
+ sizeType: 'Customize font styles',
151
192
  fontFamily: 'Open Sans',
152
193
  fontWeight: 500,
153
194
  fontSize: 10,
@@ -264,7 +264,7 @@ function (_super) {
264
264
  })), /*#__PURE__*/_react["default"].createElement("div", {
265
265
  className: "message-wrap"
266
266
  }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
267
- color: "#262626",
267
+ color: "#fff",
268
268
  onClick: function onClick() {
269
269
  return (0, _coreUtil.clickUrl)('/message-center');
270
270
  },
@@ -19,6 +19,8 @@ var _common = require("../../../../../common");
19
19
 
20
20
  var _locale = require("../../../../../locale");
21
21
 
22
+ require("./index.less");
23
+
22
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
25
 
24
26
  var __extends = void 0 && (void 0).__extends || function () {
@@ -116,14 +118,22 @@ function (_super) {
116
118
  data: panelProps.salesPrice
117
119
  }),
118
120
  metaOption: panelProps.salesPrice
119
- }, {
120
- key: '5',
121
- name: (0, _locale.i18n)('SALES_PROGRESS'),
122
- value: null,
123
- metaOption: panelProps.salesProgressVisible
124
121
  }],
125
122
  type: "switch"
126
- }));
123
+ }), /*#__PURE__*/_react["default"].createElement("div", {
124
+ className: "sales_progress_wrap"
125
+ }, /*#__PURE__*/_react["default"].createElement("span", {
126
+ className: "label"
127
+ }, (0, _locale.i18n)('SALES_PROGRESS')), /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
128
+ checked: panelProps.salesProgressVisible.open,
129
+ onChange: function onChange(v) {
130
+ panelProps.salesProgressVisible = {
131
+ open: v
132
+ };
133
+
134
+ _this.reRender();
135
+ }
136
+ })));
127
137
  };
128
138
 
129
139
  AComponent.defaultProps = {
@@ -0,0 +1,20 @@
1
+ .flash_sale_content {
2
+
3
+ .sales_progress_wrap {
4
+ border-top: 1px solid #EDF0F4;
5
+ padding-top: 20px;
6
+ padding-bottom: 10px;
7
+ display: flex;
8
+ justify-content: space-between;
9
+
10
+ .label {
11
+ font-size: 16px !important;
12
+ line-height: 24px !important;
13
+ height: 24px !important;
14
+ font-weight: 600 !important;
15
+ color: #232F46;
16
+ font-family: 'Open Sans';
17
+ font-style: normal;
18
+ }
19
+ }
20
+ }
@@ -21,12 +21,19 @@ var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-pa
21
21
 
22
22
  var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
23
23
 
24
+ var _mobx = require("../../../../mobx");
25
+
24
26
  var _locale = require("../../../../locale");
25
27
 
26
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27
29
 
28
30
  function FlashDealConfig(props) {
29
31
  var data = props.data;
32
+
33
+ var getIsContentActive = function getIsContentActive(content) {
34
+ return JSON.stringify(content).includes(_mobx.store.clickedMetaParent);
35
+ };
36
+
30
37
  return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
31
38
  divider: "bold",
32
39
  headerSize: "large",
@@ -41,7 +48,8 @@ function FlashDealConfig(props) {
41
48
  name: (0, _locale.i18n)('CONTENT'),
42
49
  value: /*#__PURE__*/_react["default"].createElement(_FlashDealConfigContent["default"], {
43
50
  panelProps: data.content
44
- })
51
+ }),
52
+ active: getIsContentActive(data.content)
45
53
  }, {
46
54
  key: '3',
47
55
  name: (0, _locale.i18n)('SPACING'),
@@ -15,6 +15,8 @@ var _coreUtil = require("../../../utils/coreUtil");
15
15
 
16
16
  var _decorator = require("../../../decorator");
17
17
 
18
+ var _commonUtil = require("../../../utils/commonUtil");
19
+
18
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
21
 
20
22
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -117,7 +119,27 @@ function (_super) {
117
119
  border: data.buttonBorder.open && data.buttonBorder.borderColor ? "1px solid " + data.buttonBorder.borderColor : '1px solid transparent',
118
120
  borderRadius: data.buttonBorder.open ? data.buttonBorder.borderRadius : 0
119
121
  }, data.buttonText), {
120
- fontSize: window.magicDesign.device == 'pc' ? data.buttonText.pcFontSize : data.buttonText.fontSize
122
+ fontSize: window.magicDesign.device == 'pc' ? data.buttonText.pcFontSize : data.buttonText.fontSize,
123
+ paddingTop: window.magicDesign.device == 'pc' ? (0, _commonUtil.ensure)(function () {
124
+ return data.spacing.pc.paddingTop;
125
+ }, 10) : (0, _commonUtil.ensure)(function () {
126
+ return data.spacing.mobile.paddingTop;
127
+ }, 10),
128
+ paddingBottom: window.magicDesign.device == 'pc' ? (0, _commonUtil.ensure)(function () {
129
+ return data.spacing.pc.paddingBottom;
130
+ }, 10) : (0, _commonUtil.ensure)(function () {
131
+ return data.spacing.mobile.paddingBottom;
132
+ }, 10),
133
+ paddingLeft: window.magicDesign.device == 'pc' ? (0, _commonUtil.ensure)(function () {
134
+ return data.spacing.pc.paddingLeft;
135
+ }, 10) : (0, _commonUtil.ensure)(function () {
136
+ return data.spacing.mobile.paddingLeft;
137
+ }, 10),
138
+ paddingRight: window.magicDesign.device == 'pc' ? (0, _commonUtil.ensure)(function () {
139
+ return data.spacing.pc.paddingRight;
140
+ }, 10) : (0, _commonUtil.ensure)(function () {
141
+ return data.spacing.mobile.paddingRight;
142
+ }, 10)
121
143
  });
122
144
 
123
145
  var iconUrl = data.buttonIcon.iconUrl;
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.63",
4
+ "version": "0.0.65",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",