@voplus/morpho-workspace 6.0.83 → 6.0.85
Sign up to get free protection for your applications and to get access to all the features.
- package/es/controls/filters/WorkStatusFilter/index.js.map +1 -1
- package/es/data/notification/interfaces.d.ts +2 -2
- package/es/data/work/interfaces.d.ts +1 -1
- package/es/data/work-schedule/interfaces.d.ts +1 -1
- package/es/data/work-schedule/types.d.ts +2 -1
- package/es/data/workerror/types.d.ts +2 -1
- package/es/modules/notification/components/DocumentNotificationCard/index.js +3 -2
- package/es/modules/notification/components/DocumentNotificationCard/index.js.map +1 -1
- package/es/modules/notification/components/NotificationItem/index.js +3 -2
- package/es/modules/notification/components/NotificationItem/index.js.map +1 -1
- package/es/modules/work/components/WorkCashReport/index.js +8 -1
- package/es/modules/work/components/WorkCashReport/index.js.map +1 -1
- package/es/modules/work/components/WorkErrorItem/index.js +3 -2
- package/es/modules/work/components/WorkErrorItem/index.js.map +1 -1
- package/es/modules/work/components/WorkErrorProperties/index.js +1 -1
- package/es/modules/work/components/WorkErrorProperties/index.js.map +1 -1
- package/es/modules/work/components/WorkErrorPropertiesView/index.js +3 -2
- package/es/modules/work/components/WorkErrorPropertiesView/index.js.map +1 -1
- package/es/modules/work/components/WorkItem/index.js +2 -2
- package/es/modules/work/components/WorkItem/index.js.map +1 -1
- package/es/modules/work/components/WorksProperties/index.js +2 -1
- package/es/modules/work/components/WorksProperties/index.js.map +1 -1
- package/es/modules/work/controls/WorkDataIconBar/index.js +3 -3
- package/es/modules/work/controls/WorkDataIconBar/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleItem/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleProperties/index.js +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleProperties/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.js.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkStatusFilter/index.tsx"],"names":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N,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
@@ -14,7 +14,7 @@ export interface INotification extends ILoadable {
|
|
14
14
|
type: string;
|
15
15
|
status: NotificationStatus;
|
16
16
|
dismissDate?: Date;
|
17
|
-
createDate:
|
17
|
+
createDate: string;
|
18
18
|
}
|
19
19
|
/** 新的INotification corporate/customer里用 */
|
20
20
|
export interface INewNotification extends ILoadable {
|
@@ -24,7 +24,7 @@ export interface INewNotification extends ILoadable {
|
|
24
24
|
*/
|
25
25
|
draft: boolean;
|
26
26
|
dismissDate?: Date;
|
27
|
-
createDate:
|
27
|
+
createDate: string;
|
28
28
|
date?: Date;
|
29
29
|
recipients?: IRrecipient[];
|
30
30
|
channels?: ("Email" | "Instant Message")[];
|
@@ -4,7 +4,7 @@ import { ICheckListItem } from "../worktype";
|
|
4
4
|
export type WorkStatus = "Draft" | "New" | "Rejected" | "Active" | "Closed" | "Done";
|
5
5
|
export interface IWork extends IDocument {
|
6
6
|
/** due data of the work. */
|
7
|
-
due?:
|
7
|
+
due?: string;
|
8
8
|
/** checklist of the work. */
|
9
9
|
checkList: ICheckListItem[];
|
10
10
|
/** no of the work. */
|
@@ -2,6 +2,7 @@ import { LoadOptions, StoreActionOptions } from "@voplus/morpho-data";
|
|
2
2
|
import { DeleteDocumentOptions } from "@voplus/morpho-document-core";
|
3
3
|
import { IWorkSchedule } from "./interfaces";
|
4
4
|
import { CreateWorkOptions } from "../work";
|
5
|
+
import dayjs from "dayjs";
|
5
6
|
/** Custom load org contact options type */
|
6
7
|
export type LoadWorkScheduleOptions = {
|
7
8
|
/** Comma separated include options e.g. path */
|
@@ -13,7 +14,7 @@ export type WorkScheduleCreateOptions = {
|
|
13
14
|
};
|
14
15
|
export type WorkScheduleEditOptions = {
|
15
16
|
WorkTypeId?: string;
|
16
|
-
Schedule?: string;
|
17
|
+
Schedule?: dayjs.Dayjs | string;
|
17
18
|
OwnerIds?: string[];
|
18
19
|
};
|
19
20
|
export type CreateWorkOptionsOptions = {
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { LoadOptions, StoreActionOptions } from "@voplus/morpho-data";
|
2
2
|
import { IWorkError } from ".";
|
3
|
+
import dayjs from "dayjs";
|
3
4
|
export declare enum ErrorSeverity {
|
4
5
|
S0 = 0,
|
5
6
|
S1 = 1,
|
@@ -25,7 +26,7 @@ export type CreateWorkErrorDataOptions = {
|
|
25
26
|
/** list of causer's unit id */
|
26
27
|
CauserIds?: string[];
|
27
28
|
/** incident date of the error */
|
28
|
-
IncidentDate?: string;
|
29
|
+
IncidentDate?: dayjs.Dayjs | string;
|
29
30
|
};
|
30
31
|
export type CreateWorkErrorOptions = {
|
31
32
|
data: CreateWorkErrorDataOptions;
|
@@ -2,12 +2,12 @@ import { Button, Space } from "antd";
|
|
2
2
|
import { useNotification, } from "../../../../data/notification";
|
3
3
|
import { useApplicationContext } from "@voplus/morpho-data";
|
4
4
|
import Card from "@voplus/morpho-ui/es/controls/Card";
|
5
|
+
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
5
6
|
import { useAsideContentContext } from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
6
7
|
import ProseMirrorViewer from "@voplus/morpho-text/es/controls/ProseMirror/Viewer";
|
7
8
|
import React from "react";
|
8
9
|
import NotificaitonNewTaskForm from "../../../tasks/components/NotificaitonNewTaskForm";
|
9
10
|
import classnames from "classnames";
|
10
|
-
import dayjs from "dayjs";
|
11
11
|
import { observe } from "@voplus/morpho-ui";
|
12
12
|
import styles from "./index.less";
|
13
13
|
const DocumentNotificationCard = (props) => {
|
@@ -23,7 +23,8 @@ const DocumentNotificationCard = (props) => {
|
|
23
23
|
React.createElement("h3", null, (_a = notification.content) === null || _a === void 0 ? void 0 : _a.title),
|
24
24
|
React.createElement(ProseMirrorViewer, { html: (_b = notification.content) === null || _b === void 0 ? void 0 : _b.content }),
|
25
25
|
React.createElement("div", { className: "notification-footer" },
|
26
|
-
React.createElement("div", { className: "notification-date" },
|
26
|
+
React.createElement("div", { className: "notification-date" },
|
27
|
+
React.createElement(UTCShortDate, { value: notification.createDate, format: "DD MMM YYYY" })),
|
27
28
|
React.createElement("div", { className: "notification-btn" },
|
28
29
|
React.createElement(Space, null,
|
29
30
|
notification.status !== "Dismissed" && (React.createElement(Button, { className: "btn-task-form", onClick: (ev) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/DocumentNotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAGN,eAAe,GACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,uBAAuB,MAAM,mDAAmD,CAAC;AACxF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/DocumentNotificationCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAGN,eAAe,GACf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,KAAK,MAAM,OAAO,CAAC;A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 -7,7 +7,7 @@ import classnames from "classnames";
|
|
7
7
|
import React, { useState } from "react";
|
8
8
|
import { useNotifications } from "../../../../data/notification";
|
9
9
|
import Routes from "../../../Routes";
|
10
|
-
import
|
10
|
+
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
11
11
|
import NotificationMenu from "../../controls/NotificationMenu";
|
12
12
|
import PropertiesView from "../NotificationPropertiesView";
|
13
13
|
import NotificationQuickViewDialog from "../NotificationQuickViewDialog";
|
@@ -21,7 +21,8 @@ const NotificationItem = (props) => {
|
|
21
21
|
React.createElement(ColumnItem, { className: "notification-column-item" },
|
22
22
|
React.createElement(ColumnItemCol, { span: 10, label: "Subject" },
|
23
23
|
React.createElement("div", { className: "notification-item-name" }, notification.subject)),
|
24
|
-
React.createElement(ColumnItemCol, { span: 10, label: "Date" },
|
24
|
+
React.createElement(ColumnItemCol, { span: 10, label: "Date" },
|
25
|
+
React.createElement(UTCShortDate, { value: notification.createDate, format: "DD MMM YYYY" })),
|
25
26
|
React.createElement(ColumnItemCol, { span: 4, align: "flex-end" },
|
26
27
|
!hover && notification.draft ? (React.createElement(NotificationStatusLabel, { status: notification.draft ? "Draft" : "" })) : null,
|
27
28
|
React.createElement("div", { className: classnames("notification-item-tool", { show: hover }) },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,6CAA6C,CAAC;AACvE,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,6CAA6C,CAAC;AACvE,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,2BAA2B,MAAM,gCAAgC,CAAC;AACzE,OAAO,uBAAuB,MAAM,wCAAwC,CAAC;AAC7E,OAAO,cAAc,CAAC;AAEtB,MAAM,gBAAgB,GAAG,CAAC,KAAqB,EAAE,EAAE;IAClD,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,YAAY,GAAG,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAC1C,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE1C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,YAAY,IACZ,SAAS,EAAC,mBAAmB,EAC7B,WAAW,EAAE,GAAG,EAAE,CAAC,QAAQ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EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CAC5D,CACL,CACS,CACJ,CACC,CACf,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
@@ -49,7 +49,7 @@ const WorkCashReport = (props) => {
|
|
49
49
|
React.createElement("div", { className: styles["work-report-g2"] },
|
50
50
|
React.createElement(FilterOptionsContext.Provider, { value: list.filters },
|
51
51
|
React.createElement("div", { className: "work-report-header" },
|
52
|
-
React.createElement(SelectedFilterLabel, { filterKey: "WorkStatus" }),
|
52
|
+
React.createElement(SelectedFilterLabel, { filterKey: "WorkStatus", onFilter: (context) => filterStatus(context) }),
|
53
53
|
React.createElement("div", { className: "filter-component" },
|
54
54
|
React.createElement(FilterView, { className: "ml-2.5", icon: React.createElement(FAIcon, { icon: faBarsFilter, size: "lg" }), columns: [React.createElement(WorkStatusFilter, { key: "WorkStatusFilter", defaultValue: ["Active"] })], onFilter: onFilter, onReset: onReset })))),
|
55
55
|
React.createElement("div", { className: "work-report-content" },
|
@@ -58,11 +58,18 @@ const WorkCashReport = (props) => {
|
|
58
58
|
function onFilter(context) {
|
59
59
|
context.paging.Page = 1;
|
60
60
|
context.filter();
|
61
|
+
filterStatus(context);
|
61
62
|
}
|
62
63
|
function onReset(context) {
|
63
64
|
context.paging.Page = 1;
|
64
65
|
context.filter();
|
65
66
|
}
|
67
|
+
function filterStatus(context) {
|
68
|
+
var _a, _b, _c, _d;
|
69
|
+
const selectedLabel = (_a = context.selectedLabels) === null || _a === void 0 ? void 0 : _a.filter((i) => i.key === "WorkStatus");
|
70
|
+
const filterArr = (_c = (_b = selectedLabel[0]) === null || _b === void 0 ? void 0 : _b.label) === null || _c === void 0 ? void 0 : _c.map((i) => i.v1);
|
71
|
+
(_d = props.onFilterOutPut) === null || _d === void 0 ? void 0 : _d.call(props, filterArr);
|
72
|
+
}
|
66
73
|
};
|
67
74
|
export default WorkCashReport;
|
68
75
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkCashReport/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,KAAK,IAAI,eAAe,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkCashReport/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MA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4
|
import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
|
4
5
|
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
5
6
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
6
7
|
import WorkErrorMenu from "../../controls/WorkErrorMenu";
|
7
8
|
import classnames from "classnames";
|
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,8 @@ 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" },
|
24
|
+
React.createElement(UTCShortDate, { value: workError.incidentDate, format: "DD MMM YYYY" }))),
|
24
25
|
React.createElement(Col, { flex: 2, className: "workerror-causers" },
|
25
26
|
React.createElement(AvatarList, { organizationId: user.info.organizationId, list: workError.causers || [], editable: false }))),
|
26
27
|
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;
|
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;AACxC,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AAC,GAAG,IAAC,IAAI,EAAE,CAAC,EAAE,SAAS,EAAC,mBAAmB;gBAC1C,oBAAC,UAAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,IAAI,EAAE,SAAS,CAAC,OAAO,IAAI,EAAE,EAC7B,QAAQ,EAAE,KAAK,GACd,CACG,CACD;QACN,6BACC,SAAS,EAAE,UAAU,CAAC,oBAAoB,EAAE;gBAC3C,IAAI,EAAE,KAAK;aACX,CAAC;YAEF,oBAAC,OAAO,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK;gBACrC,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"}
|
@@ -52,7 +52,7 @@ const WorkErrorProperties = (props) => {
|
|
52
52
|
// date未变更不保存
|
53
53
|
if (dayjs(v).isSame(workerror.incidentDate, "day"))
|
54
54
|
return;
|
55
|
-
save({ IncidentDate:
|
55
|
+
save({ IncidentDate: v });
|
56
56
|
} }));
|
57
57
|
case "Causers":
|
58
58
|
return (React.createElement(AvatarList, { list: workerror.causers || [], multiple: true, buttonText: "Ok", organizationId: user.info.organizationId, onChange: (ids) => save({ CauserIds: ids }) }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkErrorProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAA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EAAE,KAAK,EAAE,CAAC,CAAC;4BAChC,KAAK,CAAC,eAAe,EAAE,CAAC;wBACzB,CAAC,EACD,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,eAAe,EAAE,GACpC,CACF,CAAC,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CACxB,8BAAM,SAAS,EAAC,kBAAkB,IAAE,SAAS,CAAC,QAAQ,CAAQ,CAC9D,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,gBAAgB,mBAAoB,CACpD,EAEF,eAAe,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,cAAc,EAAE,GAC5C,CACF,CAAC;YACH,KAAK,eAAe;gBACnB,OAAO,CACN,oBAAC,UAAU,IACV,YAAY,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS,EAChF,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CACd,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,CACxB,oBAAC,YAAY,IAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,SAAS,CAAC,YAAY,GAAI,CAC5E,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,gBAAgB,eAAgB,CAChD,EAEF,MAAM,EAAE,eAAe,EACvB,MAAM,EAAE,CAAC,CAAc,EAAE,EAAE;wBAC1B,aAAa;wBACb,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,YAAY,EAAE,KAAK,CAAC;4BAAE,OAAO;wBAC3D,IAAI,CAAC,EAAE,YAAY,EAAE,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkErrorProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE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AAE,SAAS,CAAC,OAAO,IAAI,EAAE,EAC7B,QAAQ,QACR,UAAU,EAAC,IAAI,EACf,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,QAAQ,EAAE,CAAC,GAAa,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,GACpD,CACF,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,mBAAmB,CAAC,YAAY,GAAG;IAClC,cAAc,EAAE,uBAAuB;IACvC,aAAa,EAAE,qBAAqB;IACpC,mBAAmB,EAAE;QACpB,EAAE,IAAI,EAAE,MAAM,EAAE;QAChB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,eAAe,EAAE;QACzB,EAAE,IAAI,EAAE,SAAS,EAAE;KACnB;CACD,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
@@ -3,11 +3,11 @@ import { Skeleton, Tag } from "antd";
|
|
3
3
|
import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
4
4
|
import { useWorkError, useWorkErrorStore } from "../../../../data/workerror";
|
5
5
|
import WorkErrorTabs from "../WorkErrorTabs";
|
6
|
+
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
6
7
|
import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
|
7
8
|
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
8
9
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
9
10
|
import WorkErrorMenu from "../../controls/WorkErrorMenu";
|
10
|
-
import dayjs from "dayjs";
|
11
11
|
import { observe } from "@voplus/morpho-ui";
|
12
12
|
import styles from "./index.less";
|
13
13
|
import { useApplicationContext } from "@voplus/morpho-data";
|
@@ -28,7 +28,8 @@ const WorkErrorPropertiesView = (props) => {
|
|
28
28
|
React.createElement(ToolBar, { id: props.id, showMenu: false },
|
29
29
|
React.createElement(Open, { size: "small", url: `/work-error/${props.id}` }),
|
30
30
|
React.createElement(WorkErrorMenu, { id: props.id, closeAside: true }))),
|
31
|
-
React.createElement("div", { className: "workerror-date" },
|
31
|
+
React.createElement("div", { className: "workerror-date" },
|
32
|
+
React.createElement(UTCShortDate, { value: workerror.due, format: "DD MMM YYYY" })),
|
32
33
|
React.createElement(AvatarList, { organizationId: user.info.organizationId, list: workerror.causers || [], onChange: (ids) => {
|
33
34
|
store.edit(id, { data: { CauserIds: ids }, error: "message" });
|
34
35
|
} }))),
|
@@ -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;
|
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,M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AAE,SAAS,CAAC,QAAQ,CAAO,CACzC;wBAEN,oBAAC,OAAO,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK;4BACrC,oBAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,GAAG,EAAE,eAAe,KAAK,CAAC,EAAE,EAAE,GAAI;4BACrD,oBAAC,aAAa,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACxC,CACL;oBACN,6BAAK,SAAS,EAAC,gBAAgB;wBAC9B,oBAAC,YAAY,IAAC,KAAK,EAAE,SAAS,CAAC,GAAG,EAAE,MAAM,EAAC,aAAa,GAAG,CACtD;oBACN,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;4BACjB,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;wBAChE,CAAC,GACA,CACG,CACI;YACX,oBAAC,aAAa,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,SAAG,CAC9B,CACgB,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { Tooltip, message } from "antd";
|
3
3
|
import { useWork, useWorkStore } from "../../../../data/work";
|
4
|
+
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
4
5
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
5
6
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
6
7
|
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
@@ -9,7 +10,6 @@ import WorkDataIconBar from "../../controls/WorkDataIconBar";
|
|
9
10
|
import WorkStatusLabel from "../../controls/WorkStatusLabel";
|
10
11
|
import classnames from "classnames";
|
11
12
|
import { faAlarmExclamation } from "@fortawesome/pro-light-svg-icons";
|
12
|
-
import dayjs from "dayjs";
|
13
13
|
import { observe } from "@voplus/morpho-ui";
|
14
14
|
import "./index.less";
|
15
15
|
import { useMetaStore } from "@voplus/morpho-document-core";
|
@@ -30,7 +30,7 @@ const WorkItem = (props) => {
|
|
30
30
|
work.workStatus !== "Rejected" && (React.createElement(Tooltip, { title: "Due Date" },
|
31
31
|
React.createElement("div", { className: "due-date-sub" },
|
32
32
|
React.createElement(FAIcon, { icon: faAlarmExclamation }),
|
33
|
-
React.createElement("span", { className: "margin-left-5" }, work.due ?
|
33
|
+
React.createElement("span", { className: "margin-left-5" }, work.due ? (React.createElement(UTCShortDate, { value: work.due, format: "DD MMM YYYY" })) : ("no data")))))),
|
34
34
|
React.createElement("div", { className: classnames("hover-operate-icon", {
|
35
35
|
show: hover,
|
36
36
|
}) },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC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C,UAAkB;QACzC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACvB,IAAI,EAAE,EAAE,UAAU,EAAE;YACpB,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE;gBACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YAC9B,CAAC;SACD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,QAAQ,CAAC,YAAY,GAAG;IACvB,eAAe,EAAE,SAAS;CAC1B,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -8,6 +8,7 @@ import { runInAction } from "mobx";
|
|
8
8
|
import Prop from "@voplus/morpho-ui/es/controls/Prop";
|
9
9
|
import DocumentProperties from "@voplus/morpho-document/es/components/DocumentProperties";
|
10
10
|
import NodeLink from "../../../../controls/NodeLink";
|
11
|
+
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
11
12
|
import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
|
12
13
|
import ToolBar from "@voplus/morpho-org/es/controls/ToolBar";
|
13
14
|
import UnitReference from "@voplus/morpho-org/es/controls/UnitReference/LoadedUnitReference";
|
@@ -66,7 +67,7 @@ const WorksProperties = (props) => {
|
|
66
67
|
case "Document":
|
67
68
|
return ((_a = work.document) === null || _a === void 0 ? void 0 : _a.id) ? React.createElement(DocumentReference, { file: work.document }) : noData;
|
68
69
|
case "Due":
|
69
|
-
return state.dueDateEditable ? (React.createElement(DatePicker, { defaultValue: dayjs(work.due), variant: "borderless", onChange: (date, dateString) => state.dueDateEdit(date, dateString) })) : (React.createElement("div", { onClick: () => runInAction(() => (state.dueDateEditable = true)) }, work.due ? (React.createElement(
|
70
|
+
return state.dueDateEditable ? (React.createElement(DatePicker, { defaultValue: dayjs(work.due), variant: "borderless", onChange: (date, dateString) => state.dueDateEdit(date, dateString) })) : (React.createElement("div", { onClick: () => runInAction(() => (state.dueDateEditable = true)) }, work.due ? (React.createElement(UTCShortDate, { className: "properties-value", value: work.due, format: "DD MMM YYYY" })) : (noData)));
|
70
71
|
case "Owner":
|
71
72
|
return (React.createElement(InlineEdit, { defaultValue: "", showEditIcon: true, editable: false, onEditIconClick: () => runInAction(() => (state.ownerEditable = true)), content: (v) => {
|
72
73
|
var _a;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorksProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EACN,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,aAAa,IAAI,UAAU,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,kBAEN,MAAM,0DAA0D,CAAC;AAClE,OAAO,QAAQ,MAAM,+BAA+B,CAAC;AACrD,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,aAAa,MAAM,kEAAkE,CAAC;AAC7F,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,UAAU,MAAM,yEAAyE,CAAC;AACjG,OAAO,kBAAkB,MAAM,mDAAmD,CAAC;AACnF,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,iBAAiB,MAAM,+EAA+E,CAAC;AAC9G,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,UAAU,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AC,iBAAiB,IAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAI,CAAC,CAAC,CAAC,MAAM,CAAC;YAChF,KAAK,KAAK;gBACT,OAAO,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAC9B,oBAAC,UAAU,IACV,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,EAC7B,OAAO,EAAC,YAAY,EACpB,QAAQ,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,UAAU,CAAC,GAClE,CACF,CAAC,CAAC,CAAC,CACH,6BAAK,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC,IACnE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CACX,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorksProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EACN,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,aAAa,IAAI,UAAU,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,kBAEN,MAAM,0DAA0D,CAAC;AAClE,OAAO,QAAQ,MAAM,+BAA+B,CAAC;AACrD,OAAO,YAAY,MAAM,4CAA4C,CAA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;CACD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { CommentDataIcon, DocumentDataIcon, UserQuickIcon, } from "@voplus/morpho-document/es/controls/data-icons";
|
2
2
|
import React, { useState } from "react";
|
3
|
+
import UTCShortDate from "@voplus/morpho-ui/es/controls/UTCShortDate";
|
3
4
|
import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
|
4
5
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
5
6
|
import { Tooltip } from "antd";
|
@@ -7,7 +8,6 @@ import { useCurrentContactContext } from "@voplus/morpho-document-core/es/data/c
|
|
7
8
|
import UnitReference from "@voplus/morpho-org/es/controls/UnitReference/LoadedUnitReference";
|
8
9
|
import WorkStatusDataIcon from "../WorkStatusDataIcon";
|
9
10
|
import { faAlarmExclamation } from "@fortawesome/pro-light-svg-icons";
|
10
|
-
import dayjs from "dayjs";
|
11
11
|
import { observe } from "@voplus/morpho-ui";
|
12
12
|
import { useWork } from "../../../../data/work";
|
13
13
|
const WorkDataIconBar = (props) => {
|
@@ -21,9 +21,9 @@ const WorkDataIconBar = (props) => {
|
|
21
21
|
dueDateVisible && (React.createElement(Tooltip, { title: "Due Date" },
|
22
22
|
React.createElement("span", { className: "due-date data-icon" },
|
23
23
|
React.createElement(FAIcon, { icon: faAlarmExclamation }),
|
24
|
-
work.due ?
|
24
|
+
work.due ? React.createElement(UTCShortDate, { value: work.due, format: "DD MMM YYYY" }) : "no data"))),
|
25
25
|
documentDateVisible && (React.createElement(Tooltip, { title: "Document Date" },
|
26
|
-
React.createElement("span", { className: "data-icon" }, work.date ?
|
26
|
+
React.createElement("span", { className: "data-icon" }, work.date ? React.createElement(UTCShortDate, { value: work.date, format: "DD MMM YYYY" }) : "no data"))),
|
27
27
|
React.createElement(DocumentDataIcon, { id: id }),
|
28
28
|
commentVisible && React.createElement(CommentDataIcon, { id: id }),
|
29
29
|
React.createElement(UserQuickIcon, { id: id }),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/controls/WorkDataIconBar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/controls/WorkDataIconBar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,eAAe,EACf,gBAAgB,EAChB,aAAa,GACb,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,wBAAwB,EAAE,MAAM,oEAAoE,CAAC;AAC9G,OAAO,aAAa,MAAM,kEAAkE,CAAC;AAC7F,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,MAAM,eAAe,GAAG,CAAC,KAMxB,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,mBAAmB,EAAE,cAAc,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IACzF,MAAM,OAAO,GAAG,wBAAwB,EAAE,CAAC;IAC3C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAA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CAAC,OAAO,GAAI,CAC/B,CACE,CACV;YACA,aAAa,IAAI,oBAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,GAAI,CACnC,CACd,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,eAAe,CAAC,OAAgB;QACxC,UAAU,CAAC,OAAO,CAAC,CAAC;IACrB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,CAAC,YAAY,GAAG;IAC9B,mBAAmB,EAAE,IAAI;IACzB,cAAc,EAAE,IAAI;CACpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -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,YAAY,MAAM,4CAA4C,CAAC;AACtE,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;AAEpC,OAAO,MAAM,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,KAAK,EAAC,UAAU;4BACvC,oBAAC,eAAe,IACf,SAAS,EAAE,UAAU,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAClE,MAAM,EACL,6BACC,SAAS,EAAE,UAAU,CACpB,6DAA6D,CAC7D;oCAED,oBAAC,YAAY,IAAC,KAAK,EAAE,YAAY,CAAC,
|
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,YAAY,MAAM,4CAA4C,CAAC;AACtE,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;AAEpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,gBAAgB,GAAG,CAAC,KAA4D,EAAE,EAAE;IACzF,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,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6BACC,SAAS,EAAE,UAAU,CACpB,6DAA6D,CAC7D;oCAED,oBAAC,YAAY,IAAC,KAAK,EAAE,YAAY,CAAC,QAAQ,GAAI,CACzC,EAEP,QAAQ,EACP,6BAAK,SAAS,EAAC,6BAA6B,IAAE,YAAY,CAAC,MAAM,CAAO,GAExE;4BACF,6BACC,SAAS,EAAE,UAAU,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EACjE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oCACd,CAAC,CAAC,eAAe,EAAE,CAAC;oCACpB,QAAQ,CAAC,KAAK,CAAC,CAAC;gCACjB,CAAC;gCAED,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK;oCAC/B,oBAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,YAAmB,CAAC,GAAI;oCAC/D,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACrC,CACL,CACS,CACd,CACH,CACW,CACH;YACV,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"}
|
@@ -46,7 +46,7 @@ const WorkScheduleProperties = (props) => {
|
|
46
46
|
if (workSchedule.schedule && dayjs(date).isSame(workSchedule.schedule, "day"))
|
47
47
|
return;
|
48
48
|
store.edit(props.id, {
|
49
|
-
data: { Schedule: date !== null ?
|
49
|
+
data: { Schedule: date !== null && date !== void 0 ? date : "" },
|
50
50
|
});
|
51
51
|
} }));
|
52
52
|
case "WorkType":
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,aAAa,MAAM,mDAAmD,CAAC;AAC9E,OAAO,WAAW,MAAM,4CAA4C,CAAC;AACrE,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,UAAU,MAAM,gDAAgD,CAAC;AACxE,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,uBAAuB,MAAM,oEAAoE,CAAC;AACzG,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,sBAAsB,GAAG,CAAC,KAK/B,EAAE,EAAE;IACJ,yCAAyC;IACzC,MAAM,OAAO,GAAG,yBAAyB,CAAC;IAE1C,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,GAAG,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C,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,OAAO,IAAI,CAAC,CAAC,IAAI,EAAE,IACjE,UAAU,CAAC,CAAC,CAAC,CACR,CACP,CAAC,GAEF,CACU,CACR,CACN,CAAA;KAAA,CAAC,CAAC;IAEH,SAAS,UAAU,CAAC,IAA6D;;QAChF,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YACnB,KAAK,UAAU;gBACd,OAAO,CACN,oBAAC,UAAU,IACV,YAAY,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,EAC9E,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CACd,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC,CACvB,oBAAC,YAAY,IAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,YAAY,CAAC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,aAAa,MAAM,mDAAmD,CAAC;AAC9E,OAAO,WAAW,MAAM,4CAA4C,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DAAoD,IACjE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CACjB,oBAAC,YAAY,IAAC,KAAK,EAAE,KAAK,CAAC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAiB,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC7F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,YAAY,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,kBAAkB,MAAM,mCAAmC,CAAC;AACnE,OAAO,2BAA2B,MAAM,gCAAgC,CAAC;AACzE,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAE/F,MAAM,wBAAwB,GAAG,CAAC,KAGjC,EAAE,EAAE;IACJ,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE1B,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAGrD,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC;IAE/B,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