@steedos-widgets/sortable 3.6.12 → 3.6.13

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@3.6.12/dist/sortable.umd.js",
7
- "https://unpkg.com/@steedos-widgets/sortable@3.6.12/dist/sortable.umd.css"
6
+ "https://unpkg.com/@steedos-widgets/sortable@3.6.13/dist/sortable.umd.js",
7
+ "https://unpkg.com/@steedos-widgets/sortable@3.6.13/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@3.6.12/dist/meta.js",
18
+ "url": "https://unpkg.com/@steedos-widgets/sortable@3.6.13/dist/meta.js",
19
19
  "urls": {
20
- "default": "https://unpkg.com/@steedos-widgets/sortable@3.6.12/dist/meta.js",
21
- "design": "https://unpkg.com/@steedos-widgets/sortable@3.6.12/dist/meta.js"
20
+ "default": "https://unpkg.com/@steedos-widgets/sortable@3.6.13/dist/meta.js",
21
+ "design": "https://unpkg.com/@steedos-widgets/sortable@3.6.13/dist/meta.js"
22
22
  }
23
23
  }
24
24
  ]
@@ -55514,7 +55514,7 @@ async function getTableColumns(object, fields, options){
55514
55514
  var file_id = data.versions && data.versions[0] && data.versions[0]._id;
55515
55515
  window.previewFile && window.previewFile({file_name, file_id});
55516
55516
  `;
55517
- columnItem = {
55517
+ columnItem = Object.assign({}, {
55518
55518
  "type": "button",
55519
55519
  "label": `<%=data.versions ? data.name : "${field.label}"%>`,
55520
55520
  className,
@@ -55546,7 +55546,7 @@ async function getTableColumns(object, fields, options){
55546
55546
  ]
55547
55547
  }
55548
55548
  }
55549
- };
55549
+ }, fieldAmis);
55550
55550
  }else if(field.type === 'toggle'){
55551
55551
  columnItem = Object.assign({}, {
55552
55552
  type: "switch",
@@ -60175,7 +60175,7 @@ async function lookupToAmisSelect(field, readonly, ctx){
60175
60175
  var optionsFilters = [["${valueFieldKey}", optionsFiltersOp, []]];
60176
60176
  if (defaultValue && !api.data.$term) {
60177
60177
  const defaultValueOptionsQueryData = ${JSON.stringify(defaultValueOptionsQueryData)};
60178
- const defaultValueOptionsQuery = defaultValueOptionsQueryData?.query?.replace(/^{/,"").replace(/}$/,"");
60178
+ const defaultValueOptionsQuery = defaultValueOptionsQueryData && defaultValueOptionsQueryData.query && defaultValueOptionsQueryData.query.replace(/^{/,"").replace(/}$/,"");
60179
60179
  // 字段值单独请求,没值的时候在请求中返回空
60180
60180
  optionsFilters = [["${valueFieldKey}", optionsFiltersOp, defaultValue]];
60181
60181
  if(filters.length > 0){