@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.
Files changed (55) hide show
  1. package/es/composite-comp/dito/components/PersonalInformationSecond/defaultJSON.js +168 -0
  2. package/es/composite-comp/dito/components/PersonalInformationSecond/index.js +84 -0
  3. package/es/composite-comp/dito/components/PersonalInformationSecond/mobile/images/avatar.png +0 -0
  4. package/es/composite-comp/dito/components/PersonalInformationSecond/mobile/index.js +710 -0
  5. package/es/composite-comp/dito/components/PersonalInformationSecond/mobile/index.less +196 -0
  6. package/es/composite-comp/dito/components/SearchBanner/defaultJSON.js +4 -0
  7. package/es/composite-comp/dito/components/SearchBanner/mobile/index.js +17 -5
  8. package/es/composite-comp/dito/components/SearchBanner/mobile/index.less +0 -2
  9. package/es/composite-comp/dito/components/SlideImage/defaultJSON.js +22 -28
  10. package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/ConfigDecoration/index.js +91 -0
  11. package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/ConfigDecoration/index.less +9 -0
  12. package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/OrdersConfigGroup/index.js +131 -0
  13. package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/PersonInfoConfigGroup/index.js +131 -0
  14. package/es/composite-comp/dito/config-panels/PersonalInformationSecondConfig/index.js +127 -0
  15. package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.js +21 -5
  16. package/es/composite-comp/dito/config-panels/SlideImageConfig/index.js +19 -1
  17. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondSecondConfig/index.js +206 -0
  18. package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondSecondConfig/index.less +9 -0
  19. package/es/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.js +14 -0
  20. package/es/constants/component-types.js +10 -4
  21. package/es/constants/index.js +4 -0
  22. package/es/core/Designer/ConfigPanel/index.js +1 -0
  23. package/es/decorator/compositeDecorator.js +1 -1
  24. package/es/locale/en/en.json +1 -0
  25. package/es/locale/es/es.json +1 -0
  26. package/es/locale/id/id.json +1 -0
  27. package/es/meta-comp/config-panels/ImageConfig/index.js +24 -16
  28. package/lib/composite-comp/dito/components/PersonalInformationSecond/defaultJSON.js +168 -0
  29. package/lib/composite-comp/dito/components/PersonalInformationSecond/index.js +84 -0
  30. package/lib/composite-comp/dito/components/PersonalInformationSecond/mobile/images/avatar.png +0 -0
  31. package/lib/composite-comp/dito/components/PersonalInformationSecond/mobile/index.js +710 -0
  32. package/lib/composite-comp/dito/components/PersonalInformationSecond/mobile/index.less +196 -0
  33. package/lib/composite-comp/dito/components/SearchBanner/defaultJSON.js +4 -0
  34. package/lib/composite-comp/dito/components/SearchBanner/mobile/index.js +17 -5
  35. package/lib/composite-comp/dito/components/SearchBanner/mobile/index.less +0 -2
  36. package/lib/composite-comp/dito/components/SlideImage/defaultJSON.js +22 -28
  37. package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/ConfigDecoration/index.js +91 -0
  38. package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/ConfigDecoration/index.less +9 -0
  39. package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/OrdersConfigGroup/index.js +131 -0
  40. package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/PersonInfoConfigGroup/index.js +131 -0
  41. package/lib/composite-comp/dito/config-panels/PersonalInformationSecondConfig/index.js +127 -0
  42. package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.js +21 -5
  43. package/lib/composite-comp/dito/config-panels/SlideImageConfig/index.js +19 -1
  44. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondSecondConfig/index.js +206 -0
  45. package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondSecondConfig/index.less +9 -0
  46. package/lib/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.js +14 -0
  47. package/lib/constants/component-types.js +10 -4
  48. package/lib/constants/index.js +4 -0
  49. package/lib/core/Designer/ConfigPanel/index.js +1 -0
  50. package/lib/decorator/compositeDecorator.js +1 -1
  51. package/lib/locale/en/en.json +1 -0
  52. package/lib/locale/es/es.json +1 -0
  53. package/lib/locale/id/id.json +1 -0
  54. package/lib/meta-comp/config-panels/ImageConfig/index.js +24 -16
  55. 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
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.175",
4
+ "version": "1.0.178",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",