@teamix/pro 1.5.46-beta.1 → 1.5.46

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/dist/pro.js CHANGED
@@ -103821,12 +103821,10 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
103821
103821
  return schemaProperties;
103822
103822
  }, []);
103823
103823
  var formilySchema = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {
103824
- return schema == null ? void 0 : schema.map(function (item) {
103825
- return {
103826
- type: 'object',
103827
- properties: formatSchema([item])
103828
- };
103829
- });
103824
+ return {
103825
+ type: 'object',
103826
+ properties: formatSchema(schema)
103827
+ };
103830
103828
  }, [schema]);
103831
103829
  var mergedScope = _extends({}, scope, {
103832
103830
  $request: _reactions__WEBPACK_IMPORTED_MODULE_12__/* .$request */ .bE,
@@ -103834,19 +103832,10 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
103834
103832
  $dataSource: _reactions__WEBPACK_IMPORTED_MODULE_12__/* .$dataSource */ .Sv,
103835
103833
  $validator: _reactions__WEBPACK_IMPORTED_MODULE_12__/* .$validator */ .fn
103836
103834
  }, schemaScopeRef.current);
103837
- return formilySchema == null ? void 0 : formilySchema.map(function (item) {
103838
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(SchemaField, {
103839
- key: JSON.stringify(item, function (key, value) {
103840
- if (key.startsWith('x-') || key.startsWith('_')) return '';
103841
- if (typeof value === 'function') {
103842
- return value.toString();
103843
- }
103844
- return value;
103845
- }),
103846
- schema: item,
103847
- components: components,
103848
- scope: mergedScope
103849
- });
103835
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(SchemaField, {
103836
+ schema: formilySchema,
103837
+ components: components,
103838
+ scope: mergedScope
103850
103839
  });
103851
103840
  }));
103852
103841
 
@@ -105676,7 +105665,7 @@ if (!((_window = window) != null && _window.TEAMIXPRO_WITHOUT_ICON)) {
105676
105665
 
105677
105666
 
105678
105667
 
105679
- var version = '1.5.46-beta.1';
105668
+ var version = '1.5.46';
105680
105669
 
105681
105670
  // By TeamixTest
105682
105671
  window.postMessage({