@voplus/morpho-workspace 6.0.0 → 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.d.ts +1 -4
- package/es/data/calendar/hooks.d.ts +1 -4
- package/es/data/notification/hooks.d.ts +1 -4
- package/es/data/work-schedule/hooks.d.ts +1 -4
- package/es/modules/project/data/hook.d.ts +1 -4
- 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/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/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/package.json +1 -1
package/es/data/board/hooks.d.ts
CHANGED
@@ -9,10 +9,7 @@ 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
|
13
|
-
loadCount?: number | undefined;
|
14
|
-
includesOption?: string[] | undefined;
|
15
|
-
};
|
12
|
+
export declare const useBoardColumn: (id: string, options?: LoadDocumentOptions) => import("@voplus/morpho-document-core").IDocument;
|
16
13
|
/** React hook to retrieve a list of boards
|
17
14
|
* @param effect - Effect callback to be ran after successful retrieved the list.
|
18
15
|
* @param options - Optional board list loading options.
|
@@ -5,10 +5,7 @@ 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
|
9
|
-
loadCount?: number | undefined;
|
10
|
-
includesOption?: string[] | undefined;
|
11
|
-
};
|
8
|
+
export declare const useCalendar: (id: string, options?: LoadCalendarOptions) => ICalendar;
|
12
9
|
/** React hook to retrieve a list of tasks
|
13
10
|
* @param effect - Effect callback to be ran after successful retrieved the list.
|
14
11
|
* @param options - Optional task list loading options.
|
@@ -1,8 +1,5 @@
|
|
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
|
5
|
-
loadCount?: number | undefined;
|
6
|
-
includesOption?: string[] | undefined;
|
7
|
-
};
|
4
|
+
export declare const useNotification: (id: string, options?: LoadNotificationOptions) => INotification;
|
8
5
|
export declare const useNotificationListEffect: (list: ListDataContextState<INotification> | null, effect: (list: INotification[], total?: number) => void, options?: LoadDocumentListOptions) => void;
|
@@ -6,8 +6,5 @@ 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
|
10
|
-
loadCount?: number | undefined;
|
11
|
-
includesOption?: string[] | undefined;
|
12
|
-
};
|
9
|
+
export declare const useWorkSchedule: (id: string, options?: LoadWorkScheduleOptions) => IWorkSchedule;
|
13
10
|
export declare const useWorkScheduleListEffect: (list: ListDataContextState<IWorkSchedule> | null, effect: (list: any[], total: number) => void, options?: LoadDocumentListOptions) => void;
|
@@ -1,10 +1,7 @@
|
|
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
|
5
|
-
loadCount?: number | undefined;
|
6
|
-
includesOption?: string[] | undefined;
|
7
|
-
};
|
4
|
+
export declare const useProject: (id: string, options?: LoadDocumentOptions) => import("@voplus/morpho-document-core").IDocument;
|
8
5
|
/** React hook to retrieve a list of tasks
|
9
6
|
* @param effect - Effect callback to be ran after successful retrieved the list.
|
10
7
|
* @param options - Optional task list loading options.
|
@@ -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,EA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,CAAC,GAAG,CAAC,SAAS,CAAC,GAE5E,CACS,CACI,CACX,CACF,CACC,CACR,CAAC,CAAC;IACH,KAAK,UAAU,QAAQ;QACtB,IAAI,CAAC,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,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C,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAE,eAAe,KAAK,CAAC,EAAE,EAAE,GAAI;gBACtD,oBAAC,aAAa,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACxC,CACL,CACD,CACN,CAAC,CAAC;AACJ,CAAC,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/modules/work/components/WorkErrorPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,aAAa,MAAM,8BAA8B,CAAC;AACzD,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,uBAAuB,GAAG,CAAC,KAKhC,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IACjC,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,gBAAgB,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,MAAM,SAAS,GAAG,YAAY,CAAC,EAAE,CAAC,CAAC;IACnC,MAAM,KAAK,GAAG,iBAAiB,EAAE,CAAC;IAClC,MAAM,EAAE,IAAI,EAAE,GAAG,qBAAqB,EAAE,CAAC;IAEzC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QAChC,6BAAK,SAAS,EAAE,MAAM,CAAC,2BAA2B,CAAC;YACjD,SAAS,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,CAC5B,oBAAC,QAAQ,IAAC,MAAM,SAAG,CACnB,CAAC,CAAC,CAAC,CACH,6BAAK,SAAS,EAAC,kBAAkB;gBAChC,6BAAK,SAAS,EAAC,0BAA0B;oBACxC,6BAAK,SAAS,EAAC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkErrorPropertiesView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAA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AC,GAAG,IAAC,KAAK,EAAC,QAAQ,IAAE,SAAS,CAAC,QAAQ,CAAO,CACzC;oBAEN,oBAAC,OAAO,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK;wBACrC,oBAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,GAAG,EAAE,eAAe,KAAK,CAAC,EAAE,EAAE,GAAI;wBACrD,oBAAC,aAAa,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACxC,CACL;gBACN,6BAAK,SAAS,EAAC,gBAAgB,IAAE,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAAO;gBACnF,oBAAC,UAAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,IAAI,EAAE,SAAS,CAAC,OAAO,IAAI,EAAE,EAC7B,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE;wBACjB,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,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,C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,CAAC,OAAO,EACtB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,SAAS,EAAC,sBAAsB,EAChC,MAAM,EACL,6BAAK,SAAS,EAAC,kBAAkB;YAChC,6BAAK,SAAS,EAAC,wBAAwB;gBACtC,6BAAK,SAAS,EAAC,gBAAgB,IAAE,SAAS,CAAC,IAAI,CAAO;gBACtD,oBAAC,GAAG,IAAC,KAAK,EAAC,QAAQ,IAAE,SAAS,CAAC,QAAQ,CAAO,CACzC;YAEN,oBAAC,OAAO,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK;gBACrC,oBAAC,IAAI,IAAC,GAAG,EAAE,eAAe,EAAE,EAAE,GAAI;gBAClC,oBAAC,aAAa,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACxC,CACL,EAEP,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;QAE1D,oBAAC,mBAAmB,IAAC,EAAE,EAAE,EAAE,GAAI,CACd,CAClB,CAAC,CAAC;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
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,QAAQ,MAAM,uCAAuC,CAAC;AAC7D,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,eAAe,MAAM,gCAAgC,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkQuickViewDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,QAAQ,MAAM,uCAAuC,CAAC;AAC7D,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,YAAY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AY,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,eAAe,IAAC,EAAE,EAAE,EAAE,GAAI;aACnC;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,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,MAA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,IACN,IAAI,EAAC,MAAM,EACX,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO;YAEf,CAAC,OAAO,IAAI,oBAAC,MAAM,IAAC,IAAI,EAAE,SAAS,GAAI;YACxC,2CAAmB,CACX,CACT,CAAC,CAAC,CAAC,IAAI,CAAA;KAAA,CACR,CAAC;IAEF,KAAK,UAAU,OAAO;;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,MAA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,OAAO;;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"}
|
@@ -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) }),
|
@@ -1 +1 @@
|
|
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,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,aAAa,MAAM,kEAAkE,CAAC;AAC7F,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,2BAA2B,MAAM,gCAAgC,CAAC;AACzE,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,gBAAgB,GAAG,CAAC,KAA4D,EAAE,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AE,CAAC,EAAE,KAAK,EAAC,MAAM;wBACnC,6BAAK,SAAS,EAAC,8BAA8B,IAAE,MAAA,YAAY,CAAC,IAAI,0CAAE,IAAI,CAAO,CAC9D;oBAChB,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,aAAa;wBAC1C,6BAAK,SAAS,EAAC,8BAA8B,IAAE,MAAA,YAAY,CAAC,IAAI,0CAAE,MAAM,CAAO,CAChE;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;AACr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