@voplus/morpho-csp 1.0.0-dev002

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 (106) hide show
  1. package/changelog.md +0 -0
  2. package/es/Modules.d.ts +6 -0
  3. package/es/Modules.js +17 -0
  4. package/es/Modules.js.map +1 -0
  5. package/es/components/CurrencyView/index.d.ts +9 -0
  6. package/es/components/CurrencyView/index.js +196 -0
  7. package/es/components/CurrencyView/index.js.map +1 -0
  8. package/es/components/CurrencyView/state.d.ts +9 -0
  9. package/es/components/CurrencyView/state.js +206 -0
  10. package/es/components/CurrencyView/state.js.map +1 -0
  11. package/es/components/TableDragRow/FormRowContext.d.ts +4 -0
  12. package/es/components/TableDragRow/FormRowContext.js +5 -0
  13. package/es/components/TableDragRow/FormRowContext.js.map +1 -0
  14. package/es/components/TableDragRow/index.d.ts +3 -0
  15. package/es/components/TableDragRow/index.js +41 -0
  16. package/es/components/TableDragRow/index.js.map +1 -0
  17. package/es/data/metas.d.ts +0 -0
  18. package/es/data/metas.js +1 -0
  19. package/es/data/metas.js.map +1 -0
  20. package/es/data/shareTransaction/ShareTransactionStore.d.ts +12 -0
  21. package/es/data/shareTransaction/ShareTransactionStore.js +17 -0
  22. package/es/data/shareTransaction/ShareTransactionStore.js.map +1 -0
  23. package/es/data/shareTransaction/hooks.d.ts +9 -0
  24. package/es/data/shareTransaction/hooks.js +20 -0
  25. package/es/data/shareTransaction/hooks.js.map +1 -0
  26. package/es/data/shareTransaction/index.d.ts +4 -0
  27. package/es/data/shareTransaction/index.js +5 -0
  28. package/es/data/shareTransaction/index.js.map +1 -0
  29. package/es/data/shareTransaction/interfaces/IShareTransaction.d.ts +20 -0
  30. package/es/data/shareTransaction/interfaces/IShareTransaction.js +1 -0
  31. package/es/data/shareTransaction/interfaces/IShareTransaction.js.map +1 -0
  32. package/es/data/shareTransaction/interfaces/IShareTransactionLine.d.ts +19 -0
  33. package/es/data/shareTransaction/interfaces/IShareTransactionLine.js +1 -0
  34. package/es/data/shareTransaction/interfaces/IShareTransactionLine.js.map +1 -0
  35. package/es/data/shareTransaction/interfaces/index.d.ts +2 -0
  36. package/es/data/shareTransaction/interfaces/index.js +3 -0
  37. package/es/data/shareTransaction/interfaces/index.js.map +1 -0
  38. package/es/data/shareTransaction/metas.d.ts +6 -0
  39. package/es/data/shareTransaction/metas.js +13 -0
  40. package/es/data/shareTransaction/metas.js.map +1 -0
  41. package/es/data/shareTransaction/types/ShareLineCreateOptions.d.ts +12 -0
  42. package/es/data/shareTransaction/types/ShareLineCreateOptions.js +1 -0
  43. package/es/data/shareTransaction/types/ShareLineCreateOptions.js.map +1 -0
  44. package/es/data/shareTransaction/types/ShareTransactionCreateOptions.d.ts +11 -0
  45. package/es/data/shareTransaction/types/ShareTransactionCreateOptions.js +1 -0
  46. package/es/data/shareTransaction/types/ShareTransactionCreateOptions.js.map +1 -0
  47. package/es/data/shareTransaction/types/ShareTransactionEditOptions.d.ts +10 -0
  48. package/es/data/shareTransaction/types/ShareTransactionEditOptions.js +1 -0
  49. package/es/data/shareTransaction/types/ShareTransactionEditOptions.js.map +1 -0
  50. package/es/data/shareTransaction/types/ShareTransactionType.d.ts +1 -0
  51. package/es/data/shareTransaction/types/ShareTransactionType.js +1 -0
  52. package/es/data/shareTransaction/types/ShareTransactionType.js.map +1 -0
  53. package/es/data/shareTransaction/types/index.d.ts +3 -0
  54. package/es/data/shareTransaction/types/index.js +4 -0
  55. package/es/data/shareTransaction/types/index.js.map +1 -0
  56. package/es/modules/legalEntity/shareTransactionsRegister/ShareMovementsDataIcon/index.d.ts +7 -0
  57. package/es/modules/legalEntity/shareTransactionsRegister/ShareMovementsDataIcon/index.js +36 -0
  58. package/es/modules/legalEntity/shareTransactionsRegister/ShareMovementsDataIcon/index.js.map +1 -0
  59. package/es/modules/legalEntity/shareTransactionsRegister/ShareMovementsDataIcon/index.less +11 -0
  60. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionDefaultView/index.d.ts +4 -0
  61. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionDefaultView/index.js +70 -0
  62. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionDefaultView/index.js.map +1 -0
  63. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionDefaultView/index.less +94 -0
  64. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItem/index.d.ts +8 -0
  65. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItem/index.js +36 -0
  66. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItem/index.js.map +1 -0
  67. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItem/index.less +65 -0
  68. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDataContext.d.ts +29 -0
  69. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDataContext.js +64 -0
  70. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDataContext.js.map +1 -0
  71. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDragCell.d.ts +3 -0
  72. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDragCell.js +90 -0
  73. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/TableDragCell.js.map +1 -0
  74. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/index.d.ts +6 -0
  75. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/index.js +152 -0
  76. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionItems/index.js.map +1 -0
  77. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/index.d.ts +7 -0
  78. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/index.js +85 -0
  79. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/index.js.map +1 -0
  80. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/index.less +15 -0
  81. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/state.d.ts +7 -0
  82. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/state.js +27 -0
  83. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionList/state.js.map +1 -0
  84. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionRegisterDefaultView/index.d.ts +4 -0
  85. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionRegisterDefaultView/index.js +48 -0
  86. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionRegisterDefaultView/index.js.map +1 -0
  87. package/es/modules/legalEntity/shareTransactionsRegister/ShareTransactionRegisterDefaultView/index.less +22 -0
  88. package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/index.d.ts +13 -0
  89. package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/index.js +34 -0
  90. package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/index.js.map +1 -0
  91. package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/state.d.ts +8 -0
  92. package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/state.js +23 -0
  93. package/es/modules/legalEntity/shareTransactionsRegister/ShareholderSelector/state.js.map +1 -0
  94. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeDropdown/index.d.ts +5 -0
  95. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeDropdown/index.js +28 -0
  96. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeDropdown/index.js.map +1 -0
  97. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/index.d.ts +3 -0
  98. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/index.js +33 -0
  99. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/index.js.map +1 -0
  100. package/es/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/index.less +5 -0
  101. package/es/routes.d.ts +17 -0
  102. package/es/routes.js +38 -0
  103. package/es/routes.js.map +1 -0
  104. package/es/style/common.less +25 -0
  105. package/package.json +68 -0
  106. package/readme.md +0 -0
@@ -0,0 +1,28 @@
1
+ import { Dropdown, Menu } from "@voplus/antd";
2
+ import React, { useState } from "react";
3
+ import { PlusOutlined } from "@ant-design/icons";
4
+ const menuList = [
5
+ "Allotment",
6
+ "Transfer",
7
+ "Cancel",
8
+ "Convert",
9
+ "Consolidate",
10
+ "Divide",
11
+ "Import",
12
+ "Others"
13
+ ];
14
+ const TransactionTypeDropdown = (props) => {
15
+ const [selectedKeys, setSelectedKeys] = useState([]);
16
+ const menu = (React.createElement(Menu, { selectedKeys: selectedKeys, onClick: onSelect }, menuList.map(m => (React.createElement(Menu.Item, { key: m }, m)))));
17
+ return (React.createElement(Dropdown, { overlay: menu, trigger: ["click"], placement: "bottomRight" },
18
+ React.createElement("span", { className: "plus-icon" },
19
+ React.createElement(PlusOutlined, { color: "#fff" }))));
20
+ function onSelect({ key }) {
21
+ const hasKey = selectedKeys.some(selectedKey => selectedKey === key);
22
+ setSelectedKeys(hasKey ? [] : [key]);
23
+ if (props.onSelect)
24
+ props.onSelect(hasKey ? "" : key);
25
+ }
26
+ };
27
+ export default TransactionTypeDropdown;
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/legalEntity/shareTransactionsRegister/TransactionTypeDropdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,QAAQ,GAAG;IAChB,WAAW;IACX,UAAU;IACV,QAAQ;IACR,SAAS;IACT,aAAa;IACb,QAAQ;IACR,QAAQ;IACR,QAAQ;CACR,CAAC;AAEF,MAAM,uBAAuB,GAAG,CAAC,KAA4C,EAAE,EAAE;IAChF,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAW,EAAE,CAAC,CAAC;IAE/D,MAAM,IAAI,GAAG,CACZ,oBAAC,IAAI,IAAC,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,IACjD,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAClB,oBAAC,IAAI,CAAC,IAAI,IAAC,GAAG,EAAE,CAAC,IAAG,CAAC,CAAa,CAClC,CAAC,CACI,CACP,CAAC;IACF,OAAO,CACN,oBAAC,QAAQ,IAAC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,SAAS,EAAC,aAAa;QACnE,8BAAM,SAAS,EAAC,WAAW;YAC1B,oBAAC,YAAY,IAAC,KAAK,EAAC,MAAM,GAAG,CACvB,CACG,CACX,CAAC;IACF,SAAS,QAAQ,CAAC,EAAE,GAAG,EAAmB;QACzC,MAAM,MAAM,GAAG,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,WAAW,KAAK,GAAG,CAAC,CAAC;QACrE,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACrC,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACvD,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const TransactionTypeFilter: () => JSX.Element;
3
+ export default TransactionTypeFilter;
@@ -0,0 +1,33 @@
1
+ import React, { useState } from "react";
2
+ import classnames from "classnames";
3
+ import { useFilterViewContext } from "@voplus/morpho-ui/es/data/FilterViewContext";
4
+ import { useObserver } from "mobx-react-lite";
5
+ const menuList = [
6
+ "Allotment",
7
+ "Transfer",
8
+ "Cancel",
9
+ "Convert",
10
+ "Consolidate",
11
+ "Divide",
12
+ "Import",
13
+ "Others"
14
+ ];
15
+ const TransactionTypeFilter = () => {
16
+ const fvContext = useFilterViewContext();
17
+ const [types, setTypes] = useState([]);
18
+ return useObserver(() => (React.createElement("div", { className: "transaction-type-filter" },
19
+ React.createElement("div", { className: "menu-item-title" }, "TransactionType"),
20
+ menuList.map((type, index) => (React.createElement("div", { key: index, className: classnames("filter-menu-item", {
21
+ bold: fvContext.customize.transactionTypes.some((s) => s === type)
22
+ }), onClick: () => onClick(type) },
23
+ React.createElement("div", { className: "filter-name" }, type)))))));
24
+ function onClick(value) {
25
+ const hasType = types.some(type => type === value);
26
+ setTypes(hasType ? types.filter(type => type !== value) : [...types, value]);
27
+ hasType
28
+ ? fvContext.customize.transactionTypes.filter((type) => type !== value)
29
+ : fvContext.customize.transactionTypes.push(value);
30
+ }
31
+ };
32
+ export default TransactionTypeFilter;
33
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/legalEntity/shareTransactionsRegister/TransactionTypeFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,QAAQ,GAAG;IAChB,WAAW;IACX,UAAU;IACV,QAAQ;IACR,SAAS;IACT,aAAa;IACb,QAAQ;IACR,QAAQ;IACR,QAAQ;CACR,CAAC;AAEF,MAAM,qBAAqB,GAAG,GAAG,EAAE;IAClC,MAAM,SAAS,GAAG,oBAAoB,EAAE,CAAC;IAEzC,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAW,EAAE,CAAC,CAAC;IAEjD,OAAO,WAAW,CAAC,GAAG,EAAE,CAAC,CACxB,6BAAK,SAAS,EAAC,yBAAyB;QACvC,6BAAK,SAAS,EAAC,iBAAiB,sBAAsB;QACrD,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAY,EAAE,KAAa,EAAE,EAAE,CAAC,CAC9C,6BACC,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,UAAU,CAAC,kBAAkB,EAAE;gBACzC,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC;aAC1E,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;YAE5B,6BAAK,SAAS,EAAC,aAAa,IAAE,IAAI,CAAO,CACpC,CACN,CAAC,CACG,CACN,CAAC,CAAC;IACH,SAAS,OAAO,CAAC,KAAa;QAC7B,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC;QACnD,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;QAC7E,OAAO;YACN,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,KAAK,KAAK,CAAC;YAC/E,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACrD,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,5 @@
1
+ :global {
2
+ .transaction-type-filter {
3
+ padding: 0 15px;
4
+ }
5
+ }
package/es/routes.d.ts ADDED
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ declare const Routes: {
3
+ ShareTransactionDefaultView: {
4
+ route: string;
5
+ tabPattern: RegExp;
6
+ getUrl: (id: string) => string;
7
+ component: () => JSX.Element;
8
+ };
9
+ ShareTransactionRegisterDefaultView: {
10
+ route: string;
11
+ tabPattern: RegExp;
12
+ getUrl: (id: string) => string;
13
+ component: () => JSX.Element;
14
+ };
15
+ addRoutes: () => void;
16
+ };
17
+ export default Routes;
package/es/routes.js ADDED
@@ -0,0 +1,38 @@
1
+ import { Route, Switch } from "react-router";
2
+ import { BaseRoutes } from "@voplus/morpho-data";
3
+ import React from "react";
4
+ import ShareTransactionDefaultView from "./modules/legalEntity/shareTransactionsRegister/ShareTransactionDefaultView";
5
+ import ShareTransactionRegisterDefaultView from "./modules/legalEntity/shareTransactionsRegister/ShareTransactionRegisterDefaultView";
6
+ const RouteComponent = () => {
7
+ return (React.createElement(Switch, null,
8
+ React.createElement(Route, { path: Routes.ShareTransactionDefaultView.route, exact: true, component: Routes.ShareTransactionDefaultView.component }),
9
+ React.createElement(Route, { path: Routes.ShareTransactionRegisterDefaultView.route, exact: true, component: Routes.ShareTransactionRegisterDefaultView.component })));
10
+ };
11
+ const Routes = {
12
+ ShareTransactionDefaultView: {
13
+ route: "/shareTransactions/:id",
14
+ tabPattern: RegExp("/shareTransactions/[^/]+"),
15
+ getUrl: (id) => `/shareTransactions/${id}`,
16
+ component: ShareTransactionDefaultView
17
+ },
18
+ ShareTransactionRegisterDefaultView: {
19
+ route: "/shareTransactionsRegister/:id",
20
+ tabPattern: RegExp("/shareTransactionsRegister/[^/]+"),
21
+ getUrl: (id) => `/shareTransactionRegister/${id}`,
22
+ component: ShareTransactionRegisterDefaultView
23
+ },
24
+ addRoutes: () => {
25
+ BaseRoutes.routes.push({
26
+ name: "ShareTransactionDefaultView",
27
+ tabBasePattern: Routes.ShareTransactionDefaultView.tabPattern,
28
+ component: React.createElement(RouteComponent, null)
29
+ });
30
+ BaseRoutes.routes.push({
31
+ name: "ShareTransactionRegisterDefaultView",
32
+ tabBasePattern: Routes.ShareTransactionRegisterDefaultView.tabPattern,
33
+ component: React.createElement(RouteComponent, null)
34
+ });
35
+ }
36
+ };
37
+ export default Routes;
38
+ //# sourceMappingURL=routes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routes.js","sourceRoot":"","sources":["../src/routes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,2BAA2B,MAAM,6EAA6E,CAAC;AACtH,OAAO,mCAAmC,MAAM,qFAAqF,CAAC;AAEtI,MAAM,cAAc,GAAG,GAAG,EAAE;IAC3B,OAAO,CACN,oBAAC,MAAM;QACN,oBAAC,KAAK,IACL,IAAI,EAAE,MAAM,CAAC,2BAA2B,CAAC,KAAK,EAC9C,KAAK,EAAE,IAAI,EACX,SAAS,EAAE,MAAM,CAAC,2BAA2B,CAAC,SAAS,GACtD;QACF,oBAAC,KAAK,IACL,IAAI,EAAE,MAAM,CAAC,mCAAmC,CAAC,KAAK,EACtD,KAAK,EAAE,IAAI,EACX,SAAS,EAAE,MAAM,CAAC,mCAAmC,CAAC,SAAS,GAC9D,CACM,CACT,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG;IACd,2BAA2B,EAAE;QAC5B,KAAK,EAAE,wBAAwB;QAC/B,UAAU,EAAE,MAAM,CAAC,0BAA0B,CAAC;QAC9C,MAAM,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,sBAAsB,EAAE,EAAE;QAClD,SAAS,EAAE,2BAA2B;KACtC;IACD,mCAAmC,EAAE;QACpC,KAAK,EAAE,gCAAgC;QACvC,UAAU,EAAE,MAAM,CAAC,kCAAkC,CAAC;QACtD,MAAM,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,6BAA6B,EAAE,EAAE;QACzD,SAAS,EAAE,mCAAmC;KAC9C;IAED,SAAS,EAAE,GAAG,EAAE;QACf,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,6BAA6B;YACnC,cAAc,EAAE,MAAM,CAAC,2BAA2B,CAAC,UAAU;YAC7D,SAAS,EAAE,oBAAC,cAAc,OAAG;SAC7B,CAAC,CAAC;QACH,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,qCAAqC;YAC3C,cAAc,EAAE,MAAM,CAAC,mCAAmC,CAAC,UAAU;YACrE,SAAS,EAAE,oBAAC,cAAc,OAAG;SAC7B,CAAC,CAAC;IACJ,CAAC;CACD,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,25 @@
1
+ :global {
2
+ .csp-default-view {
3
+ display: flex;
4
+ flex-direction: column;
5
+ }
6
+ .csp-default-view_aside {
7
+ height: 100%;
8
+ .ant-tabs {
9
+ display: flex;
10
+ flex-direction: column;
11
+ height: 100%;
12
+ .ant-tabs-content {
13
+ height: 100%;
14
+ padding-bottom: 0px !important;
15
+ .ant-tabs-tabpane {
16
+ position: relative;
17
+ height: 100%;
18
+ }
19
+ }
20
+ .ant-tabs-bar {
21
+ margin: 0 20px;
22
+ }
23
+ }
24
+ }
25
+ }
package/package.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "@voplus/morpho-csp",
3
+ "version": "1.0.0-dev002",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://voplus.visualstudio.com/morpho-csp/_git/morpho-csp"
7
+ },
8
+ "description": "Morpho corporate service module.",
9
+ "main": "es/index.js",
10
+ "module": "es/index.js",
11
+ "types": "es/index.d.ts",
12
+ "files": [
13
+ "es"
14
+ ],
15
+ "author": "VOPLUS",
16
+ "license": "SEE LICENSE IN LICENSE",
17
+ "scripts": {
18
+ "copy-less": "cpx src/**/*.less lib && cpx src/**/*.less es",
19
+ "clean": "del-cli es && jest --clearCache",
20
+ "start": "webpack-dev-server --open --config webpack.dev.js",
21
+ "storybook": "start-storybook -p 9001 -c .storybook -s ./public",
22
+ "lint": "npx eslint -c .eslintrc.js --ext .ts --ext .tsx src",
23
+ "//Webpack Build then copy all declarations to dist then delete those declaration files.": "",
24
+ "//build": "webpack --config webpack.prod.js && cpx src/**/*.d.ts dist && del-cli src/**/*.d.ts",
25
+ "build": "npm run clean && tsc -p tsconfig.prod.json && npm run copy-less",
26
+ "test": "jest"
27
+ },
28
+ "husky": {
29
+ "hooks": {
30
+ "pre-push": "npx eslint -c .eslintrc.js --ext .ts --ext .tsx src"
31
+ }
32
+ },
33
+ "dependencies": {},
34
+ "devDependencies": {
35
+ "@types/classnames": "^2.2.9",
36
+ "@types/file-saver": "^2.0.1",
37
+ "@types/hoist-non-react-statics": "^3.3.1",
38
+ "@types/invariant": "^2.2.33",
39
+ "@types/lodash-es": "^4.17.3",
40
+ "@types/node": "^13.13.9",
41
+ "@types/react": "^16.9.35",
42
+ "@types/react-dom": "^16.9.8",
43
+ "@types/react-router": "^5.1.7",
44
+ "@types/react-test-renderer": "^16.9.2",
45
+ "@types/uuid": "^3.4.9",
46
+ "@voplus/antd": "^4.2.2-vo1.0.2",
47
+ "@voplus/morpho-client-test": "^1.0.0-dev014",
48
+ "@voplus/morpho-collaboration": "^1.0.0-dev024",
49
+ "@voplus/morpho-config": "^1.0.0-dev50",
50
+ "@voplus/morpho-data": "^1.0.0-dev097",
51
+ "@voplus/morpho-document": "^1.0.0-dev242",
52
+ "@voplus/morpho-org": "^1.0.0-dev032-antd4",
53
+ "@voplus/morpho-text": "^1.0.0-dev016",
54
+ "@voplus/morpho-ui": "^1.0.0-dev121",
55
+ "draft-js": "^0.11.5",
56
+ "hoist-non-react-statics": "^3.3.2",
57
+ "mobx": "^5.15.4",
58
+ "mobx-react-lite": "^1.5.2",
59
+ "mobx-utils": "^5.6.1",
60
+ "react": "^16.13.1",
61
+ "react-dnd": "^9.5.1",
62
+ "react-dnd-html5-backend": "^9.5.1",
63
+ "react-dom": "^16.13.1"
64
+ },
65
+ "peerDependencies": {
66
+ "@voplus/morpho-collaboration": "*"
67
+ }
68
+ }
package/readme.md ADDED
File without changes