@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/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -3314,8 +3314,8 @@ const getDisplayAsButton = function(objectName, showDisplayAs){
|
|
|
3314
3314
|
"icon": "fa fa-table-columns",
|
|
3315
3315
|
"btnClassName": "antd-Button--iconOnly bg-white p-2 rounded border-gray-300 text-gray-500",
|
|
3316
3316
|
"align": "right",
|
|
3317
|
-
"visibleOn": "${
|
|
3318
|
-
"buttons": [
|
|
3317
|
+
"visibleOn": "${window:innerWidth > 768}",
|
|
3318
|
+
"buttons": [
|
|
3319
3319
|
{
|
|
3320
3320
|
"label": "显示为",
|
|
3321
3321
|
"children": buttons
|
|
@@ -5635,7 +5635,7 @@ async function convertSFieldToAmisField(field, readonly, ctx) {
|
|
|
5635
5635
|
convertData = {
|
|
5636
5636
|
type: "editor",
|
|
5637
5637
|
language: field.language,
|
|
5638
|
-
|
|
5638
|
+
editorDidMount: new Function('editor', 'monaco', field.editorDidMount)
|
|
5639
5639
|
};
|
|
5640
5640
|
break;
|
|
5641
5641
|
case 'toggle':
|