@voplus/morpho-workspace 6.1.50 → 6.1.52
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.
- package/es/modules/workspace/components/WorkspaceIcon/index.js +3 -1
- package/es/modules/workspace/components/WorkspaceIcon/index.js.map +1 -1
- package/es/modules/workspace/components/WorkspaceIcon/index.less +3 -0
- package/es/modules/workspace/pages/WorkspacePage/index.less +1 -11
- package/package.json +1 -1
@@ -2,6 +2,7 @@ import React from "react";
|
|
2
2
|
import { Badge } from "antd";
|
3
3
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
4
4
|
import { faCalendar, faFile } from "@fortawesome/pro-regular-svg-icons";
|
5
|
+
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
5
6
|
import { observe } from "@voplus/morpho-ui";
|
6
7
|
import { useWorkspace } from "../../../../data/workspace";
|
7
8
|
import classnames from "classnames";
|
@@ -19,7 +20,8 @@ const WorkspaceIcon = (props) => {
|
|
19
20
|
React.createElement("div", { className: "workspace-name truncate" }, (workspace === null || workspace === void 0 ? void 0 : workspace.name) || "New WorkSpace"),
|
20
21
|
React.createElement("div", { className: "flex items-center workspace-date" },
|
21
22
|
React.createElement(FAIcon, { icon: faCalendar }),
|
22
|
-
"Created on
|
23
|
+
"Created on ",
|
24
|
+
React.createElement(UTCShortDate, { value: workspace === null || workspace === void 0 ? void 0 : workspace.createDate, format: "DD MMM YYYY" })),
|
23
25
|
React.createElement("div", { className: "detail" }, "Visit 15 mins before")),
|
24
26
|
React.createElement(Badge, { count: (_a = workspace === null || workspace === void 0 ? void 0 : workspace.stats) === null || _a === void 0 ? void 0 : _a.activeWorks, className: "site-badge-count" }))));
|
25
27
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/components/WorkspaceIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAA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T,SAAS,uBAAT,SAAS,CAAE,KAAK,0CAAE,WAAW,EAAE,SAAS,EAAC,kBAAkB,GAAG,CACvE,CACD,CACN,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -5,20 +5,10 @@
|
|
5
5
|
padding: 0;
|
6
6
|
}
|
7
7
|
:global {
|
8
|
-
.work-space-page-meeting {
|
9
|
-
.view-frame-entirety {
|
10
|
-
.page-head-dashboard {
|
11
|
-
display: none;
|
12
|
-
}
|
13
|
-
.frame-page-show-icon {
|
14
|
-
display: none;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
}
|
18
8
|
.my-workSpaces {
|
19
9
|
height: 100%;
|
20
10
|
}
|
21
|
-
|
11
|
+
|
22
12
|
.workSpace-setting-page {
|
23
13
|
background: #fff;
|
24
14
|
}
|