@steedos-widgets/sortable 6.3.0-beta.17 → 6.3.0-beta.20

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.
@@ -23581,21 +23581,11 @@
23581
23581
  };
23582
23582
  }
23583
23583
 
23584
-
23585
- /**
23586
- * 列表视图顶部放大镜过滤条件栏amisSchema
23587
- * @param {*} objectSchema 对象UISchema
23588
- * @returns amisSchema
23589
- */
23590
- async function getObjectListHeaderFieldsFilterBar(objectSchema, listViewName, ctx) {
23591
- const fieldsFilterBarSchema = await getObjectFieldsFilterBarSchema(objectSchema, ctx);
23592
- return fieldsFilterBarSchema;
23593
- }
23594
-
23595
23584
  const getNewListviewButtonSchema = ()=>{
23596
23585
  return {
23597
23586
  "type": "button",
23598
23587
  "label": instance.t('frontend_listview_control_new_label'),
23588
+ "className": "steedos-listview-new-button",
23599
23589
  "onEvent": {
23600
23590
  "click": {
23601
23591
  "weight": 0,
@@ -23802,6 +23792,17 @@
23802
23792
  }
23803
23793
  }
23804
23794
 
23795
+
23796
+ /**
23797
+ * 列表视图顶部放大镜过滤条件栏amisSchema
23798
+ * @param {*} objectSchema 对象UISchema
23799
+ * @returns amisSchema
23800
+ */
23801
+ async function getObjectListHeaderFieldsFilterBar(objectSchema, listViewName, ctx) {
23802
+ const fieldsFilterBarSchema = await getObjectFieldsFilterBarSchema(objectSchema, ctx);
23803
+ return fieldsFilterBarSchema;
23804
+ }
23805
+
23805
23806
  const getCopyListviewButtonSchema = ()=>{
23806
23807
  return {
23807
23808
  "type": "button",
@@ -26993,8 +26994,8 @@ crudService && crudService.setData({showFieldsFilter: toShowFieldsFilter});
26993
26994
  /*
26994
26995
  * @Author: baozhoutao@steedos.com
26995
26996
  * @Date: 2023-01-13 17:27:54
26996
- * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
26997
- * @LastEditTime: 2024-04-11 14:14:43
26997
+ * @LastEditors: baozhoutao@steedos.com
26998
+ * @LastEditTime: 2024-06-07 13:39:34
26998
26999
  * @Description:
26999
27000
  */
27000
27001
 
@@ -27031,6 +27032,7 @@ crudService && crudService.setData({showFieldsFilter: toShowFieldsFilter});
27031
27032
  "name": field.name,
27032
27033
  "labelClassName": "none",
27033
27034
  "language": "markdown",
27035
+ "options": field.amis ? field.amis.editorOptions : null
27034
27036
  }
27035
27037
  ]
27036
27038
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos-widgets/sortable",
3
- "version": "6.3.0-beta.17",
3
+ "version": "6.3.0-beta.20",
4
4
  "main": "dist/sortable.cjs.js",
5
5
  "module": "dist/sortable.esm.js",
6
6
  "unpkg": "dist/sortable.umd.js",
@@ -45,7 +45,7 @@
45
45
  "dependencies": {
46
46
  "@dnd-kit/core": "^6.0.5",
47
47
  "@dnd-kit/sortable": "^7.0.1",
48
- "@steedos-widgets/amis-lib": "6.3.0-beta.17"
48
+ "@steedos-widgets/amis-lib": "6.3.0-beta.20"
49
49
  },
50
- "gitHead": "dd25c4f945f423790ba2fd447daa5136e1d08b11"
50
+ "gitHead": "ed30d1afd1dad3390e2bc95322a51a8b03c96c53"
51
51
  }