@nocobase/client 1.4.25 → 1.4.26
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/es/collection-manager/templates/sql.d.ts +11 -11
- package/es/index.mjs +7 -8
- package/lib/index.js +2 -2
- package/package.json +5 -5
|
@@ -17,17 +17,6 @@ export declare class SqlCollectionTemplate extends CollectionTemplate {
|
|
|
17
17
|
fields: any[];
|
|
18
18
|
};
|
|
19
19
|
configurableProperties: {
|
|
20
|
-
filterTargetKey: {
|
|
21
|
-
title: string;
|
|
22
|
-
type: string;
|
|
23
|
-
description: string;
|
|
24
|
-
'x-decorator': string;
|
|
25
|
-
'x-component': string;
|
|
26
|
-
'x-component-props': {
|
|
27
|
-
multiple: boolean;
|
|
28
|
-
};
|
|
29
|
-
'x-reactions': string[];
|
|
30
|
-
};
|
|
31
20
|
name: any;
|
|
32
21
|
title: any;
|
|
33
22
|
description: any;
|
|
@@ -84,5 +73,16 @@ export declare class SqlCollectionTemplate extends CollectionTemplate {
|
|
|
84
73
|
};
|
|
85
74
|
};
|
|
86
75
|
};
|
|
76
|
+
filterTargetKey: {
|
|
77
|
+
title: string;
|
|
78
|
+
type: string;
|
|
79
|
+
description: string;
|
|
80
|
+
'x-decorator': string;
|
|
81
|
+
'x-component': string;
|
|
82
|
+
'x-component-props': {
|
|
83
|
+
multiple: boolean;
|
|
84
|
+
};
|
|
85
|
+
'x-reactions': string[];
|
|
86
|
+
};
|
|
87
87
|
};
|
|
88
88
|
}
|
package/es/index.mjs
CHANGED
|
@@ -4301,7 +4301,7 @@ function addAppVersion(e, t) {
|
|
|
4301
4301
|
addAppVersion((n = e.properties) == null ? void 0 : n[o], t);
|
|
4302
4302
|
}), e;
|
|
4303
4303
|
}
|
|
4304
|
-
const name = "@nocobase/client", version$1 = "1.4.
|
|
4304
|
+
const name = "@nocobase/client", version$1 = "1.4.26", license = "AGPL-3.0", main = "lib/index.js", module = "es/index.mjs", types = "es/index.d.ts", dependencies = {
|
|
4305
4305
|
"@ahooksjs/use-url-state": "3.5.1",
|
|
4306
4306
|
"@ant-design/cssinjs": "^1.11.1",
|
|
4307
4307
|
"@ant-design/icons": "^5.1.4",
|
|
@@ -4323,9 +4323,9 @@ const name = "@nocobase/client", version$1 = "1.4.25", license = "AGPL-3.0", mai
|
|
|
4323
4323
|
"@formily/reactive-react": "^2.2.27",
|
|
4324
4324
|
"@formily/shared": "^2.2.27",
|
|
4325
4325
|
"@formily/validator": "^2.2.27",
|
|
4326
|
-
"@nocobase/evaluators": "1.4.
|
|
4327
|
-
"@nocobase/sdk": "1.4.
|
|
4328
|
-
"@nocobase/utils": "1.4.
|
|
4326
|
+
"@nocobase/evaluators": "1.4.26",
|
|
4327
|
+
"@nocobase/sdk": "1.4.26",
|
|
4328
|
+
"@nocobase/utils": "1.4.26",
|
|
4329
4329
|
ahooks: "^3.7.2",
|
|
4330
4330
|
antd: "5.12.8",
|
|
4331
4331
|
"antd-style": "3.7.1",
|
|
@@ -52624,7 +52624,7 @@ class SqlCollectionTemplate extends CollectionTemplate {
|
|
|
52624
52624
|
P(this, "default", {
|
|
52625
52625
|
fields: []
|
|
52626
52626
|
});
|
|
52627
|
-
P(this, "configurableProperties",
|
|
52627
|
+
P(this, "configurableProperties", x({
|
|
52628
52628
|
title: {
|
|
52629
52629
|
type: "string",
|
|
52630
52630
|
title: '{{ t("Collection display name") }}',
|
|
@@ -52678,8 +52678,7 @@ class SqlCollectionTemplate extends CollectionTemplate {
|
|
|
52678
52678
|
"x-component": PreviewTable
|
|
52679
52679
|
}
|
|
52680
52680
|
}
|
|
52681
|
-
}
|
|
52682
|
-
}, getConfigurableProperties("category")), {
|
|
52681
|
+
},
|
|
52683
52682
|
filterTargetKey: {
|
|
52684
52683
|
title: '{{ t("Record unique key")}}',
|
|
52685
52684
|
type: "single",
|
|
@@ -52691,7 +52690,7 @@ class SqlCollectionTemplate extends CollectionTemplate {
|
|
|
52691
52690
|
},
|
|
52692
52691
|
"x-reactions": ["{{useAsyncDataSource(loadFilterTargetKeys)}}"]
|
|
52693
52692
|
}
|
|
52694
|
-
}));
|
|
52693
|
+
}, getConfigurableProperties("category", "description")));
|
|
52695
52694
|
}
|
|
52696
52695
|
}
|
|
52697
52696
|
class MainDataSource extends DataSource {
|