@steedos-widgets/sortable 6.3.0-beta.22 → 6.3.0-beta.24

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/assets.json CHANGED
@@ -3,8 +3,8 @@
3
3
  {
4
4
  "package": "@steedos-widgets/sortable",
5
5
  "urls": [
6
- "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.22/dist/sortable.umd.js",
7
- "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.22/dist/sortable.umd.css"
6
+ "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.24/dist/sortable.umd.js",
7
+ "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.24/dist/sortable.umd.css"
8
8
  ],
9
9
  "library": "BuilderSortable"
10
10
  }
@@ -15,10 +15,10 @@
15
15
  "npm": {
16
16
  "package": "@steedos-widgets/sortable"
17
17
  },
18
- "url": "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.22/dist/meta.js",
18
+ "url": "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.24/dist/meta.js",
19
19
  "urls": {
20
- "default": "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.22/dist/meta.js",
21
- "design": "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.22/dist/meta.js"
20
+ "default": "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.24/dist/meta.js",
21
+ "design": "https://unpkg.com/@steedos-widgets/sortable@6.3.0-beta.24/dist/meta.js"
22
22
  }
23
23
  }
24
24
  ]
@@ -54602,7 +54602,7 @@ async function getLookupLinkOnClick(field, options) {
54602
54602
  }
54603
54603
  }
54604
54604
 
54605
- const getAmisFileReadonlySchema = async (steedosField,ctx)=>{
54605
+ const getAmisFileReadonlySchema = async (steedosField,ctx = {})=>{
54606
54606
  const type = steedosField.type;
54607
54607
  const { appId, formFactor } = ctx.amisData || {};
54608
54608
  const amisFieldType = getAmisFieldType$1(steedosField, true);
@@ -55761,7 +55761,7 @@ async function getTableColumns(object, fields, options){
55761
55761
  toggled: field.toggled,
55762
55762
  static: true,
55763
55763
  className,
55764
- ...getAmisFileReadonlySchema(field)
55764
+ ...await getAmisFileReadonlySchema(field)
55765
55765
  }, fieldAmis, {name: field.name});
55766
55766
  }
55767
55767
  else if(field.type === 'select'){
@@ -59849,7 +59849,7 @@ async function lookupToAmisPicker(field, readonly, ctx){
59849
59849
  }
59850
59850
 
59851
59851
  var fieldFilters = ${JSON.stringify(field.filters)};
59852
- var currentAmis = amisRequire('amis');
59852
+ var currentAmis = (window.amisRequire && window.amisRequire('amis')) || Amis;
59853
59853
  //递归fieldFilters数组,检查每一个元素,判断若是公式,就仅把它解析
59854
59854
  function traverseNestedArray(arr) {
59855
59855
  for (let i = 0; i < arr.length; i++) {
@@ -60270,7 +60270,7 @@ async function lookupToAmisSelect(field, readonly, ctx){
60270
60270
  // }
60271
60271
 
60272
60272
  var fieldFilters = ${JSON.stringify(field.filters)};
60273
- var currentAmis = amisRequire('amis');
60273
+ var currentAmis = (window.amisRequire && window.amisRequire('amis')) || Amis;
60274
60274
  //递归fieldFilters数组,检查每一个元素,判断若是公式,就仅把它解析
60275
60275
  function traverseNestedArray(arr) {
60276
60276
  for (let i = 0; i < arr.length; i++) {