@fonixtree/magic-design 1.0.175 → 1.0.178
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/composite-comp/dito/components/PersonalInformationSecond/defaultJSON.js +168 -0
- package/es/composite-comp/dito/components/PersonalInformationSecond/index.js +84 -0
- package/es/composite-comp/dito/components/PersonalInformationSecond/mobile/images/avatar.png +0 -0
- package/es/composite-comp/dito/components/PersonalInformationSecond/mobile/index.js +710 -0
- package/es/composite-comp/dito/components/PersonalInformationSecond/mobile/index.less +196 -0
- package/es/composite-comp/dito/components/SearchBanner/defaultJSON.js +4 -0
- package/es/composite-comp/dito/components/SearchBanner/mobile/index.js +17 -5
- package/es/composite-comp/dito/components/SearchBanner/mobile/index.less +0 -2
- package/es/composite-comp/dito/components/SlideImage/defaultJSON.js +22 -28
- package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/ConfigDecoration/index.js +91 -0
- package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/ConfigDecoration/index.less +9 -0
- package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/OrdersConfigGroup/index.js +131 -0
- package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/PersonInfoConfigGroup/index.js +131 -0
- package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/index.js +127 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.js +21 -5
- package/es/composite-comp/dito/config-panels/SlideImageConfig/index.js +19 -1
- package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondSecondConfig/index.js +206 -0
- package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondSecondConfig/index.less +9 -0
- package/es/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.js +14 -0
- package/es/constants/component-types.js +10 -4
- package/es/constants/index.js +4 -0
- package/es/core/Designer/ConfigPanel/index.js +1 -0
- package/es/decorator/compositeDecorator.js +1 -1
- package/es/locale/en/en.json +1 -0
- package/es/locale/es/es.json +1 -0
- package/es/locale/id/id.json +1 -0
- package/es/meta-comp/config-panels/ImageConfig/index.js +24 -16
- package/lib/composite-comp/dito/components/PersonalInformationSecond/defaultJSON.js +168 -0
- package/lib/composite-comp/dito/components/PersonalInformationSecond/index.js +84 -0
- package/lib/composite-comp/dito/components/PersonalInformationSecond/mobile/images/avatar.png +0 -0
- package/lib/composite-comp/dito/components/PersonalInformationSecond/mobile/index.js +710 -0
- package/lib/composite-comp/dito/components/PersonalInformationSecond/mobile/index.less +196 -0
- package/lib/composite-comp/dito/components/SearchBanner/defaultJSON.js +4 -0
- package/lib/composite-comp/dito/components/SearchBanner/mobile/index.js +17 -5
- package/lib/composite-comp/dito/components/SearchBanner/mobile/index.less +0 -2
- package/lib/composite-comp/dito/components/SlideImage/defaultJSON.js +22 -28
- package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/ConfigDecoration/index.js +91 -0
- package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/ConfigDecoration/index.less +9 -0
- package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/OrdersConfigGroup/index.js +131 -0
- package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/PersonInfoConfigGroup/index.js +131 -0
- package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/index.js +127 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.js +21 -5
- package/lib/composite-comp/dito/config-panels/SlideImageConfig/index.js +19 -1
- package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondSecondConfig/index.js +206 -0
- package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondSecondConfig/index.less +9 -0
- package/lib/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.js +14 -0
- package/lib/constants/component-types.js +10 -4
- package/lib/constants/index.js +4 -0
- package/lib/core/Designer/ConfigPanel/index.js +1 -0
- package/lib/decorator/compositeDecorator.js +1 -1
- package/lib/locale/en/en.json +1 -0
- package/lib/locale/es/es.json +1 -0
- package/lib/locale/id/id.json +1 -0
- package/lib/meta-comp/config-panels/ImageConfig/index.js +24 -16
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports["default"] = void 0;
|
|
6
|
+
exports.imageJson = exports["default"] = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
@@ -11,6 +11,8 @@ var _antd = require("antd");
|
|
|
11
11
|
|
|
12
12
|
require("./index.less");
|
|
13
13
|
|
|
14
|
+
var _uuid = require("uuid");
|
|
15
|
+
|
|
14
16
|
var _HotAreaConfig = _interopRequireDefault(require("./HotAreaConfig"));
|
|
15
17
|
|
|
16
18
|
var _commonUtil = require("../../../utils/commonUtil");
|
|
@@ -194,6 +196,26 @@ var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
|
|
|
194
196
|
}
|
|
195
197
|
};
|
|
196
198
|
|
|
199
|
+
var imageJson = {
|
|
200
|
+
id: (0, _uuid.v4)(),
|
|
201
|
+
open: true,
|
|
202
|
+
type: 'IMAGE',
|
|
203
|
+
content: {
|
|
204
|
+
clickUrl: '',
|
|
205
|
+
pcImgSrc: '',
|
|
206
|
+
h5ImgSrc: '',
|
|
207
|
+
name: ''
|
|
208
|
+
},
|
|
209
|
+
hover: {
|
|
210
|
+
open: false,
|
|
211
|
+
backgroundType: 'enlarge',
|
|
212
|
+
h5ImgHoverUrl: '',
|
|
213
|
+
pcImgHoverUrl: '',
|
|
214
|
+
magnification: 1
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
exports.imageJson = imageJson;
|
|
218
|
+
|
|
197
219
|
var ImageConfig =
|
|
198
220
|
/** @class */
|
|
199
221
|
function (_super) {
|
|
@@ -422,21 +444,7 @@ function (_super) {
|
|
|
422
444
|
};
|
|
423
445
|
|
|
424
446
|
ImageConfig.defaultProps = {
|
|
425
|
-
data:
|
|
426
|
-
content: {
|
|
427
|
-
clickUrl: '',
|
|
428
|
-
pcImgSrc: '',
|
|
429
|
-
h5ImgSrc: '',
|
|
430
|
-
name: ''
|
|
431
|
-
},
|
|
432
|
-
hover: {
|
|
433
|
-
open: false,
|
|
434
|
-
backgroundType: 'enlarge',
|
|
435
|
-
h5ImgHoverUrl: '',
|
|
436
|
-
pcImgHoverUrl: '',
|
|
437
|
-
magnification: 1
|
|
438
|
-
}
|
|
439
|
-
},
|
|
447
|
+
data: imageJson,
|
|
440
448
|
needHover: true,
|
|
441
449
|
needClickArea: true,
|
|
442
450
|
needURL: true
|