@nocobase/plugin-mobile-client 0.19.0-alpha.9 → 0.20.0-alpha.1
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/dist/client/index.js +1 -1
- package/dist/externalVersion.js +3 -3
- package/package.json +2 -2
package/dist/client/index.js
CHANGED
|
@@ -179,4 +179,4 @@
|
|
|
179
179
|
margin-top: 50px;
|
|
180
180
|
`),children:r.jsx(di,$({className:o.css`
|
|
181
181
|
box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
|
|
182
|
-
`},e))}),ui=()=>r.jsx(pi,{children:r.jsx(xt,{})});class Te extends o.Plugin{constructor(){super(...arguments);Ct(this,"mobileRouter")}load(){return F(this,null,function*(){this.setMobileRouter(),this.addRoutes(),this.addSettings(),this.app.use(Mt),this.app.schemaInitializerManager.add(Ot)})}addSettings(){this.app.pluginSettingsManager.add(N,{title:`{{t("Mobile Client-side", { ns: "${N}" })}}`,icon:"MobileOutlined",Component:()=>r.jsx(v.Outlet,{})}),this.app.pluginSettingsManager.add(`${N}.interface`,{title:`{{t("Interface Configuration", { ns: "${N}" })}}`,Component:ui,sort:1}),this.app.pluginSettingsManager.add(`${N}.app`,{title:`{{t("App Configuration", { ns: "${N}" })}}`,Component:li,sort:2})}setMobileRouter(){const n=o.createRouterManager({type:"hash"});n.add("root",{path:"/",element:r.jsx(v.Navigate,{replace:!0,to:"/mobile"})}),n.add("mobile",{path:"/mobile",element:r.jsx(yt,{})}),n.add("mobile.page",{path:"/mobile/:name",element:r.jsx(o.RouteSchemaComponent,{})}),this.mobileRouter=n}getMobileRouterComponent(){return this.mobileRouter.getRouterComponent()}addRoutes(){this.app.router.add("mobile",{path:"/mobile",element:r.jsx(yt,{})}),this.app.router.add("mobile.page",{path:"/mobile/:name",Component:"RouteSchemaComponent"})}}m.MobileClientPlugin=Te,m.default=Te,Object.defineProperties(m,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
182
|
+
`},e))}),ui=()=>r.jsx(pi,{children:r.jsx(xt,{})});class Te extends o.Plugin{constructor(){super(...arguments);Ct(this,"mobileRouter")}load(){return F(this,null,function*(){this.setMobileRouter(),this.addRoutes(),this.addSettings(),this.app.use(Mt),this.app.schemaInitializerManager.add(Ot)})}addSettings(){this.app.pluginSettingsManager.add(N,{title:`{{t("Mobile Client-side", { ns: "${N}" })}}`,icon:"MobileOutlined",Component:()=>r.jsx(v.Outlet,{})}),this.app.pluginSettingsManager.add(`${N}.interface`,{title:`{{t("Interface Configuration", { ns: "${N}" })}}`,Component:ui,sort:1}),this.app.pluginSettingsManager.add(`${N}.app`,{title:`{{t("App Configuration", { ns: "${N}" })}}`,Component:li,sort:2})}setMobileRouter(){const n=o.createRouterManager({type:"hash"},this.app);n.add("root",{path:"/",element:r.jsx(v.Navigate,{replace:!0,to:"/mobile"})}),n.add("mobile",{path:"/mobile",element:r.jsx(yt,{})}),n.add("mobile.page",{path:"/mobile/:name",element:r.jsx(o.RouteSchemaComponent,{})}),this.mobileRouter=n}getMobileRouterComponent(){return this.mobileRouter.getRouterComponent()}addRoutes(){this.app.router.add("mobile",{path:"/mobile",element:r.jsx(yt,{})}),this.app.router.add("mobile.page",{path:"/mobile/:name",Component:"RouteSchemaComponent"})}}m.MobileClientPlugin=Te,m.default=Te,Object.defineProperties(m,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/dist/externalVersion.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
"react": "18.2.0",
|
|
3
3
|
"react-router-dom": "6.21.0",
|
|
4
|
-
"@nocobase/client": "0.
|
|
5
|
-
"@nocobase/server": "0.
|
|
4
|
+
"@nocobase/client": "0.20.0-alpha.1",
|
|
5
|
+
"@nocobase/server": "0.20.0-alpha.1",
|
|
6
6
|
"antd": "5.12.8",
|
|
7
7
|
"react-i18next": "11.18.6",
|
|
8
8
|
"@ant-design/icons": "5.2.6",
|
|
9
|
-
"@nocobase/database": "0.
|
|
9
|
+
"@nocobase/database": "0.20.0-alpha.1",
|
|
10
10
|
"@formily/react": "2.3.0",
|
|
11
11
|
"@formily/shared": "2.3.0",
|
|
12
12
|
"lodash": "4.17.21",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-mobile-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0-alpha.1",
|
|
4
4
|
"main": "./dist/server/index.js",
|
|
5
5
|
"homepage": "https://docs.nocobase.com/plugins/mobile-client",
|
|
6
6
|
"homepage.zh-CN": "https://docs-cn.nocobase.com/plugins/mobile-client",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"@nocobase/test": "0.x",
|
|
34
34
|
"@nocobase/utils": "0.x"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "516c0b1470d77ff499f533ae6b57e4c084450ff5"
|
|
37
37
|
}
|