@fonixtree/magic-design 1.0.118 → 1.0.119
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/composite-comp/dito/components/SearchBanner/defaultJSON.js +1 -1
- package/es/composite-comp/dito/components/SearchBanner/mobile/index.js +6 -6
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.js +10 -10
- package/lib/composite-comp/dito/components/SearchBanner/defaultJSON.js +1 -1
- package/lib/composite-comp/dito/components/SearchBanner/mobile/index.js +6 -6
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.js +10 -10
- package/package.json +1 -1
|
@@ -179,15 +179,15 @@ function (_super) {
|
|
|
179
179
|
color: (_g = (_f = data.content.box) === null || _f === void 0 ? void 0 : _f.color) === null || _g === void 0 ? void 0 : _g.mobile,
|
|
180
180
|
size: (0, _commonUtil.convertToRem)(20),
|
|
181
181
|
type: "icon-search2"
|
|
182
|
-
})), ((_k = (_j = (_h = data.content) === null || _h === void 0 ? void 0 : _h.
|
|
182
|
+
})), ((_k = (_j = (_h = data.content) === null || _h === void 0 ? void 0 : _h.icons) === null || _j === void 0 ? void 0 : _j.cartIcon) === null || _k === void 0 ? void 0 : _k.open) && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
|
|
183
183
|
className: "right-icon",
|
|
184
|
-
data: (_m = (_l = data.content) === null || _l === void 0 ? void 0 : _l.
|
|
185
|
-
}), ((_q = (_p = (_o = data.content) === null || _o === void 0 ? void 0 : _o.
|
|
184
|
+
data: (_m = (_l = data.content) === null || _l === void 0 ? void 0 : _l.icons) === null || _m === void 0 ? void 0 : _m.cartIcon
|
|
185
|
+
}), ((_q = (_p = (_o = data.content) === null || _o === void 0 ? void 0 : _o.icons) === null || _p === void 0 ? void 0 : _p.chatbotIcon) === null || _q === void 0 ? void 0 : _q.open) && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
|
|
186
186
|
className: "right-icon",
|
|
187
|
-
data: (_s = (_r = data.content) === null || _r === void 0 ? void 0 : _r.
|
|
188
|
-
}), ((_v = (_u = (_t = data.content) === null || _t === void 0 ? void 0 : _t.
|
|
187
|
+
data: (_s = (_r = data.content) === null || _r === void 0 ? void 0 : _r.icons) === null || _s === void 0 ? void 0 : _s.chatbotIcon
|
|
188
|
+
}), ((_v = (_u = (_t = data.content) === null || _t === void 0 ? void 0 : _t.icons) === null || _u === void 0 ? void 0 : _u.messageIcon) === null || _v === void 0 ? void 0 : _v.open) && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
|
|
189
189
|
className: "right-icon",
|
|
190
|
-
data: (_x = (_w = data.content) === null || _w === void 0 ? void 0 : _w.
|
|
190
|
+
data: (_x = (_w = data.content) === null || _w === void 0 ? void 0 : _w.icons) === null || _x === void 0 ? void 0 : _x.messageIcon
|
|
191
191
|
})), data.content && ((_y = data.content.logo) === null || _y === void 0 ? void 0 : _y.open) && /*#__PURE__*/_react["default"].createElement("div", {
|
|
192
192
|
className: "logo",
|
|
193
193
|
onClick: function onClick() {
|
|
@@ -66,30 +66,30 @@ function (_super) {
|
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
_this.getIconPanel = function () {
|
|
69
|
-
var _a, _b, _c;
|
|
69
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
70
70
|
|
|
71
71
|
var panelProps = _this.props.panelProps;
|
|
72
72
|
var source = [{
|
|
73
|
-
key: (_a = panelProps.
|
|
73
|
+
key: (_b = (_a = panelProps.icons) === null || _a === void 0 ? void 0 : _a.cartIcon) === null || _b === void 0 ? void 0 : _b.id,
|
|
74
74
|
name: (0, _locale.i18n)('CART_ICON'),
|
|
75
75
|
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
76
|
-
data: panelProps.
|
|
76
|
+
data: (_c = panelProps.icons) === null || _c === void 0 ? void 0 : _c.cartIcon
|
|
77
77
|
}),
|
|
78
|
-
metaOption: panelProps.
|
|
78
|
+
metaOption: (_d = panelProps.icons) === null || _d === void 0 ? void 0 : _d.cartIcon
|
|
79
79
|
}, {
|
|
80
|
-
key: (
|
|
80
|
+
key: (_f = (_e = panelProps.icons) === null || _e === void 0 ? void 0 : _e.chatbotIcon) === null || _f === void 0 ? void 0 : _f.id,
|
|
81
81
|
name: (0, _locale.i18n)('CHATBOT_ICON'),
|
|
82
82
|
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
83
|
-
data: panelProps.
|
|
83
|
+
data: (_g = panelProps.icons) === null || _g === void 0 ? void 0 : _g.chatbotIcon
|
|
84
84
|
}),
|
|
85
|
-
metaOption: panelProps.
|
|
85
|
+
metaOption: (_h = panelProps.icons) === null || _h === void 0 ? void 0 : _h.chatbotIcon
|
|
86
86
|
}, {
|
|
87
|
-
key: (
|
|
87
|
+
key: (_k = (_j = panelProps.icons) === null || _j === void 0 ? void 0 : _j.messageIcon) === null || _k === void 0 ? void 0 : _k.id,
|
|
88
88
|
name: (0, _locale.i18n)('MESSAGE_ICON'),
|
|
89
89
|
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
90
|
-
data: panelProps.
|
|
90
|
+
data: (_l = panelProps.icons) === null || _l === void 0 ? void 0 : _l.messageIcon
|
|
91
91
|
}),
|
|
92
|
-
metaOption: panelProps.
|
|
92
|
+
metaOption: (_m = panelProps.icons) === null || _m === void 0 ? void 0 : _m.messageIcon
|
|
93
93
|
}];
|
|
94
94
|
return /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
95
95
|
headerSize: "middle",
|
|
@@ -179,15 +179,15 @@ function (_super) {
|
|
|
179
179
|
color: (_g = (_f = data.content.box) === null || _f === void 0 ? void 0 : _f.color) === null || _g === void 0 ? void 0 : _g.mobile,
|
|
180
180
|
size: (0, _commonUtil.convertToRem)(20),
|
|
181
181
|
type: "icon-search2"
|
|
182
|
-
})), ((_k = (_j = (_h = data.content) === null || _h === void 0 ? void 0 : _h.
|
|
182
|
+
})), ((_k = (_j = (_h = data.content) === null || _h === void 0 ? void 0 : _h.icons) === null || _j === void 0 ? void 0 : _j.cartIcon) === null || _k === void 0 ? void 0 : _k.open) && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
|
|
183
183
|
className: "right-icon",
|
|
184
|
-
data: (_m = (_l = data.content) === null || _l === void 0 ? void 0 : _l.
|
|
185
|
-
}), ((_q = (_p = (_o = data.content) === null || _o === void 0 ? void 0 : _o.
|
|
184
|
+
data: (_m = (_l = data.content) === null || _l === void 0 ? void 0 : _l.icons) === null || _m === void 0 ? void 0 : _m.cartIcon
|
|
185
|
+
}), ((_q = (_p = (_o = data.content) === null || _o === void 0 ? void 0 : _o.icons) === null || _p === void 0 ? void 0 : _p.chatbotIcon) === null || _q === void 0 ? void 0 : _q.open) && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
|
|
186
186
|
className: "right-icon",
|
|
187
|
-
data: (_s = (_r = data.content) === null || _r === void 0 ? void 0 : _r.
|
|
188
|
-
}), ((_v = (_u = (_t = data.content) === null || _t === void 0 ? void 0 : _t.
|
|
187
|
+
data: (_s = (_r = data.content) === null || _r === void 0 ? void 0 : _r.icons) === null || _s === void 0 ? void 0 : _s.chatbotIcon
|
|
188
|
+
}), ((_v = (_u = (_t = data.content) === null || _t === void 0 ? void 0 : _t.icons) === null || _u === void 0 ? void 0 : _u.messageIcon) === null || _v === void 0 ? void 0 : _v.open) && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
|
|
189
189
|
className: "right-icon",
|
|
190
|
-
data: (_x = (_w = data.content) === null || _w === void 0 ? void 0 : _w.
|
|
190
|
+
data: (_x = (_w = data.content) === null || _w === void 0 ? void 0 : _w.icons) === null || _x === void 0 ? void 0 : _x.messageIcon
|
|
191
191
|
})), data.content && ((_y = data.content.logo) === null || _y === void 0 ? void 0 : _y.open) && /*#__PURE__*/_react["default"].createElement("div", {
|
|
192
192
|
className: "logo",
|
|
193
193
|
onClick: function onClick() {
|
|
@@ -66,30 +66,30 @@ function (_super) {
|
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
_this.getIconPanel = function () {
|
|
69
|
-
var _a, _b, _c;
|
|
69
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
70
70
|
|
|
71
71
|
var panelProps = _this.props.panelProps;
|
|
72
72
|
var source = [{
|
|
73
|
-
key: (_a = panelProps.
|
|
73
|
+
key: (_b = (_a = panelProps.icons) === null || _a === void 0 ? void 0 : _a.cartIcon) === null || _b === void 0 ? void 0 : _b.id,
|
|
74
74
|
name: (0, _locale.i18n)('CART_ICON'),
|
|
75
75
|
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
76
|
-
data: panelProps.
|
|
76
|
+
data: (_c = panelProps.icons) === null || _c === void 0 ? void 0 : _c.cartIcon
|
|
77
77
|
}),
|
|
78
|
-
metaOption: panelProps.
|
|
78
|
+
metaOption: (_d = panelProps.icons) === null || _d === void 0 ? void 0 : _d.cartIcon
|
|
79
79
|
}, {
|
|
80
|
-
key: (
|
|
80
|
+
key: (_f = (_e = panelProps.icons) === null || _e === void 0 ? void 0 : _e.chatbotIcon) === null || _f === void 0 ? void 0 : _f.id,
|
|
81
81
|
name: (0, _locale.i18n)('CHATBOT_ICON'),
|
|
82
82
|
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
83
|
-
data: panelProps.
|
|
83
|
+
data: (_g = panelProps.icons) === null || _g === void 0 ? void 0 : _g.chatbotIcon
|
|
84
84
|
}),
|
|
85
|
-
metaOption: panelProps.
|
|
85
|
+
metaOption: (_h = panelProps.icons) === null || _h === void 0 ? void 0 : _h.chatbotIcon
|
|
86
86
|
}, {
|
|
87
|
-
key: (
|
|
87
|
+
key: (_k = (_j = panelProps.icons) === null || _j === void 0 ? void 0 : _j.messageIcon) === null || _k === void 0 ? void 0 : _k.id,
|
|
88
88
|
name: (0, _locale.i18n)('MESSAGE_ICON'),
|
|
89
89
|
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
90
|
-
data: panelProps.
|
|
90
|
+
data: (_l = panelProps.icons) === null || _l === void 0 ? void 0 : _l.messageIcon
|
|
91
91
|
}),
|
|
92
|
-
metaOption: panelProps.
|
|
92
|
+
metaOption: (_m = panelProps.icons) === null || _m === void 0 ? void 0 : _m.messageIcon
|
|
93
93
|
}];
|
|
94
94
|
return /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
95
95
|
headerSize: "middle",
|