strata.client.mui 0.0.0-snapshot.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/Main/ReactApplication.d.ts +10 -0
- package/Main/ReactApplication.js +22 -0
- package/Main/ReactApplication.js.map +1 -0
- package/Main/index.d.ts +1 -0
- package/Main/index.js +6 -0
- package/Main/index.js.map +1 -0
- package/Navigation/IMenuItemLinkPropertySet.d.ts +5 -0
- package/Navigation/IMenuItemLinkPropertySet.js +3 -0
- package/Navigation/IMenuItemLinkPropertySet.js.map +1 -0
- package/Navigation/INavigationMenuBarPropertySet.d.ts +3 -0
- package/Navigation/INavigationMenuBarPropertySet.js +3 -0
- package/Navigation/INavigationMenuBarPropertySet.js.map +1 -0
- package/Navigation/INavigationMenuPropertySet.d.ts +11 -0
- package/Navigation/INavigationMenuPropertySet.js +3 -0
- package/Navigation/INavigationMenuPropertySet.js.map +1 -0
- package/Navigation/ISearchInputPropertySet.d.ts +2 -0
- package/Navigation/ISearchInputPropertySet.js +3 -0
- package/Navigation/ISearchInputPropertySet.js.map +1 -0
- package/Navigation/LoginAndProfileMenu.d.ts +7 -0
- package/Navigation/LoginAndProfileMenu.js +44 -0
- package/Navigation/LoginAndProfileMenu.js.map +1 -0
- package/Navigation/MenuItemLink.d.ts +14 -0
- package/Navigation/MenuItemLink.js +27 -0
- package/Navigation/MenuItemLink.js.map +1 -0
- package/Navigation/NavigationMenu.d.ts +10 -0
- package/Navigation/NavigationMenu.js +26 -0
- package/Navigation/NavigationMenu.js.map +1 -0
- package/Navigation/NavigationMenuBar.d.ts +14 -0
- package/Navigation/NavigationMenuBar.js +33 -0
- package/Navigation/NavigationMenuBar.js.map +1 -0
- package/Navigation/SearchInput.d.ts +8 -0
- package/Navigation/SearchInput.js +20 -0
- package/Navigation/SearchInput.js.map +1 -0
- package/Navigation/StandardNavigationMenuBar.d.ts +9 -0
- package/Navigation/StandardNavigationMenuBar.js +34 -0
- package/Navigation/StandardNavigationMenuBar.js.map +1 -0
- package/Navigation/index.d.ts +9 -0
- package/Navigation/index.js +14 -0
- package/Navigation/index.js.map +1 -0
- package/Presenter/IPresenterViewProperty.d.ts +3 -0
- package/Presenter/IPresenterViewProperty.js +3 -0
- package/Presenter/IPresenterViewProperty.js.map +1 -0
- package/Presenter/IRenderable.d.ts +5 -0
- package/Presenter/IRenderable.js +3 -0
- package/Presenter/IRenderable.js.map +1 -0
- package/Presenter/IRenderableViewProperty.d.ts +4 -0
- package/Presenter/IRenderableViewProperty.js +3 -0
- package/Presenter/IRenderableViewProperty.js.map +1 -0
- package/Presenter/PresenterView.d.ts +12 -0
- package/Presenter/PresenterView.js +14 -0
- package/Presenter/PresenterView.js.map +1 -0
- package/Presenter/RenderableView.d.ts +9 -0
- package/Presenter/RenderableView.js +14 -0
- package/Presenter/RenderableView.js.map +1 -0
- package/Presenter/index.d.ts +5 -0
- package/Presenter/index.js +8 -0
- package/Presenter/index.js.map +1 -0
- package/package.json +25 -0
- package/strata.client.mui-v0.0.0-snapshot.1.tgz +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AbstractApplication, IApplication } from "strata.client.core/Main";
|
|
2
|
+
import { IPresenter } from "strata.client.core/Presenter";
|
|
3
|
+
import { IRenderable } from "../Presenter/IRenderable";
|
|
4
|
+
export declare abstract class ReactApplication<M, V extends IRenderable, P extends IPresenter<M, V>> extends AbstractApplication<M, V, P> implements IApplication {
|
|
5
|
+
private root;
|
|
6
|
+
protected constructor();
|
|
7
|
+
start(): void;
|
|
8
|
+
stop(): void;
|
|
9
|
+
protected abstract getMainView(): any;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReactApplication = void 0;
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const client_1 = require("react-dom/client");
|
|
6
|
+
const Main_1 = require("strata.client.core/Main");
|
|
7
|
+
const react_router_dom_1 = require("react-router-dom");
|
|
8
|
+
class ReactApplication extends Main_1.AbstractApplication {
|
|
9
|
+
root;
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
this.root = (0, client_1.createRoot)(document.getElementById('root'));
|
|
13
|
+
}
|
|
14
|
+
start() {
|
|
15
|
+
this.root.render(React.createElement(react_router_dom_1.BrowserRouter, null, this.getMainView()));
|
|
16
|
+
}
|
|
17
|
+
stop() {
|
|
18
|
+
this.root.unmount();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.ReactApplication = ReactApplication;
|
|
22
|
+
//# sourceMappingURL=ReactApplication.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactApplication.js","sourceRoot":"","sources":["../../../main/typescript/Main/ReactApplication.tsx"],"names":[],"mappings":";;;AAAA,+BAA+B;AAE/B,6CAAiD;AACjD,kDAAyE;AAEzE,uDAA+C;AAG/C,MACe,gBACX,SAAQ,0BAA0B;IAG1B,IAAI,CAAO;IAEnB;QAEI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,IAAI,GAAG,IAAA,mBAAU,EAAC,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAA;IAC3D,CAAC;IAED,KAAK;QAED,IAAI,CAAC,IAAI,CAAC,MAAM,CACZ,oBAAC,gCAAa,QACT,IAAI,CAAC,WAAW,EAAE,CACP,CAAC,CAAC;IAC1B,CAAC;IAED,IAAI;QAEA,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAA;IACvB,CAAC;CAGJ;AA3BD,4CA2BC"}
|
package/Main/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ReactApplication } from './ReactApplication';
|
package/Main/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReactApplication = void 0;
|
|
4
|
+
var ReactApplication_1 = require("./ReactApplication");
|
|
5
|
+
Object.defineProperty(exports, "ReactApplication", { enumerable: true, get: function () { return ReactApplication_1.ReactApplication; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../main/typescript/Main/index.ts"],"names":[],"mappings":";;;AAAA,uDAAoD;AAA5C,oHAAA,gBAAgB,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IMenuItemLinkPropertySet.js","sourceRoot":"","sources":["../../../main/typescript/Navigation/IMenuItemLinkPropertySet.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"INavigationMenuBarPropertySet.js","sourceRoot":"","sources":["../../../main/typescript/Navigation/INavigationMenuBarPropertySet.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ButtonProps as IButtonProps } from "@mui/material";
|
|
2
|
+
import { NavigationMenuBar } from './NavigationMenuBar';
|
|
3
|
+
import { BrowserRouter } from 'react-router-dom';
|
|
4
|
+
export interface INavigationMenuPropertySet extends IButtonProps {
|
|
5
|
+
id: string;
|
|
6
|
+
to: string;
|
|
7
|
+
text: string;
|
|
8
|
+
selected: boolean;
|
|
9
|
+
menubar: NavigationMenuBar;
|
|
10
|
+
router?: BrowserRouter;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"INavigationMenuPropertySet.js","sourceRoot":"","sources":["../../../main/typescript/Navigation/INavigationMenuPropertySet.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ISearchInputPropertySet.js","sourceRoot":"","sources":["../../../main/typescript/Navigation/ISearchInputPropertySet.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { INavigationMenuPropertySet } from './INavigationMenuPropertySet';
|
|
2
|
+
import { NavigationMenu } from './NavigationMenu';
|
|
3
|
+
export declare class LoginAndProfileMenu extends NavigationMenu {
|
|
4
|
+
router?: History;
|
|
5
|
+
constructor(props: INavigationMenuPropertySet);
|
|
6
|
+
render(): any;
|
|
7
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LoginAndProfileMenu = void 0;
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const material_1 = require("@mui/material");
|
|
6
|
+
const NavigationMenu_1 = require("./NavigationMenu");
|
|
7
|
+
const MenuItemLink_1 = require("./MenuItemLink");
|
|
8
|
+
class LoginAndProfileMenu extends NavigationMenu_1.NavigationMenu {
|
|
9
|
+
router;
|
|
10
|
+
constructor(props) {
|
|
11
|
+
super(props);
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
let className;
|
|
15
|
+
if (this.state.selected)
|
|
16
|
+
className = ".Button menu-selected";
|
|
17
|
+
else
|
|
18
|
+
className = ".Button";
|
|
19
|
+
return (React.createElement("div", null,
|
|
20
|
+
React.createElement(material_1.Button, { id: "basic-button", "aria-controls": this.state.selected ? 'basic-menu' : undefined, "aria-haspopup": "true", "aria-expanded": this.state.selected, startIcon: this.props.startIcon, onClick: () => this.select() }, "Dashboard"),
|
|
21
|
+
React.createElement(material_1.Menu, { id: "basic-menu", open: false, onClose: () => this.unselect(), MenuListProps: {
|
|
22
|
+
'aria-labelledby': 'basic-button',
|
|
23
|
+
} },
|
|
24
|
+
React.createElement(MenuItemLink_1.default, { to: "/login", content: "Login", callback: () => this.select() }),
|
|
25
|
+
React.createElement(MenuItemLink_1.default, { to: "/profile", content: "Edit Profile", callback: () => this.select() }))));
|
|
26
|
+
/*
|
|
27
|
+
<Popover
|
|
28
|
+
className="bp5-minimal"
|
|
29
|
+
open={false}
|
|
30
|
+
popoverClassName={Classes.POPOVER_DISMISS}
|
|
31
|
+
content={
|
|
32
|
+
<Menu className={Classes.POPOVER_DISMISS}>
|
|
33
|
+
<MenuItemLink icon="log-in" to="/login" text="Login" callback={() => this.select()}/>
|
|
34
|
+
<MenuItemLink icon="cog" to="/profile" text="Edit Profile" callback={() => this.select()}/>
|
|
35
|
+
</Menu>}
|
|
36
|
+
position={Position.BOTTOM_LEFT}>
|
|
37
|
+
<Button className={className} small={true} icon="user" rightIcon="caret-down" text={this.props.text} intent={Intent.NONE}/>
|
|
38
|
+
</Popover>);
|
|
39
|
+
|
|
40
|
+
*/
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.LoginAndProfileMenu = LoginAndProfileMenu;
|
|
44
|
+
//# sourceMappingURL=LoginAndProfileMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoginAndProfileMenu.js","sourceRoot":"","sources":["../../../main/typescript/Navigation/LoginAndProfileMenu.tsx"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,4CAA0C;AAE1C,qDAAgD;AAChD,iDAA0C;AAE1C,MACM,mBACF,SAAQ,+BAAc;IAEtB,MAAM,CAAW;IAEjB,YAAY,KAAiC;QAEzC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IAED,MAAM;QAEF,IAAI,SAAiB,CAAC;QAEtB,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ;YACnB,SAAS,GAAG,uBAAuB,CAAC;;YAEpC,SAAS,GAAG,SAAS,CAAC;QAE1B,OAAO,CACH;YACI,oBAAC,iBAAM,IACH,EAAE,EAAC,cAAc,mBACF,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,mBAC/C,MAAM,mBACL,IAAI,CAAC,KAAK,CAAC,QAAQ,EAClC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAC/B,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,gBAEvB;YACT,oBAAC,eAAI,IACD,EAAE,EAAC,YAAY,EACf,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE,EAC9B,aAAa,EAAE;oBACX,iBAAiB,EAAE,cAAc;iBACpC;gBACD,oBAAC,sBAAY,IAAE,EAAE,EAAC,QAAQ,EAAC,OAAO,EAAC,OAAO,EAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG;gBAC3E,oBAAC,sBAAY,IAAC,EAAE,EAAC,UAAU,EAAC,OAAO,EAAC,cAAc,EAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAChF,CACL,CAAC,CAAC;QACZ;;;;;;;;;;;;;;WAcG;IACP,CAAC;CAEJ;AA3DD,kDA2DC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Component } from 'react';
|
|
3
|
+
import { RouteComponentProps } from 'react-router-dom';
|
|
4
|
+
import { IMenuItemLinkPropertySet } from './IMenuItemLinkPropertySet';
|
|
5
|
+
import Element = React.JSX.Element;
|
|
6
|
+
export declare class MenuItemLink extends Component<IMenuItemLinkPropertySet & RouteComponentProps, any> {
|
|
7
|
+
constructor(props: IMenuItemLinkPropertySet & RouteComponentProps);
|
|
8
|
+
render(): Element;
|
|
9
|
+
doClick(): void;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: React.ComponentClass<Pick<IMenuItemLinkPropertySet & RouteComponentProps<{}, import("react-router").StaticContext, unknown>, keyof IMenuItemLinkPropertySet> & {
|
|
12
|
+
wrappedComponentRef?: React.Ref<MenuItemLink>;
|
|
13
|
+
}, any> & import("react-router").WithRouterStatics<typeof MenuItemLink>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MenuItemLink = void 0;
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const react_router_dom_1 = require("react-router-dom");
|
|
7
|
+
const material_1 = require("@mui/material");
|
|
8
|
+
class MenuItemLink extends react_1.Component {
|
|
9
|
+
constructor(props) {
|
|
10
|
+
super(props);
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (React.createElement(material_1.MenuItem, { content: this.props.content, onClick: () => this.doClick() }));
|
|
14
|
+
}
|
|
15
|
+
doClick() {
|
|
16
|
+
this
|
|
17
|
+
.props
|
|
18
|
+
.history
|
|
19
|
+
.push(this.props.to);
|
|
20
|
+
this
|
|
21
|
+
.props
|
|
22
|
+
.callback();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.MenuItemLink = MenuItemLink;
|
|
26
|
+
exports.default = (0, react_router_dom_1.withRouter)(MenuItemLink);
|
|
27
|
+
//# sourceMappingURL=MenuItemLink.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MenuItemLink.js","sourceRoot":"","sources":["../../../main/typescript/Navigation/MenuItemLink.tsx"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,iCAAgC;AAChC,uDAAgE;AAEhE,4CAAuC;AAIvC,MACM,YACF,SAAQ,iBAA6D;IAErE,YAAY,KAAqD;QAE7D,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IAED,MAAM;QAEF,OAAO,CACH,oBAAC,mBAAQ,IAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IACjF,CAAC;IAED,OAAO;QAEH,IAAI;aACC,KAAK;aACL,OAAO;aACP,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QACzB,IAAI;aACC,KAAK;aACL,QAAQ,EAAE,CAAC;IACpB,CAAC;CACJ;AAzBD,oCAyBC;AAED,kBAAe,IAAA,6BAAU,EAAC,YAAY,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Component } from 'react';
|
|
3
|
+
import { INavigationMenuPropertySet } from './INavigationMenuPropertySet';
|
|
4
|
+
import Element = React.JSX.Element;
|
|
5
|
+
export declare class NavigationMenu extends Component<INavigationMenuPropertySet, any> {
|
|
6
|
+
constructor(props: INavigationMenuPropertySet);
|
|
7
|
+
render(): Element;
|
|
8
|
+
select(): void;
|
|
9
|
+
unselect(): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NavigationMenu = void 0;
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const react_router_dom_1 = require("react-router-dom");
|
|
7
|
+
class NavigationMenu extends react_1.Component {
|
|
8
|
+
constructor(props) {
|
|
9
|
+
super(props);
|
|
10
|
+
this.state = { selected: props.selected };
|
|
11
|
+
if (props.menubar != null)
|
|
12
|
+
props.menubar.register(this);
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
return (React.createElement(react_router_dom_1.NavLink, { className: ".MuiButton-text nav-menu", role: "button", activeClassName: "menu-selected", id: this.props.id, to: this.props.to, onClick: () => this.select() }, this.props.text));
|
|
16
|
+
}
|
|
17
|
+
select() {
|
|
18
|
+
this.setState(() => ({ selected: true }));
|
|
19
|
+
this.props.menubar.onSelectionChange(this);
|
|
20
|
+
}
|
|
21
|
+
unselect() {
|
|
22
|
+
this.setState(() => ({ selected: false }));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.NavigationMenu = NavigationMenu;
|
|
26
|
+
//# sourceMappingURL=NavigationMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigationMenu.js","sourceRoot":"","sources":["../../../main/typescript/Navigation/NavigationMenu.tsx"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,iCAAgC;AAChC,uDAAyC;AAIzC,MACM,cACF,SAAQ,iBAAyC;IAEjD,YAAY,KAAgC;QAExC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;QAC1C,IAAI,KAAK,CAAC,OAAO,IAAI,IAAI;YACrB,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IAED,MAAM;QAEF,OAAO,CACH,oBAAC,0BAAO,IACJ,SAAS,EAAC,0BAA0B,EACpC,IAAI,EAAC,QAAQ,EACb,eAAe,EAAC,eAAe,EAC/B,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,EACjB,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,IAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAW,CAAC,CAAC;IACtE,CAAC;IAED,MAAM;QAEF,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,CAAC,EAAC,QAAQ,EAAC,IAAI,EAAC,CAAC,CAAC,CAAC;QACvC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;IAED,QAAQ;QAEJ,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAC,CAAC;IAC5C,CAAC;CACL;AAlCD,wCAkCC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Component } from 'react';
|
|
3
|
+
import { INavigationMenuBarPropertySet } from './INavigationMenuBarPropertySet';
|
|
4
|
+
import { NavigationMenu } from './NavigationMenu';
|
|
5
|
+
import Element = React.JSX.Element;
|
|
6
|
+
export declare abstract class NavigationMenuBar extends Component<INavigationMenuBarPropertySet, any> {
|
|
7
|
+
private menus;
|
|
8
|
+
protected constructor(props: INavigationMenuBarPropertySet);
|
|
9
|
+
render(): Element;
|
|
10
|
+
register(menu: NavigationMenu): void;
|
|
11
|
+
onSelectionChange(selected: NavigationMenu): void;
|
|
12
|
+
protected abstract renderLeft(): Element;
|
|
13
|
+
protected abstract renderRight(): Element;
|
|
14
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NavigationMenuBar = void 0;
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const material_1 = require("@mui/material");
|
|
7
|
+
class NavigationMenuBar extends react_1.Component {
|
|
8
|
+
menus;
|
|
9
|
+
constructor(props) {
|
|
10
|
+
super(props);
|
|
11
|
+
this.menus = new Map();
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (React.createElement(material_1.AppBar, null,
|
|
15
|
+
React.createElement(material_1.Container, { maxWidth: "xl" },
|
|
16
|
+
React.createElement(material_1.Toolbar, { disableGutters: true, sx: { justifyContext: 'space-between' } },
|
|
17
|
+
this.renderLeft(),
|
|
18
|
+
this.renderRight()))));
|
|
19
|
+
}
|
|
20
|
+
register(menu) {
|
|
21
|
+
this.menus.set(menu.props.id, menu);
|
|
22
|
+
}
|
|
23
|
+
onSelectionChange(selected) {
|
|
24
|
+
this
|
|
25
|
+
.menus
|
|
26
|
+
.forEach((menu) => {
|
|
27
|
+
if (menu.props.id != selected.props.id)
|
|
28
|
+
menu.unselect();
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.NavigationMenuBar = NavigationMenuBar;
|
|
33
|
+
//# sourceMappingURL=NavigationMenuBar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigationMenuBar.js","sourceRoot":"","sources":["../../../main/typescript/Navigation/NavigationMenuBar.tsx"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,iCAAgC;AAChC,4CAA2D;AAK3D,MACe,iBACX,SAAQ,iBAA4C;IAE5C,KAAK,CAA4B;IAEzC,YAAsB,KAAoC;QAEtD,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,IAAI,GAAG,EAAyB,CAAC;IAClD,CAAC;IAED,MAAM;QAEF,OAAO,CACH,oBAAC,iBAAM;YACH,oBAAC,oBAAS,IAAC,QAAQ,EAAE,IAAI;gBACrB,oBAAC,kBAAO,IACJ,cAAc,EAAE,IAAI,EACpB,EAAE,EAAE,EAAC,cAAc,EAAC,eAAe,EAAC;oBACnC,IAAI,CAAC,UAAU,EAAE;oBACjB,IAAI,CAAC,WAAW,EAAE,CACb,CACF,CACP,CACZ,CAAC;IACN,CAAC;IAED,QAAQ,CAAC,IAAmB;QAExB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAC,IAAI,CAAC,CAAC;IACvC,CAAC;IAED,iBAAiB,CAAC,QAAuB;QAErC,IAAI;aACC,KAAK;aACL,OAAO,CACJ,CAAC,IAAI,EAAE,EAAE;YAEL,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE,IAAI,QAAQ,CAAC,KAAK,CAAC,EAAE;gBAClC,IAAI,CAAC,QAAQ,EAAE,CAAC;QACxB,CAAC,CAAC,CAAC;IACf,CAAC;CAKJ;AAhDD,8CAgDC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Component } from 'react';
|
|
3
|
+
import { ISearchInputPropertySet } from './ISearchInputPropertySet';
|
|
4
|
+
import Element = React.JSX.Element;
|
|
5
|
+
export declare class SearchInput extends Component<ISearchInputPropertySet, any> {
|
|
6
|
+
constructor(props: ISearchInputPropertySet);
|
|
7
|
+
render(): Element;
|
|
8
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchInput = void 0;
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const material_1 = require("@mui/material");
|
|
7
|
+
const Icon_1 = require("@mui/material/Icon");
|
|
8
|
+
class SearchInput extends react_1.Component {
|
|
9
|
+
constructor(props) {
|
|
10
|
+
super(props);
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (React.createElement(material_1.TextField, { id: "search", label: "Search", InputProps: {
|
|
14
|
+
startAdornment: (React.createElement(material_1.InputAdornment, { position: "start" },
|
|
15
|
+
React.createElement(Icon_1.default, null))),
|
|
16
|
+
}, variant: "filled" }));
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.SearchInput = SearchInput;
|
|
20
|
+
//# sourceMappingURL=SearchInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchInput.js","sourceRoot":"","sources":["../../../main/typescript/Navigation/SearchInput.tsx"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,iCAAgC;AAEhC,4CAAuD;AACvD,6CAA4C;AAG5C,MACM,WACF,SAAQ,iBAAsC;IAG9C,YAAY,KAA8B;QAEtC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IAED,MAAM;QAEF,OAAO,CACH,oBAAC,oBAAS,IACN,EAAE,EAAC,QAAQ,EACX,KAAK,EAAC,QAAQ,EACd,UAAU,EAAE;gBACR,cAAc,EAAE,CACZ,oBAAC,yBAAc,IAAC,QAAQ,EAAC,OAAO;oBAC5B,oBAAC,cAAU,OAAE,CACA,CACpB;aACJ,EACD,OAAO,EAAC,QAAQ,GAAG,CAAC,CAAC;IACjC,CAAC;CACJ;AAzBD,kCAyBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { NavigationMenuBar } from "./NavigationMenuBar";
|
|
3
|
+
import { INavigationMenuBarPropertySet } from "./INavigationMenuBarPropertySet";
|
|
4
|
+
import Element = React.JSX.Element;
|
|
5
|
+
export declare class StandardNavigationMenuBar extends NavigationMenuBar {
|
|
6
|
+
constructor(props: INavigationMenuBarPropertySet);
|
|
7
|
+
protected renderLeft(): Element;
|
|
8
|
+
protected renderRight(): Element;
|
|
9
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StandardNavigationMenuBar = void 0;
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const NavigationMenuBar_1 = require("./NavigationMenuBar");
|
|
6
|
+
const NavigationMenu_1 = require("./NavigationMenu");
|
|
7
|
+
const LoginAndProfileMenu_1 = require("./LoginAndProfileMenu");
|
|
8
|
+
const SearchInput_1 = require("./SearchInput");
|
|
9
|
+
const material_1 = require("@mui/material");
|
|
10
|
+
const Icon_1 = require("@mui/material/Icon");
|
|
11
|
+
class StandardNavigationMenuBar extends NavigationMenuBar_1.NavigationMenuBar {
|
|
12
|
+
constructor(props) {
|
|
13
|
+
super(props);
|
|
14
|
+
}
|
|
15
|
+
renderLeft() {
|
|
16
|
+
return (React.createElement(material_1.Box, { sx: { justifyContext: 'flex-start' } },
|
|
17
|
+
React.createElement(material_1.Typography, null, "Granite"),
|
|
18
|
+
React.createElement(material_1.Divider, null),
|
|
19
|
+
React.createElement(NavigationMenu_1.NavigationMenu, { id: "main.home", to: "/home", text: "Home", selected: true, menubar: this }),
|
|
20
|
+
React.createElement(NavigationMenu_1.NavigationMenu, { id: "main.user", to: "/user", text: "User", selected: false, menubar: this }),
|
|
21
|
+
React.createElement(NavigationMenu_1.NavigationMenu, { id: "main.group", to: "/group", text: "Group", selected: false, menubar: this }),
|
|
22
|
+
React.createElement(NavigationMenu_1.NavigationMenu, { id: "main.role", to: "/role", text: "Role", selected: false, menubar: this }),
|
|
23
|
+
React.createElement(NavigationMenu_1.NavigationMenu, { id: "main.tenant", to: "/tenant", text: "Tenant", selected: false, menubar: this }),
|
|
24
|
+
React.createElement(NavigationMenu_1.NavigationMenu, { id: "main.help", to: "/help", text: "Help", selected: false, menubar: this })));
|
|
25
|
+
}
|
|
26
|
+
renderRight() {
|
|
27
|
+
return (React.createElement(material_1.Box, { sx: { justifyContext: 'flex-end' } },
|
|
28
|
+
React.createElement(LoginAndProfileMenu_1.LoginAndProfileMenu, { id: "main.login-profile", to: "", startIcon: React.createElement(Icon_1.default, null), text: "guest", selected: false, menubar: this }),
|
|
29
|
+
React.createElement(material_1.Divider, null),
|
|
30
|
+
React.createElement(SearchInput_1.SearchInput, null)));
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.StandardNavigationMenuBar = StandardNavigationMenuBar;
|
|
34
|
+
//# sourceMappingURL=StandardNavigationMenuBar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StandardNavigationMenuBar.js","sourceRoot":"","sources":["../../../main/typescript/Navigation/StandardNavigationMenuBar.tsx"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,2DAAsD;AAEtD,qDAAgD;AAChD,+DAA0D;AAC1D,+CAA0C;AAC1C,4CAAqD;AACrD,6CAAgD;AAGhD,MACM,yBACF,SAAQ,qCAAiB;IAEzB,YAAY,KAAoC;QAE5C,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IAES,UAAU;QAEhB,OAAO,CACH,oBAAC,cAAG,IAAC,EAAE,EAAE,EAAC,cAAc,EAAC,YAAY,EAAC;YAClC,oBAAC,qBAAU,kBAAqB;YAChC,oBAAC,kBAAO,OAAE;YACV,oBAAC,+BAAc,IAAC,EAAE,EAAC,WAAW,EAAC,EAAE,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,EAAC,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,GAAG;YACtF,oBAAC,+BAAc,IAAC,EAAE,EAAC,WAAW,EAAC,EAAE,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,EAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,GAAG;YACvF,oBAAC,+BAAc,IAAC,EAAE,EAAC,YAAY,EAAC,EAAE,EAAC,QAAQ,EAAC,IAAI,EAAC,OAAO,EAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,GAAG;YAC1F,oBAAC,+BAAc,IAAC,EAAE,EAAC,WAAW,EAAC,EAAE,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,EAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,GAAG;YACvF,oBAAC,+BAAc,IAAC,EAAE,EAAC,aAAa,EAAC,EAAE,EAAC,SAAS,EAAC,IAAI,EAAC,QAAQ,EAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,GAAG;YAC7F,oBAAC,+BAAc,IAAC,EAAE,EAAC,WAAW,EAAC,EAAE,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,EAAC,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,GAAG,CACrF,CAAC,CAAC;IAChB,CAAC;IAES,WAAW;QAEjB,OAAO,CACH,oBAAC,cAAG,IAAC,EAAE,EAAE,EAAC,cAAc,EAAC,UAAU,EAAC;YAChC,oBAAC,yCAAmB,IAChB,EAAE,EAAC,oBAAoB,EACvB,EAAE,EAAC,EAAE,EACL,SAAS,EAAE,oBAAC,cAAc,OAAE,EAC5B,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE,KAAK,EACf,OAAO,EAAE,IAAI,GAAG;YACpB,oBAAC,kBAAO,OAAE;YACV,oBAAC,yBAAW,OAAE,CACZ,CAAC,CAAC;IAChB,CAAC;CACJ;AAvCD,8DAuCC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { IMenuItemLinkPropertySet } from './IMenuItemLinkPropertySet';
|
|
2
|
+
export { INavigationMenuBarPropertySet } from './INavigationMenuBarPropertySet';
|
|
3
|
+
export { INavigationMenuPropertySet } from './INavigationMenuPropertySet';
|
|
4
|
+
export { ISearchInputPropertySet } from './ISearchInputPropertySet';
|
|
5
|
+
export { LoginAndProfileMenu } from './LoginAndProfileMenu';
|
|
6
|
+
export { MenuItemLink } from './MenuItemLink';
|
|
7
|
+
export { NavigationMenu } from './NavigationMenu';
|
|
8
|
+
export { NavigationMenuBar } from './NavigationMenuBar';
|
|
9
|
+
export { SearchInput } from './SearchInput';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchInput = exports.NavigationMenuBar = exports.NavigationMenu = exports.MenuItemLink = exports.LoginAndProfileMenu = void 0;
|
|
4
|
+
var LoginAndProfileMenu_1 = require("./LoginAndProfileMenu");
|
|
5
|
+
Object.defineProperty(exports, "LoginAndProfileMenu", { enumerable: true, get: function () { return LoginAndProfileMenu_1.LoginAndProfileMenu; } });
|
|
6
|
+
var MenuItemLink_1 = require("./MenuItemLink");
|
|
7
|
+
Object.defineProperty(exports, "MenuItemLink", { enumerable: true, get: function () { return MenuItemLink_1.MenuItemLink; } });
|
|
8
|
+
var NavigationMenu_1 = require("./NavigationMenu");
|
|
9
|
+
Object.defineProperty(exports, "NavigationMenu", { enumerable: true, get: function () { return NavigationMenu_1.NavigationMenu; } });
|
|
10
|
+
var NavigationMenuBar_1 = require("./NavigationMenuBar");
|
|
11
|
+
Object.defineProperty(exports, "NavigationMenuBar", { enumerable: true, get: function () { return NavigationMenuBar_1.NavigationMenuBar; } });
|
|
12
|
+
var SearchInput_1 = require("./SearchInput");
|
|
13
|
+
Object.defineProperty(exports, "SearchInput", { enumerable: true, get: function () { return SearchInput_1.SearchInput; } });
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../main/typescript/Navigation/index.ts"],"names":[],"mappings":";;;AAIA,6DAA0D;AAAlD,0HAAA,mBAAmB,OAAA;AAC3B,+CAA4C;AAApC,4GAAA,YAAY,OAAA;AACpB,mDAAgD;AAAxC,gHAAA,cAAc,OAAA;AACtB,yDAAsD;AAA9C,sHAAA,iBAAiB,OAAA;AACzB,6CAA0C;AAAlC,0GAAA,WAAW,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IPresenterViewProperty.js","sourceRoot":"","sources":["../../../main/typescript/Presenter/IPresenterViewProperty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IRenderable.js","sourceRoot":"","sources":["../../../main/typescript/Presenter/IRenderable.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IRenderableViewProperty.js","sourceRoot":"","sources":["../../../main/typescript/Presenter/IRenderableViewProperty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Component } from 'react';
|
|
3
|
+
import { IRenderable } from "./IRenderable";
|
|
4
|
+
import { IPresenterViewProperty } from "./IPresenterViewProperty";
|
|
5
|
+
import { IPresentable } from "strata.client.core/Presenter";
|
|
6
|
+
import Element = React.JSX.Element;
|
|
7
|
+
export declare abstract class PresenterView<V, T extends IPresentable<V>, P extends IPresenterViewProperty<T>, S = {}> extends Component<P, S> implements IRenderable {
|
|
8
|
+
protected constructor(props: P);
|
|
9
|
+
componentWillMount(): void;
|
|
10
|
+
abstract render(): Element;
|
|
11
|
+
protected abstract getSelf(): V;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PresenterView = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
class PresenterView extends react_1.Component {
|
|
6
|
+
constructor(props) {
|
|
7
|
+
super(props);
|
|
8
|
+
}
|
|
9
|
+
componentWillMount() {
|
|
10
|
+
this.props.presenter.setView(this.getSelf());
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.PresenterView = PresenterView;
|
|
14
|
+
//# sourceMappingURL=PresenterView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PresenterView.js","sourceRoot":"","sources":["../../../main/typescript/Presenter/PresenterView.tsx"],"names":[],"mappings":";;;AACA,iCAAgC;AAMhC,MACe,aAKX,SAAQ,iBAAc;IAGtB,YAAsB,KAAQ;QAE1B,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IAED,kBAAkB;QAEd,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;IACjD,CAAC;CAMJ;AAvBD,sCAuBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
import { IRenderableViewProperty } from "./IRenderableViewProperty";
|
|
3
|
+
import { IRenderable } from "./IRenderable";
|
|
4
|
+
import { IPresenter } from "strata.client.core/Presenter";
|
|
5
|
+
import Element = React.JSX.Element;
|
|
6
|
+
export declare class RenderableView<M, V extends IRenderable, P extends IPresenter<M, V>> extends Component<IRenderableViewProperty, any> {
|
|
7
|
+
constructor(props: IRenderableViewProperty);
|
|
8
|
+
render(): Element;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RenderableView = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
class RenderableView extends react_1.Component {
|
|
6
|
+
constructor(props) {
|
|
7
|
+
super(props);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return this.props.view.render();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.RenderableView = RenderableView;
|
|
14
|
+
//# sourceMappingURL=RenderableView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RenderableView.js","sourceRoot":"","sources":["../../../main/typescript/Presenter/RenderableView.ts"],"names":[],"mappings":";;;AAAA,iCAAgC;AAMhC,MACM,cACF,SAAQ,iBAAsC;IAE9C,YAAY,KAA8B;QAEtC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IAED,MAAM;QAEF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;IACpC,CAAC;CACJ;AAbD,wCAaC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { IRenderable } from './IRenderable';
|
|
2
|
+
export { IPresenterViewProperty } from './IPresenterViewProperty';
|
|
3
|
+
export { IRenderableViewProperty } from './IRenderableViewProperty';
|
|
4
|
+
export { RenderableView } from './RenderableView';
|
|
5
|
+
export { PresenterView } from './PresenterView';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PresenterView = exports.RenderableView = void 0;
|
|
4
|
+
var RenderableView_1 = require("./RenderableView");
|
|
5
|
+
Object.defineProperty(exports, "RenderableView", { enumerable: true, get: function () { return RenderableView_1.RenderableView; } });
|
|
6
|
+
var PresenterView_1 = require("./PresenterView");
|
|
7
|
+
Object.defineProperty(exports, "PresenterView", { enumerable: true, get: function () { return PresenterView_1.PresenterView; } });
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../main/typescript/Presenter/index.ts"],"names":[],"mappings":";;;AAGA,mDAAgD;AAAxC,gHAAA,cAAc,OAAA;AACtB,iDAA8C;AAAtC,8GAAA,aAAa,OAAA"}
|
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "strata.client.mui",
|
|
3
|
+
"version": "0.0.0-snapshot.1",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"increment-snapshot": "npm version prerelease",
|
|
7
|
+
"increment-major": "npm version major",
|
|
8
|
+
"increment-minor": "npm version minor",
|
|
9
|
+
"increment-patch": "npm version patch"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@emotion/react": "^11.11.1",
|
|
13
|
+
"@emotion/styled": "^11.11.0",
|
|
14
|
+
"@mui/material": "^5.14.9",
|
|
15
|
+
"@types/react": "^18.2.21",
|
|
16
|
+
"@types/react-dom": "^18.2.7",
|
|
17
|
+
"@types/react-router": "^5.1.20",
|
|
18
|
+
"@types/react-router-dom": "^5.3.3",
|
|
19
|
+
"prop-types": "^15.8.1",
|
|
20
|
+
"react": "^18.2.0",
|
|
21
|
+
"react-dom": "^18.2.0",
|
|
22
|
+
"react-router-dom": "^5.3.4",
|
|
23
|
+
"strata.client.core": "^0.0.0-snapshot.2"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
Binary file
|