@fonixtree/magic-design 2.0.93 → 2.0.95
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 +11 -3
- 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/common/index.js +8 -0
- package/es/composite-comp/bol/components/Banner/mobile/index.js +4 -2
- package/es/composite-comp/common/components/AffiliateProductItem/imgs/icon-cashback.svg +9 -0
- package/es/composite-comp/common/components/AffiliateProductItem/index.js +25 -14
- package/es/composite-comp/common/components/AffiliateProductItem/index.less +31 -1
- package/es/composite-comp/common/components/ProductItem/index.js +36 -22
- package/es/composite-comp/common/components/ProductItem/index.less +9 -0
- package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +1 -1
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -1
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +0 -3
- package/es/composite-comp/dito/components/GroupBuy/defaultJSON.js +232 -0
- package/es/composite-comp/dito/components/GroupBuy/index.js +86 -0
- package/es/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg.png +0 -0
- package/es/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg1.png +0 -0
- package/es/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg2.png +0 -0
- package/es/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg3.png +0 -0
- package/es/composite-comp/dito/components/GroupBuy/mobile/index.js +341 -0
- package/es/composite-comp/dito/components/GroupBuy/mobile/index.less +87 -0
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.js +11 -0
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +4 -2
- package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +4 -0
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +13 -1
- package/es/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +5 -3
- package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +174 -0
- package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.less +38 -0
- package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigTitle/index.js +103 -0
- package/es/composite-comp/dito/config-panels/GroupBuyConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/dito/config-panels/GroupBuyConfig/index.js +73 -0
- package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +7 -2
- package/es/composite-comp/{dito → nuri}/components/AffiliateRecommend/mobile/index.js +12 -10
- package/es/composite-comp/{dito → nuri}/components/AffiliateRecommend/pc/index.js +12 -10
- package/{lib/composite-comp/dito → es/composite-comp/nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +1 -1
- package/es/constants/component-types.js +9 -5
- package/es/constants/index.js +4 -0
- package/es/core/Renderer/index.js +27 -10
- package/es/decorator/metaDecorator.js +6 -2
- package/es/locale/en/en.json +5 -1
- package/es/locale/es/es.json +4 -0
- package/es/locale/id/id.json +5 -1
- package/es/utils/commonUtil.js +16 -0
- package/lib/assets/fonts/magic-box-iconfont.css +11 -3
- 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/common/index.js +8 -0
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +4 -2
- package/lib/composite-comp/common/components/AffiliateProductItem/imgs/icon-cashback.svg +9 -0
- package/lib/composite-comp/common/components/AffiliateProductItem/index.js +25 -14
- package/lib/composite-comp/common/components/AffiliateProductItem/index.less +31 -1
- package/lib/composite-comp/common/components/ProductItem/index.js +36 -22
- package/lib/composite-comp/common/components/ProductItem/index.less +9 -0
- package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +1 -1
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -1
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +0 -3
- package/lib/composite-comp/dito/components/GroupBuy/defaultJSON.js +232 -0
- package/lib/composite-comp/dito/components/GroupBuy/index.js +86 -0
- package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg.png +0 -0
- package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/GroupBuy/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/GroupBuy/mobile/index.js +341 -0
- package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +87 -0
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +11 -0
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +1 -1
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +4 -2
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +4 -0
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +13 -1
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +5 -3
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +174 -0
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.less +38 -0
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigTitle/index.js +103 -0
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/index.js +73 -0
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +7 -2
- package/lib/composite-comp/{dito → nuri}/components/AffiliateRecommend/mobile/index.js +12 -10
- package/lib/composite-comp/{dito → nuri}/components/AffiliateRecommend/pc/index.js +12 -10
- package/{es/composite-comp/dito → lib/composite-comp/nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.js +1 -1
- package/lib/constants/component-types.js +9 -5
- package/lib/constants/index.js +4 -0
- package/lib/core/Renderer/index.js +27 -10
- package/lib/decorator/metaDecorator.js +6 -2
- package/lib/locale/en/en.json +5 -1
- package/lib/locale/es/es.json +4 -0
- package/lib/locale/id/id.json +5 -1
- package/lib/utils/commonUtil.js +16 -0
- package/package.json +1 -1
- /package/es/composite-comp/{dito → nuri}/components/AffiliateRecommend/defaultJSON.js +0 -0
- /package/es/composite-comp/{dito → nuri}/components/AffiliateRecommend/index.js +0 -0
- /package/es/composite-comp/{dito → nuri}/components/AffiliateRecommend/mobile/index.less +0 -0
- /package/es/composite-comp/{dito → nuri}/components/AffiliateRecommend/pc/index.less +0 -0
- /package/es/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +0 -0
- /package/es/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
- /package/es/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +0 -0
- /package/es/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
- /package/es/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/index.js +0 -0
- /package/es/composite-comp/{dito → nuri}/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +0 -0
- /package/es/composite-comp/{dito → nuri}/second-config-panels/AffiliateRecommendSecondConfig/index.js +0 -0
- /package/es/composite-comp/{dito → nuri}/second-config-panels/AffiliateRecommendSecondConfig/index.less +0 -0
- /package/lib/composite-comp/{dito → nuri}/components/AffiliateRecommend/defaultJSON.js +0 -0
- /package/lib/composite-comp/{dito → nuri}/components/AffiliateRecommend/index.js +0 -0
- /package/lib/composite-comp/{dito → nuri}/components/AffiliateRecommend/mobile/index.less +0 -0
- /package/lib/composite-comp/{dito → nuri}/components/AffiliateRecommend/pc/index.less +0 -0
- /package/lib/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.js +0 -0
- /package/lib/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigContent/index.less +0 -0
- /package/lib/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/RecommendConfigGroup/index.less +0 -0
- /package/lib/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/imgs/defaultImg.png +0 -0
- /package/lib/composite-comp/{dito → nuri}/config-panels/AffiliateRecommendConfig/index.js +0 -0
- /package/lib/composite-comp/{dito → nuri}/second-config-panels/AffiliateRecommendSecondConfig/AIRecommendation/index.js +0 -0
- /package/lib/composite-comp/{dito → nuri}/second-config-panels/AffiliateRecommendSecondConfig/index.js +0 -0
- /package/lib/composite-comp/{dito → nuri}/second-config-panels/AffiliateRecommendSecondConfig/index.less +0 -0
|
@@ -0,0 +1,174 @@
|
|
|
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 _antd = require("antd");
|
|
11
|
+
|
|
12
|
+
var _ButtonConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/ButtonConfig"));
|
|
13
|
+
|
|
14
|
+
var _TextConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/TextConfig"));
|
|
15
|
+
|
|
16
|
+
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
17
|
+
|
|
18
|
+
var _common = require("../../../../../common");
|
|
19
|
+
|
|
20
|
+
var _locale = require("../../../../../locale");
|
|
21
|
+
|
|
22
|
+
require("./index.less");
|
|
23
|
+
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
|
+
|
|
26
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
27
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
28
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
29
|
+
__proto__: []
|
|
30
|
+
} instanceof Array && function (d, b) {
|
|
31
|
+
d.__proto__ = b;
|
|
32
|
+
} || function (d, b) {
|
|
33
|
+
for (var p in b) {
|
|
34
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
return _extendStatics(d, b);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
return function (d, b) {
|
|
42
|
+
_extendStatics(d, b);
|
|
43
|
+
|
|
44
|
+
function __() {
|
|
45
|
+
this.constructor = d;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
49
|
+
};
|
|
50
|
+
}();
|
|
51
|
+
|
|
52
|
+
var AComponent =
|
|
53
|
+
/** @class */
|
|
54
|
+
function (_super) {
|
|
55
|
+
__extends(AComponent, _super);
|
|
56
|
+
|
|
57
|
+
function AComponent() {
|
|
58
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
59
|
+
|
|
60
|
+
_this.state = {};
|
|
61
|
+
|
|
62
|
+
_this.reRender = function () {
|
|
63
|
+
(0, _coreUtil.renderPreview)();
|
|
64
|
+
|
|
65
|
+
_this.setState({});
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
return _this;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
AComponent.prototype.render = function () {
|
|
72
|
+
var _this = this;
|
|
73
|
+
|
|
74
|
+
var _a, _b;
|
|
75
|
+
|
|
76
|
+
var panelProps = this.props.panelProps;
|
|
77
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
78
|
+
className: "group_buy_content"
|
|
79
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
80
|
+
title: (0, _locale.i18n)('PRODUCT_SORT_BY')
|
|
81
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
82
|
+
onChange: function onChange(v) {
|
|
83
|
+
panelProps.sortType = v;
|
|
84
|
+
|
|
85
|
+
_this.reRender();
|
|
86
|
+
},
|
|
87
|
+
value: panelProps.sortType
|
|
88
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
89
|
+
value: "3"
|
|
90
|
+
}, (0, _locale.i18n)('PRICE')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
91
|
+
value: "1"
|
|
92
|
+
}, (0, _locale.i18n)('SALES')))), /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
93
|
+
headerSize: "middle",
|
|
94
|
+
onRefresh: this.reRender,
|
|
95
|
+
source: [{
|
|
96
|
+
key: '1',
|
|
97
|
+
name: (0, _locale.i18n)('GROUP_LABEL'),
|
|
98
|
+
value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
|
|
99
|
+
data: panelProps.label
|
|
100
|
+
}),
|
|
101
|
+
metaOption: panelProps.label
|
|
102
|
+
}, {
|
|
103
|
+
key: '2',
|
|
104
|
+
name: (0, _locale.i18n)('PRODUCT_NAME'),
|
|
105
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
106
|
+
data: panelProps.productName
|
|
107
|
+
}),
|
|
108
|
+
metaOption: panelProps.productName
|
|
109
|
+
}, {
|
|
110
|
+
key: '3',
|
|
111
|
+
name: (0, _locale.i18n)('ACTIVITY_PRICE'),
|
|
112
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
113
|
+
data: panelProps.activityPrice
|
|
114
|
+
}),
|
|
115
|
+
metaOption: panelProps.activityPrice
|
|
116
|
+
}, {
|
|
117
|
+
key: '4',
|
|
118
|
+
name: (0, _locale.i18n)('SALES_PRICE'),
|
|
119
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
120
|
+
data: panelProps.salesPrice
|
|
121
|
+
}),
|
|
122
|
+
metaOption: panelProps.salesPrice
|
|
123
|
+
}],
|
|
124
|
+
type: "switch"
|
|
125
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
126
|
+
className: "sales_progress_wrap"
|
|
127
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
128
|
+
className: "title"
|
|
129
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
130
|
+
className: "label"
|
|
131
|
+
}, (0, _locale.i18n)('SALES_PROGRESS')), /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
132
|
+
checked: (_a = panelProps.salesProgress) === null || _a === void 0 ? void 0 : _a.open,
|
|
133
|
+
onChange: function onChange(v) {
|
|
134
|
+
panelProps.salesProgress = {
|
|
135
|
+
open: v
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
_this.reRender();
|
|
139
|
+
}
|
|
140
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
141
|
+
className: "content"
|
|
142
|
+
}, /*#__PURE__*/_react["default"].createElement("p", {
|
|
143
|
+
className: "name"
|
|
144
|
+
}, (0, _locale.i18n)('PROGRESS_BAR_COLOR')), /*#__PURE__*/_react["default"].createElement(_common.ColorPickerInput, {
|
|
145
|
+
colorType: "rgba",
|
|
146
|
+
onChange: function onChange(v) {
|
|
147
|
+
panelProps.salesProgress = {
|
|
148
|
+
color: v
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
_this.reRender();
|
|
152
|
+
},
|
|
153
|
+
value: (_b = panelProps.salesProgress) === null || _b === void 0 ? void 0 : _b.color
|
|
154
|
+
}))));
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
AComponent.defaultProps = {
|
|
158
|
+
panelProps: {
|
|
159
|
+
sortType: '1',
|
|
160
|
+
label: {},
|
|
161
|
+
productName: {},
|
|
162
|
+
activityPrice: {},
|
|
163
|
+
salesPrice: {},
|
|
164
|
+
salesProgress: {
|
|
165
|
+
open: false,
|
|
166
|
+
color: '#000'
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
return AComponent;
|
|
171
|
+
}(_react["default"].Component);
|
|
172
|
+
|
|
173
|
+
var _default = AComponent;
|
|
174
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
.group_buy_content {
|
|
2
|
+
|
|
3
|
+
.sales_progress_wrap {
|
|
4
|
+
border-top: 1px solid #EDF0F4;
|
|
5
|
+
padding-top: 20px;
|
|
6
|
+
padding-bottom: 10px;
|
|
7
|
+
|
|
8
|
+
.title {
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
|
|
12
|
+
.label {
|
|
13
|
+
font-size: 16px !important;
|
|
14
|
+
line-height: 24px !important;
|
|
15
|
+
height: 24px !important;
|
|
16
|
+
font-weight: 600 !important;
|
|
17
|
+
color: hsl(219, 33%, 21%);
|
|
18
|
+
font-family: 'Open Sans';
|
|
19
|
+
font-style: normal;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.content {
|
|
24
|
+
position: relative;
|
|
25
|
+
|
|
26
|
+
.name {
|
|
27
|
+
font-size: 14px;
|
|
28
|
+
font-family: 'Open Sans';
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
color: #232F46;
|
|
31
|
+
margin-top: 20px;
|
|
32
|
+
margin-bottom: 10px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
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 _TextConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/TextConfig"));
|
|
11
|
+
|
|
12
|
+
var _ButtonConfig = _interopRequireDefault(require("../../../../../meta-comp/config-panels/ButtonConfig"));
|
|
13
|
+
|
|
14
|
+
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
15
|
+
|
|
16
|
+
var _common = require("../../../../../common");
|
|
17
|
+
|
|
18
|
+
var _locale = require("../../../../../locale");
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
+
|
|
22
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
23
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
24
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
25
|
+
__proto__: []
|
|
26
|
+
} instanceof Array && function (d, b) {
|
|
27
|
+
d.__proto__ = b;
|
|
28
|
+
} || function (d, b) {
|
|
29
|
+
for (var p in b) {
|
|
30
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
return _extendStatics(d, b);
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
return function (d, b) {
|
|
38
|
+
_extendStatics(d, b);
|
|
39
|
+
|
|
40
|
+
function __() {
|
|
41
|
+
this.constructor = d;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
45
|
+
};
|
|
46
|
+
}();
|
|
47
|
+
|
|
48
|
+
var AComponent =
|
|
49
|
+
/** @class */
|
|
50
|
+
function (_super) {
|
|
51
|
+
__extends(AComponent, _super);
|
|
52
|
+
|
|
53
|
+
function AComponent() {
|
|
54
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55
|
+
|
|
56
|
+
_this.state = {};
|
|
57
|
+
|
|
58
|
+
_this.reRender = function () {
|
|
59
|
+
(0, _coreUtil.renderPreview)();
|
|
60
|
+
|
|
61
|
+
_this.setState({});
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
return _this;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
AComponent.prototype.render = function () {
|
|
68
|
+
var panelProps = this.props.panelProps;
|
|
69
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
70
|
+
className: "group_buy_title"
|
|
71
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
72
|
+
headerSize: "middle",
|
|
73
|
+
onRefresh: this.reRender,
|
|
74
|
+
source: [{
|
|
75
|
+
key: '1',
|
|
76
|
+
name: (0, _locale.i18n)('HEADLINE'),
|
|
77
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
78
|
+
data: panelProps.headline
|
|
79
|
+
}),
|
|
80
|
+
metaOption: panelProps.headline
|
|
81
|
+
}, {
|
|
82
|
+
key: '2',
|
|
83
|
+
name: (0, _locale.i18n)('BUTTON'),
|
|
84
|
+
value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
|
|
85
|
+
data: panelProps.button
|
|
86
|
+
}),
|
|
87
|
+
metaOption: panelProps.button
|
|
88
|
+
}],
|
|
89
|
+
type: "switch"
|
|
90
|
+
}));
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
AComponent.defaultProps = {
|
|
94
|
+
panelProps: {
|
|
95
|
+
headline: {},
|
|
96
|
+
button: {}
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
return AComponent;
|
|
100
|
+
}(_react["default"].Component);
|
|
101
|
+
|
|
102
|
+
var _default = AComponent;
|
|
103
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = GroupBuyConfig;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _GroupBuyConfigTitle = _interopRequireDefault(require("./GroupBuyConfigTitle"));
|
|
11
|
+
|
|
12
|
+
var _GroupBuyConfigContent = _interopRequireDefault(require("./GroupBuyConfigContent"));
|
|
13
|
+
|
|
14
|
+
var _layout = _interopRequireDefault(require("./imgs/layout1.png"));
|
|
15
|
+
|
|
16
|
+
var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
|
|
17
|
+
|
|
18
|
+
var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
|
|
19
|
+
|
|
20
|
+
var _CustomizeConfig = _interopRequireDefault(require("../../../common/config-panels/CustomizeConfig"));
|
|
21
|
+
|
|
22
|
+
var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
|
|
23
|
+
|
|
24
|
+
var _locale = require("../../../../locale");
|
|
25
|
+
|
|
26
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
27
|
+
|
|
28
|
+
function GroupBuyConfig(props) {
|
|
29
|
+
var data = props.data;
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Collapse["default"], {
|
|
31
|
+
divider: "bold",
|
|
32
|
+
headerSize: "large",
|
|
33
|
+
source: [{
|
|
34
|
+
key: '1',
|
|
35
|
+
name: (0, _locale.i18n)('TITLE'),
|
|
36
|
+
value: /*#__PURE__*/_react["default"].createElement(_GroupBuyConfigTitle["default"], {
|
|
37
|
+
panelProps: data.title
|
|
38
|
+
})
|
|
39
|
+
}, {
|
|
40
|
+
key: '2',
|
|
41
|
+
name: (0, _locale.i18n)('CONTENT'),
|
|
42
|
+
value: /*#__PURE__*/_react["default"].createElement(_GroupBuyConfigContent["default"], {
|
|
43
|
+
panelProps: data.content
|
|
44
|
+
})
|
|
45
|
+
}, {
|
|
46
|
+
key: '3',
|
|
47
|
+
name: (0, _locale.i18n)('SPACING'),
|
|
48
|
+
value: /*#__PURE__*/_react["default"].createElement(_SpacingConfig["default"], {
|
|
49
|
+
configCompSpace: true,
|
|
50
|
+
data: data.spacing
|
|
51
|
+
})
|
|
52
|
+
}, {
|
|
53
|
+
key: '4',
|
|
54
|
+
name: (0, _locale.i18n)('CUSTOMIZE'),
|
|
55
|
+
value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
|
|
56
|
+
data: data.customize,
|
|
57
|
+
isHideAlign: true,
|
|
58
|
+
layoutSource: [{
|
|
59
|
+
id: 'layout1',
|
|
60
|
+
name: 'layout1',
|
|
61
|
+
image: _layout["default"]
|
|
62
|
+
}]
|
|
63
|
+
})
|
|
64
|
+
}, {
|
|
65
|
+
key: '5',
|
|
66
|
+
name: (0, _locale.i18n)('BACKGROUND'),
|
|
67
|
+
value: /*#__PURE__*/_react["default"].createElement(_BackgroundConfig["default"], {
|
|
68
|
+
data: data.background
|
|
69
|
+
})
|
|
70
|
+
}],
|
|
71
|
+
type: "triangle"
|
|
72
|
+
}));
|
|
73
|
+
}
|
package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js
CHANGED
|
@@ -83,11 +83,11 @@ function (_super) {
|
|
|
83
83
|
}, {
|
|
84
84
|
key: 'search2',
|
|
85
85
|
name: (0, _locale.i18n)('SEARCH_BOX'),
|
|
86
|
-
value: /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
86
|
+
value: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
87
87
|
style: {
|
|
88
88
|
marginTop: 20
|
|
89
89
|
},
|
|
90
|
-
title: (0, _locale.i18n)('
|
|
90
|
+
title: (0, _locale.i18n)('BOX_COLOR')
|
|
91
91
|
}, /*#__PURE__*/_react["default"].createElement(_common.ColorPickerInput, {
|
|
92
92
|
colorType: "rgba",
|
|
93
93
|
onChange: function onChange(v) {
|
|
@@ -100,6 +100,11 @@ function (_super) {
|
|
|
100
100
|
_this.selfRender();
|
|
101
101
|
},
|
|
102
102
|
value: (0, _coreUtil.isPc)() ? panelProps.box.color.pc : panelProps.box.color.mobile
|
|
103
|
+
})), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
104
|
+
style: {
|
|
105
|
+
marginTop: 20
|
|
106
|
+
},
|
|
107
|
+
title: (0, _locale.i18n)('BOX_BACKGROUND')
|
|
103
108
|
})),
|
|
104
109
|
metaOption: panelProps.box,
|
|
105
110
|
toggleType: 'switch'
|
|
@@ -314,8 +314,10 @@ function (_super) {
|
|
|
314
314
|
|
|
315
315
|
var _this = this;
|
|
316
316
|
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
var _e;
|
|
318
|
+
|
|
319
|
+
return __generator(this, function (_f) {
|
|
320
|
+
switch (_f.label) {
|
|
319
321
|
case 0:
|
|
320
322
|
panelProps = this.props.panelProps;
|
|
321
323
|
groupSource = this.state.groupSource;
|
|
@@ -341,10 +343,10 @@ function (_super) {
|
|
|
341
343
|
|
|
342
344
|
_a = (groupSource[index] || {}).prodIds, prodIds = _a === void 0 ? '' : _a;
|
|
343
345
|
newData = [];
|
|
344
|
-
|
|
346
|
+
_f.label = 1;
|
|
345
347
|
|
|
346
348
|
case 1:
|
|
347
|
-
|
|
349
|
+
_f.trys.push([1, 5,, 6]);
|
|
348
350
|
|
|
349
351
|
if (!(groupSource.length > 0)) return [3
|
|
350
352
|
/*break*/
|
|
@@ -358,22 +360,22 @@ function (_super) {
|
|
|
358
360
|
|
|
359
361
|
return [4
|
|
360
362
|
/*yield*/
|
|
361
|
-
, (0, _commonUtil.commonFetch)('/designer/v1/h5/nuri/distribute/product', {
|
|
363
|
+
, (0, _commonUtil.commonFetch)('/designer/v1/h5/nuri/distribute/product/es/page', {
|
|
362
364
|
affiliateProductIds: prodIds,
|
|
363
365
|
pageIndex: 1,
|
|
364
366
|
pageSize: prodIds.split(',').length || 20
|
|
365
|
-
}, '
|
|
367
|
+
}, 'POST')];
|
|
366
368
|
|
|
367
369
|
case 2:
|
|
368
|
-
res =
|
|
369
|
-
newData = __spreadArrays(res.list);
|
|
370
|
+
res = _f.sent();
|
|
371
|
+
newData = __spreadArrays((_e = res.pageInfo) === null || _e === void 0 ? void 0 : _e.list);
|
|
370
372
|
return [3
|
|
371
373
|
/*break*/
|
|
372
374
|
, 4];
|
|
373
375
|
|
|
374
376
|
case 3:
|
|
375
377
|
newData = [];
|
|
376
|
-
|
|
378
|
+
_f.label = 4;
|
|
377
379
|
|
|
378
380
|
case 4:
|
|
379
381
|
return [3
|
|
@@ -381,7 +383,7 @@ function (_super) {
|
|
|
381
383
|
, 6];
|
|
382
384
|
|
|
383
385
|
case 5:
|
|
384
|
-
e_1 =
|
|
386
|
+
e_1 = _f.sent();
|
|
385
387
|
newData = [];
|
|
386
388
|
return [3
|
|
387
389
|
/*break*/
|
|
@@ -309,8 +309,10 @@ function (_super) {
|
|
|
309
309
|
|
|
310
310
|
var _this = this;
|
|
311
311
|
|
|
312
|
-
|
|
313
|
-
|
|
312
|
+
var _e;
|
|
313
|
+
|
|
314
|
+
return __generator(this, function (_f) {
|
|
315
|
+
switch (_f.label) {
|
|
314
316
|
case 0:
|
|
315
317
|
panelProps = this.props.panelProps;
|
|
316
318
|
groupSource = this.state.groupSource;
|
|
@@ -336,10 +338,10 @@ function (_super) {
|
|
|
336
338
|
|
|
337
339
|
_a = (groupSource[index] || {}).prodIds, prodIds = _a === void 0 ? '' : _a;
|
|
338
340
|
newData = [];
|
|
339
|
-
|
|
341
|
+
_f.label = 1;
|
|
340
342
|
|
|
341
343
|
case 1:
|
|
342
|
-
|
|
344
|
+
_f.trys.push([1, 5,, 6]);
|
|
343
345
|
|
|
344
346
|
if (!(groupSource.length > 0)) return [3
|
|
345
347
|
/*break*/
|
|
@@ -353,22 +355,22 @@ function (_super) {
|
|
|
353
355
|
|
|
354
356
|
return [4
|
|
355
357
|
/*yield*/
|
|
356
|
-
, (0, _commonUtil.commonFetch)('/designer/v1/h5/nuri/distribute/product', {
|
|
358
|
+
, (0, _commonUtil.commonFetch)('/designer/v1/h5/nuri/distribute/product/es/page', {
|
|
357
359
|
affiliateProductIds: prodIds,
|
|
358
360
|
pageIndex: 1,
|
|
359
361
|
pageSize: prodIds.split(',').length || 20
|
|
360
|
-
}, '
|
|
362
|
+
}, 'POST')];
|
|
361
363
|
|
|
362
364
|
case 2:
|
|
363
|
-
res =
|
|
364
|
-
newData = __spreadArrays(res.list);
|
|
365
|
+
res = _f.sent();
|
|
366
|
+
newData = __spreadArrays((_e = res.pageInfo) === null || _e === void 0 ? void 0 : _e.list);
|
|
365
367
|
return [3
|
|
366
368
|
/*break*/
|
|
367
369
|
, 4];
|
|
368
370
|
|
|
369
371
|
case 3:
|
|
370
372
|
newData = [];
|
|
371
|
-
|
|
373
|
+
_f.label = 4;
|
|
372
374
|
|
|
373
375
|
case 4:
|
|
374
376
|
return [3
|
|
@@ -376,7 +378,7 @@ function (_super) {
|
|
|
376
378
|
, 6];
|
|
377
379
|
|
|
378
380
|
case 5:
|
|
379
|
-
e_1 =
|
|
381
|
+
e_1 = _f.sent();
|
|
380
382
|
newData = [];
|
|
381
383
|
return [3
|
|
382
384
|
/*break*/
|
|
@@ -15,7 +15,7 @@ var _Button = _interopRequireDefault(require("../../../../../common/Button"));
|
|
|
15
15
|
|
|
16
16
|
var _GroupList = _interopRequireDefault(require("../../../../../common/GroupList"));
|
|
17
17
|
|
|
18
|
-
var _defaultJSON = require("
|
|
18
|
+
var _defaultJSON = require("../../../../dito/components/Recommend/defaultJSON");
|
|
19
19
|
|
|
20
20
|
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
21
21
|
|
|
@@ -35,13 +35,15 @@ var _Location = _interopRequireDefault(require("../composite-comp/bol/components
|
|
|
35
35
|
|
|
36
36
|
var _FlashDeal = _interopRequireDefault(require("../composite-comp/dito/components/FlashDeal"));
|
|
37
37
|
|
|
38
|
+
var _GroupBuy = _interopRequireDefault(require("../composite-comp/dito/components/GroupBuy"));
|
|
39
|
+
|
|
38
40
|
var _SearchBar = _interopRequireDefault(require("../composite-comp/dito/components/SearchBar"));
|
|
39
41
|
|
|
40
42
|
var _SignBoard = _interopRequireDefault(require("../composite-comp/dito/components/SignBoard"));
|
|
41
43
|
|
|
42
44
|
var _Recommend = _interopRequireDefault(require("../composite-comp/dito/components/Recommend"));
|
|
43
45
|
|
|
44
|
-
var _AffiliateRecommend = _interopRequireDefault(require("../composite-comp/
|
|
46
|
+
var _AffiliateRecommend = _interopRequireDefault(require("../composite-comp/nuri/components/AffiliateRecommend"));
|
|
45
47
|
|
|
46
48
|
var _MobileNavigation = _interopRequireDefault(require("../composite-comp/dito/components/MobileNavigation"));
|
|
47
49
|
|
|
@@ -87,13 +89,15 @@ var _WalletNuriConfig = _interopRequireDefault(require("../composite-comp/bol/co
|
|
|
87
89
|
|
|
88
90
|
var _FlashDealConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/FlashDealConfig"));
|
|
89
91
|
|
|
92
|
+
var _GroupBuyConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/GroupBuyConfig"));
|
|
93
|
+
|
|
90
94
|
var _SearchBarConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/SearchBarConfig"));
|
|
91
95
|
|
|
92
96
|
var _SignBoardConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/SignBoardConfig"));
|
|
93
97
|
|
|
94
98
|
var _RecommendConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/RecommendConfig"));
|
|
95
99
|
|
|
96
|
-
var _AffiliateRecommendConfig = _interopRequireDefault(require("../composite-comp/
|
|
100
|
+
var _AffiliateRecommendConfig = _interopRequireDefault(require("../composite-comp/nuri/config-panels/AffiliateRecommendConfig"));
|
|
97
101
|
|
|
98
102
|
var _MobileNavigationConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/MobileNavigationConfig"));
|
|
99
103
|
|
|
@@ -131,7 +135,7 @@ var _WalletNuriSecondConfig = _interopRequireDefault(require("../composite-comp/
|
|
|
131
135
|
|
|
132
136
|
var _RecommendSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/RecommendSecondConfig"));
|
|
133
137
|
|
|
134
|
-
var _AffiliateRecommendSecondConfig = _interopRequireDefault(require("../composite-comp/
|
|
138
|
+
var _AffiliateRecommendSecondConfig = _interopRequireDefault(require("../composite-comp/nuri/second-config-panels/AffiliateRecommendSecondConfig"));
|
|
135
139
|
|
|
136
140
|
var _MobileNavigationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/MobileNavigationSecondConfig"));
|
|
137
141
|
|
|
@@ -155,13 +159,13 @@ var _a, _b, _c; // 组件
|
|
|
155
159
|
/**
|
|
156
160
|
* 渲染组件索引
|
|
157
161
|
*/
|
|
158
|
-
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[_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);
|
|
162
|
+
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);
|
|
159
163
|
/**
|
|
160
164
|
* 一级配置面板索引
|
|
161
165
|
*/
|
|
162
166
|
|
|
163
167
|
exports.componentMap = componentMap;
|
|
164
|
-
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[_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);
|
|
168
|
+
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);
|
|
165
169
|
/**
|
|
166
170
|
* 二级配置面板索引
|
|
167
171
|
*/
|
package/es/constants/index.js
CHANGED