@fonixtree/magic-design 1.0.111 → 1.0.112
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/assets/fonts/magic-box-iconfont.css +59 -7
- package/es/assets/fonts/magic-box-iconfont.js +1 -1
- package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/es/composite-comp/common/components/ImageLabel/index.js +2 -2
- package/es/composite-comp/common/components/ImageLabel/index.less +16 -7
- package/es/composite-comp/common/components/ProductItem/index.js +17 -17
- package/es/composite-comp/common/components/ProductItem/index.less +9 -2
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +5 -3
- package/es/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +5 -7
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +27 -0
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +2 -2
- package/es/composite-comp/dito/components/SearchBanner/defaultJSON.js +158 -0
- package/es/composite-comp/dito/components/SearchBanner/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/components/SearchBanner/imgs/pcDefImg1.png +0 -0
- package/es/composite-comp/dito/components/SearchBanner/index.js +108 -0
- package/es/composite-comp/dito/components/SearchBanner/mobile/index.js +294 -0
- package/es/composite-comp/dito/components/SearchBanner/mobile/index.less +108 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +14 -1
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.js +192 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.less +7 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigImageGroup/index.js +148 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigImageGroup/index.less +0 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigSetting/index.js +226 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigSetting/index.less +9 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/index.js +65 -0
- package/es/composite-comp/dito/second-config-panels/SearchBannerSecondConfig/index.js +98 -0
- package/es/constants/component-types.js +9 -3
- package/es/constants/index.js +4 -0
- package/es/core/Designer/ConfigPanel/index.js +1 -0
- package/es/locale/en/en.json +2 -0
- package/es/locale/es/es.json +2 -0
- package/es/locale/id/id.json +2 -0
- package/lib/assets/fonts/magic-box-iconfont.css +59 -7
- package/lib/assets/fonts/magic-box-iconfont.js +1 -1
- package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/lib/composite-comp/common/components/ImageLabel/index.js +2 -2
- package/lib/composite-comp/common/components/ImageLabel/index.less +16 -7
- package/lib/composite-comp/common/components/ProductItem/index.js +17 -17
- package/lib/composite-comp/common/components/ProductItem/index.less +9 -2
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +5 -3
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +5 -7
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +27 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +2 -2
- package/lib/composite-comp/dito/components/SearchBanner/defaultJSON.js +158 -0
- package/lib/composite-comp/dito/components/SearchBanner/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/components/SearchBanner/imgs/pcDefImg1.png +0 -0
- package/lib/composite-comp/dito/components/SearchBanner/index.js +108 -0
- package/lib/composite-comp/dito/components/SearchBanner/mobile/index.js +294 -0
- package/lib/composite-comp/dito/components/SearchBanner/mobile/index.less +108 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +14 -1
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.js +192 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.less +7 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigImageGroup/index.js +148 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigSetting/index.js +226 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigSetting/index.less +9 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/index.js +65 -0
- package/lib/composite-comp/dito/second-config-panels/SearchBannerSecondConfig/index.js +98 -0
- package/lib/constants/component-types.js +9 -3
- package/lib/constants/index.js +4 -0
- package/lib/core/Designer/ConfigPanel/index.js +1 -0
- package/lib/locale/en/en.json +2 -0
- package/lib/locale/es/es.json +2 -0
- package/lib/locale/id/id.json +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _mobxReact = require("mobx-react");
|
|
11
|
+
|
|
12
|
+
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
13
|
+
|
|
14
|
+
var _GroupList = _interopRequireDefault(require("../../../../../common/GroupList"));
|
|
15
|
+
|
|
16
|
+
var _Button = _interopRequireDefault(require("../../../../../common/Button"));
|
|
17
|
+
|
|
18
|
+
var _defaultJSON = require("../../../components/SearchBanner/defaultJSON");
|
|
19
|
+
|
|
20
|
+
var _defaultImg = _interopRequireDefault(require("../imgs/defaultImg.png"));
|
|
21
|
+
|
|
22
|
+
var _locale = require("../../../../../locale");
|
|
23
|
+
|
|
24
|
+
var _decorator = require("../../../../../decorator");
|
|
25
|
+
|
|
26
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
27
|
+
|
|
28
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
29
|
+
|
|
30
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
31
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
32
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
33
|
+
__proto__: []
|
|
34
|
+
} instanceof Array && function (d, b) {
|
|
35
|
+
d.__proto__ = b;
|
|
36
|
+
} || function (d, b) {
|
|
37
|
+
for (var p in b) {
|
|
38
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
return _extendStatics(d, b);
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
return function (d, b) {
|
|
46
|
+
_extendStatics(d, b);
|
|
47
|
+
|
|
48
|
+
function __() {
|
|
49
|
+
this.constructor = d;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
53
|
+
};
|
|
54
|
+
}();
|
|
55
|
+
|
|
56
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
|
57
|
+
var c = arguments.length,
|
|
58
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
59
|
+
d;
|
|
60
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {
|
|
61
|
+
if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
62
|
+
}
|
|
63
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
var notice = "Looks like you don't have any images in your gallery. Choose images to feature on this page.";
|
|
67
|
+
|
|
68
|
+
var AComponent =
|
|
69
|
+
/** @class */
|
|
70
|
+
function (_super) {
|
|
71
|
+
__extends(AComponent, _super);
|
|
72
|
+
|
|
73
|
+
function AComponent() {
|
|
74
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
75
|
+
|
|
76
|
+
_this.state = {};
|
|
77
|
+
|
|
78
|
+
_this.onClickItem = function (node) {
|
|
79
|
+
_this.props.store.setState({
|
|
80
|
+
clickedGroup: node.id
|
|
81
|
+
});
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
_this.onAddClick = function () {
|
|
85
|
+
var json = (0, _defaultJSON.groupSourceJSON)(_this.props.id);
|
|
86
|
+
|
|
87
|
+
_this.props.source.push(json);
|
|
88
|
+
|
|
89
|
+
_this.setState({});
|
|
90
|
+
|
|
91
|
+
(0, _coreUtil.renderPreview)();
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
_this.reRender = function () {
|
|
95
|
+
(0, _coreUtil.renderPreview)();
|
|
96
|
+
|
|
97
|
+
_this.setState({});
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
return _this;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
AComponent.prototype.render = function () {
|
|
104
|
+
var _a = this.props.source,
|
|
105
|
+
source = _a === void 0 ? [] : _a;
|
|
106
|
+
|
|
107
|
+
var _renderCard = function renderCard(src) {
|
|
108
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
109
|
+
className: "card_wrap"
|
|
110
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
111
|
+
alt: "",
|
|
112
|
+
src: ((0, _coreUtil.isPc)() ? src.image.content.pcImgSrc : src.image.content.h5ImgSrc) || _defaultImg["default"]
|
|
113
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
114
|
+
className: "name"
|
|
115
|
+
}, ((0, _coreUtil.isPc)() ? src.image.content.pcName : src.image.content.h5Name) || (0, _locale.i18n)('URL_IMAGE')));
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
119
|
+
className: "carousel_image"
|
|
120
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
121
|
+
className: "node_list"
|
|
122
|
+
}, source.length === 0 ? /*#__PURE__*/_react["default"].createElement("span", {
|
|
123
|
+
className: "notice"
|
|
124
|
+
}, notice) : /*#__PURE__*/_react["default"].createElement(_GroupList["default"], {
|
|
125
|
+
onClickItem: this.onClickItem,
|
|
126
|
+
renderCard: function renderCard(v) {
|
|
127
|
+
return _renderCard(v);
|
|
128
|
+
},
|
|
129
|
+
reRender: this.reRender,
|
|
130
|
+
source: source
|
|
131
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
132
|
+
className: "btn_wrap"
|
|
133
|
+
}, /*#__PURE__*/_react["default"].createElement(_Button["default"], {
|
|
134
|
+
icon: "icon-add",
|
|
135
|
+
onClick: this.onAddClick,
|
|
136
|
+
type: "primary"
|
|
137
|
+
}, (0, _locale.i18n)('ADD_IMAGE'))));
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
AComponent.defaultProps = {
|
|
141
|
+
source: []
|
|
142
|
+
};
|
|
143
|
+
AComponent = __decorate([(0, _mobxReact.inject)('store'), _mobxReact.observer, _decorator.updateConfigDecorator], AComponent);
|
|
144
|
+
return AComponent;
|
|
145
|
+
}(_react["default"].Component);
|
|
146
|
+
|
|
147
|
+
var _default = AComponent;
|
|
148
|
+
exports["default"] = _default;
|
|
File without changes
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _common = require("../../../../../common");
|
|
11
|
+
|
|
12
|
+
require("./index.less");
|
|
13
|
+
|
|
14
|
+
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
15
|
+
|
|
16
|
+
var _layout = require("../../../../../constants/layout");
|
|
17
|
+
|
|
18
|
+
var _CustomizeConfig = _interopRequireDefault(require("../../../../common/config-panels/CustomizeConfig"));
|
|
19
|
+
|
|
20
|
+
var _locale = require("../../../../../locale");
|
|
21
|
+
|
|
22
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
+
|
|
24
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
25
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
26
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
27
|
+
__proto__: []
|
|
28
|
+
} instanceof Array && function (d, b) {
|
|
29
|
+
d.__proto__ = b;
|
|
30
|
+
} || function (d, b) {
|
|
31
|
+
for (var p in b) {
|
|
32
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
return _extendStatics(d, b);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
return function (d, b) {
|
|
40
|
+
_extendStatics(d, b);
|
|
41
|
+
|
|
42
|
+
function __() {
|
|
43
|
+
this.constructor = d;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
47
|
+
};
|
|
48
|
+
}();
|
|
49
|
+
|
|
50
|
+
var BannerConfigSetting =
|
|
51
|
+
/** @class */
|
|
52
|
+
function (_super) {
|
|
53
|
+
__extends(BannerConfigSetting, _super);
|
|
54
|
+
|
|
55
|
+
function BannerConfigSetting() {
|
|
56
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
57
|
+
|
|
58
|
+
_this.reRender = function () {
|
|
59
|
+
(0, _coreUtil.renderPreview)();
|
|
60
|
+
|
|
61
|
+
_this.setState({});
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
return _this;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
BannerConfigSetting.prototype.render = function () {
|
|
68
|
+
var _this = this;
|
|
69
|
+
|
|
70
|
+
var setting = this.props.setting;
|
|
71
|
+
|
|
72
|
+
var autoplaySetting = /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
73
|
+
title: (0, _locale.i18n)('HOW_LONG_BETWEEN_SLIDES_(SECS)')
|
|
74
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
|
|
75
|
+
maxVal: 60,
|
|
76
|
+
minVal: 1,
|
|
77
|
+
onChange: function onChange(value) {
|
|
78
|
+
setting.autoplay.interval = value.count;
|
|
79
|
+
|
|
80
|
+
_this.reRender();
|
|
81
|
+
},
|
|
82
|
+
unit: "s",
|
|
83
|
+
value: {
|
|
84
|
+
count: setting.autoplay.interval
|
|
85
|
+
}
|
|
86
|
+
}));
|
|
87
|
+
|
|
88
|
+
var navigationSetting = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
89
|
+
title: (0, _locale.i18n)('NAVIGATION_ARROW')
|
|
90
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
|
|
91
|
+
needColor: true,
|
|
92
|
+
onChange: function onChange(value) {
|
|
93
|
+
setting.navigation.size = value.count;
|
|
94
|
+
setting.navigation.color = value.color;
|
|
95
|
+
|
|
96
|
+
_this.reRender();
|
|
97
|
+
},
|
|
98
|
+
unit: "px",
|
|
99
|
+
value: {
|
|
100
|
+
count: setting.navigation.size,
|
|
101
|
+
color: setting.navigation.color
|
|
102
|
+
}
|
|
103
|
+
})), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
104
|
+
title: (0, _locale.i18n)('SELECTED_ARROW')
|
|
105
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
|
|
106
|
+
needColor: true,
|
|
107
|
+
onChange: function onChange(value) {
|
|
108
|
+
setting.navigation.hoverSize = value.count;
|
|
109
|
+
setting.navigation.hoverColor = value.color;
|
|
110
|
+
|
|
111
|
+
_this.reRender();
|
|
112
|
+
},
|
|
113
|
+
unit: "px",
|
|
114
|
+
value: {
|
|
115
|
+
count: setting.navigation.hoverSize,
|
|
116
|
+
color: setting.navigation.hoverColor
|
|
117
|
+
}
|
|
118
|
+
})));
|
|
119
|
+
|
|
120
|
+
var dotsSetting = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
|
|
121
|
+
data: setting.dots,
|
|
122
|
+
isHideAlign: true,
|
|
123
|
+
layoutSource: _layout.bannerSlideLayout
|
|
124
|
+
}), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
125
|
+
title: (0, _locale.i18n)('SLIDE_BUTTON')
|
|
126
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
|
|
127
|
+
needColor: true,
|
|
128
|
+
onChange: function onChange(value) {
|
|
129
|
+
if ((0, _coreUtil.isPc)()) {
|
|
130
|
+
setting.dots.size.pc = value.count;
|
|
131
|
+
setting.dots.color.pc = value.color;
|
|
132
|
+
} else {
|
|
133
|
+
setting.dots.size.mobile = value.count;
|
|
134
|
+
setting.dots.color.mobile = value.color;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
_this.reRender();
|
|
138
|
+
},
|
|
139
|
+
unit: "px",
|
|
140
|
+
value: {
|
|
141
|
+
count: (0, _coreUtil.isPc)() ? setting.dots.size.pc : setting.dots.size.mobile,
|
|
142
|
+
color: (0, _coreUtil.isPc)() ? setting.dots.color.pc : setting.dots.color.mobile
|
|
143
|
+
}
|
|
144
|
+
})), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
145
|
+
title: (0, _locale.i18n)('SELECTED_BUTTON')
|
|
146
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
|
|
147
|
+
needColor: true,
|
|
148
|
+
onChange: function onChange(value) {
|
|
149
|
+
if ((0, _coreUtil.isPc)()) {
|
|
150
|
+
setting.dots.hoverSize.pc = value.count;
|
|
151
|
+
setting.dots.hoverColor.pc = value.color;
|
|
152
|
+
} else {
|
|
153
|
+
setting.dots.hoverSize.mobile = value.count;
|
|
154
|
+
setting.dots.hoverColor.mobile = value.color;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
_this.reRender();
|
|
158
|
+
},
|
|
159
|
+
unit: "px",
|
|
160
|
+
value: {
|
|
161
|
+
count: (0, _coreUtil.isPc)() ? setting.dots.hoverSize.pc : setting.dots.hoverSize.mobile,
|
|
162
|
+
color: (0, _coreUtil.isPc)() ? setting.dots.hoverColor.pc : setting.dots.hoverColor.mobile
|
|
163
|
+
}
|
|
164
|
+
})));
|
|
165
|
+
|
|
166
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
167
|
+
className: "banner_setting"
|
|
168
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
169
|
+
divider: "dashed",
|
|
170
|
+
onRefresh: this.reRender,
|
|
171
|
+
source: [{
|
|
172
|
+
key: '1',
|
|
173
|
+
name: (0, _locale.i18n)('AUTOPLAYS'),
|
|
174
|
+
value: autoplaySetting,
|
|
175
|
+
metaOption: setting.autoplay,
|
|
176
|
+
toggleType: 'switch'
|
|
177
|
+
}, {
|
|
178
|
+
key: '2',
|
|
179
|
+
name: (0, _locale.i18n)('SHOW_NAVIGATION_ARROW'),
|
|
180
|
+
value: navigationSetting,
|
|
181
|
+
metaOption: setting.navigation,
|
|
182
|
+
toggleType: 'switch'
|
|
183
|
+
}, {
|
|
184
|
+
key: '3',
|
|
185
|
+
name: (0, _locale.i18n)('SHOW_SLIDE_BUTTON'),
|
|
186
|
+
value: dotsSetting,
|
|
187
|
+
metaOption: setting.dots,
|
|
188
|
+
toggleType: 'switch'
|
|
189
|
+
}]
|
|
190
|
+
}));
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
BannerConfigSetting.defaultProps = {
|
|
194
|
+
setting: {
|
|
195
|
+
autoplay: {
|
|
196
|
+
open: false,
|
|
197
|
+
interval: 4
|
|
198
|
+
},
|
|
199
|
+
navigation: {
|
|
200
|
+
open: false,
|
|
201
|
+
size: 16,
|
|
202
|
+
color: '#384966',
|
|
203
|
+
hoverSize: 16,
|
|
204
|
+
hoverColor: '#384966'
|
|
205
|
+
},
|
|
206
|
+
dots: {
|
|
207
|
+
open: false,
|
|
208
|
+
layout: 'circle',
|
|
209
|
+
size: {
|
|
210
|
+
pc: 16,
|
|
211
|
+
mobile: 8
|
|
212
|
+
},
|
|
213
|
+
color: '#fff',
|
|
214
|
+
hoverSize: {
|
|
215
|
+
pc: 16,
|
|
216
|
+
mobile: 8
|
|
217
|
+
},
|
|
218
|
+
hoverColor: '#fff'
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
return BannerConfigSetting;
|
|
223
|
+
}(_react["default"].Component);
|
|
224
|
+
|
|
225
|
+
var _default = BannerConfigSetting;
|
|
226
|
+
exports["default"] = _default;
|
|
Binary file
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = Config;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _ConfigImageGroup = _interopRequireDefault(require("./ConfigImageGroup"));
|
|
11
|
+
|
|
12
|
+
var _ConfigContent = _interopRequireDefault(require("./ConfigContent"));
|
|
13
|
+
|
|
14
|
+
var _ConfigSetting = _interopRequireDefault(require("./ConfigSetting"));
|
|
15
|
+
|
|
16
|
+
var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
|
|
17
|
+
|
|
18
|
+
var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
|
|
19
|
+
|
|
20
|
+
var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
|
|
21
|
+
|
|
22
|
+
var _locale = require("../../../../locale");
|
|
23
|
+
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
|
+
|
|
26
|
+
function Config(props) {
|
|
27
|
+
var data = props.data;
|
|
28
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
|
|
29
|
+
divider: "bold",
|
|
30
|
+
headerSize: "large",
|
|
31
|
+
source: [{
|
|
32
|
+
key: '1',
|
|
33
|
+
name: (0, _locale.i18n)('CONTENT'),
|
|
34
|
+
value: /*#__PURE__*/_react["default"].createElement(_ConfigContent["default"], {
|
|
35
|
+
panelProps: data.content
|
|
36
|
+
})
|
|
37
|
+
}, {
|
|
38
|
+
key: '2',
|
|
39
|
+
name: (0, _locale.i18n)('GROUP'),
|
|
40
|
+
value: /*#__PURE__*/_react["default"].createElement(_ConfigImageGroup["default"], {
|
|
41
|
+
id: data.id,
|
|
42
|
+
source: data.groupSource
|
|
43
|
+
})
|
|
44
|
+
}, {
|
|
45
|
+
key: '3',
|
|
46
|
+
name: (0, _locale.i18n)('SETTING'),
|
|
47
|
+
value: /*#__PURE__*/_react["default"].createElement(_ConfigSetting["default"], {
|
|
48
|
+
setting: data.setting
|
|
49
|
+
})
|
|
50
|
+
}, {
|
|
51
|
+
key: '4',
|
|
52
|
+
name: (0, _locale.i18n)('SPACING'),
|
|
53
|
+
value: /*#__PURE__*/_react["default"].createElement(_SpacingConfig["default"], {
|
|
54
|
+
data: data.spacing
|
|
55
|
+
})
|
|
56
|
+
}, {
|
|
57
|
+
key: '5',
|
|
58
|
+
name: (0, _locale.i18n)('BACKGROUND'),
|
|
59
|
+
value: /*#__PURE__*/_react["default"].createElement(_BackgroundConfig["default"], {
|
|
60
|
+
data: data.background
|
|
61
|
+
})
|
|
62
|
+
}],
|
|
63
|
+
type: "triangle"
|
|
64
|
+
}));
|
|
65
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _coreUtil = require("../../../../utils/coreUtil");
|
|
11
|
+
|
|
12
|
+
var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
|
|
13
|
+
|
|
14
|
+
var _ImageConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/ImageConfig"));
|
|
15
|
+
|
|
16
|
+
var _locale = require("../../../../locale");
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
+
|
|
20
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
21
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
22
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
23
|
+
__proto__: []
|
|
24
|
+
} instanceof Array && function (d, b) {
|
|
25
|
+
d.__proto__ = b;
|
|
26
|
+
} || function (d, b) {
|
|
27
|
+
for (var p in b) {
|
|
28
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
return _extendStatics(d, b);
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
return function (d, b) {
|
|
36
|
+
_extendStatics(d, b);
|
|
37
|
+
|
|
38
|
+
function __() {
|
|
39
|
+
this.constructor = d;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
43
|
+
};
|
|
44
|
+
}();
|
|
45
|
+
|
|
46
|
+
var SearchBannerSecondConfig =
|
|
47
|
+
/** @class */
|
|
48
|
+
function (_super) {
|
|
49
|
+
__extends(SearchBannerSecondConfig, _super);
|
|
50
|
+
|
|
51
|
+
function SearchBannerSecondConfig() {
|
|
52
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
53
|
+
|
|
54
|
+
_this.state = {};
|
|
55
|
+
return _this;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
SearchBannerSecondConfig.prototype.render = function () {
|
|
59
|
+
var panelProps = this.props.panelProps;
|
|
60
|
+
|
|
61
|
+
var getConfig = function getConfig() {
|
|
62
|
+
return /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
|
|
63
|
+
headerSize: "middle",
|
|
64
|
+
onRefresh: function onRefresh() {
|
|
65
|
+
return (0, _coreUtil.renderPreview)();
|
|
66
|
+
},
|
|
67
|
+
source: [{
|
|
68
|
+
key: panelProps.image.id,
|
|
69
|
+
name: (0, _locale.i18n)('IMAGE'),
|
|
70
|
+
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
71
|
+
data: panelProps.image
|
|
72
|
+
}),
|
|
73
|
+
metaOption: panelProps.image
|
|
74
|
+
}]
|
|
75
|
+
});
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
79
|
+
className: "search_banner_second_conf_wrap"
|
|
80
|
+
}, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
|
|
81
|
+
divider: "bold",
|
|
82
|
+
headerSize: "large",
|
|
83
|
+
source: [{
|
|
84
|
+
key: '1',
|
|
85
|
+
name: (0, _locale.i18n)('CONTENT'),
|
|
86
|
+
value: getConfig()
|
|
87
|
+
}]
|
|
88
|
+
}));
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
SearchBannerSecondConfig.defaultProps = {
|
|
92
|
+
panelProps: {}
|
|
93
|
+
};
|
|
94
|
+
return SearchBannerSecondConfig;
|
|
95
|
+
}(_react["default"].Component);
|
|
96
|
+
|
|
97
|
+
var _default = SearchBannerSecondConfig;
|
|
98
|
+
exports["default"] = _default;
|
|
@@ -61,6 +61,8 @@ var _CommonFunctions = _interopRequireDefault(require("../composite-comp/dito/co
|
|
|
61
61
|
|
|
62
62
|
var _Bargain = _interopRequireDefault(require("../composite-comp/dito/components/Bargain"));
|
|
63
63
|
|
|
64
|
+
var _SearchBanner = _interopRequireDefault(require("../composite-comp/dito/components/SearchBanner"));
|
|
65
|
+
|
|
64
66
|
var _BannerConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/BannerConfig"));
|
|
65
67
|
|
|
66
68
|
var _DividerConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/DividerConfig"));
|
|
@@ -117,6 +119,8 @@ var _CommonFunctionsConfig = _interopRequireDefault(require("../composite-comp/d
|
|
|
117
119
|
|
|
118
120
|
var _BargainConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/BargainConfig"));
|
|
119
121
|
|
|
122
|
+
var _SearchBannerConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/SearchBannerConfig"));
|
|
123
|
+
|
|
120
124
|
var _BannerSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/BannerSecondConfig"));
|
|
121
125
|
|
|
122
126
|
var _TextSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/TextSecondConfig"));
|
|
@@ -155,6 +159,8 @@ var _OrdersSecondConfig = _interopRequireDefault(require("../composite-comp/dito
|
|
|
155
159
|
|
|
156
160
|
var _CommonFunctionsSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig"));
|
|
157
161
|
|
|
162
|
+
var _SearchBannerSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/SearchBannerSecondConfig"));
|
|
163
|
+
|
|
158
164
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
159
165
|
|
|
160
166
|
var _a, _b, _c; // 组件
|
|
@@ -163,17 +169,17 @@ var _a, _b, _c; // 组件
|
|
|
163
169
|
/**
|
|
164
170
|
* 渲染组件索引
|
|
165
171
|
*/
|
|
166
|
-
var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_GroupBuy["default"].type] = _GroupBuy["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_PersonalInformation["default"].type] = _PersonalInformation["default"], _a[_Orders["default"].type] = _Orders["default"], _a[_CommonFunctions["default"].type] = _CommonFunctions["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_AffiliateRecommend["default"].type] = _AffiliateRecommend["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[_Wallet["default"].type] = _Wallet["default"], _a[_WalletNuri["default"].type] = _WalletNuri["default"], _a[_CustomCode["default"].type] = _CustomCode["default"], _a[_Location["default"].type] = _Location["default"], _a[_Bargain["default"].type] = _Bargain["default"], _a);
|
|
172
|
+
var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_GroupBuy["default"].type] = _GroupBuy["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_PersonalInformation["default"].type] = _PersonalInformation["default"], _a[_Orders["default"].type] = _Orders["default"], _a[_CommonFunctions["default"].type] = _CommonFunctions["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_AffiliateRecommend["default"].type] = _AffiliateRecommend["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[_Wallet["default"].type] = _Wallet["default"], _a[_WalletNuri["default"].type] = _WalletNuri["default"], _a[_CustomCode["default"].type] = _CustomCode["default"], _a[_Location["default"].type] = _Location["default"], _a[_Bargain["default"].type] = _Bargain["default"], _a[_SearchBanner["default"].type] = _SearchBanner["default"], _a);
|
|
167
173
|
/**
|
|
168
174
|
* 一级配置面板索引
|
|
169
175
|
*/
|
|
170
176
|
|
|
171
177
|
exports.componentMap = componentMap;
|
|
172
|
-
var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_GroupBuy["default"].type] = _GroupBuyConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_PersonalInformation["default"].type] = _PersonalInformationConfig["default"], _b[_Orders["default"].type] = _OrdersConfig["default"], _b[_CommonFunctions["default"].type] = _CommonFunctionsConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_AffiliateRecommend["default"].type] = _AffiliateRecommendConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[_Wallet["default"].type] = _WalletConfig["default"], _b[_WalletNuri["default"].type] = _WalletNuriConfig["default"], _b[_CustomCode["default"].type] = _CustomCodeConfig["default"], _b[_Location["default"].type] = _LocationConfig["default"], _b[_Bargain["default"].type] = _BargainConfig["default"], _b);
|
|
178
|
+
var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_GroupBuy["default"].type] = _GroupBuyConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_PersonalInformation["default"].type] = _PersonalInformationConfig["default"], _b[_Orders["default"].type] = _OrdersConfig["default"], _b[_CommonFunctions["default"].type] = _CommonFunctionsConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_AffiliateRecommend["default"].type] = _AffiliateRecommendConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[_Wallet["default"].type] = _WalletConfig["default"], _b[_WalletNuri["default"].type] = _WalletNuriConfig["default"], _b[_CustomCode["default"].type] = _CustomCodeConfig["default"], _b[_Location["default"].type] = _LocationConfig["default"], _b[_Bargain["default"].type] = _BargainConfig["default"], _b[_SearchBanner["default"].type] = _SearchBannerConfig["default"], _b);
|
|
173
179
|
/**
|
|
174
180
|
* 二级配置面板索引
|
|
175
181
|
*/
|
|
176
182
|
|
|
177
183
|
exports.configPanelMap = configPanelMap;
|
|
178
|
-
var secondConfigPanelMap = (_c = {}, _c[_Banner["default"].type] = _BannerSecondConfig["default"], _c[_Video["default"].type] = _VideoSecondConfig["default"], _c[_Text["default"].type] = _TextSecondConfig["default"], _c[_ImageText["default"].type] = _ImageTextSecondConfig["default"], _c[_Recommend["default"].type] = _RecommendSecondConfig["default"], _c[_AffiliateRecommend["default"].type] = _AffiliateRecommendSecondConfig["default"], _c[_MobileNavigation["default"].type] = _MobileNavigationSecondConfig["default"], _c[_PcNavigation["default"].type] = _PcNavigationSecondConfig["default"], _c[_MenuNavigation["default"].type] = _MenuNavigationSecondConfig["default"], _c[_HeadNavigation["default"].type] = _HeadNavigationSecondConfig["default"], _c[_PersonalInformation["default"].type] = _PersonalInformationSecondConfig["default"], _c[_Orders["default"].type] = _OrdersSecondConfig["default"], _c[_CommonFunctions["default"].type] = _CommonFunctionsSecondConfig["default"], _c[_Carousel["default"].type] = _CarouselSecondConfig["default"], _c[_ImageGallery["default"].type] = _ImageGallerySecondConfig["default"], _c[_Tag["default"].type] = _TagSecondConfig["default"], _c[_Button["default"].type] = _ButtonSecondConfig["default"], _c[_Wallet["default"].type] = _WalletSecondConfig["default"], _c[_WalletNuri["default"].type] = _WalletNuriSecondConfig["default"], _c);
|
|
184
|
+
var secondConfigPanelMap = (_c = {}, _c[_Banner["default"].type] = _BannerSecondConfig["default"], _c[_Video["default"].type] = _VideoSecondConfig["default"], _c[_Text["default"].type] = _TextSecondConfig["default"], _c[_ImageText["default"].type] = _ImageTextSecondConfig["default"], _c[_Recommend["default"].type] = _RecommendSecondConfig["default"], _c[_AffiliateRecommend["default"].type] = _AffiliateRecommendSecondConfig["default"], _c[_MobileNavigation["default"].type] = _MobileNavigationSecondConfig["default"], _c[_PcNavigation["default"].type] = _PcNavigationSecondConfig["default"], _c[_MenuNavigation["default"].type] = _MenuNavigationSecondConfig["default"], _c[_HeadNavigation["default"].type] = _HeadNavigationSecondConfig["default"], _c[_PersonalInformation["default"].type] = _PersonalInformationSecondConfig["default"], _c[_Orders["default"].type] = _OrdersSecondConfig["default"], _c[_CommonFunctions["default"].type] = _CommonFunctionsSecondConfig["default"], _c[_Carousel["default"].type] = _CarouselSecondConfig["default"], _c[_ImageGallery["default"].type] = _ImageGallerySecondConfig["default"], _c[_Tag["default"].type] = _TagSecondConfig["default"], _c[_Button["default"].type] = _ButtonSecondConfig["default"], _c[_Wallet["default"].type] = _WalletSecondConfig["default"], _c[_WalletNuri["default"].type] = _WalletNuriSecondConfig["default"], _c[_SearchBanner["default"].type] = _SearchBannerSecondConfig["default"], _c);
|
|
179
185
|
exports.secondConfigPanelMap = secondConfigPanelMap;
|
package/lib/constants/index.js
CHANGED
|
@@ -82,6 +82,7 @@ var getSecondConfigName = function getSecondConfigName(selectedNode, clickedGrou
|
|
|
82
82
|
switch (selectedNode.type) {
|
|
83
83
|
case 'IMAGE_GALLERY':
|
|
84
84
|
case 'BANNER':
|
|
85
|
+
case 'SEARCH_BANNER':
|
|
85
86
|
groupName = ''; // if (!groupName) {
|
|
86
87
|
// groupName = isPc() ? panelProps.image?.content?.pcName : panelProps.image?.content?.h5Name;
|
|
87
88
|
// }
|
package/lib/locale/en/en.json
CHANGED
package/lib/locale/es/es.json
CHANGED
package/lib/locale/id/id.json
CHANGED