@voplus/morpho-workspace 6.0.45 → 6.0.46
Sign up to get free protection for your applications and to get access to all the features.
- package/es/modules/calendar/pages/CalendarMonth/index.js +8 -1
- package/es/modules/calendar/pages/CalendarMonth/index.js.map +1 -1
- package/es/modules/pin/components/MyPinned/index.js +2 -1
- package/es/modules/pin/components/MyPinned/index.js.map +1 -1
- package/es/modules/tasks/components/AddTaskDropdown/index.js +2 -1
- package/es/modules/tasks/components/AddTaskDropdown/index.js.map +1 -1
- package/package.json +1 -1
@@ -1,6 +1,7 @@
|
|
1
1
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
2
2
|
import { AsideContent, observe, useRenderOnChange, UTCDatePicker as DatePicker, } from "@voplus/morpho-ui";
|
3
|
-
import { useMetaStore } from "@voplus/morpho-document-core";
|
3
|
+
import { useMetaStore, useOnDeleteDocument } from "@voplus/morpho-document-core";
|
4
|
+
import { useOnDeleteWorkSchedule } from "../../../../data/work-schedule/work-schedule-events";
|
4
5
|
import { FilterOptionsContext, FilterOptionsContextState } from "@voplus/morpho-ui/es/data";
|
5
6
|
import { useCalendarListEffect, useCalendarStore } from "../../../../data/calendar";
|
6
7
|
import { faAngleLeft, faAngleRight } from "@fortawesome/pro-light-svg-icons";
|
@@ -51,6 +52,12 @@ const CalendarMonth = () => {
|
|
51
52
|
var _a;
|
52
53
|
setCalendarApi((_a = calendarRef === null || calendarRef === void 0 ? void 0 : calendarRef.current) === null || _a === void 0 ? void 0 : _a.getApi());
|
53
54
|
}, [calendarRef]);
|
55
|
+
useOnDeleteDocument((s, doc) => {
|
56
|
+
state.listOptions = state.listOptions.filter((i) => i.source.id !== doc.id);
|
57
|
+
});
|
58
|
+
useOnDeleteWorkSchedule((s, doc) => {
|
59
|
+
state.listOptions = state.listOptions.filter((i) => i.source.id !== doc.id);
|
60
|
+
});
|
54
61
|
useRenderOnChange(() => filterState.options);
|
55
62
|
useCalendarListEffect(null, (list) => {
|
56
63
|
runInAction(() => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/calendar/pages/CalendarMonth/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EACN,YAAY,EACZ,OAAO,EACP,iBAAiB,EACjB,aAAa,IAAI,UAAU,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/calendar/pages/CalendarMonth/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EACN,YAAY,EACZ,OAAO,EACP,iBAAiB,EACjB,aAAa,IAAI,UAAU,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AAC9F,OAAO,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAC5F,OAAO,EAAa,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD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ACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -2,7 +2,7 @@ import React, { useState } from "react";
|
|
2
2
|
import { Scrollbars } from "react-custom-scrollbars-2";
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
4
4
|
import { useRenderOnChange } from "@voplus/morpho-ui";
|
5
|
-
import { useDocumentListEffect } from "@voplus/morpho-document-core";
|
5
|
+
import { useOnDeleteDocument, useDocumentListEffect, } from "@voplus/morpho-document-core";
|
6
6
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data/ListDataContext";
|
7
7
|
import { useOnPinDocument, useOnUnPinDocument, useOnFlagChange, } from "@voplus/morpho-document-core/es/data/DocumentStore/hooks/pin-events";
|
8
8
|
import { faExclamationCircle, faStar } from "@fortawesome/free-solid-svg-icons";
|
@@ -35,6 +35,7 @@ const MyPinned = (props) => {
|
|
35
35
|
useOnPinDocument((s, d) => state.update([d], "new"));
|
36
36
|
useOnUnPinDocument((s, d) => state.update([d], "del"));
|
37
37
|
useOnFlagChange((s, d) => state.onChangeFlag(d));
|
38
|
+
useOnDeleteDocument((s, d) => state.update([d], "del"));
|
38
39
|
return observe(() => (React.createElement(AsideContent, { context: asideContext },
|
39
40
|
React.createElement(ListDataContext.Provider, { value: list },
|
40
41
|
React.createElement("div", { className: styles["my-pinned"] },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/pin/components/MyPinned/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/pin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QACjE,MAAA,KAAK,CAAC,WAAW,sDAAG,EAAE,CAAC,CAAC;IACzB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -25,8 +25,9 @@ const AddTaskDropdown = (props) => {
|
|
25
25
|
props.onItemClick(key);
|
26
26
|
}
|
27
27
|
function onVisibleChange(visible) {
|
28
|
+
var _a;
|
28
29
|
setVisible(visible);
|
29
|
-
props.onCancelClick();
|
30
|
+
(_a = props.onCancelClick) === null || _a === void 0 ? void 0 : _a.call(props);
|
30
31
|
}
|
31
32
|
};
|
32
33
|
export default AddTaskDropdown;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/AddTaskDropdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,wBAAwB;AACxB,MAAM,eAAe,GAAG,CAAC,KAMxB,EAAE,EAAE;IACJ,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IAExC,IAAI,QAAQ,GAAG,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;IAEhD,OAAO,CAAC,IAAI,CAAC,MAA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