@voplus/morpho-workspace 1.2.6 → 1.3.0
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/data/notification/{NotificaitonStore.d.ts → NotificationStore.d.ts} +8 -8
- package/es/data/notification/{NotificaitonStore.js → NotificationStore.js} +10 -7
- package/es/data/notification/NotificationStore.js.map +1 -0
- package/es/data/notification/hooks.d.ts +4 -4
- package/es/data/notification/hooks.js +8 -8
- package/es/data/notification/hooks.js.map +1 -1
- package/es/data/notification/index.d.ts +1 -1
- package/es/data/notification/index.js +1 -1
- package/es/data/notification/interfaces.d.ts +5 -3
- package/es/data/notification/types.d.ts +7 -7
- package/es/modules/board/components/SubDocumentList/index.js +2 -1
- package/es/modules/board/components/SubDocumentList/index.js.map +1 -1
- package/es/modules/notification/components/MentionNotificationCard/index.d.ts +10 -0
- package/es/modules/notification/components/MentionNotificationCard/index.js +31 -0
- package/es/modules/notification/components/MentionNotificationCard/index.js.map +1 -0
- package/es/modules/notification/components/MentionNotificationCard/index.less +23 -0
- package/es/modules/notification/components/NotificationList/index.d.ts +14 -5
- package/es/modules/notification/components/NotificationList/index.js +60 -17
- package/es/modules/notification/components/NotificationList/index.js.map +1 -1
- package/es/modules/notification/components/NotificationList/index.less +11 -1
- package/es/pages/Routes.js +1 -1
- package/es/pages/Routes.js.map +1 -1
- package/es/pages/Space/components/Documents/index.js +18 -33
- package/es/pages/Space/components/Documents/index.js.map +1 -1
- package/es/pages/Space/components/Documents/index.less +1 -5
- package/es/pages/Space/components/Notifications/index.d.ts +6 -0
- package/es/pages/Space/components/Notifications/index.js +37 -0
- package/es/pages/Space/components/Notifications/index.js.map +1 -0
- package/es/pages/Space/pages/MySpace/index.js +44 -41
- package/es/pages/Space/pages/MySpace/index.js.map +1 -1
- package/es/pages/Space/pages/MySpace/index.less +20 -34
- package/es/pages/Space/pages/MySpace/state.d.ts +15 -16
- package/es/pages/Space/pages/MySpace/state.js +38 -74
- package/es/pages/Space/pages/MySpace/state.js.map +1 -1
- package/package.json +1 -1
- package/es/MySpace.d.ts +0 -7
- package/es/MySpace.js +0 -14
- package/es/MySpace.js.map +0 -1
- package/es/data/notification/NotificaitonStore.js.map +0 -1
- package/es/modules/notification/NotificationRoutes.d.ts +0 -17
- package/es/modules/notification/NotificationRoutes.js +0 -29
- package/es/modules/notification/NotificationRoutes.js.map +0 -1
- package/es/modules/notification/components/MentionNotificaitonCard/index.d.ts +0 -9
- package/es/modules/notification/components/MentionNotificaitonCard/index.js +0 -27
- package/es/modules/notification/components/MentionNotificaitonCard/index.js.map +0 -1
- package/es/modules/notification/components/MentionNotificaitonCard/index.less +0 -16
- package/es/modules/notification/pages/NotificationListView/index.d.ts +0 -6
- package/es/modules/notification/pages/NotificationListView/index.js +0 -17
- package/es/modules/notification/pages/NotificationListView/index.js.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/MentionNotificaitonCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAA2C,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE9G,MAAM,uBAAuB,GAAG,CAAC,KAKhC,EAAE,EAAE;IACD,MAAM,EAAE,EAAE,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IACnC,4EAA4E;IAC5E,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IAErC,OAAO,OAAO,CAAC,GAAG,EAAE,CAChB,oBAAC,IAAI,IAAC,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,QAAQ,QAAC,MAAM;QACtF,6BAAK,OAAO,EAAE,KAAK,CAAC,OAAO;YACvB,+CAAqB;YACrB,oBAAC,UAAU,IAAC,QAAQ,QAAC,UAAU,QAAC,aAAa,EAAE,MAAM;gBACjD,oBAAC,iBAAiB,IAAC,IAAI,EAAE,YAAY,CAAC,OAAO,CAAC,OAAO,GAAI,CAChD;YACb,6BAAK,SAAS,EAAC,kBAAkB;gBAC5B,YAAY,CAAC,MAAM,KAAK,WAAW,IAAI,oBAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,cAAkB;gBACvG,YAAY,CAAC,MAAM,KAAK,OAAO,IAAI,oBAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,YAAgB,CAE9F,CACJ,CACH,CACV,CAAA;IAED,SAAS,YAAY,CAAC,MAAW;QAC7B,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IACnE,CAAC;AACL,CAAC,CAAA;AAED,eAAe,uBAAuB,CAAC"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
.notificaiton-card{
|
2
|
-
margin: 10px 20px 10px 20px;
|
3
|
-
&:global(.active) {
|
4
|
-
border: 1px solid navy;
|
5
|
-
box-shadow: 2px 2px 5px #ddddf7;
|
6
|
-
}
|
7
|
-
:global{
|
8
|
-
.notificaiton-btn{
|
9
|
-
text-align: right;
|
10
|
-
margin-top: 10px;
|
11
|
-
.ant-btn{
|
12
|
-
margin-left: 15px;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
}
|
16
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import { observe, useAutorunEffect } from "@voplus/morpho-ui";
|
3
|
-
import NotificationList from "../../components/NotificationList";
|
4
|
-
import { useDocument } from "@voplus/morpho-document-core";
|
5
|
-
import { useTabItem } from "@voplus/morpho-data";
|
6
|
-
/** The Notification Page component with router parameters support. */
|
7
|
-
const NotificationListView = ({ id }) => {
|
8
|
-
const tab = useTabItem();
|
9
|
-
const document = useDocument(id);
|
10
|
-
useAutorunEffect(() => {
|
11
|
-
var _a;
|
12
|
-
tab.title = (_a = document === null || document === void 0 ? void 0 : document.name) !== null && _a !== void 0 ? _a : "Notification";
|
13
|
-
});
|
14
|
-
return observe(() => React.createElement(NotificationList, null));
|
15
|
-
};
|
16
|
-
export default NotificationListView;
|
17
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/pages/NotificationListView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,gBAAgB,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,sEAAsE;AACtE,MAAM,oBAAoB,GAAG,CAAC,EAAE,EAAE,EAAkB,EAAE,EAAE;IAEvD,MAAM,GAAG,GAAG,UAAU,EAAE,CAAC;IAEzB,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEjC,gBAAgB,CAAC,GAAG,EAAE;;QACrB,GAAG,CAAC,KAAK,GAAG,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,mCAAI,cAAc,CAAC;IAC9C,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,oBAAC,gBAAgB,OAAG,CAAC,CAAC;AAC5C,CAAC,CAAC;AACF,eAAe,oBAAoB,CAAC"}
|