strata.client.mui 0.0.0-snapshot.1 → 0.0.0-snapshot.2

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.
Files changed (40) hide show
  1. package/LoginOrRegister/LoginOrRegisterMenu.d.ts +7 -0
  2. package/{Navigation/LoginAndProfileMenu.js → LoginOrRegister/LoginOrRegisterMenu.js} +6 -6
  3. package/LoginOrRegister/LoginOrRegisterMenu.js.map +1 -0
  4. package/LoginOrRegister/index.d.ts +1 -0
  5. package/LoginOrRegister/index.js +6 -0
  6. package/LoginOrRegister/index.js.map +1 -0
  7. package/Navigation/StandardNavigationMenuBar.js +2 -2
  8. package/Navigation/StandardNavigationMenuBar.js.map +1 -1
  9. package/Navigation/index.d.ts +0 -1
  10. package/Navigation/index.js +1 -3
  11. package/Navigation/index.js.map +1 -1
  12. package/package.json +1 -1
  13. package/strata.client.mui-v0.0.0-snapshot.2.tgz +0 -0
  14. package/Main/ReactApplication.d.ts +0 -10
  15. package/Main/ReactApplication.js +0 -22
  16. package/Main/ReactApplication.js.map +0 -1
  17. package/Main/index.d.ts +0 -1
  18. package/Main/index.js +0 -6
  19. package/Main/index.js.map +0 -1
  20. package/Navigation/LoginAndProfileMenu.d.ts +0 -7
  21. package/Navigation/LoginAndProfileMenu.js.map +0 -1
  22. package/Presenter/IPresenterViewProperty.d.ts +0 -3
  23. package/Presenter/IPresenterViewProperty.js +0 -3
  24. package/Presenter/IPresenterViewProperty.js.map +0 -1
  25. package/Presenter/IRenderable.d.ts +0 -5
  26. package/Presenter/IRenderable.js +0 -3
  27. package/Presenter/IRenderable.js.map +0 -1
  28. package/Presenter/IRenderableViewProperty.d.ts +0 -4
  29. package/Presenter/IRenderableViewProperty.js +0 -3
  30. package/Presenter/IRenderableViewProperty.js.map +0 -1
  31. package/Presenter/PresenterView.d.ts +0 -12
  32. package/Presenter/PresenterView.js +0 -14
  33. package/Presenter/PresenterView.js.map +0 -1
  34. package/Presenter/RenderableView.d.ts +0 -9
  35. package/Presenter/RenderableView.js +0 -14
  36. package/Presenter/RenderableView.js.map +0 -1
  37. package/Presenter/index.d.ts +0 -5
  38. package/Presenter/index.js +0 -8
  39. package/Presenter/index.js.map +0 -1
  40. package/strata.client.mui-v0.0.0-snapshot.1.tgz +0 -0
@@ -0,0 +1,7 @@
1
+ import { INavigationMenuPropertySet } from '../Navigation/INavigationMenuPropertySet';
2
+ import { NavigationMenu } from '../Navigation/NavigationMenu';
3
+ export declare class LoginOrRegisterMenu extends NavigationMenu {
4
+ router?: History;
5
+ constructor(props: INavigationMenuPropertySet);
6
+ render(): any;
7
+ }
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LoginAndProfileMenu = void 0;
3
+ exports.LoginOrRegisterMenu = void 0;
4
4
  const React = require("react");
5
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 {
6
+ const NavigationMenu_1 = require("../Navigation/NavigationMenu");
7
+ const MenuItemLink_1 = require("../Navigation/MenuItemLink");
8
+ class LoginOrRegisterMenu extends NavigationMenu_1.NavigationMenu {
9
9
  router;
10
10
  constructor(props) {
11
11
  super(props);
@@ -40,5 +40,5 @@ class LoginAndProfileMenu extends NavigationMenu_1.NavigationMenu {
40
40
  */
41
41
  }
42
42
  }
43
- exports.LoginAndProfileMenu = LoginAndProfileMenu;
44
- //# sourceMappingURL=LoginAndProfileMenu.js.map
43
+ exports.LoginOrRegisterMenu = LoginOrRegisterMenu;
44
+ //# sourceMappingURL=LoginOrRegisterMenu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoginOrRegisterMenu.js","sourceRoot":"","sources":["../../../main/typescript/LoginOrRegister/LoginOrRegisterMenu.tsx"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,4CAA0C;AAE1C,iEAA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
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LoginOrRegisterMenu = void 0;
4
+ var LoginOrRegisterMenu_1 = require("./LoginOrRegisterMenu");
5
+ Object.defineProperty(exports, "LoginOrRegisterMenu", { enumerable: true, get: function () { return LoginOrRegisterMenu_1.LoginOrRegisterMenu; } });
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../main/typescript/LoginOrRegister/index.ts"],"names":[],"mappings":";;;AAAA,6DAA0D;AAAlD,0HAAA,mBAAmB,OAAA"}
@@ -4,10 +4,10 @@ exports.StandardNavigationMenuBar = void 0;
4
4
  const React = require("react");
5
5
  const NavigationMenuBar_1 = require("./NavigationMenuBar");
6
6
  const NavigationMenu_1 = require("./NavigationMenu");
7
- const LoginAndProfileMenu_1 = require("./LoginAndProfileMenu");
8
7
  const SearchInput_1 = require("./SearchInput");
9
8
  const material_1 = require("@mui/material");
10
9
  const Icon_1 = require("@mui/material/Icon");
10
+ const LoginOrRegister_1 = require("../LoginOrRegister");
11
11
  class StandardNavigationMenuBar extends NavigationMenuBar_1.NavigationMenuBar {
12
12
  constructor(props) {
13
13
  super(props);
@@ -25,7 +25,7 @@ class StandardNavigationMenuBar extends NavigationMenuBar_1.NavigationMenuBar {
25
25
  }
26
26
  renderRight() {
27
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 }),
28
+ React.createElement(LoginOrRegister_1.LoginOrRegisterMenu, { id: "main.login-profile", to: "", startIcon: React.createElement(Icon_1.default, null), text: "guest", selected: false, menubar: this }),
29
29
  React.createElement(material_1.Divider, null),
30
30
  React.createElement(SearchInput_1.SearchInput, null)));
31
31
  }
@@ -1 +1 @@
1
- {"version":3,"file":"StandardNavigationMenuBar.js","sourceRoot":"","sources":["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,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"}
1
+ {"version":3,"file":"StandardNavigationMenuBar.js","sourceRoot":"","sources":["../../../main/typescript/Navigation/StandardNavigationMenuBar.tsx"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,2DAAsD;AAEtD,qDAAgD;AAChD,+CAA0C;AAC1C,4CAAqD;AACrD,6CAAgD;AAChD,wDAAuD;AAGvD,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,qCAAmB,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"}
@@ -2,7 +2,6 @@ export { IMenuItemLinkPropertySet } from './IMenuItemLinkPropertySet';
2
2
  export { INavigationMenuBarPropertySet } from './INavigationMenuBarPropertySet';
3
3
  export { INavigationMenuPropertySet } from './INavigationMenuPropertySet';
4
4
  export { ISearchInputPropertySet } from './ISearchInputPropertySet';
5
- export { LoginAndProfileMenu } from './LoginAndProfileMenu';
6
5
  export { MenuItemLink } from './MenuItemLink';
7
6
  export { NavigationMenu } from './NavigationMenu';
8
7
  export { NavigationMenuBar } from './NavigationMenuBar';
@@ -1,8 +1,6 @@
1
1
  "use strict";
2
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; } });
3
+ exports.SearchInput = exports.NavigationMenuBar = exports.NavigationMenu = exports.MenuItemLink = void 0;
6
4
  var MenuItemLink_1 = require("./MenuItemLink");
7
5
  Object.defineProperty(exports, "MenuItemLink", { enumerable: true, get: function () { return MenuItemLink_1.MenuItemLink; } });
8
6
  var NavigationMenu_1 = require("./NavigationMenu");
@@ -1 +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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../main/typescript/Navigation/index.ts"],"names":[],"mappings":";;;AAIA,+CAA4C;AAApC,4GAAA,YAAY,OAAA;AACpB,mDAAgD;AAAxC,gHAAA,cAAc,OAAA;AACtB,yDAAsD;AAA9C,sHAAA,iBAAiB,OAAA;AACzB,6CAA0C;AAAlC,0GAAA,WAAW,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strata.client.mui",
3
- "version": "0.0.0-snapshot.1",
3
+ "version": "0.0.0-snapshot.2",
4
4
  "license": "Apache-2.0",
5
5
  "scripts": {
6
6
  "increment-snapshot": "npm version prerelease",
@@ -1,10 +0,0 @@
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
- }
@@ -1,22 +0,0 @@
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
@@ -1 +0,0 @@
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 DELETED
@@ -1 +0,0 @@
1
- export { ReactApplication } from './ReactApplication';
package/Main/index.js DELETED
@@ -1,6 +0,0 @@
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
package/Main/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../main/typescript/Main/index.ts"],"names":[],"mappings":";;;AAAA,uDAAoD;AAA5C,oHAAA,gBAAgB,OAAA"}
@@ -1,7 +0,0 @@
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
- }
@@ -1 +0,0 @@
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"}
@@ -1,3 +0,0 @@
1
- export interface IPresenterViewProperty<P> {
2
- presenter: P;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IPresenterViewProperty.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IPresenterViewProperty.js","sourceRoot":"","sources":["../../../main/typescript/Presenter/IPresenterViewProperty.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import Element = React.JSX.Element;
3
- export interface IRenderable {
4
- render(): Element;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IRenderable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IRenderable.js","sourceRoot":"","sources":["../../../main/typescript/Presenter/IRenderable.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import { IRenderable } from "./IRenderable";
2
- export interface IRenderableViewProperty {
3
- view: IRenderable;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IRenderableViewProperty.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IRenderableViewProperty.js","sourceRoot":"","sources":["../../../main/typescript/Presenter/IRenderableViewProperty.ts"],"names":[],"mappings":""}
@@ -1,12 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,9 +0,0 @@
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
- }
@@ -1,14 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,5 +0,0 @@
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';
@@ -1,8 +0,0 @@
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
@@ -1 +0,0 @@
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"}