@voplus/morpho-document 6.0.151 → 6.0.152

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 (149) hide show
  1. package/es/Modules.js +2 -1
  2. package/es/Modules.js.map +1 -1
  3. package/es/components/DocumentTabs/index.js +2 -3
  4. package/es/components/DocumentTabs/index.js.map +1 -1
  5. package/es/data/document-register/DocumentRegisterStore.d.ts +3 -0
  6. package/es/data/document-register/DocumentRegisterStore.js +10 -2
  7. package/es/data/document-register/DocumentRegisterStore.js.map +1 -1
  8. package/es/data/document-register/interfaces.d.ts +4 -0
  9. package/es/data/metas/RegisteredDocumentMeta.d.ts +16 -0
  10. package/es/data/metas/RegisteredDocumentMeta.js +47 -0
  11. package/es/data/metas/RegisteredDocumentMeta.js.map +1 -0
  12. package/es/data/metas/index.d.ts +1 -0
  13. package/es/data/metas/index.js +1 -0
  14. package/es/data/metas/index.js.map +1 -1
  15. package/es/data/registered-document/RegisteredDocumentStore.d.ts +14 -0
  16. package/es/data/registered-document/RegisteredDocumentStore.js +30 -0
  17. package/es/data/registered-document/RegisteredDocumentStore.js.map +1 -0
  18. package/es/data/registered-document/hooks.d.ts +13 -0
  19. package/es/data/registered-document/hooks.js +24 -0
  20. package/es/data/registered-document/hooks.js.map +1 -0
  21. package/es/data/registered-document/index.d.ts +4 -0
  22. package/es/data/registered-document/index.js +5 -0
  23. package/es/data/registered-document/index.js.map +1 -0
  24. package/es/data/registered-document/interfaces.d.ts +24 -0
  25. package/es/data/registered-document/interfaces.js +2 -0
  26. package/es/data/registered-document/interfaces.js.map +1 -0
  27. package/es/data/registered-document/types.d.ts +16 -0
  28. package/es/data/registered-document/types.js +2 -0
  29. package/es/data/registered-document/types.js.map +1 -0
  30. package/es/data/tenant-service/interfaces.d.ts +8 -2
  31. package/es/modules/document-register/components/AddRegisterDocumentsTypeDialog/index.d.ts +8 -0
  32. package/es/modules/document-register/components/AddRegisterDocumentsTypeDialog/index.js +23 -0
  33. package/es/modules/document-register/components/AddRegisterDocumentsTypeDialog/index.js.map +1 -0
  34. package/es/modules/document-register/components/AddRegisterDocumentsTypeDialog/index.less +45 -0
  35. package/es/modules/document-register/components/DocumentRegisterItem/index.d.ts +1 -0
  36. package/es/modules/document-register/components/DocumentRegisterItem/index.js +8 -15
  37. package/es/modules/document-register/components/DocumentRegisterItem/index.js.map +1 -1
  38. package/es/modules/document-register/components/DocumentRegisterList/index.d.ts +7 -10
  39. package/es/modules/document-register/components/DocumentRegisterList/index.js +40 -37
  40. package/es/modules/document-register/components/DocumentRegisterList/index.js.map +1 -1
  41. package/es/modules/document-register/components/DocumentRegisterList/index.less +18 -13
  42. package/es/modules/document-register/components/DocumentRegisterProperties/index.d.ts +1 -1
  43. package/es/modules/document-register/components/DocumentRegisterProperties/index.js +10 -23
  44. package/es/modules/document-register/components/DocumentRegisterProperties/index.js.map +1 -1
  45. package/es/modules/document-register/components/DocumentRegisterTabs/index.js +1 -1
  46. package/es/modules/document-register/components/DocumentRegisterTabs/index.js.map +1 -1
  47. package/es/modules/document-register/pages/DocumentRegisterDefaultView/index.d.ts +4 -3
  48. package/es/modules/document-register/pages/DocumentRegisterDefaultView/index.js +10 -17
  49. package/es/modules/document-register/pages/DocumentRegisterDefaultView/index.js.map +1 -1
  50. package/es/modules/document-register/pages/DocumentRegisterDefaultView/index.less +12 -22
  51. package/es/modules/document-register/pages/DocumentRegisterListPage/index.d.ts +5 -0
  52. package/es/modules/document-register/pages/DocumentRegisterListPage/index.js +30 -0
  53. package/es/modules/document-register/pages/DocumentRegisterListPage/index.js.map +1 -0
  54. package/es/modules/document-register/pages/DocumentRegisterListPage/index.less +8 -0
  55. package/es/modules/document-register/pages/DocumentRegisterSettings/index.d.ts +7 -0
  56. package/es/modules/document-register/pages/DocumentRegisterSettings/index.js +42 -0
  57. package/es/modules/document-register/pages/DocumentRegisterSettings/index.js.map +1 -0
  58. package/es/modules/document-register/pages/DocumentRegisterSettings/index.less +9 -0
  59. package/es/modules/registered-document/RegisteredDocumentContext.d.ts +11 -0
  60. package/es/modules/registered-document/RegisteredDocumentContext.js +39 -0
  61. package/es/modules/registered-document/RegisteredDocumentContext.js.map +1 -0
  62. package/es/modules/registered-document/components/Documents/index.d.ts +6 -0
  63. package/es/modules/registered-document/components/Documents/index.js +49 -0
  64. package/es/modules/registered-document/components/Documents/index.js.map +1 -0
  65. package/es/modules/registered-document/components/Documents/index.less +28 -0
  66. package/es/modules/registered-document/components/RegisteredDocumentItem/index.d.ts +6 -0
  67. package/es/modules/registered-document/components/RegisteredDocumentItem/index.js +26 -0
  68. package/es/modules/registered-document/components/RegisteredDocumentItem/index.js.map +1 -0
  69. package/es/modules/registered-document/components/RegisteredDocumentItem/index.less +45 -0
  70. package/es/modules/registered-document/components/RegisteredDocumentListHeader/index.d.ts +8 -0
  71. package/es/modules/registered-document/components/RegisteredDocumentListHeader/index.js +82 -0
  72. package/es/modules/registered-document/components/RegisteredDocumentListHeader/index.js.map +1 -0
  73. package/es/modules/registered-document/components/RegisteredDocumentNewForm/index.d.ts +8 -0
  74. package/es/modules/registered-document/components/RegisteredDocumentNewForm/index.js +37 -0
  75. package/es/modules/registered-document/components/RegisteredDocumentNewForm/index.js.map +1 -0
  76. package/es/modules/registered-document/components/RegisteredDocumentNewForm/index.less +5 -0
  77. package/es/modules/registered-document/components/RegisteredDocumentNewForm/state.d.ts +5 -0
  78. package/es/modules/registered-document/components/RegisteredDocumentNewForm/state.js +26 -0
  79. package/es/modules/registered-document/components/RegisteredDocumentNewForm/state.js.map +1 -0
  80. package/es/modules/registered-document/components/RegisteredDocumentProperties/index.d.ts +27 -0
  81. package/es/modules/registered-document/components/RegisteredDocumentProperties/index.js +42 -0
  82. package/es/modules/registered-document/components/RegisteredDocumentProperties/index.js.map +1 -0
  83. package/es/modules/registered-document/components/RegisteredDocumentPropertiesView/index.d.ts +7 -0
  84. package/es/modules/registered-document/components/RegisteredDocumentPropertiesView/index.js +29 -0
  85. package/es/modules/registered-document/components/RegisteredDocumentPropertiesView/index.js.map +1 -0
  86. package/es/modules/registered-document/components/RegisteredDocumentPropertiesView/index.less +14 -0
  87. package/es/modules/registered-document/components/RegisteredDocumentQuickViewDialog/index.d.ts +7 -0
  88. package/es/modules/registered-document/components/RegisteredDocumentQuickViewDialog/index.js +29 -0
  89. package/es/modules/registered-document/components/RegisteredDocumentQuickViewDialog/index.js.map +1 -0
  90. package/es/modules/registered-document/components/RegisteredDocumentTableList/TableCellDetail.d.ts +17 -0
  91. package/es/modules/registered-document/components/RegisteredDocumentTableList/TableCellDetail.js +65 -0
  92. package/es/modules/registered-document/components/RegisteredDocumentTableList/TableCellDetail.js.map +1 -0
  93. package/es/modules/registered-document/components/RegisteredDocumentTableList/TableCellSimple.d.ts +15 -0
  94. package/es/modules/registered-document/components/RegisteredDocumentTableList/TableCellSimple.js +25 -0
  95. package/es/modules/registered-document/components/RegisteredDocumentTableList/TableCellSimple.js.map +1 -0
  96. package/es/modules/registered-document/components/RegisteredDocumentTableList/index.d.ts +17 -0
  97. package/es/modules/registered-document/components/RegisteredDocumentTableList/index.js +94 -0
  98. package/es/modules/registered-document/components/RegisteredDocumentTableList/index.js.map +1 -0
  99. package/es/modules/registered-document/components/RegisteredDocumentTableList/index.less +74 -0
  100. package/es/modules/registered-document/components/RegisteredDocumentTableList/state.d.ts +22 -0
  101. package/es/modules/registered-document/components/RegisteredDocumentTableList/state.js +136 -0
  102. package/es/modules/registered-document/components/RegisteredDocumentTableList/state.js.map +1 -0
  103. package/es/modules/registered-document/components/RegisteredDocumentTabs/index.d.ts +6 -0
  104. package/es/modules/registered-document/components/RegisteredDocumentTabs/index.js +48 -0
  105. package/es/modules/registered-document/components/RegisteredDocumentTabs/index.js.map +1 -0
  106. package/es/modules/registered-document/controls/RegisteredDocumentDataIconBar/index.d.ts +12 -0
  107. package/es/modules/registered-document/controls/RegisteredDocumentDataIconBar/index.js +18 -0
  108. package/es/modules/registered-document/controls/RegisteredDocumentDataIconBar/index.js.map +1 -0
  109. package/es/modules/registered-document/controls/RegisteredDocumentMenu/index.d.ts +7 -0
  110. package/es/modules/registered-document/controls/RegisteredDocumentMenu/index.js +14 -0
  111. package/es/modules/registered-document/controls/RegisteredDocumentMenu/index.js.map +1 -0
  112. package/es/modules/registered-document/controls/RegisteredDocumentStatusDataIcon/index.d.ts +8 -0
  113. package/es/modules/registered-document/controls/RegisteredDocumentStatusDataIcon/index.js +17 -0
  114. package/es/modules/registered-document/controls/RegisteredDocumentStatusDataIcon/index.js.map +1 -0
  115. package/es/modules/registered-document/controls/RegisteredDocumentStatusFilter/index.d.ts +5 -0
  116. package/es/modules/registered-document/controls/RegisteredDocumentStatusFilter/index.js +23 -0
  117. package/es/modules/registered-document/controls/RegisteredDocumentStatusFilter/index.js.map +1 -0
  118. package/es/modules/registered-document/controls/RegisteredDocumentStatusFilter/state.d.ts +19 -0
  119. package/es/modules/registered-document/controls/RegisteredDocumentStatusFilter/state.js +67 -0
  120. package/es/modules/registered-document/controls/RegisteredDocumentStatusFilter/state.js.map +1 -0
  121. package/es/modules/registered-document/controls/RegisteredDocumentStatusLabel/index.d.ts +10 -0
  122. package/es/modules/registered-document/controls/RegisteredDocumentStatusLabel/index.js +17 -0
  123. package/es/modules/registered-document/controls/RegisteredDocumentStatusLabel/index.js.map +1 -0
  124. package/es/modules/registered-document/controls/RegisteredDocumentStatusLabel/index.less +35 -0
  125. package/es/modules/registered-document/pages/RegisteredDocumentDefaultView/index.d.ts +6 -0
  126. package/es/modules/registered-document/pages/RegisteredDocumentDefaultView/index.js +34 -0
  127. package/es/modules/registered-document/pages/RegisteredDocumentDefaultView/index.js.map +1 -0
  128. package/es/modules/registered-document/pages/RegisteredDocumentDefaultView/index.less +22 -0
  129. package/es/modules/tenant-service/components/DynamicFiledList/index.js +3 -0
  130. package/es/modules/tenant-service/components/DynamicFiledList/index.js.map +1 -1
  131. package/es/modules/tenant-service/components/StringDynamicField/index.js +1 -1
  132. package/es/modules/tenant-service/components/StringDynamicField/index.js.map +1 -1
  133. package/es/modules/tenant-service/components/XeroTokenField/XeroTokenField.d.ts +8 -0
  134. package/es/modules/tenant-service/components/XeroTokenField/XeroTokenField.js +30 -0
  135. package/es/modules/tenant-service/components/XeroTokenField/XeroTokenField.js.map +1 -0
  136. package/es/modules/tenant-service/components/XeroTokenField/index.d.ts +8 -0
  137. package/es/modules/tenant-service/components/XeroTokenField/index.js +43 -0
  138. package/es/modules/tenant-service/components/XeroTokenField/index.js.map +1 -0
  139. package/es/modules/tenant-service/components/XeroTokenField/index.less +46 -0
  140. package/es/modules/tenant-service/components/XeroTokenField/state.d.ts +17 -0
  141. package/es/modules/tenant-service/components/XeroTokenField/state.js +134 -0
  142. package/es/modules/tenant-service/components/XeroTokenField/state.js.map +1 -0
  143. package/es/routes.d.ts +0 -6
  144. package/es/routes.js +12 -13
  145. package/es/routes.js.map +1 -1
  146. package/package.json +1 -1
  147. package/es/modules/document-register/components/DocumentRegisterListCard/index.d.ts +0 -12
  148. package/es/modules/document-register/components/DocumentRegisterListCard/index.js +0 -14
  149. package/es/modules/document-register/components/DocumentRegisterListCard/index.js.map +0 -1
@@ -0,0 +1,28 @@
1
+ :global {
2
+ .register-documents-shortcut-summary {
3
+ .item {
4
+ display: flex;
5
+ color: #5d5d5d;
6
+ padding: 12px 0;
7
+ border-bottom: 1px solid #e6e6e6;
8
+ cursor: pointer;
9
+ .icon {
10
+ color: #cbcbcb;
11
+ margin-right: 7px;
12
+ }
13
+ .name {
14
+ flex: 1;
15
+ }
16
+ &:first-child {
17
+ padding-top: 0;
18
+ }
19
+ }
20
+ .more {
21
+ color: #217eb2;
22
+ text-decoration: underline;
23
+ text-align: right;
24
+ margin-top: 15px;
25
+ cursor: pointer;
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ declare const RegisteredDocumentItem: (props: {
3
+ id: string;
4
+ data?: any;
5
+ }) => React.JSX.Element;
6
+ export default RegisteredDocumentItem;
@@ -0,0 +1,26 @@
1
+ import React, { useState } from "react";
2
+ import { useRegisteredDocument, useRegisteredDocumentStore, } from "../../../../data/registered-document";
3
+ import DocumentHeader from "../../../../components/DocumentHeader";
4
+ import { Open } from "../../../../controls/ToolBar/buttons";
5
+ import ToolBar from "../../../../controls/ToolBar/ToolBar2";
6
+ import classnames from "classnames";
7
+ import { observe } from "@voplus/morpho-ui";
8
+ import styles from "./index.less";
9
+ import { useMetaStore } from "@voplus/morpho-document-core";
10
+ const RegisteredDocumentItem = (props) => {
11
+ const { id } = props;
12
+ const meta = useMetaStore();
13
+ const documentRegister = useRegisteredDocument(id);
14
+ const store = useRegisteredDocumentStore();
15
+ const [hover, setHover] = useState(false);
16
+ return observe(() => (React.createElement(DocumentHeader, { id: documentRegister.id, clickNameEffect: "default", quickDataBarAlign: "left",
17
+ // tagsVisible={!!documentRegister.tags?.length}
18
+ className: styles["registered-document-item"], onMouse: (over) => setHover(over), tools: React.createElement(React.Fragment, null,
19
+ React.createElement("div", { className: classnames("hover-operate-icon", { show: hover }) },
20
+ React.createElement(ToolBar, { id: id, moreProps: {
21
+ buttonProps: { size: "middle" },
22
+ } },
23
+ React.createElement(Open, { size: "middle", url: meta.getRoute(documentRegister) })))) })));
24
+ };
25
+ export default RegisteredDocumentItem;
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/components/RegisteredDocumentItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EACN,qBAAqB,EACrB,0BAA0B,GAC1B,MAAM,sCAAsC,CAAC;AAE9C,OAAO,cAAc,MAAM,uCAAuC,CAAC;AAEnE,OAAO,EAAE,IAAI,EAAE,MAAM,sCAAsC,CAAC;AAC5D,OAAO,OAAO,MAAM,uCAAuC,CAAC;AAC5D,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,EAAE,OAAO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;
4
+ cursor: pointer;
5
+ background-color: transparent;
6
+
7
+ &:global(:after) {
8
+ position: absolute;
9
+ content: "";
10
+ left: 20px;
11
+ right: 20px;
12
+ bottom: 0;
13
+ border-bottom: 1px solid #f2f2f2;
14
+ }
15
+
16
+ :global {
17
+ .registered-document-status-label {
18
+ opacity: 1;
19
+ transition: opacity 0.3s;
20
+ flex-shrink: 0;
21
+
22
+ &.hide {
23
+ opacity: 0;
24
+ }
25
+ }
26
+
27
+ .hover-operate-icon {
28
+ display: none;
29
+ position: absolute;
30
+ right: 20px;
31
+
32
+ .ant-btn:first-child {
33
+ margin-left: 0;
34
+ }
35
+
36
+ &.show {
37
+ display: block;
38
+ }
39
+ }
40
+
41
+ .due-date {
42
+ margin-right: 12px;
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ declare const RegisterListHeader: (props: {
3
+ /** type of registers shown on the list. */
4
+ type?: string | undefined;
5
+ onChangeFilter?: ((type: string) => void) | undefined;
6
+ onAdd?: ((type: string) => void) | undefined;
7
+ }) => React.JSX.Element;
8
+ export default RegisterListHeader;
@@ -0,0 +1,82 @@
1
+ import React, { useEffect, useState } from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import { Button, Divider, Menu } from "antd";
4
+ import { runInAction } from "mobx";
5
+ import { useDocumentListEffect } from "@voplus/morpho-document-core";
6
+ import { useRegisteredDocumentListEffect } from "../../../../data/registered-document";
7
+ import { useApplicationContext } from "@voplus/morpho-data";
8
+ import { useRegisteredDocumentListContext } from "../RegisteredDocumentTableList/state";
9
+ import ListHeaderTool from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
10
+ import classnames from "classnames";
11
+ const RegisterListHeader = (props) => {
12
+ const context = useApplicationContext();
13
+ const nContext = useRegisteredDocumentListContext();
14
+ const [typeActive, setTypeActive] = useState("all");
15
+ useEffect(() => {
16
+ var _a;
17
+ setTypeActive((_a = props.type) !== null && _a !== void 0 ? _a : "all");
18
+ }, [props.type]);
19
+ // useRegisteredDocumentListEffect
20
+ useDocumentListEffect(null, (result, total) => {
21
+ nContext.registerTotals.all = total || 0;
22
+ }, nContext.nAllOptions);
23
+ useRegisteredDocumentListEffect(null, (result, total) => runInAction(() => (nContext.registerTotals.board = total || 0)), nContext.nBoardOptions);
24
+ useRegisteredDocumentListEffect(null, (result, total) => runInAction(() => (nContext.registerTotals.amg = total || 0)), nContext.nAmgOptions);
25
+ useRegisteredDocumentListEffect(null, (result, total) => runInAction(() => (nContext.registerTotals.members = total || 0)), nContext.nMembersOptions);
26
+ useRegisteredDocumentListEffect(null, (result, total) => runInAction(() => (nContext.registerTotals.others = total || 0)), nContext.nOthersOptions);
27
+ return observe(() => {
28
+ const registerTypes = [
29
+ {
30
+ key: "all",
31
+ label: "All",
32
+ total: nContext.registerTotals.all,
33
+ },
34
+ {
35
+ key: "board",
36
+ label: "Board Resolution",
37
+ total: nContext.registerTotals.board,
38
+ },
39
+ {
40
+ key: "amg",
41
+ label: "AMG",
42
+ total: nContext.registerTotals.amg,
43
+ },
44
+ {
45
+ key: "members",
46
+ label: "Members Resolution",
47
+ total: nContext.registerTotals.members,
48
+ },
49
+ {
50
+ key: "others",
51
+ label: "Others",
52
+ total: nContext.registerTotals.others,
53
+ },
54
+ ];
55
+ return (React.createElement(ListHeaderTool, { sortable: false, searchOptions: { placeholder: "Search in Register Documents list" }, addOptions: {
56
+ trigger: ["click"],
57
+ overlay: (React.createElement(Menu, { onClick: onAdd, items: [
58
+ { key: "Board Resolution", label: "Board Resolution" },
59
+ { key: "AGM", label: "AGM" },
60
+ { key: "Members Resolution", label: "Members Resolution" },
61
+ ] })),
62
+ }, preExtra: () => (React.createElement("div", { className: "register-types-menu" },
63
+ registerTypes.map((item) => (React.createElement(Button, { key: item.key, className: classnames(item, {
64
+ active: typeActive === item.key,
65
+ }), onClick: () => onChangeFilter(item.key) },
66
+ item.label,
67
+ " ",
68
+ (item === null || item === void 0 ? void 0 : item.total) ? ` (${item.total})` : ""))),
69
+ context.host.isTest && React.createElement(Divider, { type: "vertical" }))) }));
70
+ });
71
+ function onChangeFilter(item) {
72
+ var _a;
73
+ setTypeActive(item);
74
+ (_a = props.onChangeFilter) === null || _a === void 0 ? void 0 : _a.call(props, item);
75
+ }
76
+ function onAdd(type) {
77
+ var _a;
78
+ (_a = props.onAdd) === null || _a === void 0 ? void 0 : _a.call(props, type.key.toString());
79
+ }
80
+ };
81
+ export default RegisterListHeader;
82
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/components/RegisteredDocumentListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAyB,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC5F,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,kBAAkB,GAAG,CAAC,KAO3B,EAAE,EAAE;IACJ,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,MAAM,QAAQ,GAAG,gCAAgC,EAAE,CAAC;IACpD,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEpD,SAAS,CAAC,GAAG,EAAE;;QACd,aAAa,CAAC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CAAC,IAAI,EAAE;wBAC3B,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC,GAAG;qBAC/B,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC;oBAEtC,IAAI,CAAC,KAAK;;oBAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAC,CAAC,CAAC,KAAK,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,CAC3C,CACT,CAAC;gBAED,OAAO,CAAC,IAAI,CAAC,MAAM,IAAI,oBAAC,OAAO,IAAC,IAAI,EAAC,UAAU,GAAG,CAC9C,CACN,GACA,CACF,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,SAAS,cAAc,CAAC,IAAY;;QACnC,aAAa,CAAC,IAAI,CAAC,CAAC;QACpB,MAAA,KAAK,CAAC,cAAc,sDAAG,IAAI,CAAC,CAAC;IAC9B,CAAC;IAED,SAAS,KAAK,CAAC,IAAS;;QACvB,MAAA,KAAK,CAAC,KAAK,sDAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;IACpC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const RegisteredDocumentNewForm: (props: {
4
+ type?: string;
5
+ parentId: string;
6
+ onCancel?: () => void;
7
+ }) => React.JSX.Element;
8
+ export default RegisteredDocumentNewForm;
@@ -0,0 +1,37 @@
1
+ import React, { useState } from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import { Input } from "antd";
4
+ import { runInAction } from "mobx";
5
+ import { LoadingOutlined } from "@ant-design/icons";
6
+ import { useRegisteredDocumentStore } from "../../../../data/registered-document";
7
+ import { State } from "./state";
8
+ import "./index.less";
9
+ const RegisteredDocumentNewForm = (props) => {
10
+ const store = useRegisteredDocumentStore();
11
+ const [state] = useState(new State());
12
+ return observe(() => (React.createElement("div", { className: "create-registered-document-form" },
13
+ React.createElement(Input, { autoFocus: true, value: state.name, onChange: (e) => runInAction(() => (state.name = e.target.value)), placeholder: `Name of ${props.type} for Registered Document`, suffix: state.loading ? React.createElement(LoadingOutlined, null) : "", onPressEnter: onSave, onKeyDown: (e) => {
14
+ var _a;
15
+ if (e.key === "Escape")
16
+ (_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(props);
17
+ } }))));
18
+ async function onSave() {
19
+ var _a, _b;
20
+ state.loading = true;
21
+ await store.create({
22
+ data: {
23
+ ParentId: props.parentId,
24
+ Name: state.name,
25
+ Type: (_a = props.type) !== null && _a !== void 0 ? _a : "",
26
+ },
27
+ error: "message",
28
+ });
29
+ runInAction(() => {
30
+ state.name = "";
31
+ state.loading = false;
32
+ });
33
+ (_b = props.onCancel) === null || _b === void 0 ? void 0 : _b.call(props);
34
+ }
35
+ };
36
+ export default RegisteredDocumentNewForm;
37
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/components/RegisteredDocumentNewForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,cAAc,CAAC;AAEtB,MAAM,yBAAyB,GAAG,CAAC,KAIlC,EAAE,EAAE;IACJ,MAAM,KAAK,GAAG,0BAA0B,EAAE,CAAC;IAC3C,MAAM,CAAC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B,CAAC"}
@@ -0,0 +1,5 @@
1
+ :global {
2
+ .create-registered-document-form {
3
+ padding: 0 15px;
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ export declare class State {
2
+ constructor();
3
+ name: string;
4
+ loading: boolean;
5
+ }
@@ -0,0 +1,26 @@
1
+ import { __decorate } from "tslib";
2
+ import { makeObservable, observable } from "mobx";
3
+ export class State {
4
+ constructor() {
5
+ Object.defineProperty(this, "name", {
6
+ enumerable: true,
7
+ configurable: true,
8
+ writable: true,
9
+ value: ""
10
+ });
11
+ Object.defineProperty(this, "loading", {
12
+ enumerable: true,
13
+ configurable: true,
14
+ writable: true,
15
+ value: false
16
+ });
17
+ makeObservable(this);
18
+ }
19
+ }
20
+ __decorate([
21
+ observable
22
+ ], State.prototype, "name", void 0);
23
+ __decorate([
24
+ observable
25
+ ], State.prototype, "loading", void 0);
26
+ //# sourceMappingURL=state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/components/RegisteredDocumentNewForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IACjB;QAGmB;;;;mBAAO,EAAE;WAAC;QACV;;;;mBAAU,KAAK;WAAC;QAHlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAGD;AAFmB;IAAlB,UAAU;mCAAkB;AACV;IAAlB,UAAU;sCAAwB"}
@@ -0,0 +1,27 @@
1
+ import { DocumentPropertiesName } from "../../../../components/DocumentProperties";
2
+ import React from "react";
3
+ export type RegisteredDocumentPropertiesName = "Documents List";
4
+ declare const RegisteredDocumentProperties: {
5
+ (props: {
6
+ id: string;
7
+ headerVisible?: boolean;
8
+ documentRegisterTitle?: string;
9
+ documentTitle?: string;
10
+ documentRegisterProperties?: {
11
+ name: RegisteredDocumentPropertiesName;
12
+ visible?: boolean;
13
+ }[];
14
+ documentProperties?: {
15
+ name: DocumentPropertiesName;
16
+ visible?: boolean;
17
+ }[];
18
+ }): React.JSX.Element;
19
+ defaultProps: {
20
+ documentRegisterTitle: string;
21
+ documentTitle: string;
22
+ documentRegisterProperties: {
23
+ name: string;
24
+ }[];
25
+ };
26
+ };
27
+ export default RegisteredDocumentProperties;
@@ -0,0 +1,42 @@
1
+ import { useRegisteredDocumentStore } from "../../../../data/registered-document";
2
+ import DocumentProperties from "../../../../components/DocumentProperties";
3
+ import Prop from "@voplus/morpho-ui/es/controls/Prop";
4
+ import DocumentPropertieHeader from "../../../../components/DocumentPropertieHeader";
5
+ import DescriptionEditor from "../../../../controls/DescriptionEditor2";
6
+ import Documents from "../Documents";
7
+ import VerificationInformation from "@voplus/morpho-org/es/modules/verification/VerificationInformation";
8
+ import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
9
+ import { useDocument } from "@voplus/morpho-document-core";
10
+ import React from "react";
11
+ import { Scrollbars } from "react-custom-scrollbars-2";
12
+ import { observe } from "@voplus/morpho-ui";
13
+ import classnames from "classnames";
14
+ const RegisteredDocumentProperties = (props) => {
15
+ /** 加class name 为了方便做integration tests */
16
+ const classId = "documentRegister-properties";
17
+ const { id, headerVisible, documentRegisterTitle, documentTitle, documentRegisterProperties, documentProperties, } = props;
18
+ // const documentRegister = useRegisteredDocument(id, { includes: "tags" });
19
+ const documentRegister = useDocument(id, { includes: "tags" });
20
+ const store = useRegisteredDocumentStore();
21
+ const filterPro = documentRegisterProperties === null || documentRegisterProperties === void 0 ? void 0 : documentRegisterProperties.filter((i) => (i === null || i === void 0 ? void 0 : i.visible) !== false);
22
+ return observe(() => (React.createElement("div", { className: classnames("properties-list", { noDocHeader: !headerVisible }) },
23
+ headerVisible && React.createElement(DocumentPropertieHeader, { id: id }),
24
+ React.createElement(Scrollbars, { autoHide: true },
25
+ React.createElement(DescriptionEditor, { id: id, description: documentRegister.description, readonly: documentRegister.readonly }),
26
+ React.createElement(VerificationInformation, { id: "31ea3771-e853-4de8-a60b-ae9100588e94" }),
27
+ React.createElement(PropertiesSection, { title: documentRegisterTitle, properties: () => filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) => (React.createElement(Prop, { key: i.name, label: i.name, className: `${classId}-${i.name}` }, renderProp(i)))) }),
28
+ React.createElement(DocumentProperties, { id: id, title: documentTitle, customProperties: documentProperties })))));
29
+ function renderProp(item) {
30
+ switch (item.name) {
31
+ case "Documents List":
32
+ return React.createElement(Documents, { id: id });
33
+ }
34
+ }
35
+ };
36
+ RegisteredDocumentProperties.defaultProps = {
37
+ documentRegisterTitle: "DOCUMENTREGISTER PROPERTIES",
38
+ documentTitle: "DOCUMENT PROPERTIES",
39
+ documentRegisterProperties: [{ name: "Documents List" }],
40
+ };
41
+ export default RegisteredDocumentProperties;
42
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/components/RegisteredDocumentProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AACzG,OAAO,kBAEN,MAAM,2CAA2C,CAAC;AACnD,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,uBAAuB,MAAM,gDAAgD,CAAC;AACrF,OAAO,iBAAiB,MAAM,yCAAyC,CAAC;AACxE,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,uBAAuB,MAAM,oEAAoE,CAAC;AACzG,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,UAAU,MAAM,YAAY,CAAC;AAIpC,MAAM,4BAA4B,GAAG,CAAC,KAarC,E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C,CAAC,IAAI,EAAE,IACjE,UAAU,CAAC,CAAC,CAAC,CACR,CACP,CAAC,GAEF;YACF,oBAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,kBAAkB,GAAI,CAC9E,CACR,CACN,CAAC,CAAC;IAEH,SAAS,UAAU,CAAC,IAAmE;QACtF,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YACnB,KAAK,gBAAgB;gBACpB,OAAO,oBAAC,SAAS,IAAC,EAAE,EAAE,EAAE,GAAI,CAAC;QAC/B,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,4BAA4B,CAAC,YAAY,GAAG;IAC3C,qBAAqB,EAAE,6BAA6B;IACpD,aAAa,EAAE,qBAAqB;IACpC,0BAA0B,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;CACxD,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const RegisteredDocumentPropertiesView: (props: {
4
+ id: string;
5
+ default?: boolean;
6
+ }) => React.JSX.Element;
7
+ export default RegisteredDocumentPropertiesView;
@@ -0,0 +1,29 @@
1
+ import React, { useMemo, useState } from "react";
2
+ import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
3
+ import { observe } from "@voplus/morpho-ui";
4
+ import { RegisteredDocumentContext, RegisteredDocumentState, } from "../../RegisteredDocumentContext";
5
+ import DocumentPropertiesHeader from "../../../../components/DocumentPropertiesHeader";
6
+ import RegisteredDocumentTabs from "../RegisteredDocumentTabs";
7
+ import "./index.less";
8
+ const RegisteredDocumentPropertiesView = (props) => {
9
+ const id = props.id;
10
+ const view = useMemo(() => new ViewContextData("PropertiesView"), []);
11
+ const context = useMemo(() => new RegisteredDocumentState("PropertiesView"), [id]);
12
+ const [loaded, setLoaded] = useState(true);
13
+ return observe(() => (React.createElement(RegisteredDocumentContext.Provider, { value: context },
14
+ React.createElement(ViewContext.Provider, { value: view },
15
+ React.createElement("div", { className: "module-detail-view" }, loaded && (React.createElement(React.Fragment, null,
16
+ React.createElement(DocumentPropertiesHeader, { id: id, documentHeaderProper: {
17
+ toolBarProps: { closeAside: true, close: true, onReload: onReload },
18
+ } }),
19
+ React.createElement(RegisteredDocumentTabs, { id: id, properties: true }))))))));
20
+ /** reload data */
21
+ function onReload() {
22
+ setLoaded(false);
23
+ setTimeout(() => {
24
+ setLoaded(true);
25
+ }, 100);
26
+ }
27
+ };
28
+ export default RegisteredDocumentPropertiesView;
29
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/components/RegisteredDocumentPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACN,yBAAyB,EACzB,uBAAuB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,wBAAwB,MAAM,iDAAiD,CAAC;AACvF,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,cAAc,CAAC;AAEtB,MAAM,gCAAgC,GAAG,CAAC,KAAwC,EAAE,EAAE;IACrF,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,uBAAuB,CAAC,gBAAgB,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACnF,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAE3C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,yBAAyB,CAAC,QAAQ,IAAC,KAAK,EAAE,OAAO;QACjD,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;YAChC,6BAAK,SAAS,EAAC,oBAAoB,IACjC,MAAM,IAAI,CACV,oBAAC,KAAK,CAAC,QAAQ;gBACd,oBAAC,wBAAwB,IACxB,EAAE,EAAE,EAAE,EACN,oBAAoB,EAAE;wBACrB,YAAY,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE;qBACnE,GACA;gBACF,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,SAAG,CAC7B,CACjB,CACI,CACgB,CACa,CACrC,CAAC,CAAC;IAEH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,gCAAgC,CAAC"}
@@ -0,0 +1,14 @@
1
+ :global {
2
+ .registered-document-properties-view-header {
3
+ color: #444;
4
+ .tools-bar {
5
+ text-align: right;
6
+ }
7
+ }
8
+ .registered-document-properties-view {
9
+ display: flex;
10
+ flex-direction: column;
11
+ height: 100%;
12
+ overflow-x: hidden;
13
+ }
14
+ }
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ declare const RegisteredDocumentQuickViewDialog: (props: {
3
+ id: string;
4
+ visible?: boolean;
5
+ onCancel?: () => void;
6
+ }) => React.JSX.Element;
7
+ export default RegisteredDocumentQuickViewDialog;
@@ -0,0 +1,29 @@
1
+ import React, { useState } from "react";
2
+ import { Open, Reload } from "../../../../controls/ToolBar/buttons";
3
+ import { observe } from "@voplus/morpho-ui";
4
+ import { useMetaStore } from "@voplus/morpho-document-core";
5
+ import { useRegisteredDocument } from "../../../../data/registered-document";
6
+ import DocumentHeader from "../../../../components/DocumentHeader";
7
+ import QuickViewDialog from "../../../../controls/QuickViewDialog";
8
+ import ToolBar from "../../../../controls/ToolBar/ToolBar2";
9
+ import RegisteredDocumentProperties from "../RegisteredDocumentProperties";
10
+ const RegisteredDocumentQuickViewDialog = (props) => {
11
+ const { id } = props;
12
+ const meta = useMetaStore();
13
+ const documentRegister = useRegisteredDocument(id, { includes: "tags" });
14
+ const [loaded, setLoaded] = useState(true);
15
+ return observe(() => (React.createElement(QuickViewDialog, { ...props, header: React.createElement(React.Fragment, null, loaded && (React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, descriptionVisible: false, tools: React.createElement("div", { className: "tools-bar" },
16
+ React.createElement(ToolBar, { id: id },
17
+ React.createElement(Reload, { action: onReload }),
18
+ React.createElement(Open, { url: meta.getRoute(documentRegister) }))) }))) },
19
+ React.createElement(RegisteredDocumentProperties, { id: id }))));
20
+ /** reload data */
21
+ function onReload() {
22
+ setLoaded(false);
23
+ setTimeout(() => {
24
+ setLoaded(true);
25
+ }, 100);
26
+ }
27
+ };
28
+ export default RegisteredDocumentQuickViewDialog;
29
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/components/RegisteredDocumentQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B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KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,iCAAiC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ export declare const columnsListDetail: ({
4
+ title: React.JSX.Element;
5
+ dataIndex: string;
6
+ width: string;
7
+ } | {
8
+ title: React.JSX.Element;
9
+ dataIndex: string;
10
+ width?: undefined;
11
+ } | {
12
+ title: string;
13
+ dataIndex: string;
14
+ width: string;
15
+ })[];
16
+ declare const TableCellDetail: (props: any) => React.JSX.Element;
17
+ export default TableCellDetail;
@@ -0,0 +1,65 @@
1
+ import { faEllipsisVertical, faCalendarDays, faFolderTree, faCircleCheck, faFile, } from "@fortawesome/pro-solid-svg-icons";
2
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
3
+ import { Open } from "../../../../controls/ToolBar/buttons";
4
+ import ToolBar from "../../../../controls/ToolBar/ToolBar2";
5
+ import { observe } from "@voplus/morpho-ui";
6
+ import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
7
+ import IdentityStatus from "@voplus/morpho-org/es/modules/verification/IdentityStatus/IdentityStatus2";
8
+ import Viewer from "@voplus/morpho-text/es/controls/ProseMirror/Viewer";
9
+ import React from "react";
10
+ import { Skeleton } from "antd";
11
+ import TagView from "../../../../components/TagView/TagView2";
12
+ import { useRegisteredDocument, useRegisteredDocumentStore, } from "../../../../data/registered-document";
13
+ import "./index.less";
14
+ export const columnsListDetail = [
15
+ {
16
+ title: (React.createElement(React.Fragment, null,
17
+ React.createElement(FAIcon, { icon: faFile }),
18
+ " File Name")),
19
+ dataIndex: "name",
20
+ width: "32%",
21
+ },
22
+ {
23
+ title: (React.createElement(React.Fragment, null,
24
+ React.createElement(FAIcon, { icon: faFolderTree }),
25
+ " Type")),
26
+ dataIndex: "type",
27
+ },
28
+ {
29
+ title: (React.createElement(React.Fragment, null,
30
+ React.createElement(FAIcon, { icon: faCalendarDays }),
31
+ " Date")),
32
+ dataIndex: "date",
33
+ },
34
+ {
35
+ title: (React.createElement(React.Fragment, null,
36
+ React.createElement(FAIcon, { icon: faCircleCheck }),
37
+ " Identity Status & Tag")),
38
+ dataIndex: "identity",
39
+ },
40
+ {
41
+ title: " ",
42
+ dataIndex: "menu",
43
+ width: "68px",
44
+ },
45
+ ];
46
+ const TableCellDetail = (props) => {
47
+ const { dataIndex, record, rowIndex, children, ...restProps } = props;
48
+ const store = useRegisteredDocumentStore();
49
+ return observe(() => {
50
+ var _a, _b;
51
+ const register = useRegisteredDocument(record === null || record === void 0 ? void 0 : record.id, {
52
+ reload: (d) => !d.tags,
53
+ includes: "tags",
54
+ });
55
+ return register ? ((register === null || register === void 0 ? void 0 : register.loaded) ? (React.createElement("td", { ...restProps }, dataIndex === "name" ? (React.createElement("div", { className: "register-table-item-name" },
56
+ register.name,
57
+ React.createElement("div", { className: "description" },
58
+ React.createElement(Viewer, { html: register.description })))) : dataIndex === "type" ? (register.type) : dataIndex === "date" ? (React.createElement(UTCShortDate, { value: register.date, format: "DD MMM YYYY" })) : dataIndex === "identity" ? (React.createElement(React.Fragment, null,
59
+ ((_a = register.identity) === null || _a === void 0 ? void 0 : _a.id) && (React.createElement(IdentityStatus, { id: (_b = register.identity) === null || _b === void 0 ? void 0 : _b.id, className: "register-table-item-identity" })),
60
+ React.createElement(TagView, { id: record.id, tags: register.tags, editable: false, items: store.items, maxCount: 1 }))) : dataIndex === "menu" ? (React.createElement(ToolBar, { id: record.id, moreProps: { icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) } },
61
+ React.createElement(Open, { url: `/registered-document/${record.id}` }))) : (children))) : (React.createElement(Skeleton, { active: true, loading: true }))) : null;
62
+ });
63
+ };
64
+ export default TableCellDetail;
65
+ //# sourceMappingURL=TableCellDetail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableCellDetail.js","sourceRoot":"","sources":["../../../../../src/modules/registered-document/components/RegisteredDocumentTableList/TableCellDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,kBAAkB,EAClB,cAAc,EACd,YAAY,EACZ,aAAa,EACb,MAAM,GACN,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,sCAAsC,CAAC;AAC5D,OAAO,OAAO,MAAM,uCAAuC,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,YAAY,MAAM,4CAA4C,CAAC;AAEtE,OAAO,cAAc,MAAM,2EAA2E,CAAC;AACvG,OAAO,MAAM,MAAM,oDAAoD,CAAC;AACxE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAEhC,OAAO,OAAO,MAAM,yCAAyC,CAAC;AAC9D,OAAO,EACN,qBAAqB,EACrB,0BAA0B,GAC1B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,cAAc,CAAC;AAEtB,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC;QACC,KAAK,EAAE,CACN;YACC,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI;yBACtB,CACH;QACD,SAAS,EAAE,MAAM;QACjB,KAAK,EAAE,KAAK;KACZ;IACD;QACC,KAAK,EAAE,CACN;YACC,oBAAC,MAAM,IAAC,IAAI,EAAE,YAAY,GAAI;oBAC5B,CACH;QACD,SAAS,EAAE,MAAM;KACjB;IACD;QACC,KAAK,EAAE,CACN;YACC,oBAAC,MAAM,IAAC,IAAI,EAAE,cAAc,GAAI;oBAC9B,CACH;QACD,SAAS,EAAE,MAAM;KACjB;IACD;QACC,KAAK,EAAE,CACN;YACC,oBAAC,MAAM,IAAC,IAAI,EAAE,aAAa,GAAI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,QAAQ,CAAC,QAAQ,0CAAE,EAAE,KAAI,CACzB,oBAAC,cAAc,IACd,EAAE,EAAE,MAAA,QAAQ,CAAC,QAAQ,0CAAE,EAAE,EACzB,SAAS,EAAC,8BAA8B,GACvC,CACF;YACD,oBAAC,OAAO,IACP,EAAE,EAAE,MAAM,CAAC,EAAE,EACb,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,QAAQ,EAAE,KAAK,EACf,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,QAAQ,EAAE,CAAC,GACV,CACA,CACH,CAAC,CAAC,CAAC,SAAS,KAAK,MAAM,CAAC,CAAC,CAAC,CAC1B,oBAAC,OAAO,IAAC,EAAE,EAAE,MAAM,CAAC,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI,EAAE;YAChF,oBAAC,IAAI,IAAC,GAAG,EAAE,wBAAwB,MAAM,CAAC,EAAE,EAAE,GAAI,CACzC,CACV,CAAC,CAAC,CAAC,CACH,QAAQ,CACR,CACG,CACL,CAAC,CAAC,CAAC,CACH,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,SAAG,CAC3B,CACD,CAAC,CAAC,CAAC,IAAI,CAAC;IACV,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ export declare const columnsSimpleList: ({
4
+ title: React.JSX.Element;
5
+ dataIndex: string;
6
+ width: string;
7
+ } | {
8
+ title: React.JSX.Element;
9
+ dataIndex: string;
10
+ width?: undefined;
11
+ } | {
12
+ title: string;
13
+ dataIndex: string;
14
+ width: string;
15
+ })[];
@@ -0,0 +1,25 @@
1
+ import { faFolderTree, faFile } from "@fortawesome/pro-solid-svg-icons";
2
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
3
+ import React from "react";
4
+ import "./index.less";
5
+ export const columnsSimpleList = [
6
+ {
7
+ title: (React.createElement(React.Fragment, null,
8
+ React.createElement(FAIcon, { icon: faFile }),
9
+ " File Name")),
10
+ dataIndex: "name",
11
+ width: "55%",
12
+ },
13
+ {
14
+ title: (React.createElement(React.Fragment, null,
15
+ React.createElement(FAIcon, { icon: faFolderTree }),
16
+ " Type")),
17
+ dataIndex: "type",
18
+ },
19
+ {
20
+ title: " ",
21
+ dataIndex: "menu",
22
+ width: "68px",
23
+ },
24
+ ];
25
+ //# sourceMappingURL=TableCellSimple.js.map