@fonixtree/magic-design 0.0.130 → 0.0.131
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/common/ImageModal/index.js +75 -31
- package/es/composite-comp/bol/components/Text/index.js +22 -5
- package/es/composite-comp/bol/components/Text/index.less +0 -3
- package/es/composite-comp/dito/components/PcNavigation/pc/index.js +1 -1
- package/es/composite-comp/dito/components/PcNavigation/pc/index.less +3 -2
- package/es/constants/index.js +3 -1
- package/es/core/Designer/LeftTitle/index.js +66 -0
- package/es/core/Designer/LeftTitle/index.less +9 -0
- package/es/core/Designer/QuickMenuBar/index.js +16 -5
- package/es/core/Designer/RenderHtml/index.js +85 -0
- package/es/core/Designer/RenderHtml/index.less +4 -0
- package/es/core/Designer/index.js +200 -3
- 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/utils/businessUtil.js +3 -3
- package/lib/common/ImageModal/index.js +75 -31
- package/lib/composite-comp/bol/components/Text/index.js +22 -5
- package/lib/composite-comp/bol/components/Text/index.less +0 -3
- package/lib/composite-comp/dito/components/PcNavigation/pc/index.js +1 -1
- package/lib/composite-comp/dito/components/PcNavigation/pc/index.less +3 -2
- package/lib/constants/index.js +3 -1
- package/lib/core/Designer/LeftTitle/index.js +66 -0
- package/lib/core/Designer/LeftTitle/index.less +9 -0
- package/lib/core/Designer/QuickMenuBar/index.js +16 -5
- package/lib/core/Designer/RenderHtml/index.js +85 -0
- package/lib/core/Designer/RenderHtml/index.less +4 -0
- package/lib/core/Designer/index.js +200 -3
- 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/utils/businessUtil.js +3 -3
- package/package.json +3 -2
|
@@ -11,6 +11,8 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
11
11
|
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
|
|
14
|
+
var _antd = require("antd");
|
|
15
|
+
|
|
14
16
|
var _mobx = require("../../../mobx");
|
|
15
17
|
|
|
16
18
|
var _Button = _interopRequireDefault(require("../../../common/Button"));
|
|
@@ -19,11 +21,9 @@ var _Iconfont = _interopRequireDefault(require("../../../common/Iconfont"));
|
|
|
19
21
|
|
|
20
22
|
var _constants = require("../../../constants");
|
|
21
23
|
|
|
22
|
-
require("./index.less");
|
|
23
|
-
|
|
24
24
|
var _locale = require("../../../locale");
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
require("./index.less");
|
|
27
27
|
|
|
28
28
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
29
29
|
|
|
@@ -113,7 +113,9 @@ function (_super) {
|
|
|
113
113
|
device = _a.device,
|
|
114
114
|
undoDisable = _a.undoDisable,
|
|
115
115
|
redoDisable = _a.redoDisable,
|
|
116
|
-
language = _a.language
|
|
116
|
+
language = _a.language,
|
|
117
|
+
outputType = _a.outputType,
|
|
118
|
+
onHtmlSave = _a.onHtmlSave;
|
|
117
119
|
var languageTemp = langBook[language] || {};
|
|
118
120
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
119
121
|
className: "quick_menu_wrap"
|
|
@@ -169,7 +171,16 @@ function (_super) {
|
|
|
169
171
|
icon: "icon-next",
|
|
170
172
|
onClick: this.onBtnClick,
|
|
171
173
|
type: "icon"
|
|
172
|
-
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
174
|
+
}))), outputType == 'html' ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
175
|
+
className: "menu_right"
|
|
176
|
+
}, /*#__PURE__*/_react["default"].createElement(_Button["default"], {
|
|
177
|
+
onClick: function onClick() {
|
|
178
|
+
window.close();
|
|
179
|
+
}
|
|
180
|
+
}, (0, _locale.i18n)('BACK')), /*#__PURE__*/_react["default"].createElement(_Button["default"], {
|
|
181
|
+
onClick: onHtmlSave,
|
|
182
|
+
type: "light"
|
|
183
|
+
}, (0, _locale.i18n)('SAVE'))) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
173
184
|
className: "menu_right"
|
|
174
185
|
}, /*#__PURE__*/_react["default"].createElement(_Button["default"], {
|
|
175
186
|
"data-code": _constants.quickMenuCode.PREVIEW,
|
|
@@ -0,0 +1,85 @@
|
|
|
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 _Renderer = _interopRequireDefault(require("../../Renderer"));
|
|
11
|
+
|
|
12
|
+
require("./index.less");
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
|
|
16
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
17
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
18
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
19
|
+
__proto__: []
|
|
20
|
+
} instanceof Array && function (d, b) {
|
|
21
|
+
d.__proto__ = b;
|
|
22
|
+
} || function (d, b) {
|
|
23
|
+
for (var p in b) {
|
|
24
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
return _extendStatics(d, b);
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
return function (d, b) {
|
|
32
|
+
_extendStatics(d, b);
|
|
33
|
+
|
|
34
|
+
function __() {
|
|
35
|
+
this.constructor = d;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
39
|
+
};
|
|
40
|
+
}();
|
|
41
|
+
|
|
42
|
+
var RenderHtml =
|
|
43
|
+
/** @class */
|
|
44
|
+
function (_super) {
|
|
45
|
+
__extends(RenderHtml, _super);
|
|
46
|
+
|
|
47
|
+
function RenderHtml() {
|
|
48
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
49
|
+
|
|
50
|
+
_this.state = {
|
|
51
|
+
renderProps: null
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
_this.renderHtml = function (renderProps) {
|
|
55
|
+
return new Promise(function (resolve) {
|
|
56
|
+
_this.setState({
|
|
57
|
+
renderProps: renderProps
|
|
58
|
+
}, function () {
|
|
59
|
+
var html = document.querySelector('#render-html-wrap').innerHTML;
|
|
60
|
+
resolve(html);
|
|
61
|
+
|
|
62
|
+
_this.setState({
|
|
63
|
+
renderProps: null
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
return _this;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
RenderHtml.prototype.render = function () {
|
|
73
|
+
var renderProps = this.state.renderProps;
|
|
74
|
+
if (!renderProps) return null;
|
|
75
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
76
|
+
id: "render-html-wrap"
|
|
77
|
+
}, /*#__PURE__*/_react["default"].createElement(_Renderer["default"], renderProps));
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
RenderHtml.defaultProps = {};
|
|
81
|
+
return RenderHtml;
|
|
82
|
+
}(_react["default"].Component);
|
|
83
|
+
|
|
84
|
+
var _default = RenderHtml;
|
|
85
|
+
exports["default"] = _default;
|
|
@@ -29,6 +29,10 @@ var _History = _interopRequireDefault(require("./History"));
|
|
|
29
29
|
|
|
30
30
|
var _AppointmentModal = _interopRequireDefault(require("./AppointmentModal"));
|
|
31
31
|
|
|
32
|
+
var _LeftTitle = _interopRequireDefault(require("./LeftTitle"));
|
|
33
|
+
|
|
34
|
+
var _RenderHtml = _interopRequireDefault(require("./RenderHtml"));
|
|
35
|
+
|
|
32
36
|
var _componentTypes = require("../../constants/component-types");
|
|
33
37
|
|
|
34
38
|
var _mobx = require("../../mobx");
|
|
@@ -39,6 +43,8 @@ require("./index.less");
|
|
|
39
43
|
|
|
40
44
|
var _common = require("../../common");
|
|
41
45
|
|
|
46
|
+
var _storeUtil = require("../../utils/storeUtil");
|
|
47
|
+
|
|
42
48
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
43
49
|
|
|
44
50
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -87,6 +93,149 @@ var __assign = void 0 && (void 0).__assign || function () {
|
|
|
87
93
|
return __assign.apply(this, arguments);
|
|
88
94
|
};
|
|
89
95
|
|
|
96
|
+
var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
|
|
97
|
+
function adopt(value) {
|
|
98
|
+
return value instanceof P ? value : new P(function (resolve) {
|
|
99
|
+
resolve(value);
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
104
|
+
function fulfilled(value) {
|
|
105
|
+
try {
|
|
106
|
+
step(generator.next(value));
|
|
107
|
+
} catch (e) {
|
|
108
|
+
reject(e);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
function rejected(value) {
|
|
113
|
+
try {
|
|
114
|
+
step(generator["throw"](value));
|
|
115
|
+
} catch (e) {
|
|
116
|
+
reject(e);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
function step(result) {
|
|
121
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
125
|
+
});
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
|
|
129
|
+
var _ = {
|
|
130
|
+
label: 0,
|
|
131
|
+
sent: function sent() {
|
|
132
|
+
if (t[0] & 1) throw t[1];
|
|
133
|
+
return t[1];
|
|
134
|
+
},
|
|
135
|
+
trys: [],
|
|
136
|
+
ops: []
|
|
137
|
+
},
|
|
138
|
+
f,
|
|
139
|
+
y,
|
|
140
|
+
t,
|
|
141
|
+
g;
|
|
142
|
+
return g = {
|
|
143
|
+
next: verb(0),
|
|
144
|
+
"throw": verb(1),
|
|
145
|
+
"return": verb(2)
|
|
146
|
+
}, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
|
|
147
|
+
return this;
|
|
148
|
+
}), g;
|
|
149
|
+
|
|
150
|
+
function verb(n) {
|
|
151
|
+
return function (v) {
|
|
152
|
+
return step([n, v]);
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
function step(op) {
|
|
157
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
158
|
+
|
|
159
|
+
while (_) {
|
|
160
|
+
try {
|
|
161
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
162
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
163
|
+
|
|
164
|
+
switch (op[0]) {
|
|
165
|
+
case 0:
|
|
166
|
+
case 1:
|
|
167
|
+
t = op;
|
|
168
|
+
break;
|
|
169
|
+
|
|
170
|
+
case 4:
|
|
171
|
+
_.label++;
|
|
172
|
+
return {
|
|
173
|
+
value: op[1],
|
|
174
|
+
done: false
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
case 5:
|
|
178
|
+
_.label++;
|
|
179
|
+
y = op[1];
|
|
180
|
+
op = [0];
|
|
181
|
+
continue;
|
|
182
|
+
|
|
183
|
+
case 7:
|
|
184
|
+
op = _.ops.pop();
|
|
185
|
+
|
|
186
|
+
_.trys.pop();
|
|
187
|
+
|
|
188
|
+
continue;
|
|
189
|
+
|
|
190
|
+
default:
|
|
191
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
192
|
+
_ = 0;
|
|
193
|
+
continue;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
197
|
+
_.label = op[1];
|
|
198
|
+
break;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
202
|
+
_.label = t[1];
|
|
203
|
+
t = op;
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
if (t && _.label < t[2]) {
|
|
208
|
+
_.label = t[2];
|
|
209
|
+
|
|
210
|
+
_.ops.push(op);
|
|
211
|
+
|
|
212
|
+
break;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
if (t[2]) _.ops.pop();
|
|
216
|
+
|
|
217
|
+
_.trys.pop();
|
|
218
|
+
|
|
219
|
+
continue;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
op = body.call(thisArg, _);
|
|
223
|
+
} catch (e) {
|
|
224
|
+
op = [6, e];
|
|
225
|
+
y = 0;
|
|
226
|
+
} finally {
|
|
227
|
+
f = t = 0;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
if (op[0] & 5) throw op[1];
|
|
232
|
+
return {
|
|
233
|
+
value: op[0] ? op[1] : void 0,
|
|
234
|
+
done: true
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
|
|
90
239
|
var __spreadArrays = void 0 && (void 0).__spreadArrays || function () {
|
|
91
240
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++) {
|
|
92
241
|
s += arguments[i].length;
|
|
@@ -129,6 +278,8 @@ function (_super) {
|
|
|
129
278
|
function Designer(props) {
|
|
130
279
|
var _this = _super.call(this, props) || this;
|
|
131
280
|
|
|
281
|
+
_this.renderHtmlRef = /*#__PURE__*/_react["default"].createRef();
|
|
282
|
+
|
|
132
283
|
_this.closeCompList = function () {
|
|
133
284
|
if (_this.compListRef.current.open) {
|
|
134
285
|
_this.compListRef.current.onClose();
|
|
@@ -366,11 +517,45 @@ function (_super) {
|
|
|
366
517
|
}
|
|
367
518
|
};
|
|
368
519
|
|
|
520
|
+
_this.onHtmlSave = function () {
|
|
521
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
522
|
+
var _a, device, MPageData, renderProps, html;
|
|
523
|
+
|
|
524
|
+
return __generator(this, function (_b) {
|
|
525
|
+
switch (_b.label) {
|
|
526
|
+
case 0:
|
|
527
|
+
_a = this.state, device = _a.device, MPageData = _a.MPageData;
|
|
528
|
+
renderProps = {
|
|
529
|
+
pageData: {
|
|
530
|
+
id: (0, _uuid.v4)(),
|
|
531
|
+
childNodes: MPageData
|
|
532
|
+
},
|
|
533
|
+
device: device
|
|
534
|
+
};
|
|
535
|
+
return [4
|
|
536
|
+
/*yield*/
|
|
537
|
+
, this.renderHtmlRef.current.renderHtml(renderProps)];
|
|
538
|
+
|
|
539
|
+
case 1:
|
|
540
|
+
html = _b.sent();
|
|
541
|
+
(0, _storeUtil.setStore)(_constants.STORAGE_KEY.MAGIC_RENDER_HTML, html);
|
|
542
|
+
(0, _storeUtil.setStore)(_constants.STORAGE_KEY.MAGIC_RENDER_PAGEDATA, renderProps.pageData);
|
|
543
|
+
window.close();
|
|
544
|
+
return [2
|
|
545
|
+
/*return*/
|
|
546
|
+
];
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
});
|
|
550
|
+
};
|
|
551
|
+
|
|
369
552
|
_this.renderHeader = function () {
|
|
370
553
|
return /*#__PURE__*/_react["default"].createElement(_QuickMenuBar["default"], {
|
|
371
554
|
device: _this.state.device,
|
|
372
555
|
language: _this.props.language,
|
|
373
556
|
onBtnClick: _this.onQuickMenuClick,
|
|
557
|
+
onHtmlSave: _this.onHtmlSave,
|
|
558
|
+
outputType: _this.props.outputType,
|
|
374
559
|
redoDisable: !_this.history.redoAble(),
|
|
375
560
|
undoDisable: !_this.history.undoAble()
|
|
376
561
|
});
|
|
@@ -481,7 +666,17 @@ function (_super) {
|
|
|
481
666
|
pagesManager = _b.pagesManager,
|
|
482
667
|
compSource = _b.compSource,
|
|
483
668
|
pageName = _b.pageName,
|
|
484
|
-
onCancelPublish = _b.onCancelPublish
|
|
669
|
+
onCancelPublish = _b.onCancelPublish,
|
|
670
|
+
leftTitle = _b.leftTitle,
|
|
671
|
+
outputType = _b.outputType;
|
|
672
|
+
var renderPagesManage = pagesManager;
|
|
673
|
+
|
|
674
|
+
if (outputType == 'html') {
|
|
675
|
+
renderPagesManage = /*#__PURE__*/_react["default"].createElement(_LeftTitle["default"], {
|
|
676
|
+
title: leftTitle
|
|
677
|
+
});
|
|
678
|
+
}
|
|
679
|
+
|
|
485
680
|
return /*#__PURE__*/_react["default"].createElement(_mobxReact.Provider, {
|
|
486
681
|
store: _mobx.store
|
|
487
682
|
}, /*#__PURE__*/_react["default"].createElement(_antd.ConfigProvider, {
|
|
@@ -496,7 +691,7 @@ function (_super) {
|
|
|
496
691
|
onAdd: this.onAdd,
|
|
497
692
|
pageData: MPageData,
|
|
498
693
|
pageName: pageName,
|
|
499
|
-
renderPagesManage:
|
|
694
|
+
renderPagesManage: renderPagesManage,
|
|
500
695
|
setPageData: this.setPageData
|
|
501
696
|
}), /*#__PURE__*/_react["default"].createElement(_CompListPanel["default"], {
|
|
502
697
|
ref: this.compListRef,
|
|
@@ -525,7 +720,9 @@ function (_super) {
|
|
|
525
720
|
},
|
|
526
721
|
onConfirm: this.onAppointmentConfirm,
|
|
527
722
|
visible: appointmentVisible
|
|
528
|
-
})), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_common.SystemNotification, null)))
|
|
723
|
+
})), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_common.SystemNotification, null))), /*#__PURE__*/_react["default"].createElement(_RenderHtml["default"], {
|
|
724
|
+
ref: this.renderHtmlRef
|
|
725
|
+
}));
|
|
529
726
|
};
|
|
530
727
|
|
|
531
728
|
return Designer;
|
package/lib/locale/en/en.json
CHANGED
package/lib/locale/es/es.json
CHANGED
package/lib/locale/id/id.json
CHANGED
|
@@ -57,12 +57,12 @@ var parseUrl = function parseUrl(url) {
|
|
|
57
57
|
|
|
58
58
|
case _constants.urlType.CUSTOMIZED:
|
|
59
59
|
// 自定义页面
|
|
60
|
-
pcLink = "/
|
|
61
|
-
h5Link = "/
|
|
60
|
+
pcLink = "/poster/" + arg1;
|
|
61
|
+
h5Link = "/poster/" + arg1;
|
|
62
62
|
params = {
|
|
63
63
|
type: 'CUSTOMIZED',
|
|
64
64
|
data: {
|
|
65
|
-
url: "/
|
|
65
|
+
url: "/poster/" + arg1
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
break;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonixtree/magic-design",
|
|
3
3
|
"author": "Cylon Team",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.131",
|
|
5
5
|
"description": "Magic Design",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
"react-slick": "^0.29.0",
|
|
36
36
|
"replace": "^1.2.1",
|
|
37
37
|
"shortid": "^2.2.16",
|
|
38
|
-
"slick-carousel": "^1.8.1"
|
|
38
|
+
"slick-carousel": "^1.8.1",
|
|
39
|
+
"styled-components": "^5.3.9"
|
|
39
40
|
},
|
|
40
41
|
"peerDependencies": {
|
|
41
42
|
"react": ">=16.11.0",
|