@fonixtree/magic-design 2.0.82 → 2.0.83
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/.DS_Store +0 -0
- package/es/assets/fonts/magic-box-iconfont.css +30 -6
- 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/GroupList/index.js +5 -2
- package/es/common/ProductModal/SortableImageList/index.js +118 -0
- package/es/common/ProductModal/SortableImageList/index.less +3 -0
- package/es/common/ProductModal/index.js +40 -27
- package/es/composite-comp/common/config-panels/SpacingConfig/index.js +1 -0
- package/es/composite-comp/dito/components/CommonFunctions/defaultJSON.js +88 -0
- package/es/composite-comp/dito/components/CommonFunctions/index.js +84 -0
- package/es/composite-comp/dito/components/CommonFunctions/mobile/index.js +105 -0
- package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +33 -0
- package/es/composite-comp/dito/components/Orders/defaultJSON.js +89 -0
- package/es/composite-comp/dito/components/Orders/index.js +84 -0
- package/es/composite-comp/dito/components/Orders/mobile/index.js +334 -0
- package/es/composite-comp/dito/components/Orders/mobile/index.less +83 -0
- package/es/composite-comp/dito/components/PersonalInformation/defaultJSON.js +95 -0
- package/es/composite-comp/dito/components/PersonalInformation/index.js +84 -0
- package/es/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +451 -0
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +127 -0
- package/es/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +128 -0
- package/es/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +113 -0
- package/es/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +128 -0
- package/es/composite-comp/dito/config-panels/OrdersConfig/index.js +113 -0
- package/es/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +128 -0
- package/es/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +117 -0
- package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +122 -0
- package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.less +1 -0
- package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +148 -0
- package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +9 -0
- package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +143 -0
- package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +9 -0
- package/es/constants/component-types.js +21 -3
- package/es/constants/index.js +37 -3
- package/es/core/Designer/ConfigPanel/index.js +6 -0
- package/es/decorator/compositeDecorator.js +1 -1
- package/es/locale/en/en.json +14 -0
- package/es/locale/es/es.json +14 -0
- package/es/locale/id/id.json +14 -0
- package/es/mobx/UserState.js +144 -0
- package/es/mobx/index.js +9 -3
- package/es/utils/androidUtil.js +13 -2
- package/es/utils/commonUtil.js +117 -3
- package/lib/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/magic-box-iconfont.css +30 -6
- 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/GroupList/index.js +5 -2
- package/lib/common/ProductModal/SortableImageList/index.js +118 -0
- package/lib/common/ProductModal/SortableImageList/index.less +3 -0
- package/lib/common/ProductModal/index.js +40 -27
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +1 -0
- package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +88 -0
- package/lib/composite-comp/dito/components/CommonFunctions/index.js +84 -0
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +105 -0
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +33 -0
- package/lib/composite-comp/dito/components/Orders/defaultJSON.js +89 -0
- package/lib/composite-comp/dito/components/Orders/index.js +84 -0
- package/lib/composite-comp/dito/components/Orders/mobile/index.js +334 -0
- package/lib/composite-comp/dito/components/Orders/mobile/index.less +83 -0
- package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +95 -0
- package/lib/composite-comp/dito/components/PersonalInformation/index.js +84 -0
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +451 -0
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +127 -0
- package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/ConfigGroup/index.js +128 -0
- package/lib/composite-comp/dito/config-panels/CommonFunctionsConfig/index.js +113 -0
- package/lib/composite-comp/dito/config-panels/OrdersConfig/ConfigGroup/index.js +128 -0
- package/lib/composite-comp/dito/config-panels/OrdersConfig/index.js +113 -0
- package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigGroup/index.js +128 -0
- package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +117 -0
- package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +122 -0
- package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.less +1 -0
- package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.js +148 -0
- package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +9 -0
- package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +143 -0
- package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.less +9 -0
- package/lib/constants/component-types.js +21 -3
- package/lib/constants/index.js +37 -3
- package/lib/core/Designer/ConfigPanel/index.js +6 -0
- package/lib/decorator/compositeDecorator.js +1 -1
- package/lib/locale/en/en.json +14 -0
- package/lib/locale/es/es.json +14 -0
- package/lib/locale/id/id.json +14 -0
- package/lib/mobx/UserState.js +144 -0
- package/lib/mobx/index.js +9 -3
- package/lib/utils/androidUtil.js +13 -2
- package/lib/utils/commonUtil.js +117 -3
- package/package.json +1 -1
|
@@ -0,0 +1,122 @@
|
|
|
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 _ImageConfig = _interopRequireDefault(require("../../../../meta-comp/config-panels/ImageConfig"));
|
|
13
|
+
|
|
14
|
+
var _common = require("../../../../common");
|
|
15
|
+
|
|
16
|
+
var _coreUtil = require("../../../../utils/coreUtil");
|
|
17
|
+
|
|
18
|
+
var _locale = require("../../../../locale");
|
|
19
|
+
|
|
20
|
+
require("./index.less");
|
|
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 CommonFunctionsSecondConfig =
|
|
51
|
+
/** @class */
|
|
52
|
+
function (_super) {
|
|
53
|
+
__extends(CommonFunctionsSecondConfig, _super);
|
|
54
|
+
|
|
55
|
+
function CommonFunctionsSecondConfig() {
|
|
56
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
57
|
+
|
|
58
|
+
_this.state = {};
|
|
59
|
+
|
|
60
|
+
_this.selfRender = function () {
|
|
61
|
+
(0, _coreUtil.renderPreview)();
|
|
62
|
+
|
|
63
|
+
_this.setState({});
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
_this.getContentPanel = function (data) {
|
|
67
|
+
var source = [{
|
|
68
|
+
key: 'secondContent1',
|
|
69
|
+
name: (0, _locale.i18n)('Icon'),
|
|
70
|
+
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
71
|
+
data: data.image
|
|
72
|
+
}),
|
|
73
|
+
metaOption: data.image
|
|
74
|
+
}, {
|
|
75
|
+
key: 'secondContent2',
|
|
76
|
+
name: /*#__PURE__*/_react["default"].createElement("span", {
|
|
77
|
+
dangerouslySetInnerHTML: {
|
|
78
|
+
__html: data.title.text
|
|
79
|
+
}
|
|
80
|
+
}),
|
|
81
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
82
|
+
data: data.title
|
|
83
|
+
}),
|
|
84
|
+
metaOption: data.title
|
|
85
|
+
}];
|
|
86
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
87
|
+
headerSize: "middle",
|
|
88
|
+
onRefresh: function onRefresh() {
|
|
89
|
+
return (0, _coreUtil.renderPreview)();
|
|
90
|
+
},
|
|
91
|
+
showActiveColor: true,
|
|
92
|
+
source: source,
|
|
93
|
+
type: "switch"
|
|
94
|
+
}));
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
return _this;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
CommonFunctionsSecondConfig.prototype.render = function () {
|
|
101
|
+
var panelProps = this.props.panelProps;
|
|
102
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
103
|
+
className: "common_functions_second_conf_wrap"
|
|
104
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
105
|
+
divider: "bold",
|
|
106
|
+
headerSize: "large",
|
|
107
|
+
source: [{
|
|
108
|
+
key: 'secondConfig1',
|
|
109
|
+
name: (0, _locale.i18n)('CONTENT'),
|
|
110
|
+
value: this.getContentPanel(panelProps, true)
|
|
111
|
+
}]
|
|
112
|
+
}));
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
CommonFunctionsSecondConfig.defaultProps = {
|
|
116
|
+
panelProps: {}
|
|
117
|
+
};
|
|
118
|
+
return CommonFunctionsSecondConfig;
|
|
119
|
+
}(_react["default"].Component);
|
|
120
|
+
|
|
121
|
+
var _default = CommonFunctionsSecondConfig;
|
|
122
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.common_functions_second_conf_wrap {}
|
|
@@ -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 _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 _index = require("../../../../constants/index");
|
|
21
|
+
|
|
22
|
+
var _locale = require("../../../../locale");
|
|
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 OrdersSecondConfig =
|
|
55
|
+
/** @class */
|
|
56
|
+
function (_super) {
|
|
57
|
+
__extends(OrdersSecondConfig, _super);
|
|
58
|
+
|
|
59
|
+
function OrdersSecondConfig() {
|
|
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: (0, _locale.i18n)('Icon'),
|
|
74
|
+
value: /*#__PURE__*/_react["default"].createElement(_ImageConfig["default"], {
|
|
75
|
+
data: data.image
|
|
76
|
+
}),
|
|
77
|
+
metaOption: data.image
|
|
78
|
+
}, {
|
|
79
|
+
key: 'secondContent2',
|
|
80
|
+
name: /*#__PURE__*/_react["default"].createElement("span", {
|
|
81
|
+
dangerouslySetInnerHTML: {
|
|
82
|
+
__html: data.title.text
|
|
83
|
+
}
|
|
84
|
+
}),
|
|
85
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
86
|
+
data: data.title
|
|
87
|
+
}),
|
|
88
|
+
metaOption: data.title
|
|
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
|
+
data.title.text = v;
|
|
106
|
+
|
|
107
|
+
_this.selfRender();
|
|
108
|
+
},
|
|
109
|
+
value: data.sourceType
|
|
110
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
111
|
+
value: _index.orderStatusType.PAY
|
|
112
|
+
}, (0, _locale.i18n)('TO_PAY')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
113
|
+
value: _index.orderStatusType.SHIP
|
|
114
|
+
}, (0, _locale.i18n)('TO_SHIP')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
115
|
+
value: _index.orderStatusType.RECEIVE
|
|
116
|
+
}, (0, _locale.i18n)('TO_RECEIVE')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
117
|
+
value: _index.orderStatusType.RATING
|
|
118
|
+
}, (0, _locale.i18n)('RATING')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
119
|
+
value: _index.orderStatusType.RETURN
|
|
120
|
+
}, (0, _locale.i18n)('RETURN'))))));
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
return _this;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
OrdersSecondConfig.prototype.render = function () {
|
|
127
|
+
var panelProps = this.props.panelProps;
|
|
128
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
129
|
+
className: "orders_second_conf_wrap"
|
|
130
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
131
|
+
divider: "bold",
|
|
132
|
+
headerSize: "large",
|
|
133
|
+
source: [{
|
|
134
|
+
key: 'secondConfig1',
|
|
135
|
+
name: (0, _locale.i18n)('CONTENT'),
|
|
136
|
+
value: this.getContentPanel(panelProps, true)
|
|
137
|
+
}]
|
|
138
|
+
}));
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
OrdersSecondConfig.defaultProps = {
|
|
142
|
+
panelProps: {}
|
|
143
|
+
};
|
|
144
|
+
return OrdersSecondConfig;
|
|
145
|
+
}(_react["default"].Component);
|
|
146
|
+
|
|
147
|
+
var _default = OrdersSecondConfig;
|
|
148
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,143 @@
|
|
|
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 _common = require("../../../../common");
|
|
15
|
+
|
|
16
|
+
var _coreUtil = require("../../../../utils/coreUtil");
|
|
17
|
+
|
|
18
|
+
var _locale = require("../../../../locale");
|
|
19
|
+
|
|
20
|
+
var _index = require("../../../../constants/index");
|
|
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 PersonalInfoSecondConfig =
|
|
53
|
+
/** @class */
|
|
54
|
+
function (_super) {
|
|
55
|
+
__extends(PersonalInfoSecondConfig, _super);
|
|
56
|
+
|
|
57
|
+
function PersonalInfoSecondConfig() {
|
|
58
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
59
|
+
|
|
60
|
+
_this.state = {};
|
|
61
|
+
|
|
62
|
+
_this.selfRender = function () {
|
|
63
|
+
(0, _coreUtil.renderPreview)();
|
|
64
|
+
|
|
65
|
+
_this.setState({});
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
_this.getContentPanel = function (data) {
|
|
69
|
+
var source = [{
|
|
70
|
+
key: 'secondContent1',
|
|
71
|
+
name: /*#__PURE__*/_react["default"].createElement("span", {
|
|
72
|
+
dangerouslySetInnerHTML: {
|
|
73
|
+
__html: data.title.text
|
|
74
|
+
}
|
|
75
|
+
}),
|
|
76
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
77
|
+
data: data.title
|
|
78
|
+
}),
|
|
79
|
+
metaOption: data.title
|
|
80
|
+
}, {
|
|
81
|
+
key: 'secondContent2',
|
|
82
|
+
name: (0, _locale.i18n)('Number'),
|
|
83
|
+
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
84
|
+
data: data.number
|
|
85
|
+
}),
|
|
86
|
+
metaOption: data.number
|
|
87
|
+
}];
|
|
88
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
89
|
+
headerSize: "middle",
|
|
90
|
+
onRefresh: function onRefresh() {
|
|
91
|
+
return (0, _coreUtil.renderPreview)();
|
|
92
|
+
},
|
|
93
|
+
showActiveColor: true,
|
|
94
|
+
source: source,
|
|
95
|
+
type: "switch"
|
|
96
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
97
|
+
className: "sourceOfAmount"
|
|
98
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
99
|
+
title: (0, _locale.i18n)('SOURCE_OF_AMOUNT')
|
|
100
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
101
|
+
onChange: function onChange(v) {
|
|
102
|
+
data.sourceType = v;
|
|
103
|
+
|
|
104
|
+
_this.selfRender();
|
|
105
|
+
},
|
|
106
|
+
value: data.sourceType
|
|
107
|
+
}, /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
108
|
+
value: _index.personalInfoType.WISHLIST
|
|
109
|
+
}, (0, _locale.i18n)('WISHLIST')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
110
|
+
value: _index.personalInfoType.STORES
|
|
111
|
+
}, (0, _locale.i18n)('STORES')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
112
|
+
value: _index.personalInfoType.COUPONS
|
|
113
|
+
}, (0, _locale.i18n)('COUPONS')), /*#__PURE__*/_react["default"].createElement(_antd.Select.Option, {
|
|
114
|
+
value: _index.personalInfoType.VIEWED
|
|
115
|
+
}, (0, _locale.i18n)('RECENTLY_VIEWED'))))));
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
return _this;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
PersonalInfoSecondConfig.prototype.render = function () {
|
|
122
|
+
var panelProps = this.props.panelProps;
|
|
123
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
124
|
+
className: "personal_info_second_conf_wrap"
|
|
125
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Collapse, {
|
|
126
|
+
divider: "bold",
|
|
127
|
+
headerSize: "large",
|
|
128
|
+
source: [{
|
|
129
|
+
key: 'secondConfig1',
|
|
130
|
+
name: (0, _locale.i18n)('CONTENT'),
|
|
131
|
+
value: this.getContentPanel(panelProps, true)
|
|
132
|
+
}]
|
|
133
|
+
}));
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
PersonalInfoSecondConfig.defaultProps = {
|
|
137
|
+
panelProps: {}
|
|
138
|
+
};
|
|
139
|
+
return PersonalInfoSecondConfig;
|
|
140
|
+
}(_react["default"].Component);
|
|
141
|
+
|
|
142
|
+
var _default = PersonalInfoSecondConfig;
|
|
143
|
+
exports["default"] = _default;
|
|
@@ -51,6 +51,12 @@ var _MenuNavigation = _interopRequireDefault(require("../composite-comp/dito/com
|
|
|
51
51
|
|
|
52
52
|
var _HeadNavigation = _interopRequireDefault(require("../composite-comp/dito/components/HeadNavigation"));
|
|
53
53
|
|
|
54
|
+
var _PersonalInformation = _interopRequireDefault(require("../composite-comp/dito/components/PersonalInformation"));
|
|
55
|
+
|
|
56
|
+
var _Orders = _interopRequireDefault(require("../composite-comp/dito/components/Orders"));
|
|
57
|
+
|
|
58
|
+
var _CommonFunctions = _interopRequireDefault(require("../composite-comp/dito/components/CommonFunctions"));
|
|
59
|
+
|
|
54
60
|
var _BannerConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/BannerConfig"));
|
|
55
61
|
|
|
56
62
|
var _DividerConfig = _interopRequireDefault(require("../composite-comp/bol/config-panels/DividerConfig"));
|
|
@@ -97,6 +103,12 @@ var _MenuNavigationConfig = _interopRequireDefault(require("../composite-comp/di
|
|
|
97
103
|
|
|
98
104
|
var _HeadNavigationConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/HeadNavigationConfig"));
|
|
99
105
|
|
|
106
|
+
var _PersonalInformationConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/PersonalInformationConfig"));
|
|
107
|
+
|
|
108
|
+
var _OrdersConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/OrdersConfig"));
|
|
109
|
+
|
|
110
|
+
var _CommonFunctionsConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/CommonFunctionsConfig"));
|
|
111
|
+
|
|
100
112
|
var _BannerSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/BannerSecondConfig"));
|
|
101
113
|
|
|
102
114
|
var _TextSecondConfig = _interopRequireDefault(require("../composite-comp/bol/second-config-panels/TextSecondConfig"));
|
|
@@ -129,6 +141,12 @@ var _MenuNavigationSecondConfig = _interopRequireDefault(require("../composite-c
|
|
|
129
141
|
|
|
130
142
|
var _HeadNavigationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/HeadNavigationSecondConfig"));
|
|
131
143
|
|
|
144
|
+
var _PersonalInformationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/PersonalInformationSecondConfig"));
|
|
145
|
+
|
|
146
|
+
var _OrdersSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/OrdersSecondConfig"));
|
|
147
|
+
|
|
148
|
+
var _CommonFunctionsSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig"));
|
|
149
|
+
|
|
132
150
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
133
151
|
|
|
134
152
|
var _a, _b, _c; // 组件
|
|
@@ -137,17 +155,17 @@ var _a, _b, _c; // 组件
|
|
|
137
155
|
/**
|
|
138
156
|
* 渲染组件索引
|
|
139
157
|
*/
|
|
140
|
-
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[_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);
|
|
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);
|
|
141
159
|
/**
|
|
142
160
|
* 一级配置面板索引
|
|
143
161
|
*/
|
|
144
162
|
|
|
145
163
|
exports.componentMap = componentMap;
|
|
146
|
-
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[_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);
|
|
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);
|
|
147
165
|
/**
|
|
148
166
|
* 二级配置面板索引
|
|
149
167
|
*/
|
|
150
168
|
|
|
151
169
|
exports.configPanelMap = configPanelMap;
|
|
152
|
-
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[_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);
|
|
170
|
+
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);
|
|
153
171
|
exports.secondConfigPanelMap = secondConfigPanelMap;
|
package/lib/constants/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.walletType = exports.urlTypeMap = exports.urlType = exports.tempTypeMap = exports.respCodeMap = exports.quickMenuCode = exports.partyTypeMap = exports.metaType = exports.metaInst = exports.metaInsType = exports.magicMode = exports.eventType = exports.deviceTypeWidthMap = exports.deviceTypeMap = exports.compInfoMap = exports.STORAGE_KEY = exports.CREDIT_STATE = void 0;
|
|
6
|
+
exports.walletType = exports.urlTypeMap = exports.urlType = exports.tempTypeMap = exports.respCodeMap = exports.quickMenuCode = exports.personalInfoType = exports.partyTypeMap = exports.orderStatusType = exports.metaType = exports.metaInst = exports.metaInsType = exports.magicMode = exports.eventType = exports.deviceTypeWidthMap = exports.deviceTypeMap = exports.compInfoMap = exports.STORE_KEY = exports.STORAGE_KEY = exports.CREDIT_STATE = void 0;
|
|
7
7
|
var STORAGE_KEY = {
|
|
8
8
|
LOCALE: 'magicLocale',
|
|
9
9
|
MAGIC_RENDER_HTML: 'MAGIC_RENDER_HTML',
|
|
@@ -45,6 +45,21 @@ var walletType = {
|
|
|
45
45
|
CENDUIT: 'CenDuit'
|
|
46
46
|
};
|
|
47
47
|
exports.walletType = walletType;
|
|
48
|
+
var orderStatusType = {
|
|
49
|
+
PAY: 'To pay',
|
|
50
|
+
SHIP: 'To Ship',
|
|
51
|
+
RECEIVE: 'To Receive',
|
|
52
|
+
RATING: 'Rating',
|
|
53
|
+
RETURN: 'Return'
|
|
54
|
+
};
|
|
55
|
+
exports.orderStatusType = orderStatusType;
|
|
56
|
+
var personalInfoType = {
|
|
57
|
+
WISHLIST: 'Wishlist',
|
|
58
|
+
STORES: 'Stores',
|
|
59
|
+
COUPONS: 'Coupons',
|
|
60
|
+
VIEWED: 'Recently Viewed'
|
|
61
|
+
};
|
|
62
|
+
exports.personalInfoType = personalInfoType;
|
|
48
63
|
var urlType = {
|
|
49
64
|
PRODUCT_DETAIL: 'proDetail',
|
|
50
65
|
CATG_PROD_LIST: 'catg',
|
|
@@ -183,7 +198,7 @@ var compInfoMap = {
|
|
|
183
198
|
},
|
|
184
199
|
WALLET: {
|
|
185
200
|
name: 'Wallet',
|
|
186
|
-
icon: 'icon-
|
|
201
|
+
icon: 'icon-cards_fill'
|
|
187
202
|
},
|
|
188
203
|
WALLET_NURI: {
|
|
189
204
|
name: 'Wallet',
|
|
@@ -196,6 +211,18 @@ var compInfoMap = {
|
|
|
196
211
|
MENU_NAVIGATION: {
|
|
197
212
|
name: 'Menu Navigation',
|
|
198
213
|
icon: 'icon-footer'
|
|
214
|
+
},
|
|
215
|
+
PERSONAL_INFORMATION: {
|
|
216
|
+
name: 'Personal Information',
|
|
217
|
+
icon: 'icon-account'
|
|
218
|
+
},
|
|
219
|
+
ORDERS: {
|
|
220
|
+
name: 'Orders',
|
|
221
|
+
icon: 'icon-orders'
|
|
222
|
+
},
|
|
223
|
+
COMMON_FUNCTIONS: {
|
|
224
|
+
name: 'Common Functions',
|
|
225
|
+
icon: 'icon-function'
|
|
199
226
|
}
|
|
200
227
|
};
|
|
201
228
|
/**
|
|
@@ -272,4 +299,11 @@ var tempTypeMap = {
|
|
|
272
299
|
PAGE: 'Page',
|
|
273
300
|
TEMPLATE: 'TemplateLibrary'
|
|
274
301
|
};
|
|
275
|
-
|
|
302
|
+
/** 持久化缓存 KEY */
|
|
303
|
+
|
|
304
|
+
exports.tempTypeMap = tempTypeMap;
|
|
305
|
+
var STORE_KEY = {
|
|
306
|
+
// 是否从sf app跳转
|
|
307
|
+
IS_FROM_SF: 'isFromSf'
|
|
308
|
+
};
|
|
309
|
+
exports.STORE_KEY = STORE_KEY;
|
|
@@ -109,6 +109,7 @@ var getSecondConfigName = function getSecondConfigName(selectedNode, clickedGrou
|
|
|
109
109
|
|
|
110
110
|
case 'TEXT':
|
|
111
111
|
case 'WALLET':
|
|
112
|
+
case 'COMMON_FUNCTIONS':
|
|
112
113
|
groupName = panelProps.title.text;
|
|
113
114
|
break;
|
|
114
115
|
|
|
@@ -129,6 +130,11 @@ var getSecondConfigName = function getSecondConfigName(selectedNode, clickedGrou
|
|
|
129
130
|
case 'TAG':
|
|
130
131
|
groupName = panelProps.button.text;
|
|
131
132
|
break;
|
|
133
|
+
|
|
134
|
+
case 'PERSONAL_INFORMATION':
|
|
135
|
+
case 'ORDERS':
|
|
136
|
+
groupName = panelProps.sourceType;
|
|
137
|
+
break;
|
|
132
138
|
}
|
|
133
139
|
|
|
134
140
|
return groupName || 'Group Name';
|
|
@@ -116,7 +116,7 @@ function compositeDecorator(WrappedComponent) {
|
|
|
116
116
|
compWidth = _b.compWidth;
|
|
117
117
|
var zIndex = '0';
|
|
118
118
|
|
|
119
|
-
if (nodeData.type === 'CAROUSEL' || nodeData.type === 'IMAGE_GALLERY') {
|
|
119
|
+
if (nodeData.type === 'CAROUSEL' || nodeData.type === 'IMAGE_GALLERY' || nodeData.type === 'ORDERS') {
|
|
120
120
|
zIndex = '1';
|
|
121
121
|
} // 解决pc导航hover上去,类目被下面组件遮罩的问题
|
|
122
122
|
|
package/lib/locale/en/en.json
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
+
"RETURN": "Return",
|
|
3
|
+
"RATING": "Rating",
|
|
4
|
+
"TO_RECEIVE": "To Receive",
|
|
5
|
+
"TO_SHIP": "To ship",
|
|
6
|
+
"TO_PAY": "To pay",
|
|
7
|
+
"VIEW_ALL_ORDERS": "View All Orders",
|
|
8
|
+
"ORDERS": "ORDERS",
|
|
9
|
+
"RECENTLY_VIEWED": "Recently Viewed",
|
|
10
|
+
"COUPONS": "Coupons",
|
|
11
|
+
"STORES": "Stores",
|
|
12
|
+
"WISHLIST": "Wishlist",
|
|
13
|
+
"IMAGE_NAME_IS_TOO_LONG": "Image name is too long",
|
|
14
|
+
"ADD": "Add",
|
|
15
|
+
"LOGIN_OR_REGISTER": "Login or Register",
|
|
2
16
|
"ANCHOR": "Anchor",
|
|
3
17
|
"PUSH": "Push",
|
|
4
18
|
"SET_AS_TEMPLATE": "Set as Template",
|
package/lib/locale/es/es.json
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
+
"RETURN": "Return",
|
|
3
|
+
"RATING": "Rating",
|
|
4
|
+
"TO_RECEIVE": "To Receive",
|
|
5
|
+
"TO_SHIP": "To ship",
|
|
6
|
+
"TO_PAY": "To pay",
|
|
7
|
+
"VIEW_ALL_ORDERS": "View All Orders",
|
|
8
|
+
"ORDERS": "ORDERS",
|
|
9
|
+
"RECENTLY_VIEWED": "Recently Viewed",
|
|
10
|
+
"COUPONS": "Coupons",
|
|
11
|
+
"STORES": "Stores",
|
|
12
|
+
"WISHLIST": "Wishlist",
|
|
13
|
+
"IMAGE_NAME_IS_TOO_LONG": "Image name is too long",
|
|
14
|
+
"ADD": "Add",
|
|
15
|
+
"LOGIN_OR_REGISTER": "Login or Register",
|
|
2
16
|
"ANCHOR": "Anchor",
|
|
3
17
|
"PUSH": "Push",
|
|
4
18
|
"SET_AS_TEMPLATE": "Set as Template",
|
package/lib/locale/id/id.json
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
+
"RETURN": "Return",
|
|
3
|
+
"RATING": "Rating",
|
|
4
|
+
"TO_RECEIVE": "To Receive",
|
|
5
|
+
"TO_SHIP": "To ship",
|
|
6
|
+
"TO_PAY": "To pay",
|
|
7
|
+
"VIEW_ALL_ORDERS": "View All Orders",
|
|
8
|
+
"ORDERS": "ORDERS",
|
|
9
|
+
"RECENTLY_VIEWED": "Recently Viewed",
|
|
10
|
+
"COUPONS": "Coupons",
|
|
11
|
+
"STORES": "Stores",
|
|
12
|
+
"WISHLIST": "Wishlist",
|
|
13
|
+
"IMAGE_NAME_IS_TOO_LONG": "Image name is too long",
|
|
14
|
+
"ADD": "Add",
|
|
15
|
+
"LOGIN_OR_REGISTER": "Login or Register",
|
|
2
16
|
"ANCHOR": "Anchor",
|
|
3
17
|
"PUSH": "Push",
|
|
4
18
|
"SET_AS_TEMPLATE": "Set as Template",
|