@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.
@@ -57276,21 +57276,11 @@ async function getObjectFieldsFilterBarSchema(objectSchema, ctx) {
57276
57276
  };
57277
57277
  }
57278
57278
 
57279
-
57280
- /**
57281
- * 列表视图顶部放大镜过滤条件栏amisSchema
57282
- * @param {*} objectSchema 对象UISchema
57283
- * @returns amisSchema
57284
- */
57285
- async function getObjectListHeaderFieldsFilterBar(objectSchema, listViewName, ctx) {
57286
- const fieldsFilterBarSchema = await getObjectFieldsFilterBarSchema(objectSchema, ctx);
57287
- return fieldsFilterBarSchema;
57288
- }
57289
-
57290
57279
  const getNewListviewButtonSchema = ()=>{
57291
57280
  return {
57292
57281
  "type": "button",
57293
57282
  "label": instance.t('frontend_listview_control_new_label'),
57283
+ "className": "steedos-listview-new-button",
57294
57284
  "onEvent": {
57295
57285
  "click": {
57296
57286
  "weight": 0,
@@ -57497,6 +57487,17 @@ function fieldsExtend$5(){
57497
57487
  }
57498
57488
  }
57499
57489
 
57490
+
57491
+ /**
57492
+ * 列表视图顶部放大镜过滤条件栏amisSchema
57493
+ * @param {*} objectSchema 对象UISchema
57494
+ * @returns amisSchema
57495
+ */
57496
+ async function getObjectListHeaderFieldsFilterBar(objectSchema, listViewName, ctx) {
57497
+ const fieldsFilterBarSchema = await getObjectFieldsFilterBarSchema(objectSchema, ctx);
57498
+ return fieldsFilterBarSchema;
57499
+ }
57500
+
57500
57501
  const getCopyListviewButtonSchema = ()=>{
57501
57502
  return {
57502
57503
  "type": "button",
@@ -60688,8 +60689,8 @@ if(typeof window != 'undefined'){
60688
60689
  /*
60689
60690
  * @Author: baozhoutao@steedos.com
60690
60691
  * @Date: 2023-01-13 17:27:54
60691
- * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
60692
- * @LastEditTime: 2024-04-11 14:14:43
60692
+ * @LastEditors: baozhoutao@steedos.com
60693
+ * @LastEditTime: 2024-06-07 13:39:34
60693
60694
  * @Description:
60694
60695
  */
60695
60696
 
@@ -60726,6 +60727,7 @@ const getMarkdownFieldSchema = (field, readonly, ctx)=>{
60726
60727
  "name": field.name,
60727
60728
  "labelClassName": "none",
60728
60729
  "language": "markdown",
60730
+ "options": field.amis ? field.amis.editorOptions : null
60729
60731
  }
60730
60732
  ]
60731
60733
  },