@zzdadelu/schema-builder 1.0.0-alpha.93 → 1.0.0-alpha.95

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 (3) hide show
  1. package/es/main.js +3 -10
  2. package/lib/main.js +3 -10
  3. package/package.json +1 -1
package/es/main.js CHANGED
@@ -55,8 +55,8 @@ var Design = function Design(props, ref) {
55
55
  };
56
56
  var engineOnLoad = /*#__PURE__*/function () {
57
57
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(event) {
58
- var _iframe3, _SimulatorRenderer, _iframeWindow$__FR_EN;
59
- var iframeWindow, iframeDocument;
58
+ var _iframe3, _iframeWindow$__FR_EN;
59
+ var iframeWindow;
60
60
  return _regenerator().w(function (_context) {
61
61
  while (1) switch (_context.n) {
62
62
  case 0:
@@ -73,11 +73,8 @@ var Design = function Design(props, ref) {
73
73
  }
74
74
  return _context.a(2);
75
75
  case 2:
76
- iframeDocument = iframeWindow === null || iframeWindow === void 0 ? void 0 : iframeWindow.document;
77
76
  console.log('iframe init engine: start waiting...');
78
- console.log('iframe init engine: start waiting...', iframeWindow);
79
- console.log('iframe init engine: start waiting...', (iframeWindow === null || iframeWindow === void 0 ? void 0 : iframeWindow.undefined) - SimulatorRenderer);
80
- console.log('iframe init engine: start waiting...', (iframeWindow === null || iframeWindow === void 0 ? void 0 : iframeWindow.undefined) - ((_SimulatorRenderer = SimulatorRenderer) === null || _SimulatorRenderer === void 0 ? void 0 : _SimulatorRenderer.AliFormRenderMaterial));
77
+ console.log('iframeWindow?.AliFormRenderMaterial', iframeWindow === null || iframeWindow === void 0 ? void 0 : iframeWindow.AliFormRenderMaterial);
81
78
  iframeWindow === null || iframeWindow === void 0 ? void 0 : (_iframeWindow$__FR_EN = iframeWindow.__FR_ENGINE__) === null || _iframeWindow$__FR_EN === void 0 ? void 0 : _iframeWindow$__FR_EN.init(_objectSpread({
82
79
  settings: _objectSpread(_objectSpread({}, defaultSetting), settings),
83
80
  widgets: widgets,
@@ -86,10 +83,6 @@ var Design = function Design(props, ref) {
86
83
  }
87
84
  }, restProps));
88
85
  console.log('iframe init engine: end init');
89
- console.log('iframe init engine: end waiting...');
90
- console.log('iframe init engine: end waiting...', iframeWindow);
91
- console.log('iframe init engine: end waiting...', iframeWindow.undefined - SimulatorRenderer);
92
- console.log('iframe init engine: end waiting...', iframeWindow.undefined - SimulatorRenderer.AliFormRenderMaterial);
93
86
  case 3:
94
87
  return _context.a(2);
95
88
  }
package/lib/main.js CHANGED
@@ -63,8 +63,8 @@ var Design = function Design(props, ref) {
63
63
  };
64
64
  var engineOnLoad = /*#__PURE__*/function () {
65
65
  var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(event) {
66
- var _iframe3, _SimulatorRenderer, _iframeWindow$__FR_EN;
67
- var iframeWindow, iframeDocument;
66
+ var _iframe3, _iframeWindow$__FR_EN;
67
+ var iframeWindow;
68
68
  return _regenerator().w(function (_context) {
69
69
  while (1) switch (_context.n) {
70
70
  case 0:
@@ -81,11 +81,8 @@ var Design = function Design(props, ref) {
81
81
  }
82
82
  return _context.a(2);
83
83
  case 2:
84
- iframeDocument = iframeWindow === null || iframeWindow === void 0 ? void 0 : iframeWindow.document;
85
84
  console.log('iframe init engine: start waiting...');
86
- console.log('iframe init engine: start waiting...', iframeWindow);
87
- console.log('iframe init engine: start waiting...', (iframeWindow === null || iframeWindow === void 0 ? void 0 : iframeWindow.undefined) - SimulatorRenderer);
88
- console.log('iframe init engine: start waiting...', (iframeWindow === null || iframeWindow === void 0 ? void 0 : iframeWindow.undefined) - ((_SimulatorRenderer = SimulatorRenderer) === null || _SimulatorRenderer === void 0 ? void 0 : _SimulatorRenderer.AliFormRenderMaterial));
85
+ console.log('iframeWindow?.AliFormRenderMaterial', iframeWindow === null || iframeWindow === void 0 ? void 0 : iframeWindow.AliFormRenderMaterial);
89
86
  iframeWindow === null || iframeWindow === void 0 ? void 0 : (_iframeWindow$__FR_EN = iframeWindow.__FR_ENGINE__) === null || _iframeWindow$__FR_EN === void 0 ? void 0 : _iframeWindow$__FR_EN.init(_objectSpread({
90
87
  settings: _objectSpread(_objectSpread({}, defaultSetting), settings),
91
88
  widgets: widgets,
@@ -94,10 +91,6 @@ var Design = function Design(props, ref) {
94
91
  }
95
92
  }, restProps));
96
93
  console.log('iframe init engine: end init');
97
- console.log('iframe init engine: end waiting...');
98
- console.log('iframe init engine: end waiting...', iframeWindow);
99
- console.log('iframe init engine: end waiting...', iframeWindow.undefined - SimulatorRenderer);
100
- console.log('iframe init engine: end waiting...', iframeWindow.undefined - SimulatorRenderer.AliFormRenderMaterial);
101
94
  case 3:
102
95
  return _context.a(2);
103
96
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zzdadelu/schema-builder",
3
- "version": "1.0.0-alpha.93",
3
+ "version": "1.0.0-alpha.95",
4
4
  "description": "通过 JSON Schema 生成标准 Form,常用于自定义搭建配置界面生成",
5
5
  "keywords": [
6
6
  "Form",