@fonixtree/magic-design 2.0.104 → 2.0.106

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.
@@ -351,7 +351,7 @@ function (_super) {
351
351
  cartNum = _t.cartNum,
352
352
  value = _t.value;
353
353
 
354
- var style = __assign({}, (0, _Text.contentStyle)((_a = data.content.keyword) === null || _a === void 0 ? void 0 : _a.content));
354
+ var style = __assign({}, (0, _Text.contentStyle)(((_a = data.content.keyword) === null || _a === void 0 ? void 0 : _a.content) || {}));
355
355
 
356
356
  Reflect.deleteProperty(style, 'width');
357
357
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -152,7 +152,7 @@ function (_super) {
152
152
  var data = this.props.data;
153
153
  var inputVal = this.state.inputVal;
154
154
 
155
- var style = __assign({}, (0, _Text.contentStyle)((_a = data.content.keyword) === null || _a === void 0 ? void 0 : _a.content));
155
+ var style = __assign({}, (0, _Text.contentStyle)(((_a = data.content.keyword) === null || _a === void 0 ? void 0 : _a.content) || {}));
156
156
 
157
157
  Reflect.deleteProperty(style, 'width');
158
158
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -75,7 +75,7 @@ function (_super) {
75
75
  SearchBarConfigContent.prototype.render = function () {
76
76
  var _this = this;
77
77
 
78
- var _a, _b, _c, _d;
78
+ var _a, _b, _c, _d, _e;
79
79
 
80
80
  var panelProps = this.props.panelProps;
81
81
  var source = [{
@@ -126,7 +126,7 @@ function (_super) {
126
126
  metaOption: panelProps.box,
127
127
  toggleType: 'switch'
128
128
  }, {
129
- key: panelProps.keyword.id,
129
+ key: (_e = panelProps.keyword) === null || _e === void 0 ? void 0 : _e.id,
130
130
  name: (0, _locale.i18n)('SEARCH_BAR_KEYWORD'),
131
131
  toggleType: 'switch',
132
132
  value: /*#__PURE__*/_react["default"].createElement("div", {
@@ -351,7 +351,7 @@ function (_super) {
351
351
  cartNum = _t.cartNum,
352
352
  value = _t.value;
353
353
 
354
- var style = __assign({}, (0, _Text.contentStyle)((_a = data.content.keyword) === null || _a === void 0 ? void 0 : _a.content));
354
+ var style = __assign({}, (0, _Text.contentStyle)(((_a = data.content.keyword) === null || _a === void 0 ? void 0 : _a.content) || {}));
355
355
 
356
356
  Reflect.deleteProperty(style, 'width');
357
357
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -152,7 +152,7 @@ function (_super) {
152
152
  var data = this.props.data;
153
153
  var inputVal = this.state.inputVal;
154
154
 
155
- var style = __assign({}, (0, _Text.contentStyle)((_a = data.content.keyword) === null || _a === void 0 ? void 0 : _a.content));
155
+ var style = __assign({}, (0, _Text.contentStyle)(((_a = data.content.keyword) === null || _a === void 0 ? void 0 : _a.content) || {}));
156
156
 
157
157
  Reflect.deleteProperty(style, 'width');
158
158
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -75,7 +75,7 @@ function (_super) {
75
75
  SearchBarConfigContent.prototype.render = function () {
76
76
  var _this = this;
77
77
 
78
- var _a, _b, _c, _d;
78
+ var _a, _b, _c, _d, _e;
79
79
 
80
80
  var panelProps = this.props.panelProps;
81
81
  var source = [{
@@ -126,7 +126,7 @@ function (_super) {
126
126
  metaOption: panelProps.box,
127
127
  toggleType: 'switch'
128
128
  }, {
129
- key: panelProps.keyword.id,
129
+ key: (_e = panelProps.keyword) === null || _e === void 0 ? void 0 : _e.id,
130
130
  name: (0, _locale.i18n)('SEARCH_BAR_KEYWORD'),
131
131
  toggleType: 'switch',
132
132
  value: /*#__PURE__*/_react["default"].createElement("div", {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "2.0.104",
4
+ "version": "2.0.106",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",