@nocobase/plugin-mobile-client 1.3.0-alpha.20240724142600 → 1.3.0-alpha.20240807100243

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.
@@ -188,4 +188,4 @@
188
188
  margin-top: 50px;
189
189
  `),children:o.jsx(ui,x({className:r.css`
190
190
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
191
- `},e))}),fi=()=>o.jsx(mi,{children:o.jsx(Ct,{})});class Te extends r.Plugin{constructor(){super(...arguments);wt(this,"mobileRouter")}load(){return F(this,null,function*(){this.setMobileRouter(),this.addRoutes(),this.addSettings(),this.app.use(Ne),this.app.schemaInitializerManager.add(je),this.app.schemaInitializerManager.add(kt)})}addSettings(){this.app.pluginSettingsManager.add(N,{title:`{{t("Mobile Client-side", { ns: "${N}" })}}`,icon:"MobileOutlined",Component:()=>o.jsx(v.Outlet,{})}),this.app.pluginSettingsManager.add(`${N}.interface`,{title:`{{t("Interface Configuration", { ns: "${N}" })}}`,Component:fi,sort:1}),this.app.pluginSettingsManager.add(`${N}.app`,{title:`{{t("App Configuration", { ns: "${N}" })}}`,Component:pi,sort:2})}setMobileRouter(){const n=r.createRouterManager({type:"hash"},this.app);n.add("root",{path:"/",element:o.jsx(v.Navigate,{replace:!0,to:"/mobile"})}),n.add("mobile",{path:"/mobile",element:o.jsx($t,{})}),n.add("mobile.page",{path:"/mobile/:name",element:o.jsx(r.RouteSchemaComponent,{})}),this.mobileRouter=n}getMobileRouterComponent(){return this.mobileRouter.getRouterComponent()}addRoutes(){this.app.router.add("mobile",{path:"/mobile",element:o.jsx($t,{})}),this.app.router.add("mobile.page",{path:"/mobile/:name",Component:"RouteSchemaComponent"})}}m.PluginMobileClient=Te,m.default=Te,Object.defineProperties(m,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
191
+ `},e))}),fi=()=>o.jsx(mi,{children:o.jsx(Ct,{})});class Te extends r.Plugin{constructor(){super(...arguments);wt(this,"mobileRouter")}load(){return F(this,null,function*(){this.setMobileRouter(),this.addRoutes(),this.addSettings(),this.app.use(Ne),this.app.schemaInitializerManager.add(je),this.app.schemaInitializerManager.add(kt)})}addSettings(){this.app.pluginSettingsManager.add(N,{title:`{{t("Mobile Client-side(Deprecated)", { ns: "${N}" })}}`,icon:"MobileOutlined",Component:()=>o.jsx(v.Outlet,{})}),this.app.pluginSettingsManager.add(`${N}.interface`,{title:`{{t("Interface Configuration", { ns: "${N}" })}}`,Component:fi,sort:1}),this.app.pluginSettingsManager.add(`${N}.app`,{title:`{{t("App Configuration", { ns: "${N}" })}}`,Component:pi,sort:2})}setMobileRouter(){const n=r.createRouterManager({type:"hash"},this.app);n.add("root",{path:"/",element:o.jsx(v.Navigate,{replace:!0,to:"/mobile"})}),n.add("mobile",{path:"/mobile",element:o.jsx($t,{})}),n.add("mobile.page",{path:"/mobile/:name",element:o.jsx(r.RouteSchemaComponent,{})}),this.mobileRouter=n}getMobileRouterComponent(){return this.mobileRouter.getRouterComponent()}addRoutes(){this.app.router.add("mobile",{path:"/mobile",element:o.jsx($t,{})}),this.app.router.add("mobile.page",{path:"/mobile/:name",Component:"RouteSchemaComponent"})}}m.PluginMobileClient=Te,m.default=Te,Object.defineProperties(m,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -8,14 +8,14 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "1.3.0-alpha.20240724142600",
11
+ "@nocobase/client": "1.3.0-alpha.20240807100243",
12
12
  "react": "18.2.0",
13
13
  "react-router-dom": "6.21.0",
14
- "@nocobase/server": "1.3.0-alpha.20240724142600",
14
+ "@nocobase/server": "1.3.0-alpha.20240807100243",
15
15
  "antd": "5.12.8",
16
16
  "react-i18next": "11.18.6",
17
17
  "@ant-design/icons": "5.2.6",
18
- "@nocobase/database": "1.3.0-alpha.20240724142600",
18
+ "@nocobase/database": "1.3.0-alpha.20240807100243",
19
19
  "@formily/react": "2.3.0",
20
20
  "@formily/shared": "2.3.0",
21
21
  "lodash": "4.17.21",
@@ -1,5 +1,5 @@
1
1
  {
2
- "Mobile Client-side": "Mobile Client-side",
2
+ "Mobile Client-side(Deprecated)": "Mobile Client-side(Deprecated)",
3
3
  "Interface Configuration": "Interface Configuration",
4
4
  "App Configuration": "App Configuration",
5
5
  "Enable TabBar": "Enable TabBar",
@@ -1,5 +1,5 @@
1
1
  {
2
- "Mobile Client-side": "移动端",
2
+ "Mobile Client-side(Deprecated)": "移动端(已废弃)",
3
3
  "Interface Configuration": "界面配置",
4
4
  "App Configuration": "App配置",
5
5
  "Enable TabBar": "启用底部标签栏",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/plugin-mobile-client",
3
- "version": "1.3.0-alpha.20240724142600",
3
+ "version": "1.3.0-alpha.20240807100243",
4
4
  "main": "./dist/server/index.js",
5
5
  "homepage": "https://docs.nocobase.com/handbook/mobile-client",
6
6
  "homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/mobile-client",
@@ -33,5 +33,5 @@
33
33
  "@nocobase/test": "1.x",
34
34
  "@nocobase/utils": "1.x"
35
35
  },
36
- "gitHead": "28b0027addee28c6f41a974512d07e396012dd77"
36
+ "gitHead": "540c3fe4cfb7c20de0e6639f935a98b736d7b754"
37
37
  }