@nocobase/plugin-block-tree 2.1.0-beta.22 → 2.1.0-beta.24

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.
@@ -7,7 +7,7 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
  export declare function useTreeTranslation(): import("react-i18next").UseTranslationResponse<string[], undefined>;
10
- export declare function useT(): (str: string) => any;
10
+ export declare function useT(): (str: string) => string;
11
11
  export declare function tExpr(key: string): string;
12
12
  export declare function generateNTemplate(key: string): string;
13
13
  export declare function generateCommonTemplate(key: string): string;
@@ -10,7 +10,7 @@ import { CollectionBlockModel } from '@nocobase/client';
10
10
  import { MultiRecordResource } from '@nocobase/flow-engine';
11
11
  import React from 'react';
12
12
  export declare class TreeBlockModel extends CollectionBlockModel {
13
- static scene: import("@nocobase/client").BlockSceneType;
13
+ static scene: import("@nocobase/client-v2").BlockSceneType;
14
14
  static getExtraMenuItems(model: any, t: any): Promise<import("@nocobase/flow-engine").FlowModelExtraMenuItem[]>;
15
15
  settingsMenuLevel: number;
16
16
  selectedKeys: {
@@ -8,7 +8,7 @@
8
8
  */
9
9
  import { FilterBlockModel } from '@nocobase/client';
10
10
  export declare class TreeFilterBlockMenuModel extends FilterBlockModel {
11
- static scene: import("@nocobase/client").BlockSceneType;
11
+ static scene: import("@nocobase/client-v2").BlockSceneType;
12
12
  static defineChildren(ctx: any): Promise<any[]>;
13
13
  renderComponent(): any;
14
14
  }
@@ -8,17 +8,17 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "2.1.0-beta.22",
12
- "@nocobase/flow-engine": "2.1.0-beta.22",
11
+ "@nocobase/client": "2.1.0-beta.24",
12
+ "@nocobase/flow-engine": "2.1.0-beta.24",
13
13
  "react-i18next": "11.18.6",
14
- "@nocobase/server": "2.1.0-beta.22",
14
+ "@nocobase/server": "2.1.0-beta.24",
15
15
  "ahooks": "3.7.8",
16
16
  "antd": "5.24.2",
17
17
  "lodash": "4.18.1",
18
18
  "react": "18.2.0",
19
- "@nocobase/plugin-block-tree": "2.1.0-beta.22",
19
+ "@nocobase/plugin-block-tree": "2.1.0-beta.24",
20
20
  "@ant-design/icons": "5.6.1",
21
21
  "@formily/reactive": "2.3.7",
22
- "@nocobase/utils": "2.1.0-beta.22",
22
+ "@nocobase/utils": "2.1.0-beta.24",
23
23
  "@formily/react": "2.3.7"
24
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-block-tree",
3
- "version": "2.1.0-beta.22",
3
+ "version": "2.1.0-beta.24",
4
4
  "main": "dist/server/index.js",
5
5
  "displayName": "Block: Tree",
6
6
  "displayName.zh-CN": "区块:树",
@@ -23,5 +23,5 @@
23
23
  "Blocks"
24
24
  ],
25
25
  "license": "Apache-2.0",
26
- "gitHead": "53ad02861ed8e813103f59659804417118c85b4c"
26
+ "gitHead": "f77b85530a2d127d9bfe4dca3a26fbb02c1139ba"
27
27
  }