@nocobase/plugin-mobile 2.1.0-beta.30 → 2.1.0-beta.33

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.
@@ -11,26 +11,25 @@ module.exports = {
11
11
  "@emotion/css": "11.13.4",
12
12
  "@formily/core": "2.3.7",
13
13
  "@formily/shared": "2.3.7",
14
- "@nocobase/client": "2.1.0-beta.30",
15
- "@nocobase/plugin-acl": "2.1.0-beta.30",
14
+ "@nocobase/client": "2.1.0-beta.33",
15
+ "@nocobase/plugin-acl": "2.1.0-beta.33",
16
16
  "ahooks": "3.7.8",
17
17
  "antd": "5.24.2",
18
18
  "lodash": "4.18.1",
19
19
  "react": "18.2.0",
20
20
  "react-i18next": "11.18.6",
21
- "@nocobase/client-v2": "2.1.0-beta.30",
21
+ "@nocobase/client-v2": "2.1.0-beta.33",
22
22
  "antd-style": "3.7.1",
23
23
  "@ant-design/icons": "5.6.1",
24
24
  "react-router-dom": "6.30.1",
25
- "@nocobase/database": "2.1.0-beta.30",
26
- "@nocobase/plugin-localization": "2.1.0-beta.30",
27
- "@nocobase/server": "2.1.0-beta.30",
28
- "@nocobase/utils": "2.1.0-beta.30",
29
- "@nocobase/test": "2.1.0-beta.30",
25
+ "@nocobase/database": "2.1.0-beta.33",
26
+ "@nocobase/server": "2.1.0-beta.33",
27
+ "@nocobase/utils": "2.1.0-beta.33",
28
+ "@nocobase/test": "2.1.0-beta.33",
30
29
  "@formily/react": "2.3.7",
31
- "@nocobase/plugin-mobile": "2.1.0-beta.30",
30
+ "@nocobase/plugin-mobile": "2.1.0-beta.33",
32
31
  "react-dom": "18.2.0",
33
- "@nocobase/sdk": "2.1.0-beta.30",
32
+ "@nocobase/sdk": "2.1.0-beta.33",
34
33
  "@formily/reactive": "2.3.7",
35
34
  "dayjs": "1.11.13",
36
35
  "@formily/antd-v5": "1.2.3"
@@ -186,11 +186,7 @@ class PluginMobileServer extends import_server.Plugin {
186
186
  });
187
187
  }
188
188
  registerLocalizationSource() {
189
- const localizationPlugin = this.app.pm.get("localization");
190
- if (!localizationPlugin) {
191
- return;
192
- }
193
- localizationPlugin.sourceManager.registerSource("mobile-routes", {
189
+ this.app.localeManager.registerSource("mobile-routes", {
194
190
  title: (0, import_utils.tval)("Mobile routes"),
195
191
  sync: async (ctx) => {
196
192
  const mobileRoutes = await ctx.db.getRepository("mobileRoutes").find({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-mobile",
3
- "version": "2.1.0-beta.30",
3
+ "version": "2.1.0-beta.33",
4
4
  "main": "dist/server/index.js",
5
5
  "homepage": "https://docs.nocobase.com/handbook/mobile",
6
6
  "homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/mobile",
@@ -14,7 +14,6 @@
14
14
  "peerDependencies": {
15
15
  "@nocobase/client": "2.x",
16
16
  "@nocobase/plugin-acl": "2.x",
17
- "@nocobase/plugin-localization": "2.x",
18
17
  "@nocobase/server": "2.x",
19
18
  "@nocobase/test": "2.x"
20
19
  },
@@ -35,5 +34,5 @@
35
34
  "react-device-detect": "2.2.3",
36
35
  "react-i18next": "11.x"
37
36
  },
38
- "gitHead": "1a493069cd0d8a4f403668bfe592879678c894b2"
37
+ "gitHead": "4815c394e80a264fa8ed619246280923c47aeb72"
39
38
  }