@zzdadelu/schema-builder 1.0.0-alpha.98 → 1.0.0-alpha.99
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/main.js +3 -15
- package/lib/main.js +3 -15
- package/package.json +1 -1
package/es/main.js
CHANGED
|
@@ -60,12 +60,6 @@ var Design = function Design(props, ref) {
|
|
|
60
60
|
}
|
|
61
61
|
return _context.a(2);
|
|
62
62
|
case 1:
|
|
63
|
-
_context.n = 2;
|
|
64
|
-
return delay(3000);
|
|
65
|
-
case 2:
|
|
66
|
-
// 设置延迟,例如 2000 毫秒(2 秒)
|
|
67
|
-
|
|
68
|
-
// 初始化引擎
|
|
69
63
|
(_iframe3 = iframe) === null || _iframe3 === void 0 ? void 0 : (_iframe3$contentWindo = _iframe3.contentWindow) === null || _iframe3$contentWindo === void 0 ? void 0 : (_iframe3$contentWindo2 = _iframe3$contentWindo.__FR_ENGINE__) === null || _iframe3$contentWindo2 === void 0 ? void 0 : _iframe3$contentWindo2.init(_objectSpread({
|
|
70
64
|
settings: _objectSpread(_objectSpread({}, defaultSetting), settings),
|
|
71
65
|
widgets: widgets,
|
|
@@ -74,15 +68,7 @@ var Design = function Design(props, ref) {
|
|
|
74
68
|
}
|
|
75
69
|
}, restProps));
|
|
76
70
|
console.log('Engine initialization complete.');
|
|
77
|
-
|
|
78
|
-
// 在初始化后设置等待
|
|
79
|
-
_context.n = 3;
|
|
80
|
-
return delay(3000);
|
|
81
|
-
case 3:
|
|
82
|
-
// 另一段延迟,例如 1000 毫秒(1 秒)
|
|
83
|
-
|
|
84
|
-
console.log('Post-initialization tasks completed.');
|
|
85
|
-
case 4:
|
|
71
|
+
case 2:
|
|
86
72
|
return _context.a(2);
|
|
87
73
|
}
|
|
88
74
|
}, _callee);
|
|
@@ -91,6 +77,8 @@ var Design = function Design(props, ref) {
|
|
|
91
77
|
return _ref.apply(this, arguments);
|
|
92
78
|
};
|
|
93
79
|
}();
|
|
80
|
+
delay(10000); // 另一段延迟,例如 1000 毫秒(1 秒)
|
|
81
|
+
|
|
94
82
|
return /*#__PURE__*/React.createElement("div", {
|
|
95
83
|
ref: containerRef,
|
|
96
84
|
style: {
|
package/lib/main.js
CHANGED
|
@@ -68,12 +68,6 @@ var Design = function Design(props, ref) {
|
|
|
68
68
|
}
|
|
69
69
|
return _context.a(2);
|
|
70
70
|
case 1:
|
|
71
|
-
_context.n = 2;
|
|
72
|
-
return delay(3000);
|
|
73
|
-
case 2:
|
|
74
|
-
// 设置延迟,例如 2000 毫秒(2 秒)
|
|
75
|
-
|
|
76
|
-
// 初始化引擎
|
|
77
71
|
(_iframe3 = iframe) === null || _iframe3 === void 0 ? void 0 : (_iframe3$contentWindo = _iframe3.contentWindow) === null || _iframe3$contentWindo === void 0 ? void 0 : (_iframe3$contentWindo2 = _iframe3$contentWindo.__FR_ENGINE__) === null || _iframe3$contentWindo2 === void 0 ? void 0 : _iframe3$contentWindo2.init(_objectSpread({
|
|
78
72
|
settings: _objectSpread(_objectSpread({}, defaultSetting), settings),
|
|
79
73
|
widgets: widgets,
|
|
@@ -82,15 +76,7 @@ var Design = function Design(props, ref) {
|
|
|
82
76
|
}
|
|
83
77
|
}, restProps));
|
|
84
78
|
console.log('Engine initialization complete.');
|
|
85
|
-
|
|
86
|
-
// 在初始化后设置等待
|
|
87
|
-
_context.n = 3;
|
|
88
|
-
return delay(3000);
|
|
89
|
-
case 3:
|
|
90
|
-
// 另一段延迟,例如 1000 毫秒(1 秒)
|
|
91
|
-
|
|
92
|
-
console.log('Post-initialization tasks completed.');
|
|
93
|
-
case 4:
|
|
79
|
+
case 2:
|
|
94
80
|
return _context.a(2);
|
|
95
81
|
}
|
|
96
82
|
}, _callee);
|
|
@@ -99,6 +85,8 @@ var Design = function Design(props, ref) {
|
|
|
99
85
|
return _ref.apply(this, arguments);
|
|
100
86
|
};
|
|
101
87
|
}();
|
|
88
|
+
delay(10000); // 另一段延迟,例如 1000 毫秒(1 秒)
|
|
89
|
+
|
|
102
90
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
103
91
|
ref: containerRef,
|
|
104
92
|
style: {
|