@fonixtree/magic-design 1.0.174 → 1.0.176

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/es/composite-comp/dito/components/Campaign/mobile/index.js +2 -2
  2. package/es/composite-comp/dito/components/PersonalInformationSecond/defaultJSON.js +168 -0
  3. package/es/composite-comp/dito/components/PersonalInformationSecond/index.js +84 -0
  4. package/es/composite-comp/dito/components/PersonalInformationSecond/mobile/images/avatar.png +0 -0
  5. package/es/composite-comp/dito/components/PersonalInformationSecond/mobile/index.js +710 -0
  6. package/es/composite-comp/dito/components/PersonalInformationSecond/mobile/index.less +196 -0
  7. package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/ConfigDecoration/index.js +91 -0
  8. package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/ConfigDecoration/index.less +9 -0
  9. package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/OrdersConfigGroup/index.js +131 -0
  10. package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/PersonInfoConfigGroup/index.js +131 -0
  11. package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/index.js +127 -0
  12. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondSecondConfig/index.js +206 -0
  13. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondSecondConfig/index.less +9 -0
  14. package/es/constants/component-types.js +10 -4
  15. package/es/constants/index.js +4 -0
  16. package/es/core/Designer/ConfigPanel/index.js +1 -0
  17. package/es/decorator/compositeDecorator.js +1 -1
  18. package/lib/composite-comp/dito/components/Campaign/mobile/index.js +2 -2
  19. package/lib/composite-comp/dito/components/PersonalInformationSecond/defaultJSON.js +168 -0
  20. package/lib/composite-comp/dito/components/PersonalInformationSecond/index.js +84 -0
  21. package/lib/composite-comp/dito/components/PersonalInformationSecond/mobile/images/avatar.png +0 -0
  22. package/lib/composite-comp/dito/components/PersonalInformationSecond/mobile/index.js +710 -0
  23. package/lib/composite-comp/dito/components/PersonalInformationSecond/mobile/index.less +196 -0
  24. package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/ConfigDecoration/index.js +91 -0
  25. package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/ConfigDecoration/index.less +9 -0
  26. package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/OrdersConfigGroup/index.js +131 -0
  27. package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/PersonInfoConfigGroup/index.js +131 -0
  28. package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/index.js +127 -0
  29. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondSecondConfig/index.js +206 -0
  30. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondSecondConfig/index.less +9 -0
  31. package/lib/constants/component-types.js +10 -4
  32. package/lib/constants/index.js +4 -0
  33. package/lib/core/Designer/ConfigPanel/index.js +1 -0
  34. package/lib/decorator/compositeDecorator.js +1 -1
  35. package/package.json +1 -1
@@ -0,0 +1,206 @@
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 _TextConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/TextConfig"));
13
+
14
+ var _ImageConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/ImageConfig"));
15
+
16
+ var _common = require("../../../../common");
17
+
18
+ var _coreUtil = require("../../../../utils/coreUtil");
19
+
20
+ var _locale = require("../../../../locale");
21
+
22
+ var _index = require("../../../../constants/index");
23
+
24
+ require("./index.less");
25
+
26
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
27
+
28
+ var __extends = void 0 && (void 0).__extends || function () {
29
+ var _extendStatics = function extendStatics(d, b) {
30
+ _extendStatics = Object.setPrototypeOf || {
31
+ __proto__: []
32
+ } instanceof Array && function (d, b) {
33
+ d.__proto__ = b;
34
+ } || function (d, b) {
35
+ for (var p in b) {
36
+ if (b.hasOwnProperty(p)) d[p] = b[p];
37
+ }
38
+ };
39
+
40
+ return _extendStatics(d, b);
41
+ };
42
+
43
+ return function (d, b) {
44
+ _extendStatics(d, b);
45
+
46
+ function __() {
47
+ this.constructor = d;
48
+ }
49
+
50
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
51
+ };
52
+ }();
53
+
54
+ var PersonalInfoSecondConfig =
55
+ /** @class */
56
+ function (_super) {
57
+ __extends(PersonalInfoSecondConfig, _super);
58
+
59
+ function PersonalInfoSecondConfig() {
60
+ var _this = _super !== null && _super.apply(this, arguments) || this;
61
+
62
+ _this.state = {};
63
+
64
+ _this.selfRender = function () {
65
+ (0, _coreUtil.renderPreview)();
66
+
67
+ _this.setState({});
68
+ };
69
+
70
+ _this.getContentPanel = function (data) {
71
+ var source = [{
72
+ key: 'secondContent1',
73
+ name: /*#__PURE__*/_react["default"].createElement("span", {
74
+ dangerouslySetInnerHTML: {
75
+ __html: data.title.text
76
+ }
77
+ }),
78
+ value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
79
+ data: data.title
80
+ }),
81
+ metaOption: data.title
82
+ }, {
83
+ key: 'secondContent2',
84
+ name: (0, _locale.i18n)('Number'),
85
+ value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
86
+ data: data.number
87
+ }),
88
+ metaOption: data.number
89
+ }];
90
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
91
+ headerSize: "middle",
92
+ onRefresh: function onRefresh() {
93
+ return (0, _coreUtil.renderPreview)();
94
+ },
95
+ showActiveColor: true,
96
+ source: source,
97
+ type: "switch"
98
+ }), /*#__PURE__*/_react["default"].createElement("div", {
99
+ className: "sourceOfAmount"
100
+ }, /*#__PURE__*/_react["default"].createElement(_common.Field, {
101
+ title: (0, _locale.i18n)('SOURCE_OF_AMOUNT')
102
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
103
+ onChange: function onChange(v) {
104
+ data.sourceType = v;
105
+
106
+ _this.selfRender();
107
+ },
108
+ value: data.sourceType
109
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
110
+ value: _index.personalInfoType.WISHLIST
111
+ }, (0, _locale.i18n)('WISHLIST')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
112
+ value: _index.personalInfoType.STORES
113
+ }, (0, _locale.i18n)('STORES')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
114
+ value: _index.personalInfoType.VOUCHERS
115
+ }, (0, _locale.i18n)('VOUCHERS')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
116
+ value: _index.personalInfoType.VIEWED
117
+ }, (0, _locale.i18n)('RECENTLY_VIEWED'))))));
118
+ };
119
+
120
+ _this.getOrdersPanel = function (data) {
121
+ var source = [{
122
+ key: 'secondContent3',
123
+ name: (0, _locale.i18n)('Icon'),
124
+ value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
125
+ data: data.image
126
+ }),
127
+ metaOption: data.image
128
+ }, {
129
+ key: 'secondContent4',
130
+ name: /*#__PURE__*/_react["default"].createElement("span", {
131
+ dangerouslySetInnerHTML: {
132
+ __html: data.title.text
133
+ }
134
+ }),
135
+ value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
136
+ data: data.title
137
+ }),
138
+ metaOption: data.title
139
+ }];
140
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
141
+ headerSize: "middle",
142
+ onRefresh: function onRefresh() {
143
+ return (0, _coreUtil.renderPreview)();
144
+ },
145
+ showActiveColor: true,
146
+ source: source,
147
+ type: "switch"
148
+ }), /*#__PURE__*/_react["default"].createElement("div", {
149
+ className: "sourceOfAmount"
150
+ }, /*#__PURE__*/_react["default"].createElement(_common.Field, {
151
+ title: (0, _locale.i18n)('SOURCE_OF_AMOUNT')
152
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
153
+ onChange: function onChange(v) {
154
+ data.sourceType = v;
155
+ data.title.text = v;
156
+
157
+ _this.selfRender();
158
+ },
159
+ value: data.sourceType
160
+ }, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
161
+ value: _index.orderStatusType.PAY
162
+ }, (0, _locale.i18n)('TO_PAY')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
163
+ value: _index.orderStatusType.SHIP
164
+ }, (0, _locale.i18n)('TO_SHIP')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
165
+ value: _index.orderStatusType.RECEIVE
166
+ }, (0, _locale.i18n)('TO_RECEIVE')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
167
+ value: _index.orderStatusType.DONE
168
+ }, (0, _locale.i18n)('DONE')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
169
+ value: _index.orderStatusType.CANCELLED
170
+ }, (0, _locale.i18n)('CANCELLED'))))));
171
+ };
172
+
173
+ return _this;
174
+ }
175
+
176
+ PersonalInfoSecondConfig.prototype.render = function () {
177
+ var panelProps = this.props.panelProps;
178
+ return /*#__PURE__*/_react["default"].createElement("div", {
179
+ className: "personal_info_second_conf_wrap"
180
+ }, panelProps.image ? /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
181
+ divider: "bold",
182
+ headerSize: "large",
183
+ source: [{
184
+ key: 'secondConfig2',
185
+ name: (0, _locale.i18n)('ORDERS'),
186
+ value: this.getOrdersPanel(panelProps, true)
187
+ }]
188
+ }) : /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
189
+ divider: "bold",
190
+ headerSize: "large",
191
+ source: [{
192
+ key: 'secondConfig1',
193
+ name: (0, _locale.i18n)('CONTENT'),
194
+ value: this.getContentPanel(panelProps, true)
195
+ }]
196
+ }));
197
+ };
198
+
199
+ PersonalInfoSecondConfig.defaultProps = {
200
+ panelProps: {}
201
+ };
202
+ return PersonalInfoSecondConfig;
203
+ }(_react["default"].Component);
204
+
205
+ var _default = PersonalInfoSecondConfig;
206
+ exports["default"] = _default;
@@ -0,0 +1,9 @@
1
+ .personal_info_second_conf_wrap {
2
+
3
+ .sourceOfAmount {
4
+ border-top: 1px dashed #D2D9E5;
5
+ border-bottom: 1px dashed #D2D9E5;
6
+ padding-top: 20px;
7
+ padding-bottom: 10px;
8
+ }
9
+ }
@@ -55,6 +55,8 @@ var _HeadNavigation = _interopRequireDefault(require("../composite-comp/dito/com
55
55
 
56
56
  var _PersonalInformation = _interopRequireDefault(require("../composite-comp/dito/components/PersonalInformation"));
57
57
 
58
+ var _PersonalInformationSecond = _interopRequireDefault(require("../composite-comp/dito/components/PersonalInformationSecond"));
59
+
58
60
  var _CommonFunctions = _interopRequireDefault(require("../composite-comp/dito/components/CommonFunctions"));
59
61
 
60
62
  var _Bargain = _interopRequireDefault(require("../composite-comp/dito/components/Bargain"));
@@ -121,6 +123,8 @@ var _HeadNavigationConfig = _interopRequireDefault(require("../composite-comp/di
121
123
 
122
124
  var _PersonalInformationConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/PersonalInformationConfig"));
123
125
 
126
+ var _PersonalInformationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/PersonalInformationSecondConfig"));
127
+
124
128
  var _CommonFunctionsConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/CommonFunctionsConfig"));
125
129
 
126
130
  var _BargainConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/BargainConfig"));
@@ -169,7 +173,9 @@ var _MenuNavigationSecondConfig = _interopRequireDefault(require("../composite-c
169
173
 
170
174
  var _HeadNavigationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/HeadNavigationSecondConfig"));
171
175
 
172
- var _PersonalInformationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/PersonalInformationSecondConfig"));
176
+ var _PersonalInformationSecondConfig2 = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/PersonalInformationSecondConfig"));
177
+
178
+ var _PersonalInformationSecondSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/PersonalInformationSecondSecondConfig"));
173
179
 
174
180
  var _CommonFunctionsSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig"));
175
181
 
@@ -193,17 +199,17 @@ var _a, _b, _c; // 组件
193
199
  /**
194
200
  * 渲染组件索引
195
201
  */
196
- 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[_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[_GroupedCarousel["default"].type] = _GroupedCarousel["default"], _a[_SlideImage["default"].type] = _SlideImage["default"], _a[_SearchDITO["default"].type] = _SearchDITO["default"], _a[_News["default"].type] = _News["default"], _a[_Campaign["default"].type] = _Campaign["default"], _a);
202
+ 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[_PersonalInformationSecond["default"].type] = _PersonalInformationSecond["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[_GroupedCarousel["default"].type] = _GroupedCarousel["default"], _a[_SlideImage["default"].type] = _SlideImage["default"], _a[_SearchDITO["default"].type] = _SearchDITO["default"], _a[_News["default"].type] = _News["default"], _a[_Campaign["default"].type] = _Campaign["default"], _a);
197
203
  /**
198
204
  * 一级配置面板索引
199
205
  */
200
206
 
201
207
  exports.componentMap = componentMap;
202
- 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[_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[_GroupedCarousel["default"].type] = _GroupedCarouselConfig["default"], _b[_SlideImage["default"].type] = _SlideImageConfig["default"], _b[_SearchDITO["default"].type] = _SearchDITOConfig["default"], _b[_News["default"].type] = _NewsConfig["default"], _b[_Campaign["default"].type] = _CampaignConfig["default"], _b);
208
+ 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[_PersonalInformationSecond["default"].type] = _PersonalInformationSecondConfig["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[_GroupedCarousel["default"].type] = _GroupedCarouselConfig["default"], _b[_SlideImage["default"].type] = _SlideImageConfig["default"], _b[_SearchDITO["default"].type] = _SearchDITOConfig["default"], _b[_News["default"].type] = _NewsConfig["default"], _b[_Campaign["default"].type] = _CampaignConfig["default"], _b);
203
209
  /**
204
210
  * 二级配置面板索引
205
211
  */
206
212
 
207
213
  exports.configPanelMap = configPanelMap;
208
- 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[_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[_GroupedCarousel["default"].type] = _GroupedCarouselSecondConfig["default"], _c[_SlideImage["default"].type] = _SlideImageSecondConfig["default"], _c[_SearchDITO["default"].type] = _SearchDITOSecondConfig["default"], _c[_News["default"].type] = _NewsSecondConfig["default"], _c[_Campaign["default"].type] = _CampaignSecondConfig["default"], _c);
214
+ 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] = _PersonalInformationSecondConfig2["default"], _c[_PersonalInformationSecond["default"].type] = _PersonalInformationSecondSecondConfig["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[_GroupedCarousel["default"].type] = _GroupedCarouselSecondConfig["default"], _c[_SlideImage["default"].type] = _SlideImageSecondConfig["default"], _c[_SearchDITO["default"].type] = _SearchDITOSecondConfig["default"], _c[_News["default"].type] = _NewsSecondConfig["default"], _c[_Campaign["default"].type] = _CampaignSecondConfig["default"], _c);
209
215
  exports.secondConfigPanelMap = secondConfigPanelMap;
@@ -258,6 +258,10 @@ var compInfoMap = {
258
258
  name: 'Personal Information',
259
259
  icon: 'icon-account'
260
260
  },
261
+ PERSONAL_INFOMATION_SECOND: {
262
+ name: 'Personal Information',
263
+ icon: 'icon-account'
264
+ },
261
265
  COMMON_FUNCTIONS: {
262
266
  name: 'Common Functions',
263
267
  icon: 'icon-function'
@@ -142,6 +142,7 @@ var getSecondConfigName = function getSecondConfigName(selectedNode, clickedGrou
142
142
  break;
143
143
 
144
144
  case 'PERSONAL_INFOMATION':
145
+ case 'PERSONAL_INFOMATION_SECOND':
145
146
  groupName = panelProps.sourceType;
146
147
  break;
147
148
 
@@ -149,7 +149,7 @@ function compositeDecorator(WrappedComponent) {
149
149
  } // 解决pc导航hover上去,类目被下面组件遮罩的问题
150
150
 
151
151
 
152
- if (nodeData.type === 'PC_NAVIGATION' || nodeData.type === 'PERSONAL_INFOMATION') {
152
+ if (nodeData.type === 'PC_NAVIGATION' || nodeData.type === 'PERSONAL_INFOMATION' || nodeData.type === 'PERSONAL_INFOMATION_SECOND') {
153
153
  zIndex = '2';
154
154
  }
155
155
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "1.0.174",
4
+ "version": "1.0.176",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",