@voplus/morpho-workspace 6.0.45 → 6.0.47

Sign up to get free protection for your applications and to get access to all the features.
@@ -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;AAC5D,OAAO,EAA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CAAC,cAAc,CAAC,CAAC;QAC7D,IAAI,KAAK,KAAK,KAAK;YAAE,WAAW,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IAC5D,CAAC;IAED,gBAAgB;IAChB,SAAS,QAAQ,CAAC,IAAS,EAAE,UAAkB;QAC9C,cAAc,CAAC,IAAI,CAAC,CAAC;QACrB,IAAI,KAAK,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;YAC3B,WAAW,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;QAC7D,CAAC;aAAM,CAAC;YACP,WAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;QAClC,CAAC;IACF,CAAC;IAED,8BAA8B;IAC9B,SAAS,SAAS,CAAC,IAAS;QAC3B,MAAM,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;QAC7C,IAAI,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,gBAAgB,EAAE,CAAC;YAC/C,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;QACjE,CAAC;aAAM,CAAC;YACP,IAAI,CAAC,MAAM,EAAE,CAAC;QACf,CAAC;IACF,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,EAAa,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EACN,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,GACf,MAAM,qEAAqE,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,cAAc,MAAM,2DAA2D,CAAC;AACvF,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,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SAAS,EAAC,aAAa;4BAC3B,8BAAM,SAAS,EAAC,iCAAiC,aAAc;4BAC/D,oBAAC,cAAc,IACd,IAAI,EAAE,KAAK,CAAC,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,OAAO,GAAG,SAAS,GAC7B,CACG,CACM,CACR,CACD,CACoB,CACb,CACf,CAAC,CAAC;IAEH,SAAS,WAAW,CAAC,EAAU;;QAC9B,YAAY,CAAC,SAAS,CAAC,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,GAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;QACjE,MAAA,KAAK,CAAC,WAAW,sDAAG,EAAE,CAAC,CAAC;IACzB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
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,EAEN,mBAAmB,EACnB,qBAAqB,GACrB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EACN,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,GACf,MAAM,qEAAqE,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,cAAc,MAAM,2DAA2D,CAAC;AACvF,OAAO,cAAc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,iBAAiB,GAAG;yCAE3D;4BACP,oBAAC,cAAc,IACd,IAAI,EAAE,KAAK,CAAC,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,OAAO,GAAG,SAAS,GAC7B,CACG;wBACN,6BAAK,SAAS,EAAC,aAAa;4BAC3B,8BAAM,SAAS,EAAC,iCAAiC,aAAc;4BAC/D,oBAAC,cAAc,IACd,IAAI,EAAE,KAAK,CAAC,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,OAAO,GAAG,SAAS,GAC7B,CACG,CACM,CACR,CACD,CACoB,CACb,CACf,CAAC,CAAC;IAEH,SAAS,WAAW,CAAC,EAAU;;QAC9B,YAAY,CAAC,SAAS,CAAC,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,GAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;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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C,CAAC;IACzB,CAAC;IAED,SAAS,eAAe,CAAC,OAAgB;;QACxC,UAAU,CAAC,OAAO,CAAC,CAAC;QACpB,MAAA,KAAK,CAAC,aAAa,qDAAI,CAAC;IACzB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,eAAe,CAAC"}
@@ -37,11 +37,11 @@ const TaskCheckItem = (props) => {
37
37
  React.createElement(AvatarList, { organizationId: user.info.organizationId, maxCount: 3, list: task.members, editable: false }))) : null,
38
38
  dueDate && (React.createElement("span", { className: classnames("task-dueDate", { hide: state.isHover }) },
39
39
  React.createElement("span", { className: classnames("no-dueDate", { open: state.openDate }), onClick: () => (state.openDate = true) }, task.dueDate ? dayjs(task.dueDate).format("DD MMM YYYY") : "No due date"),
40
- React.createElement(PresetDatePicker, { className: "task-item-preset-date-picker", open: state.openDate, onChange: async (preset, date) => {
40
+ React.createElement(PresetDatePicker, { className: "task-item-preset-date-picker", open: state.openDate, value: task.dueDate ? dayjs(task.dueDate) : undefined, onChange: async (preset, date) => {
41
41
  var _a;
42
42
  state.openDate = false;
43
43
  await taskStore.edit(task.id, {
44
- data: { DueDate: dayjs(date).format("YYYY-MM-DD") },
44
+ data: { DueDate: date ? dayjs(date).format("YYYY-MM-DD") : "" },
45
45
  error: (error) => message.error(error.message),
46
46
  });
47
47
  (_a = props.onChangeDueDate) === null || _a === void 0 ? void 0 : _a.call(props, task.dueDate);
@@ -51,11 +51,11 @@ const TaskCheckItem = (props) => {
51
51
  React.createElement(Open, { size: "middle", url: meta.getRoute(task) }),
52
52
  !dueDate && (React.createElement(Button, { type: "link", key: "dueDate", className: "task-toolbar-dueDate", onClick: () => (state.openToolbarDate = true) },
53
53
  React.createElement(FAIcon, { icon: faCalendar }),
54
- React.createElement(PresetDatePicker, { className: "task-toolbar-preset-date-picker", open: state.openToolbarDate, onChange: async (preset, date) => {
54
+ React.createElement(PresetDatePicker, { className: "task-toolbar-preset-date-picker", open: state.openToolbarDate, value: task.dueDate ? dayjs(task.dueDate) : undefined, onChange: async (preset, date) => {
55
55
  var _a;
56
56
  state.openToolbarDate = false;
57
57
  await taskStore.edit(task.id, {
58
- data: { DueDate: dayjs(date).format("YYYY-MM-DD") },
58
+ data: { DueDate: date ? dayjs(date).format("YYYY-MM-DD") : "" },
59
59
  error: (error) => message.error(error.message),
60
60
  });
61
61
  (_a = props.onChangeDueDate) === null || _a === void 0 ? void 0 : _a.call(props, task.dueDate);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AACjD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,QAAQ,MAAM,yDAAyD,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,cAAc,CAAC;AAEtB,MAAM,aAAa,GAAG,CAAC,KAKtB,EA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AAG,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,GAAG,IAAI,CAAC;4BAE7C,oBAAC,MAAM,IAAC,IAAI,EAAE,UAAU,GAAI;4BAC5B,oBAAC,gBAAgB,IAChB,SAAS,EAAC,iCAAiC,EAC3C,IAAI,EAAE,KAAK,CAAC,eAAe,EAC3B,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,EACrD,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE;;oCAChC,KAAK,CAAC,eAAe,GAAG,KAAK,CAAC;oCAC9B,MAAM,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;wCAC7B,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;wCAC/D,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;qCACrD,CAAC,CAAC;oCACH,MAAA,KAAK,CAAC,eAAe,sDAAG,IAAI,CAAC,OAAO,CAAC,CAAC;gCACvC,CAAC,EACD,gBAAgB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,GAAG,IAAI,CAAC,EAC1D,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GACvB,CACM,CACT,CACQ,CACL,CACJ,GAEH,CACF,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -27,8 +27,12 @@ const TaskCheckNewForm = (props) => {
27
27
  React.createElement("div", { className: "dueDate" }, "Due"),
28
28
  React.createElement(React.Fragment, null, state.dueDateString))) : (React.createElement(Icon, { className: "task-due-date-bnt", icon: faCalendar, hover: faCalendarSolid, onClick: () => (state.openDate = true) })),
29
29
  React.createElement(PresetDatePicker, { className: "task-preset-date-picker", open: state.openDate, onChange: (preset, date) => {
30
- state.params.DueDate = dayjs(date).format("YYYY-MM-DD");
31
- state.dueDateString = preset ? preset : dayjs(date).format("YYYY-MM-DD");
30
+ state.params.DueDate = date ? dayjs(date).format("YYYY-MM-DD") : "";
31
+ state.dueDateString = preset
32
+ ? preset
33
+ : date
34
+ ? dayjs(date).format("YYYY-MM-DD")
35
+ : "";
32
36
  state.openDate = false;
33
37
  const inputlement = document.querySelector(".task-name-input");
34
38
  if (inputlement) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckNewForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,UAAU,IAAI,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,IAAI,MAAM,+CAA+C,CAAC;AACjE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,gBAAgB,GAAG,CAAC,KAKzB,EAAE,EAAE;IACJ,MAAM,KAAK,GAAG,YAAY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AK,UAAU,QAAQ;;QACtB,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI;YAAE,OAAO,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;QACpE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC;QAC1C,MAAM,KAAK,CAAC,MAAM,CAAC;YAClB,IAAI,EAAE,EAAE,GAAG,KAAK,CAAC,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAS;YAC1D,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC7B,CAAC,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;QACjB,OAAO;IACR,CAAC;IACD,kBAAkB;IAClB,SAAS,QAAQ;;QAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.45",
3
+ "version": "6.0.47",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",