@nocobase/flow-engine 2.0.0-alpha.46 → 2.0.0-alpha.47
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.
|
@@ -101,7 +101,9 @@ function createCollectionContextMeta(collectionOrFactory, title) {
|
|
|
101
101
|
properties: /* @__PURE__ */ __name(async () => {
|
|
102
102
|
const properties = {};
|
|
103
103
|
collection.fields.forEach((field) => {
|
|
104
|
-
|
|
104
|
+
if (field.filterable) {
|
|
105
|
+
properties[field.name] = createFieldMetadata(field);
|
|
106
|
+
}
|
|
105
107
|
});
|
|
106
108
|
return properties;
|
|
107
109
|
}, "properties")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/flow-engine",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.47",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A standalone flow engine for NocoBase, managing workflows, models, and actions.",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@formily/antd-v5": "1.x",
|
|
10
10
|
"@formily/reactive": "2.x",
|
|
11
|
-
"@nocobase/sdk": "2.0.0-alpha.
|
|
12
|
-
"@nocobase/shared": "2.0.0-alpha.
|
|
11
|
+
"@nocobase/sdk": "2.0.0-alpha.47",
|
|
12
|
+
"@nocobase/shared": "2.0.0-alpha.47",
|
|
13
13
|
"ahooks": "^3.7.2",
|
|
14
14
|
"dayjs": "^1.11.9",
|
|
15
15
|
"dompurify": "^3.0.2",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
],
|
|
37
37
|
"author": "NocoBase Team",
|
|
38
38
|
"license": "AGPL-3.0",
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "50e5bfd0c5b6879535d20abcbbabc5541d749e12"
|
|
40
40
|
}
|
|
@@ -110,7 +110,9 @@ export function createCollectionContextMeta(
|
|
|
110
110
|
|
|
111
111
|
// 添加所有字段
|
|
112
112
|
collection.fields.forEach((field) => {
|
|
113
|
-
|
|
113
|
+
if (field.filterable) {
|
|
114
|
+
properties[field.name] = createFieldMetadata(field);
|
|
115
|
+
}
|
|
114
116
|
});
|
|
115
117
|
|
|
116
118
|
return properties;
|