@voplus/morpho-document 6.1.37 → 6.1.39

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 (80) hide show
  1. package/es/components/DocumentQuickViewDialog/index.d.ts +15 -2
  2. package/es/components/DocumentQuickViewDialog/index.js +39 -3
  3. package/es/components/DocumentQuickViewDialog/index.js.map +1 -1
  4. package/es/components/FileViewer/Preview.d.ts +2 -7
  5. package/es/components/FileViewer/Preview.js +22 -106
  6. package/es/components/FileViewer/Preview.js.map +1 -1
  7. package/es/controls/ToolBar/buttons/Archive.js +3 -2
  8. package/es/controls/ToolBar/buttons/Archive.js.map +1 -1
  9. package/es/controls/ToolBar/buttons/Close.js +4 -3
  10. package/es/controls/ToolBar/buttons/Close.js.map +1 -1
  11. package/es/controls/ToolBar/buttons/Download.d.ts +1 -0
  12. package/es/controls/ToolBar/buttons/Download.js +8 -6
  13. package/es/controls/ToolBar/buttons/Download.js.map +1 -1
  14. package/es/controls/ToolBar/buttons/Edit.js +3 -2
  15. package/es/controls/ToolBar/buttons/Edit.js.map +1 -1
  16. package/es/controls/ToolBar/buttons/More.d.ts +1 -3
  17. package/es/controls/ToolBar/buttons/More.js +4 -5
  18. package/es/controls/ToolBar/buttons/More.js.map +1 -1
  19. package/es/controls/ToolBar/buttons/Open.js +3 -2
  20. package/es/controls/ToolBar/buttons/Open.js.map +1 -1
  21. package/es/controls/ToolBar/buttons/Print.js +3 -2
  22. package/es/controls/ToolBar/buttons/Print.js.map +1 -1
  23. package/es/controls/ToolBar/buttons/Reload.js +3 -2
  24. package/es/controls/ToolBar/buttons/Reload.js.map +1 -1
  25. package/es/controls/ToolBar/buttons/Restore.js +3 -2
  26. package/es/controls/ToolBar/buttons/Restore.js.map +1 -1
  27. package/es/controls/ToolBar/buttons/TButton.js +1 -2
  28. package/es/controls/ToolBar/buttons/TButton.js.map +1 -1
  29. package/es/controls/ToolBar/buttons/Versions.js +4 -3
  30. package/es/controls/ToolBar/buttons/Versions.js.map +1 -1
  31. package/es/modules/action-plan/components/ActionPlanHeader/index.d.ts +10 -4
  32. package/es/modules/action-plan/components/ActionPlanHeader/index.js +5 -2
  33. package/es/modules/action-plan/components/ActionPlanHeader/index.js.map +1 -1
  34. package/es/modules/action-plan/components/ActionPlanListQuickView/index.js +2 -2
  35. package/es/modules/action-plan/components/ActionPlanListQuickView/index.js.map +1 -1
  36. package/es/modules/action-plan/components/ActionPlanPropertiesView/index.js +1 -1
  37. package/es/modules/action-plan/components/ActionPlanPropertiesView/index.js.map +1 -1
  38. package/es/modules/action-plan/components/ActionPlanQuickViewDialog/index.js +2 -2
  39. package/es/modules/action-plan/components/ActionPlanQuickViewDialog/index.js.map +1 -1
  40. package/es/modules/action-plan/components/ActionPlanQuickViewDialog/index.less +9 -1
  41. package/es/modules/graph/components/GraphQuickViewDialog/index.js +5 -67
  42. package/es/modules/graph/components/GraphQuickViewDialog/index.js.map +1 -1
  43. package/es/modules/message-schedule/components/MessageScheduleHeader/index.d.ts +10 -4
  44. package/es/modules/message-schedule/components/MessageScheduleHeader/index.js +4 -1
  45. package/es/modules/message-schedule/components/MessageScheduleHeader/index.js.map +1 -1
  46. package/es/modules/message-schedule/components/MessageSchedulePropertiesView/index.js +1 -1
  47. package/es/modules/message-schedule/components/MessageSchedulePropertiesView/index.js.map +1 -1
  48. package/es/modules/message-schedule/components/MessageScheduleQuickViewDialog/index.js +2 -2
  49. package/es/modules/message-schedule/components/MessageScheduleQuickViewDialog/index.js.map +1 -1
  50. package/es/modules/message-schedule/components/MessageScheduleQuickViewDialog/index.less +9 -1
  51. package/es/modules/registered-document/components/RegisteredDocumentTableList/TableCellDetail.js +1 -1
  52. package/es/modules/shortcut/components/ShortcutQuickViewDialog/index.js.map +1 -1
  53. package/es/modules/tenant-service/components/TenantServiceHeader/index.d.ts +1 -0
  54. package/es/modules/tenant-service/components/TenantServiceHeader/index.js +2 -1
  55. package/es/modules/tenant-service/components/TenantServiceHeader/index.js.map +1 -1
  56. package/es/modules/tenant-service/components/TenantServiceHeader/index.less +2 -1
  57. package/es/modules/tenant-service/components/TenantServiceQuickViewDialog/index.js +3 -3
  58. package/es/modules/tenant-service/components/TenantServiceQuickViewDialog/index.js.map +1 -1
  59. package/es/modules/tenant-service/components/TenantServiceQuickViewDialog/index.less +3 -1
  60. package/es/modules/tenant-service-execution/components/TenantServiceExecutionHeader/index.d.ts +10 -4
  61. package/es/modules/tenant-service-execution/components/TenantServiceExecutionHeader/index.js +5 -2
  62. package/es/modules/tenant-service-execution/components/TenantServiceExecutionHeader/index.js.map +1 -1
  63. package/es/modules/tenant-service-execution/components/TenantServiceExecutionHeader/index.less +2 -1
  64. package/es/modules/tenant-service-execution/components/TenantServiceExecutionPropertiesView/index.js +1 -1
  65. package/es/modules/tenant-service-execution/components/TenantServiceExecutionPropertiesView/index.js.map +1 -1
  66. package/es/modules/tenant-service-execution/components/TenantServiceExecutionQuickViewDialog/index.js +4 -4
  67. package/es/modules/tenant-service-execution/components/TenantServiceExecutionQuickViewDialog/index.js.map +1 -1
  68. package/es/modules/tenant-service-execution/components/TenantServiceExecutionQuickViewDialog/index.less +3 -1
  69. package/package.json +1 -1
  70. package/es/controls/QuickViewDialog/QuickSubTab/index.d.ts +0 -27
  71. package/es/controls/QuickViewDialog/QuickSubTab/index.js +0 -40
  72. package/es/controls/QuickViewDialog/QuickSubTab/index.js.map +0 -1
  73. package/es/controls/QuickViewDialog/QuickSubTab/index.less +0 -23
  74. package/es/controls/QuickViewDialog/index.d.ts +0 -29
  75. package/es/controls/QuickViewDialog/index.js +0 -76
  76. package/es/controls/QuickViewDialog/index.js.map +0 -1
  77. package/es/controls/QuickViewDialog/index.less +0 -105
  78. package/es/controls/QuickViewDialog/state.d.ts +0 -5
  79. package/es/controls/QuickViewDialog/state.js +0 -18
  80. package/es/controls/QuickViewDialog/state.js.map +0 -1
@@ -1,27 +0,0 @@
1
- import { IconProp } from "@fortawesome/fontawesome-svg-core";
2
- import React, { ReactNode } from "react";
3
- export type ItemsProps = {
4
- name: string;
5
- icon: IconProp;
6
- title: string;
7
- detail: ReactNode;
8
- };
9
- export type QuickSubProps = {
10
- items: ItemsProps[];
11
- shape?: boolean;
12
- showSubTab?: (item: ItemsProps) => void;
13
- };
14
- declare const QuickSubTab: {
15
- (props: QuickSubProps): React.JSX.Element;
16
- defaultProps: {
17
- shape: boolean;
18
- };
19
- };
20
- declare const QuickSubContent: (props: {
21
- shape?: boolean;
22
- title?: ReactNode;
23
- className?: string;
24
- detail: ReactNode;
25
- onCancel?: () => void;
26
- }) => React.JSX.Element;
27
- export { QuickSubContent, QuickSubTab };
@@ -1,40 +0,0 @@
1
- import { faTimes } from "@fortawesome/pro-solid-svg-icons";
2
- import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
3
- import { useLayout } from "@voplus/morpho-data";
4
- import { observe, useAsideContentContext } from "@voplus/morpho-ui";
5
- import { Button, Tooltip } from "antd";
6
- import classnames from "classnames";
7
- import React, { useEffect, useState } from "react";
8
- import styles from "./index.less";
9
- const QuickSubTab = (props) => {
10
- const { items, shape, showSubTab } = { ...props };
11
- const [buttonProps, setButtonProps] = useState({});
12
- const [activeTab, setActiveTab] = useState(null);
13
- const asideContext = useAsideContentContext();
14
- useEffect(() => {
15
- if (shape)
16
- setButtonProps({ shape: "circle" });
17
- }, [shape]);
18
- return observe(() => (React.createElement(React.Fragment, null, items.map((item) => (React.createElement(Tooltip, { title: item.title, key: item.name },
19
- React.createElement(Button, { ...buttonProps, icon: React.createElement(FAIcon, { icon: item.icon }), className: classnames({
20
- active: activeTab === item.name && (asideContext === null || asideContext === void 0 ? void 0 : asideContext.asideContent),
21
- }), onClick: () => {
22
- showSubTab === null || showSubTab === void 0 ? void 0 : showSubTab(item);
23
- setActiveTab(() => item.name);
24
- } })))))));
25
- };
26
- QuickSubTab.defaultProps = {
27
- shape: false,
28
- };
29
- const QuickSubContent = (props) => {
30
- const { title, className, detail, onCancel } = props;
31
- const layout = useLayout();
32
- return observe(() => (React.createElement("div", { className: classnames(styles["quickView-right"], className) },
33
- layout.ui.mobile ? null : (React.createElement("div", { className: "flex items-center justify-between p-4 border-b border-gray-200 bg-white text-base" },
34
- React.createElement("h3", { className: "font-medium text-gray-900" }, title),
35
- React.createElement("button", { className: "close-aside text-gray-400 hover:text-gray-600", onClick: onCancel },
36
- React.createElement(FAIcon, { icon: faTimes })))),
37
- React.createElement("div", { className: "tab-content" }, detail))));
38
- };
39
- export { QuickSubContent, QuickSubTab };
40
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/QuickViewDialog/QuickSubTab/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAa,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,MAAM,MAAM,cAAc,CAAC;AAelC,MAAM,WAAW,GAAG,CAAC,KAAoB,EAAE,EAAE;IAC5C,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,CAAC;IAClD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACnD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAgB,IAAI,CAAC,CAAC;IAChE,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAE9C,SA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9D,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC1B,6BAAK,SAAS,EAAC,mFAAmF;YACjG,4BAAI,SAAS,EAAC,2BAA2B,IAAE,KAAK,CAAM;YACtD,gCAAQ,SAAS,EAAC,+CAA+C,EAAC,OAAO,EAAE,QAAQ;gBAClF,oBAAC,MAAM,IAAC,IAAI,EAAE,OAAO,GAAI,CACjB,CACJ,CACN;QACD,6BAAK,SAAS,EAAC,aAAa,IAAE,MAAM,CAAO,CACtC,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}
@@ -1,23 +0,0 @@
1
- .quickView-right {
2
- height: 100%;
3
- flex: 1;
4
- display: flex;
5
- flex-direction: column;
6
- border-left: solid 1px #eeeeee;
7
- :global {
8
- .close-icon {
9
- font-size: 22px;
10
- text-align: right;
11
- padding: 10px 20px 0;
12
- cursor: pointer;
13
- }
14
- .tab-content {
15
- position: relative;
16
- flex: 1;
17
- .tab-module-box {
18
- height: 100%;
19
- padding: 10px 0 0 10px;
20
- }
21
- }
22
- }
23
- }
@@ -1,29 +0,0 @@
1
- import { QuickViewProps } from "@voplus/morpho-document-core";
2
- import React, { ReactNode } from "react";
3
- import { ItemsProps } from "./QuickSubTab";
4
- export type SubButtonsName = "Document" | "Activities" | "Link";
5
- export type QuickViewDialogProps = {
6
- /** 设置sub buttons */
7
- subButtons?: {
8
- name: SubButtonsName;
9
- }[];
10
- /** items 自定义 sub buttons 和 detail */
11
- items?: ItemsProps[];
12
- className?: string;
13
- /** show close button or not. */
14
- closeVisible?: boolean;
15
- /** header */
16
- header?: ReactNode;
17
- /** listContent */
18
- children?: ReactNode;
19
- } & QuickViewProps;
20
- declare const QuickViewDialog: {
21
- (props: QuickViewDialogProps): React.JSX.Element;
22
- defaultProps: {
23
- closeVisible: boolean;
24
- subButtons: {
25
- name: string;
26
- }[];
27
- };
28
- };
29
- export default QuickViewDialog;
@@ -1,76 +0,0 @@
1
- import { faFileAlt, faLink, faListTimeline } from "@fortawesome/pro-light-svg-icons";
2
- import { useLayout } from "@voplus/morpho-data";
3
- import DocumentList from "../../components/DocumentList";
4
- import FlexDialog from "@voplus/morpho-ui/es/controls/FlexDialog";
5
- import Links from "../../components/Links";
6
- import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog2/ActivityLog2";
7
- import { AsideContent, observe } from "@voplus/morpho-ui";
8
- import classnames from "classnames";
9
- import React, { useState } from "react";
10
- import { QuickSubContent, QuickSubTab } from "./QuickSubTab";
11
- import styles from "./index.less";
12
- import { State } from "./state";
13
- const QuickViewDialog = (props) => {
14
- var _a;
15
- const { subButtons } = props;
16
- const [state] = useState(new State());
17
- const [asideContext] = useState(AsideContent.createContext());
18
- const layout = useLayout();
19
- /** items 加 subButtons 为sub buttons需要显示的内容 */
20
- const items = (_a = props.items) !== null && _a !== void 0 ? _a : [];
21
- subButtons === null || subButtons === void 0 ? void 0 : subButtons.map((i) => items.push(renderProp(i)));
22
- return observe(() => (React.createElement(React.Fragment, null,
23
- React.createElement(FlexDialog, { modalProps: {
24
- className: classnames("quickView-modal-style", props.className),
25
- width: state.subTab ? "1000px" : "500px",
26
- destroyOnClose: true,
27
- closable: false,
28
- footer: false,
29
- open: props.visible,
30
- onCancel: props.onCancel,
31
- }, closeAside: props.onCancel },
32
- React.createElement(AsideContent, { context: asideContext, className: styles["quickView-aside"] },
33
- React.createElement("div", { className: "quickView-left" },
34
- React.createElement("div", { className: "document-header" }, props.header),
35
- React.createElement("div", { className: "quickView-contents" },
36
- React.createElement("div", { className: "quickView-subTab" },
37
- React.createElement(QuickSubTab, { items: items, showSubTab: (item) => {
38
- state.subTab = true;
39
- asideContext.openAside(React.createElement(QuickSubContent, { title: item.title, detail: item.detail, onCancel: () => {
40
- asideContext.closeAside();
41
- state.subTab = false;
42
- } }), { span: 12 });
43
- } })),
44
- props.children)))))));
45
- function renderProp(item) {
46
- switch (item.name) {
47
- case "Document":
48
- return {
49
- name: "Document",
50
- icon: faFileAlt,
51
- title: "Sub-Documents",
52
- detail: React.createElement(DocumentList, { id: props.id, multiple: true }),
53
- };
54
- case "Activities":
55
- return {
56
- name: "Activities",
57
- icon: faListTimeline,
58
- title: "Activities",
59
- detail: React.createElement(ActivityLog, { id: props.id }),
60
- };
61
- case "Link":
62
- return {
63
- name: "Link",
64
- icon: faLink,
65
- title: "Link",
66
- detail: React.createElement(Links, { id: props.id, isTitle: false }),
67
- };
68
- }
69
- }
70
- };
71
- QuickViewDialog.defaultProps = {
72
- closeVisible: true,
73
- subButtons: [{ name: "Document" }, { name: "Activities" }, { name: "Link" }],
74
- };
75
- export default QuickViewDialog;
76
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controls/QuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,EAAW,MAAM,kCAAkC,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,YAAY,MAAM,+BAA+B,CAAC;AACzD,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAC3C,OAAO,WAAW,MAAM,4DAA4D,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAc,eAAe,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAkBhC,MAAM,eAAe,GAAG,CAAC,KAA2B,EAAE,EAAE;;IACvD,MAAM,EAAE,UAAU,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B,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;CAC5E,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,105 +0,0 @@
1
- @import "~@voplus/morpho-theme/styles/index.less";
2
-
3
- .quickView-modal {
4
- height: calc(100% - 200px);
5
-
6
- :global {
7
- .ant-modal-content {
8
- height: 100%;
9
- }
10
-
11
- .ant-modal-body {
12
- display: flex;
13
- height: 100%;
14
- padding: 0 !important;
15
- }
16
- }
17
- }
18
-
19
- .quickView-aside {
20
- width: 100%;
21
-
22
- :global {
23
- .document-header {
24
- .document-header-default {
25
- display: flex;
26
- padding: 20px;
27
- }
28
-
29
- .tools-bar {
30
- // align-self: flex-end;
31
- }
32
- }
33
-
34
- .list-view-header {
35
- .plus-icon,
36
- .doc-plus-icon {
37
- position: relative;
38
- color: #000;
39
- background: #fff !important;
40
-
41
- &::after {
42
- position: absolute;
43
- top: -1px;
44
- left: -1px;
45
- content: " ";
46
- width: 22px;
47
- height: 23px;
48
- border-radius: 4px;
49
- border: 1px solid rgb(209 213 219);
50
- }
51
- }
52
- }
53
-
54
- .quickView-left {
55
- flex: 1;
56
- display: flex;
57
- flex-direction: column;
58
- position: relative;
59
- border-radius: @border-radius;
60
-
61
- .close-icon {
62
- position: absolute;
63
- right: 20px;
64
- top: 14px;
65
- // font-size: 22px;
66
- text-align: right;
67
- cursor: pointer;
68
- }
69
-
70
- .document-header {
71
- border-bottom: solid 1px #eeeeee;
72
- }
73
-
74
- .quickView-contents {
75
- flex: 1;
76
- display: flex;
77
- flex-direction: column;
78
- overflow: hidden;
79
-
80
- .quickView-subTab {
81
- display: inline-block;
82
- text-align: right;
83
- padding: 10px 20px;
84
-
85
- .ant-btn {
86
- margin-left: 10px;
87
- &.active {
88
- color: @purple-primary-color;
89
- background: linear-gradient(
90
- 135deg,
91
- rgba(99, 102, 241, 0.1) 0%,
92
- rgba(139, 92, 246, 0.1) 100%
93
- );
94
- border-color: @purple-primary-color;
95
- }
96
- }
97
- }
98
-
99
- .quickView-description {
100
- padding: 10px 15px;
101
- }
102
- }
103
- }
104
- }
105
- }
@@ -1,5 +0,0 @@
1
- export declare class State {
2
- /** 是否显示 tab */
3
- subTab: boolean;
4
- constructor();
5
- }
@@ -1,18 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { makeObservable, observable } from "mobx";
3
- export class State {
4
- constructor() {
5
- /** 是否显示 tab */
6
- Object.defineProperty(this, "subTab", {
7
- enumerable: true,
8
- configurable: true,
9
- writable: true,
10
- value: false
11
- });
12
- makeObservable(this);
13
- }
14
- }
15
- __decorate([
16
- observable
17
- ], State.prototype, "subTab", void 0);
18
- //# sourceMappingURL=state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../src/controls/QuickViewDialog/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IAIjB;QAHA,eAAe;QACI;;;;mBAAS,KAAK;WAAC;QAGjC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CACD;AALmB;IAAlB,UAAU;qCAAuB"}