@voplus/morpho-workspace 5.0.54 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/es/data/board/hooks.js +2 -2
- package/es/data/board/hooks.js.map +1 -1
- package/es/data/calendar/CalendarStore.d.ts +2 -4
- package/es/data/calendar/CalendarStore.js.map +1 -1
- package/es/data/calendar/hooks.js +1 -1
- package/es/data/calendar/hooks.js.map +1 -1
- package/es/data/meeting/MeetingStore.d.ts +1 -1
- package/es/data/meeting/hooks.js +3 -3
- package/es/data/meeting/hooks.js.map +1 -1
- package/es/data/notification/hooks.js +1 -1
- package/es/data/notification/hooks.js.map +1 -1
- package/es/data/work/hook.js +1 -1
- package/es/data/work/hook.js.map +1 -1
- package/es/data/work-schedule/hooks.js +1 -1
- package/es/data/work-schedule/hooks.js.map +1 -1
- package/es/data/workerror/hook.js +1 -1
- package/es/data/workerror/hook.js.map +1 -1
- package/es/data/workspace/hooks.js +1 -1
- package/es/data/workspace/hooks.js.map +1 -1
- package/es/data/worktype/hook.js +1 -1
- package/es/data/worktype/hook.js.map +1 -1
- package/es/modules/board/components/Board/index.js +1 -1
- package/es/modules/board/components/Board/index.js.map +1 -1
- package/es/modules/board/components/BoardPropertiesView/index.js +0 -2
- package/es/modules/board/components/BoardPropertiesView/index.js.map +1 -1
- package/es/modules/board/pages/BoardViewList/index.js +2 -2
- package/es/modules/board/pages/BoardViewList/index.js.map +1 -1
- package/es/modules/calendar/components/ActionCard/index.js +1 -1
- package/es/modules/calendar/components/ActionCard/index.js.map +1 -1
- package/es/modules/project/data/hook.js +1 -1
- package/es/modules/project/data/hook.js.map +1 -1
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js +1 -1
- package/es/modules/tasks/components/TaskItem/DefaultTaskItem.js.map +1 -1
- package/es/modules/tasks/components/TaskPropertiesView/index.js +1 -1
- package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js +1 -1
- package/es/modules/tasks/components/TaskQuickViewDialog/index.js.map +1 -1
- package/es/modules/work/components/NewWorkErrorDialog/index.js +5 -1
- package/es/modules/work/components/NewWorkErrorDialog/index.js.map +1 -1
- package/es/modules/work/components/NewWorkErrorDialog/state.js +1 -1
- package/es/modules/work/components/NewWorkErrorDialog/state.js.map +1 -1
- package/es/modules/work/components/WorkErrorItem/index.js +2 -2
- package/es/modules/work/components/WorkErrorItem/index.js.map +1 -1
- package/es/modules/work/components/WorkErrorList/index.js +1 -1
- package/es/modules/work/components/WorkErrorList/index.js.map +1 -1
- package/es/modules/work/components/WorkErrorPropertiesView/index.js +1 -1
- package/es/modules/work/components/WorkErrorPropertiesView/index.js.map +1 -1
- package/es/modules/work/components/WorkErrorPropertiesView/index.less +19 -13
- package/es/modules/work/components/WorkErrorQuickViewDialog/index.js +1 -1
- package/es/modules/work/components/WorkErrorQuickViewDialog/index.js.map +1 -1
- package/es/modules/work/components/WorkErrorQuickViewDialog/index.less +14 -8
- package/es/modules/work/components/WorkList/index.js +1 -1
- package/es/modules/work/components/WorkList/index.js.map +1 -1
- package/es/modules/work/components/WorkQATab/index.js +1 -1
- package/es/modules/work/components/WorkQATab/index.js.map +1 -1
- package/es/modules/work/components/WorkQuickViewDialog/index.js.map +1 -1
- package/es/modules/work/components/WorkQuickViewDialog/index.less +3 -0
- package/es/modules/work/controls/WorkMenu/item/Accept.js +9 -5
- package/es/modules/work/controls/WorkMenu/item/Accept.js.map +1 -1
- package/es/modules/work/controls/WorkMenu/item/Reject.js +10 -6
- package/es/modules/work/controls/WorkMenu/item/Reject.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js +2 -2
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeIcon/index.js +1 -1
- package/es/modules/work/work-type/components/WorkTypeIcon/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypePropertiesView/index.js +1 -1
- package/es/modules/work/work-type/components/WorkTypePropertiesView/index.js.map +1 -1
- package/es/modules/workspace/components/WorkspaceIcon/index.js +1 -1
- package/es/modules/workspace/components/WorkspaceIcon/index.js.map +1 -1
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.js +1 -1
- package/es/modules/workspace/pages/WorkspaceDefaultView/index.js.map +1 -1
- package/package.json +4 -4
package/es/data/board/hooks.js
CHANGED
@@ -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,
|
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,
|
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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O,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,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,
|
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;AAC5F,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAOlD,OAAO,SAAS,MAAM,WAAW,CAAC;AAElC,MAAM,SAAS,GAAG,eAAe,CAAC;AAwBlC,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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AC,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"}
|
@@ -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,
|
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,
|
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,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;;;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,mBAAmB,CAAC,IAAI,EAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;QAC1F,IAAI;KACJ,CAAC,CAAC;AACJ,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<
|
12
|
+
loadTaskList(id: string, options?: LoadDocumentOptions): Promise<any>;
|
13
13
|
}
|
14
14
|
/** 响应钩子检索 MeetingStore */
|
15
15
|
export declare const useMeetingStore: () => MeetingStore;
|
package/es/data/meeting/hooks.js
CHANGED
@@ -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,
|
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,
|
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,
|
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"],"names":[],"mappings":"AAAA,OAAO,EAAqB,cAAc,EAAE,eAAe,EAAE,MAAM,GAAG,CAAC;AACvE,OAAO,EAGN,2BAA2B,EAC3B,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D;;;GAGG;AACH,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,
|
1
|
+
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/meeting/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,cAAc,EAAE,eAAe,EAAE,MAAM,GAAG,CAAC;AACvE,OAAO,EAGN,2BAA2B,EAC3B,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,qBA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K,CAAC,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"}
|
@@ -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,
|
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,
|
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"}
|
package/es/data/work/hook.js
CHANGED
@@ -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,
|
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.
|
package/es/data/work/hook.js.map
CHANGED
@@ -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,
|
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"}
|
@@ -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,
|
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,
|
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,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,MAA4C,EAC5C,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IACrC,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"}
|
@@ -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,
|
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,
|
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,CAAC,iBAAiB,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,iBAAiB,CAAC,EACxD,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,iBAAiB,EAAE,CAAC;IAElC,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"}
|
@@ -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,
|
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,
|
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,CAAC,iBAAiB,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,iBAAiB,CAAC,EACxD,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,iBAAiB,EAAE,CAAC;IAElC,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"}
|
package/es/data/worktype/hook.js
CHANGED
@@ -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,
|
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;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AI,CAAC,CAAC,CAAC;AAC9F,CAAC,CAAC"}
|
@@ -28,7 +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
|
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,M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,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;
|
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,KA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AC5E;qBACD;oBACD;wBACC,GAAG,EAAE,OAAO;wBACZ,KAAK,EAAE,OAAO;wBACd,QAAQ,EAAE,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"}
|
@@ -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
|
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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C,OAAO,EAAE,YAAmB,IAAG,OAAO,CAAgB,CACjE,CAClB,CACN,CAAC,CAAC;IAEH,SAAS,WAAW,CAAC,QAAgB,EAAE,IAAY,EAAE,IAAY;QAChE,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,CACtB,oBAAC,qBAAqB,IACrB,QAAQ,EAAE,QAAQ,EAClB,IAAI,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
|
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,
|
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"}
|
@@ -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,
|
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":"AAAA,OAAO,EAGN,2BAA2B,EAC3B,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,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,
|
1
|
+
{"version":3,"file":"hook.js","sourceRoot":"","sources":["../../../../src/modules/project/data/hook.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,2BAA2B,EAC3B,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,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, {
|
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/DefaultTaskItem.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,QAAQ,MAAM,yDAAyD,CAAC;AAC/E,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAE7D,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,eAAe,GAAG,CAAC,KAAoB,EAAE,EAAE;IAChD,MAAM,EAAE,EAAE,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IAExC,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IAEzC,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IAEjC,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,EAAE,EAAE,
|
1
|
+
{"version":3,"file":"DefaultTaskItem.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskItem/DefaultTaskIt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X,IAAI,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC,GAC5D,CACG;gBACN,oBAAC,eAAe,IACf,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,CAAC,IAAI,CAAC,QAAQ,EACxB,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE;wBAC9B,aAAa,CAAC,UAAU,CAAC,CAAC;wBAC1B,MAAM,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;4BAC7B,IAAI,EAAE,EAAE,UAAU,EAAE;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, {
|
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,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oBAClC,oBAAC,OAAO,OAAG,CACF,EAEX,kBAAkB,EAAE,KAAK,GACxB;YACF,oBAAC,QAAQ,IAAC,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"}
|
@@ -15,7 +15,7 @@ import styles from "./index.less";
|
|
15
15
|
const TaskQuickViewDialog = (props) => {
|
16
16
|
const { id } = props;
|
17
17
|
const meta = useMetaStore();
|
18
|
-
const task = useTask(id, {
|
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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AE,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"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
|
-
import { Col, Form, Row } from "antd";
|
2
|
+
import { Col, Form, Row, message } from "antd";
|
3
3
|
import { State } from "./state";
|
4
4
|
import { observe, UTCDatePicker as DatePicker } from "@voplus/morpho-ui";
|
5
5
|
import { runInAction } from "mobx";
|
@@ -43,6 +43,10 @@ const NewWorkErrorDialog = (props) => {
|
|
43
43
|
React.createElement(ProseMirror, { toolbarProps: { sticky: false }, scroll: true, className: "proseMirror", onChange: (opt) => (state.params.Description =
|
44
44
|
opt.editor.dom.innerHTML === "<p><br></p>" ? "" : opt.editor.dom.innerHTML) }))))))));
|
45
45
|
async function onSubmit() {
|
46
|
+
if (!state.params.Type) {
|
47
|
+
message.warning("The error type cannot be empty !");
|
48
|
+
return;
|
49
|
+
}
|
46
50
|
// if (!state.params.Name) return message.warning("Title is required");
|
47
51
|
runInAction(() => (state.loading = true));
|
48
52
|
await store.create({
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkErrorDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkErrorDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,KAAK,MAAM,uCAAuC,CAAC;AAC1D,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,kBAAkB,GAAG,CAAC,KAS3B,EAAE,EAAE;IACJ,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IACrC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,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C,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;YACxB,OAAO,CAAC,OAAO,CAAC,kCAAkC,CAAC,CAAC;YACpD,OAAO;QACR,CAAC;QACD,uEAAuE;QACvE,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,MAAM,EAAE,MAAM,EAAE;YACzC,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,IAAI,KAAK,CAAC,YAAY;YAAE,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1D,CAAC;IACD,mBAAmB;IACnB,SAAS,QAAQ;QAChB,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;QACjD,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkErrorDialog/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IACjB;QAGO;;;;mBAAS;gBACf,IAAI,EAAE,EAAE;gBACR,QAAQ,EAAE,IAAI;gBACd,YAAY,EAAE,EAAE;gBAChB,SAAS,
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkErrorDialog/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IACjB;QAGO;;;;mBAAS;gBACf,IAAI,EAAE,EAAE;gBACR,QAAQ,EAAE,IAAI;gBACd,YAAY,EAAE,EAAE;gBAChB,SAAS,EAAE,EAAc;gBACzB,WAAW,EAAE,EAAE;aACf;WAAC;QACiB;;;;mBAAS,IAAI,CAAC,MAAM;WAAC;QACrB;;;;mBAAU,KAAK;WAAC;QAVlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAUD;AAFmB;IAAlB,UAAU;qCAA6B;AACrB;IAAlB,UAAU;sCAAwB"}
|
@@ -5,7 +5,7 @@ import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
5
5
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
6
6
|
import WorkErrorMenu from "../../controls/WorkErrorMenu";
|
7
7
|
import classnames from "classnames";
|
8
|
-
import
|
8
|
+
import dayjs from "dayjs";
|
9
9
|
import { observe } from "@voplus/morpho-ui";
|
10
10
|
import "./index.less";
|
11
11
|
import { useApplicationContext } from "@voplus/morpho-data";
|
@@ -20,7 +20,7 @@ const WorkErrorItem = (props) => {
|
|
20
20
|
React.createElement("div", null,
|
21
21
|
React.createElement("div", { className: "workerror-info" }, workError.type),
|
22
22
|
React.createElement(Tag, { color: "purple" }, workError.severity)),
|
23
|
-
React.createElement("div", { className: "workerror-date" },
|
23
|
+
React.createElement("div", { className: "workerror-date" }, workError.incidentDate ? dayjs(workError.incidentDate).format("DD MMM yyyy") : null)),
|
24
24
|
React.createElement(Col, { flex: 2, className: "workerror-causers" },
|
25
25
|
React.createElement(AvatarList, { organizationId: user.info.organizationId, list: workError.causers || [], editable: false }))),
|
26
26
|
React.createElement("div", { className: classnames("hover-operate-icon", {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkErrorItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,UAAU,MAAM,6CAA6C,CAAC;AAErE,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,aAAa,MAAM,8BAA8B,CAAC;AACzD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkErrorItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,UAAU,MAAM,6CAA6C,CAAC;AAErE,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,aAAa,MAAM,8BAA8B,CAAC;AACzD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,aAAa,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC/C,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IAEzC,MAAM,SAAS,GAAG,YAAY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C,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACxC,CACL,CACD,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,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
|
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,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEvF,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,uBAAuB,MAAM,4BAA4B,CAAC;AACjE,OAAO,wBAAwB,MAAM,6BAA6B,CAAC;AACnE,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,kEAAkE,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,uB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AI,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"}
|
@@ -21,7 +21,7 @@ const WorkErrorPropertiesView = (props) => {
|
|
21
21
|
React.createElement("div", { className: styles["workerror-properties-view"] },
|
22
22
|
workerror.loaded !== true ? (React.createElement(Skeleton, { active: true })) : (React.createElement("div", { className: "workerror-header" },
|
23
23
|
React.createElement("div", { className: "workerror-header-content" },
|
24
|
-
React.createElement("div", { className: "
|
24
|
+
React.createElement("div", { className: "workerror-header-title" },
|
25
25
|
React.createElement("div", { className: "workerror-info" }, workerror.type),
|
26
26
|
React.createElement(Tag, { color: "purple" }, workerror.severity)),
|
27
27
|
React.createElement(ToolBar, { id: props.id, showMenu: false },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mod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E,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBAChE,CAAC,GACA,CACG,CACN;YACD,oBAAC,aAAa,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,SAAG,CAC9B,CACgB,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
@@ -9,21 +9,27 @@
|
|
9
9
|
.workerror-header-content {
|
10
10
|
display: flex;
|
11
11
|
justify-content: space-between;
|
12
|
-
}
|
13
12
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
13
|
+
.workerror-header-title {
|
14
|
+
display: flex;
|
15
|
+
align-items: center;
|
16
|
+
|
17
|
+
.workerror-info {
|
18
|
+
display: inline-block;
|
19
|
+
color: #000;
|
20
|
+
font-size: 24px;
|
21
|
+
font-weight: 500;
|
22
|
+
cursor: pointer;
|
23
|
+
padding-right: 5px;
|
24
|
+
}
|
21
25
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
26
|
+
.ant-tag {
|
27
|
+
padding: 0 5px;
|
28
|
+
font-size: 12px;
|
29
|
+
line-height: 15px;
|
30
|
+
margin-left: 8px;
|
31
|
+
}
|
32
|
+
}
|
27
33
|
}
|
28
34
|
}
|
29
35
|
|
@@ -12,7 +12,7 @@ const WorkErrorQuickViewDialog = (props) => {
|
|
12
12
|
const { id, workTypeId } = props;
|
13
13
|
const workerror = useWorkError(id);
|
14
14
|
return observe(() => (React.createElement(QuickViewDialog, { id: props.id, visible: props.visible, onCancel: props.onCancel, className: "workerror-quick-view", header: React.createElement("div", { className: "workerror-header" },
|
15
|
-
React.createElement("div",
|
15
|
+
React.createElement("div", { className: "workerror-header-title" },
|
16
16
|
React.createElement("div", { className: "workerror-info" }, workerror.type),
|
17
17
|
React.createElement(Tag, { color: "purple" }, workerror.severity)),
|
18
18
|
React.createElement(ToolBar, { id: props.id, showMenu: false },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkErrorQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,aAAa,MAAM,8BAA8B,CAAC;AACzD,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,wBAAwB,GAAG,CAAC,KAOjC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IACjC,MAAM,SAAS,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;IAEnC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,eAAe,IACf,EAAE,EAAE,KAAK,CAAC,EAAE,EACZ,OAAO,EAAE,KAAK,CAAC,OAAO,EACtB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,SAAS,EAAC,sBAAsB,EAChC,MAAM,EACL,6BAAK,SAAS,EAAC,kBAAkB;YAChC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkErrorQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,C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AACJ,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
@@ -6,16 +6,22 @@
|
|
6
6
|
display: flex;
|
7
7
|
justify-content: space-between;
|
8
8
|
|
9
|
-
.
|
10
|
-
|
9
|
+
.workerror-header-title {
|
10
|
+
display: flex;
|
11
|
+
align-items: center;
|
12
|
+
|
13
|
+
.workerror-info {
|
14
|
+
display: inline-block;
|
15
|
+
color: #000;
|
16
|
+
font-size: 24px;
|
17
|
+
font-weight: 500;
|
18
|
+
cursor: pointer;
|
19
|
+
padding-right: 5px;
|
20
|
+
}
|
11
21
|
}
|
12
22
|
|
13
|
-
.
|
14
|
-
|
15
|
-
color: #000;
|
16
|
-
font-size: 24px;
|
17
|
-
font-weight: 500;
|
18
|
-
cursor: pointer;
|
23
|
+
.tools-bar {
|
24
|
+
text-align: right;
|
19
25
|
}
|
20
26
|
}
|
21
27
|
}
|
@@ -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
|
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;AACj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EAAE,CAAC;IACX,CAAC;IAED,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,QAAQ,CAAC,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
|
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,OAA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AK,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,CACV,oBAAC,QAAQ,IACR,SAAS,EAAE,YAAY,EACvB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,EAAE,EACZ,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,EAAS,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAC3D,CACF,CACgB,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"}
|
@@ -1,13 +1,14 @@
|
|
1
|
+
import React, { useState } from "react";
|
1
2
|
import { useWork, useWorkStore } from "../../../../../data/work";
|
2
3
|
import { useDocumentMenuContext } from "@voplus/morpho-document-core";
|
3
4
|
import { Button } from "antd";
|
4
5
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
5
|
-
import React from "react";
|
6
6
|
import { faVoteYea } from "@fortawesome/pro-light-svg-icons";
|
7
7
|
import { observe } from "@voplus/morpho-ui";
|
8
8
|
import { useApplicationContext } from "@voplus/morpho-data";
|
9
9
|
const Accept = (props) => {
|
10
10
|
const { disabled, action, className } = props;
|
11
|
+
const [loading, setLoading] = useState(false);
|
11
12
|
const context = useDocumentMenuContext();
|
12
13
|
const { user } = useApplicationContext();
|
13
14
|
const store = useWorkStore();
|
@@ -17,12 +18,15 @@ const Accept = (props) => {
|
|
17
18
|
});
|
18
19
|
return observe(() => {
|
19
20
|
var _a;
|
20
|
-
return work.workStatus === "New" && ((_a = work.accepters) === null || _a === void 0 ? void 0 : _a.some((i) => i.id === user.info.unit.id)) ? (React.createElement(Button, { type: "link", disabled: disabled,
|
21
|
-
React.createElement(FAIcon, { icon: faVoteYea }),
|
21
|
+
return work.workStatus === "New" && ((_a = work.accepters) === null || _a === void 0 ? void 0 : _a.some((i) => i.id === user.info.unit.id)) ? (React.createElement(Button, { type: "link", className: className, disabled: disabled, loading: loading, onClick: onClick },
|
22
|
+
!loading && React.createElement(FAIcon, { icon: faVoteYea }),
|
22
23
|
React.createElement("span", null, "Accept"))) : null;
|
23
24
|
});
|
24
|
-
function onClick() {
|
25
|
-
|
25
|
+
async function onClick() {
|
26
|
+
var _a;
|
27
|
+
setLoading(true);
|
28
|
+
(_a = action === null || action === void 0 ? void 0 : action()) !== null && _a !== void 0 ? _a : (await store.accept(context.id, { error: "message" }));
|
29
|
+
setLoading(false);
|
26
30
|
}
|
27
31
|
};
|
28
32
|
export default Accept;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Accept.js","sourceRoot":"","sources":["../../../../../../src/modules/work/controls/WorkMenu/item/Accept.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,
|
1
|
+
{"version":3,"file":"Accept.js","sourceRoot":"","sources":["../../../../../../src/modules/work/controls/WorkMenu/item/Accept.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,kCA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;;QACrB,UAAU,CAAC,IAAI,CAAC,CAAC;QACjB,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,EAAI,mCAAI,CAAC,MAAM,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC;QACrE,UAAU,CAAC,KAAK,CAAC,CAAC;IACnB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
@@ -1,15 +1,16 @@
|
|
1
|
+
import React, { useState } from "react";
|
1
2
|
import { useWork, useWorkStore } from "../../../../../data/work";
|
2
3
|
import { useDocumentMenuContext } from "@voplus/morpho-document-core";
|
3
4
|
import { Button } from "antd";
|
4
5
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
5
|
-
import React from "react";
|
6
6
|
import { faVoteNay } from "@fortawesome/pro-light-svg-icons";
|
7
7
|
import { observe } from "@voplus/morpho-ui";
|
8
8
|
import { useApplicationContext } from "@voplus/morpho-data";
|
9
9
|
const Reject = (props) => {
|
10
10
|
const { disabled, action, className } = props;
|
11
|
-
const
|
11
|
+
const [loading, setLoading] = useState(false);
|
12
12
|
const { user } = useApplicationContext();
|
13
|
+
const context = useDocumentMenuContext();
|
13
14
|
const store = useWorkStore();
|
14
15
|
const work = useWork(context.id, {
|
15
16
|
reload: (i) => !i.requester || !i.accepters,
|
@@ -17,12 +18,15 @@ const Reject = (props) => {
|
|
17
18
|
});
|
18
19
|
return observe(() => {
|
19
20
|
var _a;
|
20
|
-
return work.workStatus === "New" && ((_a = work.accepters) === null || _a === void 0 ? void 0 : _a.some((i) => i.id === user.info.unit.id)) ? (React.createElement(Button, { type: "link", disabled: disabled,
|
21
|
-
React.createElement(FAIcon, { icon: faVoteNay }),
|
21
|
+
return work.workStatus === "New" && ((_a = work.accepters) === null || _a === void 0 ? void 0 : _a.some((i) => i.id === user.info.unit.id)) ? (React.createElement(Button, { type: "link", className: className, disabled: disabled, loading: loading, onClick: onClick },
|
22
|
+
!loading && React.createElement(FAIcon, { icon: faVoteNay }),
|
22
23
|
React.createElement("span", null, "Reject"))) : null;
|
23
24
|
});
|
24
|
-
function onClick() {
|
25
|
-
|
25
|
+
async function onClick() {
|
26
|
+
var _a;
|
27
|
+
setLoading(true);
|
28
|
+
(_a = action === null || action === void 0 ? void 0 : action()) !== null && _a !== void 0 ? _a : (await store.reject(context.id, { error: "message" }));
|
29
|
+
setLoading(false);
|
26
30
|
}
|
27
31
|
};
|
28
32
|
export default Reject;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Reject.js","sourceRoot":"","sources":["../../../../../../src/modules/work/controls/WorkMenu/item/Reject.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,
|
1
|
+
{"version":3,"file":"Reject.js","sourceRoot":"","sources":["../../../../../../src/modules/work/controls/WorkMenu/item/Reject.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,MAAM,GAAG,CAAC,KAMf,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAE9C,MAAM,CAAC,OAAO,EAAE,UAAU,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Ae,MAAM,CAAC"}
|
@@ -21,7 +21,7 @@ const WorkScheduleItem = (props) => {
|
|
21
21
|
const [hover, setHover] = useState(false);
|
22
22
|
const [visibleQuickView, setVisibleQuickView] = useState(false);
|
23
23
|
return observe(() => {
|
24
|
-
var _a, _b, _c, _d, _e;
|
24
|
+
var _a, _b, _c, _d, _e, _f;
|
25
25
|
return (React.createElement("div", { className: classnames(styles["work-schedule-item"]), onClick: onQuickView, onMouseOver: () => setHover(true), onMouseLeave: () => setHover(false) },
|
26
26
|
workSchedule.loading ? (React.createElement(Skeleton, { avatar: avatar, paragraph: { rows: 1 } })) : (React.createElement(ColumnItem, null,
|
27
27
|
React.createElement(ColumnItemCol, { span: 10 },
|
@@ -43,7 +43,7 @@ const WorkScheduleItem = (props) => {
|
|
43
43
|
React.createElement(Open, { size: "middle", url: meta.getRoute(workSchedule) }),
|
44
44
|
React.createElement(WorkScheduleMenu, { id: id, closeAside: true })))))) : (React.createElement(React.Fragment, null,
|
45
45
|
React.createElement(ColumnItemCol, { span: 7, title: "Owner(s)" },
|
46
|
-
React.createElement("div", { className: "work-schedule-item-data-info text-sm text-gray-500 margin-right-15" }, workSchedule.owners.map((item) => (React.createElement("span", { key: item.id, className: "data-icon" },
|
46
|
+
React.createElement("div", { className: "work-schedule-item-data-info text-sm text-gray-500 margin-right-15" }, (_f = workSchedule.owners) === null || _f === void 0 ? void 0 : _f.map((item) => (React.createElement("span", { key: item.id, className: "data-icon" },
|
47
47
|
React.createElement(UnitReference, { unit: item })))))),
|
48
48
|
React.createElement(ColumnItemCol, { span: 7, align: "flex-end" },
|
49
49
|
React.createElement(UpDownStatusBar, { className: classnames("work-schedule-item-menus", { hide: hover }), upNode: React.createElement("div", { className: classnames("flex items-baseline text-xl font-semibold commission-amount") }, workSchedule.schedule && (React.createElement("span", null, moment(workSchedule === null || workSchedule === void 0 ? void 0 : workSchedule.schedule).format("YYYY-MM-DD")))), downNode: React.createElement("div", { className: "work-schedule-item-schedule" }, workSchedule.status)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E;oBAChB,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,UAAU;wBACvC,6BACC,SAAS,EAAE,UAAU,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EACjE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;gCACd,CAAC,CAAC,eAAe,EAAE,CAAC;gCACpB,QAAQ,CAAC,KAAK,CAAC,CAAC;4BACjB,CAAC;4BAED,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK;gCAC/B,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,YAAmB,CAAC,GAAI;gCAC/D,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACrC,CACL,CACS,CACd,CACH,CAAC,CAAC,CAAC,CACH;oBACC,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,UAAU;wBACvC,6BAAK,SAAS,EAAC,oEAAoE,IACjF,YAAY,CAAC,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E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AAmB,CAAC,GAAI;gCAC/D,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACrC,CACL,CACS,CACd,CACH,CACW,CACb;YACA,gBAAgB,IAAI,CACpB,oBAAC,2BAA2B,IAAC,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,GAAI,CAC7E,CACI,CACN,CAAA;KAAA,CAAC,CAAC;IAEH,iBAAiB;IACjB,SAAS,WAAW;QACnB,IAAI,CAAC,SAAS;YAAE,OAAO;QACvB,mBAAmB,CAAC,CAAC,gBAAgB,CAAC,CAAC;IACxC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,gBAAgB,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
|
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,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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AE;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
|
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,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC;IAE/C,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,
|
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,gBA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AK,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GACxE;oBACF,6BAAK,SAAS,EAAC,WAAW;wBACzB,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK;4BAC/B,oBAAC,IAAI,IAAC,GAAG,EAAE,oBAAoB,EAAE,EAAE,GAAI;4BACvC,oBAAC,YAAY,IAAC,EAAE,EAAE,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
|
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,EAA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;IACJ,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAC7B,MAAM,SAAS,GAAG,YAAY,CAAC,EAAG,CAAC,CAAC;IAEpC,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,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;YAElB,oBAAC,KAAK,IAAC,KAAK,EAAE,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,KAAK,0CAAE,WAAW,EAAE,SAAS,EAAC,kBAAkB,GAAG;YAC5E,6BACC,SAAS,EAAE,UAAU,CAAC,cAAc,EAAE,EAAE,oBAAoB,EAAE,CAAC,EAAE,EAAE,CAAC;gBAGpE,oBAAC,MAAM,IAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,EAAE,SAAS,EAAC,iBAAiB,GAAG,CAChE;YACN,6BAAK,SAAS,EAAC,cAAc,IAAE,CAAA,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
|
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,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAC9D,MAAM,SAAS,GAAG,YAAY,CAAC,EAAE,
|
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,YA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,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": "
|
3
|
+
"version": "6.0.1",
|
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": "
|
41
|
-
"@voplus/morpho-report": "
|
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": "
|
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",
|