@brushes/editor-component-mini 0.0.1 → 0.0.2

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 (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{jsx as r,jsxs as e,Fragment as o}from"react/jsx-runtime";import*as n from"@brushes/lowcode-component-ui";import{DynamicForm as t}from"@brushes/mobile-form";import{Editor as i,ModuleProvider as c,OutContainer as s,SlotEmpty as m,ContainerWrap as p,Container as a,IsShowContainer as l,Frame as u,Element as b}from"@brushes/component-core";import{useQueryInitData as d}from"@brushes/component-store-web";import{useComponent as f}from"@brushes/simulate-component-mini";"function"==typeof SuppressedError&&SuppressedError;const O=e=>{var{children:o}=e,u=function(r,e){var o={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(o[n]=r[n]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var t=0;for(n=Object.getOwnPropertySymbols(r);t<n.length;t++)e.indexOf(n[t])<0&&Object.prototype.propertyIsEnumerable.call(r,n[t])&&(o[n[t]]=r[n[t]])}return o}(e,["children"]);return r(i,Object.assign({enabled:!1},u,{resolver:Object.assign(Object.assign({},n),{DynamicForm:t,ModuleProvider:c,OutContainer:s,SlotEmpty:m,ContainerWrap:p,Container:a,IsShowContainer:l}),children:r(c,{children:o})}))},h=({menuOpcode:e})=>(d(e),r(u,{children:r(b,{className:"root-container",canvas:!0,is:p,"data-cy":"root-container"})}));function y({menuOpcode:n}){const{SafeArea:t}=f();return e(o,{children:[r(O,{children:r(h,{menuOpcode:n})}),r(t,{position:"bottom"})]})}export{y as Common,O as WrapContainer};
1
+ import{jsx as r,jsxs as e,Fragment as o}from"react/jsx-runtime";import*as n from"@brushes/lowcode-component-ui";import{DynamicForm as t}from"@brushes/mobile-form-mini";import{Editor as i,ModuleProvider as c,OutContainer as s,SlotEmpty as m,ContainerWrap as p,Container as a,IsShowContainer as l,Frame as u,Element as b}from"@brushes/component-core-mini";import{useQueryInitData as d}from"@brushes/component-store-web";import{useComponent as f}from"@brushes/simulate-component-mini";"function"==typeof SuppressedError&&SuppressedError;const O=e=>{var{children:o}=e,u=function(r,e){var o={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(o[n]=r[n]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var t=0;for(n=Object.getOwnPropertySymbols(r);t<n.length;t++)e.indexOf(n[t])<0&&Object.prototype.propertyIsEnumerable.call(r,n[t])&&(o[n[t]]=r[n[t]])}return o}(e,["children"]);return r(i,Object.assign({enabled:!1},u,{resolver:Object.assign(Object.assign({},n),{DynamicForm:t,ModuleProvider:c,OutContainer:s,SlotEmpty:m,ContainerWrap:p,Container:a,IsShowContainer:l}),children:r(c,{children:o})}))},h=({menuOpcode:e})=>(d(e),r(u,{children:r(b,{className:"root-container",canvas:!0,is:p,"data-cy":"root-container"})}));function y({menuOpcode:n}){const{SafeArea:t}=f();return e(o,{children:[r(O,{children:r(h,{menuOpcode:n})}),r(t,{position:"bottom"})]})}export{y as Common,O as WrapContainer};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brushes/editor-component-mini",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -9,6 +9,6 @@
9
9
  },
10
10
  "devDependencies": {
11
11
  "@brushes/lowcode-component-ui": "*",
12
- "@brushes/component-core": "*"
12
+ "@brushes/component-core-mini": "*"
13
13
  }
14
14
  }