@voplus/morpho-workspace 5.0.54 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/es/data/board/hooks.d.ts +4 -1
  2. package/es/data/board/hooks.js +2 -2
  3. package/es/data/board/hooks.js.map +1 -1
  4. package/es/data/calendar/CalendarStore.d.ts +2 -4
  5. package/es/data/calendar/CalendarStore.js.map +1 -1
  6. package/es/data/calendar/hooks.d.ts +4 -1
  7. package/es/data/calendar/hooks.js +1 -1
  8. package/es/data/calendar/hooks.js.map +1 -1
  9. package/es/data/meeting/MeetingStore.d.ts +1 -1
  10. package/es/data/meeting/hooks.js +3 -3
  11. package/es/data/meeting/hooks.js.map +1 -1
  12. package/es/data/notification/hooks.d.ts +4 -1
  13. package/es/data/notification/hooks.js +1 -1
  14. package/es/data/notification/hooks.js.map +1 -1
  15. package/es/data/work/hook.js +1 -1
  16. package/es/data/work/hook.js.map +1 -1
  17. package/es/data/work-schedule/hooks.d.ts +4 -1
  18. package/es/data/work-schedule/hooks.js +1 -1
  19. package/es/data/work-schedule/hooks.js.map +1 -1
  20. package/es/data/workerror/hook.js +1 -1
  21. package/es/data/workerror/hook.js.map +1 -1
  22. package/es/data/workspace/hooks.js +1 -1
  23. package/es/data/workspace/hooks.js.map +1 -1
  24. package/es/data/worktype/hook.js +1 -1
  25. package/es/data/worktype/hook.js.map +1 -1
  26. package/es/modules/board/components/Board/index.js +1 -1
  27. package/es/modules/board/components/Board/index.js.map +1 -1
  28. package/es/modules/board/components/BoardPropertiesView/index.js +0 -2
  29. package/es/modules/board/components/BoardPropertiesView/index.js.map +1 -1
  30. package/es/modules/board/pages/BoardViewList/index.js +2 -2
  31. package/es/modules/board/pages/BoardViewList/index.js.map +1 -1
  32. package/es/modules/calendar/components/ActionCard/index.js +1 -1
  33. package/es/modules/calendar/components/ActionCard/index.js.map +1 -1
  34. package/es/modules/project/data/hook.d.ts +4 -1
  35. package/es/modules/project/data/hook.js +1 -1
  36. package/es/modules/project/data/hook.js.map +1 -1
  37. package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +1 -1
  38. package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js.map +1 -1
  39. package/es/modules/tasks/components/TaskPropertiesView/index.js +1 -1
  40. package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
  41. package/es/modules/tasks/components/TaskQuickViewDialog/index.js +1 -1
  42. package/es/modules/tasks/components/TaskQuickViewDialog/index.js.map +1 -1
  43. package/es/modules/work/components/WorkErrorList/index.js +1 -1
  44. package/es/modules/work/components/WorkErrorList/index.js.map +1 -1
  45. package/es/modules/work/components/WorkList/index.js +1 -1
  46. package/es/modules/work/components/WorkList/index.js.map +1 -1
  47. package/es/modules/work/components/WorkQATab/index.js +1 -1
  48. package/es/modules/work/components/WorkQATab/index.js.map +1 -1
  49. package/es/modules/work/work-type/components/WorkTypeIcon/index.js +1 -1
  50. package/es/modules/work/work-type/components/WorkTypeIcon/index.js.map +1 -1
  51. package/es/modules/work/work-type/components/WorkTypePropertiesView/index.js +1 -1
  52. package/es/modules/work/work-type/components/WorkTypePropertiesView/index.js.map +1 -1
  53. package/es/modules/workspace/components/WorkspaceIcon/index.js +1 -1
  54. package/es/modules/workspace/components/WorkspaceIcon/index.js.map +1 -1
  55. package/es/modules/workspace/pages/WorkspaceDefaultView/index.js +1 -1
  56. package/es/modules/workspace/pages/WorkspaceDefaultView/index.js.map +1 -1
  57. package/package.json +4 -4
@@ -9,7 +9,10 @@ export declare const useBoard: (id: string, options?: LoadDocumentOptions) => IB
9
9
  * @param {string} id - id of the boardcolumn
10
10
  * @param {LoadDocumentOptions} options - options
11
11
  */
12
- export declare const useBoardColumn: (id: string, options?: LoadDocumentOptions) => import("@voplus/morpho-document-core").IDocument;
12
+ export declare const useBoardColumn: (id: string, options?: LoadDocumentOptions) => import("@voplus/morpho-document-core").IDocument & {
13
+ loadCount?: number | undefined;
14
+ includesOption?: string[] | undefined;
15
+ };
13
16
  /** React hook to retrieve a list of boards
14
17
  * @param effect - Effect callback to be ran after successful retrieved the list.
15
18
  * @param options - Optional board list loading options.
@@ -10,7 +10,7 @@ export const useBoard = (id, options) => {
10
10
  options = options ? options : {};
11
11
  const store = useBoardStore();
12
12
  const documents = useDocumentStore();
13
- return useLoadCountedMapItem(id, documents.items, () => store.load(id, options), options);
13
+ return useLoadCountedMapItem(id, documents.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
14
14
  };
15
15
  /** React hook to retrieve a boardcolumn
16
16
  * @param {string} id - id of the boardcolumn
@@ -20,7 +20,7 @@ export const useBoardColumn = (id, options) => {
20
20
  options = options ? options : {};
21
21
  const store = useBoardColumnStore();
22
22
  const documents = useDocumentStore();
23
- return useLoadCountedMapItem(id, documents.items, () => store.load(id, options), options);
23
+ return useLoadCountedMapItem(id, documents.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
24
24
  };
25
25
  /** React hook to retrieve a list of boards
26
26
  * @param effect - Effect callback to be ran after successful retrieved the list.
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/board/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,aAAa,EAAE,MAAM,GAAG,CAAC;AACxD,OAAO,EAGN,2BAA2B,EAC3B,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IACrE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,aAAa,EAAE,CAAC;IAC9B,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,qBAAqB,CAC3B,EAAE,EACF,SAAS,CAAC,KAAK,EACf,GAAG,EAAE,CA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O,CACP,CAAC;AACH,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CACjC,MAAgC,EAChC,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,KAAK,GAAG,aAAa,EAAE,CAAC;IAC9B,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AACzF,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACvC,MAAgC,EAChC,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,KAAK,GAAG,mBAAmB,EAAE,CAAC;IACpC,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AACzF,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { ApiEndPoint } from "@voplus/api";
2
- import { CountedMap, Store } from "@voplus/morpho-data";
2
+ import { CountedMap, Store, LoadOptions } from "@voplus/morpho-data";
3
3
  import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
4
4
  import { FilterOption } from "@voplus/morpho-data/es/types";
5
5
  import { ICalendar } from ".";
@@ -12,9 +12,7 @@ export type LoadCalendarListOptions = {
12
12
  Filters?: FilterOption[];
13
13
  };
14
14
  /** Custom load calendar options type */
15
- export type LoadCalendarOptions = {
16
- reload?: boolean;
17
- };
15
+ export type LoadCalendarOptions = {} & LoadOptions<ICalendar>;
18
16
  export type EdiCalendarDataOptions = {
19
17
  Start?: string;
20
18
  End?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarStore.js","sourceRoot":"","sources":["../../../src/data/calendar/CalendarStore.ts"],"names":[],"mappings":";AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAOlD,OAAO,SAAS,MAAM,WAAW,CAAC;AAElC,MAAM,SAAS,GAAG,eAAe,CAAC;AA0BlC,8DAA8D;AAC9D,MAAM,OAAO,aAAc,SAAQ,KAAK;IAWvC,qEAAqE;IAC9D,MAAM,CAAC,qBAAqB,CAAC,aAAkC;QACrE,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,EAAe,CAAC;QACrC,IAAI,aAAa;YAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC;QACnD,OAAO,CAAC,CAAC;IACV,CAAC;IAED,YAAoC,IAAiB;QACpD,KAAK,EAAE,CAAC;QADU;;;;mBAAiB,IAAI;WAAa;QAjBrD,wBAAwB;QACR;;;;mBAAe,SAAS;WAAC;QAIzB;;;;mBAAuC,IAAI,UAAU,CACpE,CAAC,GAAW,EAAE,EAAE,CAAC,aAAa,CAAC,qBAAqB,EAAE,EACtD,UAAU,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAClC;WAAC;QAwBM;;;;mBAAa,IAAI,GAAG,EAAe;WAAC;QAb3C,cAAc,CAAC,IAAI,CAAC,CAAC;QACrB,SAAS,CAAC,IAAI,EAAE,iBAAiB,IAAI,GAAG,CAAC,CAAC;IAC3C,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CAAC,EAAU,EAAE,OAA6B;QAC1D,MAAM,CAAC,GAAG,MAA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I,CAAC,EAAU,EAAE,OAA2B;QACxD,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;YAC5B,MAAM,CAAC,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,CAC7B,iBAAiB,EAAE,EAAE,EACrB,IAAI,cAAc,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CACvC,CAAC;YACF,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;YACzB,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;YACzB,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;QAC/B,CAAC,EAAE,OAAO,CAAC,CAAC;IACb,CAAC;CACD;AAzDgB;IAFf,UAAU;IACX,mCAAmC;4CAIjC;AAwDH,2CAA2C;AAC3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE;IACpC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QAClC,OAAO,CAAC,QAAQ,CAAC,IAAI,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;IAClE,CAAC;IACD,OAAO,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAmB,CAAC;AACtD,CAAC,CAAC"}
@@ -5,7 +5,10 @@ import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
5
5
  * @param {string} id - id of the calendar
6
6
  * @param {LoadCalendarOptions} options - options
7
7
  */
8
- export declare const useCalendar: (id: string, options?: LoadCalendarOptions) => ICalendar;
8
+ export declare const useCalendar: (id: string, options?: LoadCalendarOptions) => ICalendar & {
9
+ loadCount?: number | undefined;
10
+ includesOption?: string[] | undefined;
11
+ };
9
12
  /** React hook to retrieve a list of tasks
10
13
  * @param effect - Effect callback to be ran after successful retrieved the list.
11
14
  * @param options - Optional task list loading options.
@@ -8,7 +8,7 @@ import { useListLoaderEffect } from "@voplus/morpho-ui/es/hooks";
8
8
  export const useCalendar = (id, options) => {
9
9
  options = options ? options : {};
10
10
  const store = useCalendarStore();
11
- return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
11
+ return useLoadCountedMapItem(id, store.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
12
12
  };
13
13
  /** React hook to retrieve a list of tasks
14
14
  * @param effect - Effect callback to be ran after successful retrieved the list.
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/calendar/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2D,gBAAgB,EAAE,MAAM,GAAG,CAAC;AAC9F,OAAO,EAA2B,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAIjE;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IACxE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,OAAO,qBAAqB,CAAC,EAAE,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC;AACvF,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACpC,IAA4C,EAC5C,MAAmC,EACnC,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IAEpC,mFAAmF;IACnF,OAAO,mBAA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CAAC,CAAC"}
@@ -9,7 +9,7 @@ export declare class MeetingStore extends DocumentTypeStore<IMeeting, LoadDocume
9
9
  readonly name: string;
10
10
  constructor(endpoint: ApiEndPoint, documents: DocumentStore);
11
11
  readonly items: CountedMap<string, IMeetingTask>;
12
- loadTaskList(id: string, options?: LoadDocumentOptions): Promise<IMeetingTask[]>;
12
+ loadTaskList(id: string, options?: LoadDocumentOptions): Promise<any>;
13
13
  }
14
14
  /** 响应钩子检索 MeetingStore */
15
15
  export declare const useMeetingStore: () => MeetingStore;
@@ -9,7 +9,7 @@ export const useMeeting = (id, options) => {
9
9
  options = options ? options : {};
10
10
  const store = useMeetingStore();
11
11
  const documents = useDocumentStore();
12
- return useLoadCountedMapItem(id, documents.items, () => store.load(id, options), options);
12
+ return useLoadCountedMapItem(id, documents.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
13
13
  };
14
14
  /** React hook to retrieve a list of meetings
15
15
  * @param effect - Effect callback to be ran after successful retrieved the list.
@@ -29,7 +29,7 @@ export const useAgenda = (id, options) => {
29
29
  options = options ? options : {};
30
30
  const store = useAgendaStore();
31
31
  const documents = useDocumentStore();
32
- return useLoadCountedMapItem(id, documents.items, () => store.load(id, options), options);
32
+ return useLoadCountedMapItem(id, documents.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
33
33
  };
34
34
  /** React hook to retrieve a list of agendas of a meeting
35
35
  * @param effect - Effect callback to be ran after successful retrieved the list.
@@ -44,6 +44,6 @@ export const useAgendaListEffect = (list, effect, options) => {
44
44
  export const useMeetingTask = (id, options) => {
45
45
  options = options ? options : {};
46
46
  const store = useMeetingStore();
47
- return useLoadCountedMapItem(id, store.items, () => store.loadTaskList(id, options), options);
47
+ return useLoadCountedMapItem(id, store.items, (calculatedOptions) => store.loadTaskList(id, calculatedOptions), options);
48
48
  };
49
49
  //# sourceMappingURL=hooks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/meeting/hooks.ts"],"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AC,IAAI,CAAC,EAAE,EAAE,iBAAiB,CAAC,EACxD,OAAO,CACI,CAAC;AACd,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAClC,IAA0C,EAC1C,MAAiC,EACjC,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAC/B,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AACzF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IAC3E,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAE1D,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAEhC,OAAO,qBAAqB,CAC3B,EAAE,EACF,KAAK,CAAC,KAAK,EACX,CAAC,iBAAiB,EAAE,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,EAAE,iBAAiB,CAAC,EAChE,OAAO,CACS,CAAC;AACnB,CAAC,CAAC"}
@@ -1,5 +1,8 @@
1
1
  import { INotification, LoadNotificationOptions } from ".";
2
2
  import { ListDataContextState } from "@voplus/morpho-ui/es/data";
3
3
  import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
4
- export declare const useNotification: (id: string, options?: LoadNotificationOptions) => INotification;
4
+ export declare const useNotification: (id: string, options?: LoadNotificationOptions) => INotification & {
5
+ loadCount?: number | undefined;
6
+ includesOption?: string[] | undefined;
7
+ };
5
8
  export declare const useNotificationListEffect: (list: ListDataContextState<INotification> | null, effect: (list: INotification[], total?: number) => void, options?: LoadDocumentListOptions) => void;
@@ -4,7 +4,7 @@ import { useLoadCountedMapItem } from "@voplus/morpho-data";
4
4
  export const useNotification = (id, options) => {
5
5
  options = options ? options : {};
6
6
  const store = useNotificationStore();
7
- return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
7
+ return useLoadCountedMapItem(id, store.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
8
8
  };
9
9
  export const useNotificationListEffect = (list, effect, options) => {
10
10
  const deps = options ? options : {};
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/notification/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,oBAAoB,EAAE,MAAM,GAAG,CAAC;AAIjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAU,EAAE,OAAiC,EAAE,EAAE;IAChF,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IAC9D,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IAErC,OAAO,qBAAqB,CAAC,EAAE,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAAE,OAAO,CAAC,CAAC;AACxF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACxC,IAAgD,EAChD,MAAsD,EACtD,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IAEjE,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IAErC,iFAAiF;IACjF,OAAO,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9F,CAAC,CAAC"}
1
+ {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/notification/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,oBAAoB,EAAE,MAAM,GAAG,CAAC;AAIjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAU,EAAE,OAAiC,EAAE,EAAE;IAChF,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IAC9D,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IAErC,OAAO,qBAAqB,CAC3B,EAAE,EACF,KAAK,CAAC,KAAK,EACX,CAAC,iBAAiB,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,iBAAiB,CAAC,EACxD,OAAO,CACP,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACxC,IAAgD,EAChD,MAAuD,EACvD,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IAEjE,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IAErC,iFAAiF;IACjF,OAAO,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9F,CAAC,CAAC"}
@@ -5,7 +5,7 @@ export const useWork = (id, options) => {
5
5
  options = options ? options : {};
6
6
  const store = useWorkStore();
7
7
  const documents = useDocumentStore();
8
- return useLoadCountedMapItem(id, documents.items, () => store.load(id, options), options);
8
+ return useLoadCountedMapItem(id, documents.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
9
9
  };
10
10
  /** React hook to retrieve a list of works
11
11
  * @param effect - Effect callback to be ran after successful retrieved the list.
@@ -1 +1 @@
1
- {"version":3,"file":"hook.js","sourceRoot":"","sources":["../../../src/data/work/hook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,YAAY,EAAE,MAAM,GAAG,CAAC;AACxC,OAAO,EAGN,2BAA2B,EAC3B,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IACpE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAC7B,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,qBAAqB,CAC3B,EAAE,EACF,SAAS,CAAC,KAAK,EACf,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAC9B,OAAO,CACE,CAAC;AACZ,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAChC,IAAwC,EACxC,MAAuD,EACvD,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAE7B,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AACzF,CAAC,CAAC"}
1
+ {"version":3,"file":"hook.js","sourceRoot":"","sources":["../../../src/data/work/hook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,YAAY,EAAE,MAAM,GAAG,CAAC;AACxC,OAAO,EAGN,2BAA2B,EAC3B,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IACpE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAC7B,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,qBAAqB,CAC3B,EAAE,EACF,SAAS,CAAC,KAAK,EACf,CAAC,iBAAiB,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,iBAAiB,CAAC,EACxD,OAAO,CACE,CAAC;AACZ,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAChC,IAAwC,EACxC,MAAuD,EACvD,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAE7B,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AACzF,CAAC,CAAC"}
@@ -6,5 +6,8 @@ import { LoadWorkScheduleOptions } from ".";
6
6
  * @param {string} id - id of the workSchedule
7
7
  * @param {LoadDocumentOptions} options - options
8
8
  */
9
- export declare const useWorkSchedule: (id: string, options?: LoadWorkScheduleOptions) => IWorkSchedule;
9
+ export declare const useWorkSchedule: (id: string, options?: LoadWorkScheduleOptions) => IWorkSchedule & {
10
+ loadCount?: number | undefined;
11
+ includesOption?: string[] | undefined;
12
+ };
10
13
  export declare const useWorkScheduleListEffect: (list: ListDataContextState<IWorkSchedule> | null, effect: (list: any[], total: number) => void, options?: LoadDocumentListOptions) => void;
@@ -8,7 +8,7 @@ import { useWorkScheduleStore } from "./WorkScheduleStore";
8
8
  export const useWorkSchedule = (id, options) => {
9
9
  options = options ? options : {};
10
10
  const store = useWorkScheduleStore();
11
- return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
11
+ return useLoadCountedMapItem(id, store.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
12
12
  };
13
13
  export const useWorkScheduleListEffect = (list, effect, options) => {
14
14
  const deps = options ? options : {};
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/work-schedule/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAIjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAU,EAAE,OAAiC,EAAE,EAAE;IAChF,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IAC9D,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IACrC,OAAO,qBAAqB,CAAC,EAAE,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAAE,OAAO,CAAC,CAAC;AACxF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CACxC,IAAgD,EAChD,MAA4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,EAAE,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9F,CAAC,CAAC"}
@@ -4,7 +4,7 @@ import { useLoadCountedMapItem } from "@voplus/morpho-data";
4
4
  export const useWorkError = (id, options) => {
5
5
  options = options ? options : {};
6
6
  const store = useWorkErrorStore();
7
- return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
7
+ return useLoadCountedMapItem(id, store.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
8
8
  };
9
9
  /** React hook to retrieve a list of work error
10
10
  * @param effect - Effect callback to be ran after successful retrieved the list.
@@ -1 +1 @@
1
- {"version":3,"file":"hook.js","sourceRoot":"","sources":["../../../src/data/workerror/hook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,iBAAiB,EAAE,MAAM,GAAG,CAAC;AAIxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAU,EAAE,OAA8B,EAAE,EAAE;IAC1E,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA2B,CAAC;IAC3D,MAAM,KAAK,GAAG,iBAAiB,EAAE,CAAC;IAElC,OAAO,qBAAqB,CAC3B,EAAE,EACF,KAAK,CAAC,KAAK,EACX,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAC9B,OAAO,CACO,CAAC;AACjB,CAAC,CAAC;AAGF;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACrC,IAA6C,EAC7C,MAAmD,EACnD,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CA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K,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9F,CAAC,CAAC"}
@@ -8,7 +8,7 @@ import { useLoadCountedMapItem } from "@voplus/morpho-data";
8
8
  export const useWorkspace = (id, options) => {
9
9
  options = options !== null && options !== void 0 ? options : {};
10
10
  const store = useWorkspaceStore();
11
- return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
11
+ return useLoadCountedMapItem(id, store.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
12
12
  };
13
13
  /** React hook to retrieve a list of workspaces
14
14
  * @param effect - Effect callback to be ran after successful retrieved the list.
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/workspace/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,iBAAiB,EAAE,MAAM,GAAG,CAAC;AAIxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAU,EAAE,OAA8B,EAAE,EAAE;IAC1E,OAAO,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAK,EAA2B,CAAC;IAClD,MAAM,KAAK,GAAG,iBAAiB,EAAE,CAAC;IAElC,OAAO,qBAAqB,CAC3B,EAAE,EACF,KAAK,CAAC,KAAK,EACX,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAC9B,OAAO,CACO,CAAC;AACjB,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACrC,IAA6C,EAC7C,MAAmD,EACnD,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,KAAK,GAAG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C,IAAI,CAAC,CAAC,CAAC;AAC9F,CAAC,CAAC"}
@@ -9,7 +9,7 @@ export const useWorkType = (id, options) => {
9
9
  options = options ? options : {};
10
10
  const store = useWorkTypeStore();
11
11
  // const documents = useDocumentStore();
12
- return useLoadCountedMapItem(id, store.items, () => store.load(id, options), options);
12
+ return useLoadCountedMapItem(id, store.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
13
13
  };
14
14
  export const useWorkTypeListEffect = (list, effect, options) => {
15
15
  const deps = options ? options : {};
@@ -1 +1 @@
1
- {"version":3,"file":"hook.js","sourceRoot":"","sources":["../../../src/data/worktype/hook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,gBAAgB,EAAE,MAAM,GAAG,CAAC;AAIrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IACxE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,wCAAwC;IACxC,OAAO,qBAAqB,CAC3B,EAAE,EACF,KAAK,CAAC,KAAK,EACX,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,OAAQ,CAAC,EAC9B,OAAO,CACM,CAAC;AAChB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACpC,IAA4C,EAC5C,MAAkD,EAClD,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IAEjC,mFAAmF;IACnF,OAAO,mBAAmB,CAAC,IAAI,EA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28,7 @@ const Board = (props) => {
28
28
  const boards = useBoardColumnStore();
29
29
  const documentStore = useDocumentStore();
30
30
  const [state] = useState(new State(boards, documentStore));
31
- const data = useBoard(props.parentId, { reload: false });
31
+ const data = useBoard(props.parentId);
32
32
  /** 建立 ListView 和useTaskListEffect所需的ListDataState. 会根据parentId重建所以不需reset. */
33
33
  const list = useCreateListDataState({}, []);
34
34
  /**把store 传给子级 DocumentItem*/
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/index.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,CAAC;AAEpB,OAAO,EACN,qBAAqB,EACrB,iBAAiB,EACjB,QAAQ,EACR,wBAAwB,EACxB,mBAAmB,GACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACN,gBAAgB,EAChB,oBAAoB,EACpB,UAAU,GACV,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAkB,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAA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EACD,SAAS,EAAC,gBAAgB,GACzB,CAC6B,CAChC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/index.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,CAAC;AAEpB,OAAO,EACN,qBAAqB,EACrB,iBAAiB,EACjB,QAAQ,EACR,wBAAwB,EACxB,mBAAmB,GACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACN,gBAAgB,EAChB,oBAAoB,EACpB,UAAU,GACV,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAkB,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,OAAO,MAAM,uCAAuC,CAAC;AAC5D,OAAO,WAAW,MAAM,sEAAsE,CAAC;AAC/F,OAAO,gBAAgB,MAAM,2EAA2E,CAAC;AACzG,OAAO,EAAE,KAAK,EAAE,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,CAAC,MAAM,KAAK,UAAU,IAAI,CAC9B,6BAAK,SAAS,EAAC,WAAW;wBACzB,6BAAK,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC,YAElE,CACD,CACN,CACI,CACD,CACoB,CACC,CAC7B,CAAC,CAAC;IAEH,+BAA+B;IAC/B,SAAS,QAAQ,CAAC,KAAa;QAC9B,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC3B,CAAC;IAED,SAAS,UAAU;QAClB,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,oBAAC,WAAW,IAAC,KAAK,EAAC,QAAQ,EAAC,QAAQ,EAAE,QAAQ,GAAI,CAAC,CAAC;QACnF,KAAK,CAAC,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAC3B,oBAAC,oBAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI,CAAC,OAAO;YACjD,oBAAC,gBAAgB,IAChB,MAAM,EAAE,CAAC,IAAqB,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EACzD,SAAS,EAAC,gBAAgB,GACzB;YACF,oBAAC,UAAU,IACV,OAAO,EAAE;oBACR,oBAAC,gBAAgB,IAAC,GAAG,EAAC,kBAAkB,GAAG;oBAC3C,oBAAC,UAAU,IAAC,GAAG,EAAC,YAAY,GAAG;oBAC/B,oBAAC,oBAAoB,IAAC,GAAG,EAAC,sBAAsB,GAAG;iBACnD,EACD,SAAS,EAAC,gBAAgB,GACzB,CAC6B,CAChC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -9,11 +9,9 @@ import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
9
9
  import Links from "@voplus/morpho-document/es/components/Links";
10
10
  import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
11
11
  import { observe } from "@voplus/morpho-ui";
12
- import { useBoard } from "../../../../data/board";
13
12
  const BoardPropertiesView = (props) => {
14
13
  const id = props.id;
15
14
  const view = useMemo(() => new ViewContextData("PropertiesView"), []);
16
- const board = useBoard(id, { reload: false });
17
15
  const [loaded, setLoaded] = useState(true);
18
16
  const [activeKey, setActiveKey] = useState();
19
17
  return observe(() => (React.createElement(ViewContext.Provider, { value: view },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/BoardPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AACtF,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAElE,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,uBAAuB,MAAM,+DAA+D,CAAC;AACpG,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAElD,MAAM,mBAAmB,GAAG,CAAC,KAAwC,EAAE,EAAE;IACxE,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,MAAM,KAAK,GAAG,QAAQ,CAAC,EAAE,EA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oBAAC,KAAK,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,GAAI;qBAC3C;iBACD,EACD,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GACnC,CACc,CACjB,CACI,CACgB,CACvB,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AACF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/BoardPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AACtF,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAElE,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,uBAAuB,MAAM,+DAA+D,CAAC;AACpG,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,mBAAmB,GAAG,CAAC,KAAwC,EAAE,EAAE;IACxE,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;I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O,EAAE,KAAK,GAAI;qBAC3C;iBACD,EACD,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GACnC,CACc,CACjB,CACI,CACgB,CACvB,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AACF,eAAe,mBAAmB,CAAC"}
@@ -20,10 +20,10 @@ const BoardViewList = (props) => {
20
20
  const params = useParams();
21
21
  const id = props.id || params.id || "";
22
22
  const frame = useFrame();
23
- const [asideContext] = useState(frame ? useAsideContentContext() : AsideContent.createContext());
24
23
  const view = useMemo(() => new ViewContextData("PropertiesView"), []);
24
+ const [asideContext] = useState(frame ? useAsideContentContext() : AsideContent.createContext());
25
25
  const [state] = useState(new State());
26
- state.board = useBoard(id, { reload: false });
26
+ state.board = useBoard(id);
27
27
  /** set tab title */
28
28
  const tab = useTabItem();
29
29
  useEffect(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/pages/BoardViewList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEpE,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAC3C,OAAO,mBAAmB,MAAM,sCAAsC,CAAC;AACvE,OAAO,cAA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AI,EAAE,IAAI,EACV,UAAU,EAAE,IAAI,EAChB,QAAQ,EAAE,QAAQ,GACjB,EACF;YACC,IAAI,EAAE,CAAC;SACP,CACD,CAAC;IACH,CAAC;IAED,SAAS,QAAQ;QAChB,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,UAAU,EAAE,CAAC;IAC5B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { observe } from "@voplus/morpho-ui";
3
3
  import { useAction } from "@voplus/morpho-collaboration-action/es/data";
4
4
  const ActionCard = (props) => {
5
- const action = useAction(props.id, { reload: false });
5
+ const action = useAction(props.id);
6
6
  return observe(() => (React.createElement("div", { className: "calendar-action-card", onClick: props.onClick },
7
7
  action.type,
8
8
  " ",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/calendar/components/ActionCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAExE,MAAM,UAAU,GAAG,CAAC,KAAuD,EAAE,EAAE;IAC9E,MAAM,MAAM,GAAG,SAAS,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAEtD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,sBAAsB,EAAC,OAAO,EAAE,KAAK,CAAC,OAAO;QAC1D,MAAM,CAAC,IAAI;;QAAG,MAAM,CAAC,IAAI,CACrB,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/calendar/components/ActionCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAExE,MAAM,UAAU,GAAG,CAAC,KAAuD,EAAE,EAAE;IAC9E,MAAM,MAAM,GAAG,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAEnC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,sBAAsB,EAAC,OAAO,EAAE,KAAK,CAAC,OAAO;QAC1D,MAAM,CAAC,IAAI;;QAAG,MAAM,CAAC,IAAI,CACrB,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,7 +1,10 @@
1
1
  import { LoadDocumentListOptions, LoadDocumentOptions } from "@voplus/morpho-document-core";
2
2
  import { IProject } from "./interfaces";
3
3
  import { ListDataContextState } from "@voplus/morpho-ui/es/data";
4
- export declare const useProject: (id: string, options?: LoadDocumentOptions) => import("@voplus/morpho-document-core").IDocument;
4
+ export declare const useProject: (id: string, options?: LoadDocumentOptions) => import("@voplus/morpho-document-core").IDocument & {
5
+ loadCount?: number | undefined;
6
+ includesOption?: string[] | undefined;
7
+ };
5
8
  /** React hook to retrieve a list of tasks
6
9
  * @param effect - Effect callback to be ran after successful retrieved the list.
7
10
  * @param options - Optional task list loading options.
@@ -5,7 +5,7 @@ export const useProject = (id, options) => {
5
5
  options = options ? options : {};
6
6
  const store = useProjectStore();
7
7
  const documents = useDocumentStore();
8
- return useLoadCountedMapItem(id, documents.items, () => store.load(id, options), options);
8
+ return useLoadCountedMapItem(id, documents.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
9
9
  };
10
10
  /** React hook to retrieve a list of tasks
11
11
  * @param effect - Effect callback to be ran after successful retrieved the list.
@@ -1 +1 @@
1
- {"version":3,"file":"hook.js","sourceRoot":"","sources":["../../../../src/modules/project/data/hook.ts"],"names":[],"mappings":"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AM,gBAAgB,CAAC;AAEjD,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EAAU,EAAE,OAA6B,EAAE,EAAE;IACvE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA0B,CAAC;IAC1D,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAChC,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;IAErC,OAAO,qBAAqB,CAC3B,EAAE,EACF,SAAS,CAAC,KAAK,EACf,CAAC,iBAAiB,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,iBAAiB,CAAC,EACxD,OAAO,CACP,CAAC;AACH,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CACnC,IAA2C,EAC3C,MAAkC,EAClC,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,QAAQ,GAAG,eAAe,EAAE,CAAC;IAEnC,mFAAmF;IACnF,OAAO,2BAA2B,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC5F,CAAC,CAAC"}
@@ -17,7 +17,7 @@ const DefaultTaskItem = (props) => {
17
17
  const { id, connectDragSource } = props;
18
18
  const { user } = useApplicationContext();
19
19
  const taskStore = useTaskStore();
20
- const task = useTask(id, { reload: false, includes: "tags" });
20
+ const task = useTask(id, { includes: "tags" });
21
21
  const [taskStatus, setTaskStatus] = useState(task.taskStatus);
22
22
  useEffect(() => autorun(() => setTaskStatus(task.taskStatus)), [task.taskStatus]);
23
23
  return observe(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultTaskItem.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/DefaultTa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;4BACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC;yBACrD,CAAC,CAAC;wBACH,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;oBAChC,CAAC,GACA,CACc,KAEd,KAAK,CAAC,WAAW,GACpB,CACF,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -13,7 +13,7 @@ const TaskPropertiesView = (props) => {
13
13
  const id = props.id;
14
14
  const meta = useMetaStore();
15
15
  const view = useMemo(() => new ViewContextData("PropertiesView"), []);
16
- const task = useTask(id, { reload: false, includes: "tags" });
16
+ const task = useTask(id, { includes: "tags" });
17
17
  const [loaded, setLoaded] = useState(true);
18
18
  return observe(() => (React.createElement(ViewContext.Provider, { value: view },
19
19
  React.createElement("div", { className: "module-detail-view" }, loaded && (React.createElement(React.Fragment, null,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAElE,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA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AC,EAAE,EAAE,EAAE,EAAE,UAAU,SAAG,CACf,CACjB,CACI,CACgB,CACvB,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAElE,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,MAAM,kBAAkB,GAAG,CAAC,KAAwC,EAAE,EAAE;IACvE,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IAEpB,MAAM,IAAI,GAAG,YAAY,EAAE,CAAC;IAC5B,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,MAAM,IAAI,GAAG,OAAO,CAAC,EA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./index.less";
15
15
  const TaskQuickViewDialog = (props) => {
16
16
  const { id } = props;
17
17
  const meta = useMetaStore();
18
- const task = useTask(id, { reload: false, includes: "tags" });
18
+ const task = useTask(id, { includes: "tags" });
19
19
  const [loaded, setLoaded] = useState(true);
20
20
  return observe(() => (React.createElement(QuickViewDialog, { ...props, header: React.createElement(React.Fragment, null,
21
21
  loaded && (React.createElement(DocumentHeader, { id: id, quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, quickDataBarVisible: false, toolsVisible: false, descriptionVisible: false, style: { padding: "10px 40px 0 20px" } })),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,mBAAmB,GAAG,CAAC,KAA+D,EAAE,EAAE;IAC/F,MAAM,EAAE,EAAE,EAAE,GAAG,K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,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EACtD,KAAK,EAAE;YACN;gBACC,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,+BAA+B;gBACtC,MAAM,EAAE,oBAAC,cAAc,IAAC,EAAE,EAAE,EAAE,GAAI;aAClC;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,eAAe;gBACtB,MAAM,EAAE,oBAAC,YAAY,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,QAAQ,SAAG;aAC5D;SACD,IAEA,MAAM,IAAI,oBAAC,eAAe,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,CAC3B,CAClB,CAAC,CAAC;IACH,kBAAkB;IAClB,SAAS,QAAQ;QAChB,SAAS,CAAC,KAAK,CAAC,CAAC;QACjB,UAAU,CAAC,GAAG,EAAE;YACf,SAAS,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -16,7 +16,7 @@ import { useWork } from "../../../../data/work";
16
16
  /** A work error list view shows work error in card style. */
17
17
  const WorkErrorList = (props) => {
18
18
  const { id, viewTitle, asideable } = props;
19
- const work = useWork(id, { reload: false });
19
+ const work = useWork(id);
20
20
  const frame = useFrame();
21
21
  const asideContext = useAsideContentContext();
22
22
  const view = useViewContext();
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkErrorList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OA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3B,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,QAAQ;QAChB,IAAI,CAAC,eAAe,EAAE,CAAC;IACxB,CAAC;IAED,SAAS,WAAW,CAAC,EAAU;;QAC9B,WAAW,CAAC,EAAE,CAAC,CAAC;QAChB,IAAI,KAAK,CAAC,WAAW;YAAE,KAAK,CAAC,WAAW,CAAC,EAAE,EAAE,MAAA,IAAI,CAAC,QAAQ,0CAAE,EAAE,CAAC,CAAC;QAChE,IAAI,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,gBAAgB,EAAE,CAAC;YACrC,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAC3B,CAAC;aAAM,CAAC;YACP,SAAS;iBACR,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,CACtB,oBAAC,uBAAuB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,MAAA,IAAI,CAAC,QAAQ,0CAAE,EAAE,GAAI,EAClE;oBACC,IAAI,EAAE,KAAK,IAAI,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,MAAK,SAAS,IAAI,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,CAAA,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;iBACnE,CACD,CAAA,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,aAAa,CAAC,YAAY,GAAG;IAC5B,SAAS,EAAE,QAAQ;IACnB,SAAS,EAAE,IAAI;CACf,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -19,7 +19,7 @@ const WorkList = (props) => {
19
19
  const [workTotal, setWorkTotal] = useState(0);
20
20
  const [workTypeList, setWorkTypeList] = useState([]);
21
21
  const documentStore = useDocumentStore();
22
- const workType = useWorkType(typesId, { reload: false });
22
+ const workType = useWorkType(typesId);
23
23
  const list = useCreateListDataState({
24
24
  filterDefaults: {
25
25
  includes: "tags",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAa,WAAW,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,cAAc,CAAC;AAmCtB,MAAM,QAAQ,GAAG,CAAC,KAAoB,EAAE,EAAE;IACzC,MAAM,EACL,OAAO,EACP,OAAO,EACP,WAAW,EACX,MAAM,EACN,SAAS,EACT,OAAO,EACP,OAAO,EACP,SAAS,EACT,SAAS,EACT,KAAK,GACL,GAAG,KAAK,CAAC;IACV,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC7C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC9C,MAAM,CA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YAAY,GAAG;IACvB,SAAS,EAAE,IAAI;CACf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -15,7 +15,7 @@ const WorkQATab = (props) => {
15
15
  const { id } = props;
16
16
  const [visible, setVisible] = useState(false);
17
17
  const asideContext = useAsideContentContext();
18
- const work = useWork(props.id, { reload: false });
18
+ const work = useWork(props.id);
19
19
  return observe(() => {
20
20
  var _a;
21
21
  return (React.createElement("div", { className: styles["work-qa-tab"] },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkQATab/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEpE,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,kBAAkB,MAAM,8CAA8C,CAAC;AAC9E,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AAEjE,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC3C,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAC9C,MAAM,IAAI,GAAG,OAAO,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAElD,OAAO,OAAO,CAAC,G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,MAAM,EAAE,EAAE,EACV,UAAU,EAAE,MAAA,IAAI,CAAC,QAAQ,0CAAE,EAAG,EAC9B,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EACjC,YAAY,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GACpC,CACF,CACI,CACN,CAAA;KAAA,CAAC,CAAC;IAEH,+BAA+B;IAC/B,SAAS,WAAW,CAAC,EAAU;;QAC9B,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,CAAC,oBAAC,uBAAuB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,MAAA,IAAI,CAAC,QAAQ,0CAAE,EAAE,GAAI,EAAE;YAC3F,IAAI,EAAE,EAAE;SACR,CAAC,CAAC;IACJ,CAAC;IAED,SAAS,mBAAmB,CAAC,EAAU;QACtC,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,CAAC,oBAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,GAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -8,7 +8,7 @@ import classnames from "classnames";
8
8
  import styles from "../../../../workspace/components/WorkspaceIcon/index.less";
9
9
  const WorkTypeIcon = (props) => {
10
10
  const { id, active } = props;
11
- const worktype = useWorkType(id, { reload: false });
11
+ const worktype = useWorkType(id);
12
12
  return observe(() => (React.createElement(Card, { className: classnames(styles["diamond-common-style"], { active: active }), padding: "15px 12px", shadow: false, hoverShadow: false },
13
13
  React.createElement("div", { className: classnames("diamond-icon"), style: { backgroundColor: "#EE6868" } },
14
14
  React.createElement(FAIcon, { icon: faFileAlt, className: "diamond-icon-fa" })),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO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AO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,2DAA2D,CAAC;AAE/E,MAAM,YAAY,GAAG,CAAC,KAMrB,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAC7B,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAG,CAAC,CAAC;IAElC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,IAAI,IACJ,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,sBAAsB,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,EACzE,OAAO,EAAC,WAAW,EACnB,MAAM,EAAE,KAAK,EACb,WAAW,EAAE,KAAK;QAElB,6BAAK,SAAS,EAAE,UAAU,CAAC,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE;YAChF,oBAAC,MAAM,IAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAC,iBAAiB,GAAG,CAClD;QACN,6BAAK,SAAS,EAAC,cAAc,IAAE,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,CAAO,CAC9C,CACP,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -17,7 +17,7 @@ const WorkTypePropertiesView = (props) => {
17
17
  const store = useWorkTypeStore();
18
18
  const docStore = useDocumentStore();
19
19
  const [state] = useState(new State(id, store));
20
- const worktype = useWorkType(id, { reload: false });
20
+ const worktype = useWorkType(id);
21
21
  useEffect(() => {
22
22
  runInAction(async () => {
23
23
  const doc = await docStore.loadAccess(props.id);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypePropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAE7E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,0BAA0B,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE,MAAM,sBAAsB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACxD,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,QAAQ,GAAG,gBAAgB,EAAE,CAAC;IACpC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,CAAC,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ACN,oBAAC,0BAA0B,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI;YAC5C,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAE,GAAI,CAClB,CACjB,CACI,CACgB,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypePropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAE7E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,0BAA0B,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE,MAAM,sBAAsB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACxD,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,QAA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AE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACjC,CACL,CACD,CACD;YACN,oBAAC,0BAA0B,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI;YAC5C,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAE,GAAI,CAClB,CACjB,CACI,CACgB,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -11,7 +11,7 @@ import styles from "./index.less";
11
11
  const colorList = ["#469CFF", "#FFCA61", "#EE6868", "#18BD85", "#7661E2", "#F78A70"];
12
12
  const WorkspaceIcon = (props) => {
13
13
  const { id, active } = props;
14
- const workspace = useWorkspace(id, { reload: false });
14
+ const workspace = useWorkspace(id);
15
15
  return observe(() => {
16
16
  var _a;
17
17
  return (React.createElement(Card, { className: classnames(styles["diamond-common-style"], { active: active }), padding: "15px 12px", shadow: false, hoverShadow: false },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/components/WorkspaceIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,SAAS,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SA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AAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,IAAI,KAAI,eAAe,CAAO,CAClE,CACP,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -12,7 +12,7 @@ const WorkspaceDefaultView = (props) => {
12
12
  const store = useWorkspaceStore();
13
13
  const [state] = useState(new State(id, store));
14
14
  const [asideContext] = useState(AsideContent.createContext());
15
- const workspace = useWorkspace(id, { reload: false });
15
+ const workspace = useWorkspace(id);
16
16
  return observe(() => (React.createElement(AsideContent, { context: asideContext },
17
17
  React.createElement("div", { className: "module-detail-view workspace-default-view" },
18
18
  React.createElement("div", { className: "workspace-header" },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspaceDefaultView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE7E,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAE/E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,gBAAgB,MAAM,qDAAqD,CAAC;AACnF,OAAO,sBAAsB,MAAM,2DAA2D,CAAC;AAC/F,OAAO,4BAA4B,MAAM,6CAA6C,CAAC;AAEvF,MAAM,oBAAoB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACtD,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,KAAK,GAAG,iBAAiB,EAAE,CAAC;IAClC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC;IAC/C,MAAM,CAAC,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,GACzE,CACG,CACD;YACN,oBAAC,4BAA4B,IAAC,EAAE,EAAE,EAAE,GAAI;YACxC,6CAAmB;YAEnB,6BAAK,SAAS,EAAC,eAAe;gBAC7B,oBAAC,gBAAgB,IAAC,WAAW,EAAE,EAAE,EAAE,WAAW,EAAE,WAAW,GAAI,CAC1D,CACD,CACQ,CACf,CAAC,CAAC;IAEH,SAAS,WAAW,CAAC,IAAe;QACnC,YAAY,CAAC,SAAS,CAAC,oBAAC,sBAAsB,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "5.0.54",
3
+ "version": "6.0.0",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,8 +37,8 @@
37
37
  "@fullcalendar/interaction": "6.x",
38
38
  "@fullcalendar/react": "6.x",
39
39
  "@fullcalendar/timegrid": "6.x",
40
- "@voplus/morpho-collaboration-action": "5.x",
41
- "@voplus/morpho-report": "5.x",
40
+ "@voplus/morpho-collaboration-action": "6.x",
41
+ "@voplus/morpho-report": "6.x",
42
42
  "react-beautiful-dnd": "^13.1.0",
43
43
  "swiper": "9.x",
44
44
  "tippy.js": "^5.1.4"
@@ -46,7 +46,7 @@
46
46
  "devDependencies": {
47
47
  "@types/mockjs": "^1.0.3",
48
48
  "@types/react-beautiful-dnd": "^13.0.0",
49
- "@voplus/morpho-client-test": "5.x",
49
+ "@voplus/morpho-client-test": "6.x",
50
50
  "@voplus/morpho-build": "5.x",
51
51
  "@voplus/morpho-storybook": "6.x",
52
52
  "@voplus/morpho-test": "2.x",