@voplus/morpho-workspace 1.3.139 → 1.3.140
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.
@@ -1,15 +1,17 @@
|
|
1
|
-
import { Access, Delete, Lock, Move, Notifications, OpenReferenceView, Paste, Publish, PublishLock, Unlock, } from "@voplus/morpho-document/es/controls/DocumentMenu/items";
|
2
|
-
import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-core";
|
3
1
|
import React, { useMemo } from "react";
|
2
|
+
import { Access, Delete, Lock, Move, Notifications, OpenReferenceView, Paste, Publish, PublishLock, Unlock, Pin, Unpin, } from "@voplus/morpho-document/es/controls/DocumentMenu/items";
|
3
|
+
import { DocumentMenuContext, DocumentMenuState } from "@voplus/morpho-document-core";
|
4
|
+
import { observe } from "@voplus/morpho-ui";
|
4
5
|
import Accept from "./Accept";
|
5
6
|
import Reject from "./Reject";
|
6
7
|
import Send from "./Send";
|
7
8
|
import classnames from "classnames";
|
8
|
-
import { observe } from "@voplus/morpho-ui";
|
9
9
|
const WorkMenu = (props) => {
|
10
10
|
const context = useMemo(() => new DocumentMenuState(props.id), [props.id]);
|
11
11
|
return observe(() => (React.createElement("div", { className: classnames("document-menu", props.className) },
|
12
12
|
React.createElement(DocumentMenuContext.Provider, { value: context },
|
13
|
+
React.createElement(Pin, null),
|
14
|
+
React.createElement(Unpin, null),
|
13
15
|
React.createElement(Send, null),
|
14
16
|
React.createElement(Accept, null),
|
15
17
|
React.createElement(Reject, null),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/controls/WorkMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,MAAM,EACN,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,KAAK,EACL,OAAO,EACP,WAAW,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/controls/Work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