@steedos-widgets/amis-lib 1.2.6-beta.11 → 1.2.6-beta.12

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/index.umd.js CHANGED
@@ -3340,8 +3340,8 @@
3340
3340
  "icon": "fa fa-table-columns",
3341
3341
  "btnClassName": "antd-Button--iconOnly bg-white p-2 rounded border-gray-300 text-gray-500",
3342
3342
  "align": "right",
3343
- "visibleOn": "${formFactor !== 'SMALL'}",
3344
- "buttons": [
3343
+ "visibleOn": "${window:innerWidth > 768}",
3344
+ "buttons": [
3345
3345
  {
3346
3346
  "label": "显示为",
3347
3347
  "children": buttons
@@ -5661,7 +5661,7 @@ setTimeout(()=>{
5661
5661
  convertData = {
5662
5662
  type: "editor",
5663
5663
  language: field.language,
5664
- // value: field.defaultValue || ''
5664
+ editorDidMount: new Function('editor', 'monaco', field.editorDidMount)
5665
5665
  };
5666
5666
  break;
5667
5667
  case 'toggle':