@voplus/morpho-workspace 6.0.68 → 6.0.70
Sign up to get free protection for your applications and to get access to all the features.
- package/es/controls/filters/AssigneeViewFilter/index.js +3 -4
- package/es/controls/filters/AssigneeViewFilter/index.js.map +1 -1
- package/es/controls/filters/WorkStatusFilter/index.js +2 -8
- package/es/controls/filters/WorkStatusFilter/index.js.map +1 -1
- package/es/controls/filters/WorkStatusFilter/state.d.ts +10 -2
- package/es/controls/filters/WorkStatusFilter/state.js +46 -1
- package/es/controls/filters/WorkStatusFilter/state.js.map +1 -1
- package/es/data/notification/NotificationStore.d.ts +14 -8
- package/es/data/notification/NotificationStore.js +23 -5
- package/es/data/notification/NotificationStore.js.map +1 -1
- package/es/data/notification/hooks.d.ts +3 -3
- package/es/data/notification/hooks.js +3 -3
- package/es/data/notification/hooks.js.map +1 -1
- package/es/data/notification/interfaces.d.ts +11 -0
- package/es/data/notification/notification-events/useAutoUpdateListData.d.ts +2 -2
- package/es/data/notification/notification-events/useAutoUpdateListData.js.map +1 -1
- package/es/data/notification/notification-events/useOnDeleteNotification.d.ts +2 -2
- package/es/data/notification/notification-events/useOnDeleteNotification.js.map +1 -1
- package/es/data/notification/notification-events/useOnNewNotification.d.ts +2 -2
- package/es/data/notification/notification-events/useOnNewNotification.js.map +1 -1
- package/es/data/notification/types.d.ts +6 -1
- package/es/data/work/WorkStore.d.ts +1 -4
- package/es/data/work/WorkStore.js +0 -4
- package/es/data/work/WorkStore.js.map +1 -1
- package/es/data/work/interfaces.d.ts +0 -11
- package/es/data/work-report/WorkReportStore.d.ts +19 -0
- package/es/data/work-report/WorkReportStore.js +52 -0
- package/es/data/work-report/WorkReportStore.js.map +1 -0
- package/es/data/work-report/hooks.d.ts +8 -0
- package/es/data/work-report/hooks.js +13 -0
- package/es/data/work-report/hooks.js.map +1 -0
- package/es/data/work-report/index.d.ts +3 -0
- package/es/data/work-report/index.js +4 -0
- package/es/data/work-report/index.js.map +1 -0
- package/es/data/work-report/interfaces.d.ts +16 -0
- package/es/data/work-report/interfaces.js +2 -0
- package/es/data/work-report/interfaces.js.map +1 -0
- package/es/modules/calendar/pages/CalendarMonth/index.js +5 -4
- package/es/modules/calendar/pages/CalendarMonth/index.js.map +1 -1
- package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
- package/es/modules/menus/components/Access/index.js +5 -4
- package/es/modules/menus/components/Access/index.js.map +1 -1
- package/es/modules/menus/components/Account/index.js +5 -4
- package/es/modules/menus/components/Account/index.js.map +1 -1
- package/es/modules/menus/components/Status/index.js +5 -4
- package/es/modules/menus/components/Status/index.js.map +1 -1
- package/es/modules/menus/pages/ListOptions/Company/index.js +7 -5
- package/es/modules/menus/pages/ListOptions/Company/index.js.map +1 -1
- package/es/modules/notification/components/NotificationHeader/index.js +3 -3
- package/es/modules/notification/components/NotificationHeader/index.js.map +1 -1
- package/es/modules/notification/components/NotificationItem/index.js +5 -3
- package/es/modules/notification/components/NotificationItem/index.js.map +1 -1
- package/es/modules/notification/components/NotificationList2/index.js +7 -2
- package/es/modules/notification/components/NotificationList2/index.js.map +1 -1
- package/es/modules/notification/components/NotificationProperties/index.d.ts +1 -1
- package/es/modules/notification/components/NotificationProperties/index.js +12 -5
- package/es/modules/notification/components/NotificationProperties/index.js.map +1 -1
- package/es/modules/notification/components/NotificationRecipients/index.js +2 -2
- package/es/modules/notification/components/NotificationRecipients/index.js.map +1 -1
- package/es/modules/notification/components/NotificationTabs/index.js +9 -6
- package/es/modules/notification/components/NotificationTabs/index.js.map +1 -1
- package/es/modules/notification/controls/NotificationMenu/index.js +6 -4
- package/es/modules/notification/controls/NotificationMenu/index.js.map +1 -1
- package/es/modules/notification/controls/NotificationMenu/item/Send.d.ts +9 -0
- package/es/modules/notification/controls/NotificationMenu/item/Send.js +33 -0
- package/es/modules/notification/controls/NotificationMenu/item/Send.js.map +1 -0
- package/es/modules/notification/controls/NotificationMenu/item/index.d.ts +1 -0
- package/es/modules/notification/controls/NotificationMenu/item/index.js +2 -0
- package/es/modules/notification/controls/NotificationMenu/item/index.js.map +1 -0
- package/es/modules/notification/controls/NotificationStatusLabel/index.d.ts +6 -0
- package/es/modules/notification/controls/NotificationStatusLabel/index.js +7 -0
- package/es/modules/notification/controls/NotificationStatusLabel/index.js.map +1 -0
- package/es/modules/notification/controls/NotificationStatusLabel/index.less +14 -0
- package/es/modules/notification/pages/NotificationDefaultView/index.js +1 -1
- package/es/modules/notification/pages/NotificationDefaultView/index.js.map +1 -1
- package/es/modules/tasks/reports/TaskSummaryCard/index.js +1 -1
- package/es/modules/tasks/reports/TaskSummaryCard/index.js.map +1 -1
- package/es/modules/user/pages/Positions/index.js +6 -5
- package/es/modules/user/pages/Positions/index.js.map +1 -1
- package/es/modules/work/components/RejectWorkDialog/index.js +5 -4
- package/es/modules/work/components/RejectWorkDialog/index.js.map +1 -1
- package/es/modules/work/components/RejectWorkDialog/index.less +5 -0
- package/es/modules/work/components/RelatedWorkList/RelatedWorkList.js +1 -1
- package/es/modules/work/components/RelatedWorkList/RelatedWorkList.js.map +1 -1
- package/es/modules/work/components/WorkCashReport/index.d.ts +1 -0
- package/es/modules/work/components/WorkCashReport/index.js +54 -42
- package/es/modules/work/components/WorkCashReport/index.js.map +1 -1
- package/es/modules/work/components/WorkCashReport/index.less +8 -12
- package/es/modules/work/components/WorkCashReport/state.d.ts +3 -8
- package/es/modules/work/components/WorkCashReport/state.js +3 -47
- package/es/modules/work/components/WorkCashReport/state.js.map +1 -1
- package/es/modules/work/components/WorkList/index.js +2 -2
- package/es/modules/work/components/WorkList/index.js.map +1 -1
- package/es/modules/work/controls/SeveritySelect/index.js +10 -10
- package/es/modules/work/controls/SeveritySelect/index.js.map +1 -1
- package/es/modules/work/controls/WorkErrorSelect/index.js +3 -2
- package/es/modules/work/controls/WorkErrorSelect/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.js +10 -1
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.js.map +1 -1
- package/es/modules/work/work-type/components/RepeatTab/index.js +5 -4
- package/es/modules/work/work-type/components/RepeatTab/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeSelect/index.js +11 -6
- package/es/modules/work/work-type/components/WorkTypeSelect/index.js.map +1 -1
- package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.js +1 -1
- package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.js.map +1 -1
- package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js +1 -1
- package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js.map +1 -1
- package/es/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.js +1 -1
- package/es/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.js.map +1 -1
- package/es/obsolete/member/components/MemberSelect.js +3 -2
- package/es/obsolete/member/components/MemberSelect.js.map +1 -1
- package/package.json +1 -1
- package/es/components/AssignPeople/index.d.ts +0 -3
- package/es/components/AssignPeople/index.js +0 -24
- package/es/components/AssignPeople/index.js.map +0 -1
- package/es/modules/work/work-type/controls/SelectedFilterLabel/index.d.ts +0 -4
- package/es/modules/work/work-type/controls/SelectedFilterLabel/index.js +0 -23
- package/es/modules/work/work-type/controls/SelectedFilterLabel/index.js.map +0 -1
- package/es/modules/work/work-type/controls/SelectedFilterLabel/index.less +0 -31
@@ -3,17 +3,17 @@ import React, { useState } from "react";
|
|
3
3
|
import { observe } from "@voplus/morpho-ui";
|
4
4
|
const SeveritySelect = (props) => {
|
5
5
|
const { defaultValue, open, autoFocus, placeholder, className, style, onChange } = props;
|
6
|
-
const { Option } = Select;
|
7
6
|
const [value, setValue] = useState(defaultValue);
|
8
|
-
return observe(() => (React.createElement(Select, { showSearch: true, open: open, style: style, value: value, autoFocus: autoFocus, className: className, placeholder: placeholder, optionFilterProp: "
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
7
|
+
return observe(() => (React.createElement(Select, { showSearch: true, open: open, style: style, value: value, autoFocus: autoFocus, className: className, placeholder: placeholder, optionFilterProp: "label", onChange: changeSeverity, onBlur: props.onBlur, options: [
|
8
|
+
{ value: "S0", label: "S0" },
|
9
|
+
{ value: "S1", label: "S1" },
|
10
|
+
{ value: "S2", label: "S2" },
|
11
|
+
{ value: "S3", label: "S3" },
|
12
|
+
{ value: "S4", label: "S4" },
|
13
|
+
{ value: "S5", label: "S5" },
|
14
|
+
{ value: "S6", label: "S6" },
|
15
|
+
{ value: "S7", label: "S7" },
|
16
|
+
] })));
|
17
17
|
function changeSeverity(value) {
|
18
18
|
setValue(value);
|
19
19
|
if (onChange)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/controls/SeveritySelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,cAAc,GAAG,CAAC,KASvB,EAAE,EAAE;IACJ,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACzF,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/controls/SeveritySelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,cAAc,GAAG,CAAC,KASvB,EAAE,EAAE;IACJ,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,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"@voplus/morpho-ui";
|
|
4
4
|
import { useWorkType } from "../../../../data/worktype";
|
5
5
|
const WorkErrorSelect = (props) => {
|
6
6
|
const { workTypeId, defaultValue, open, autoFocus, placeholder, className, style } = props;
|
7
|
-
const { Option } = Select;
|
8
7
|
const [value, setValue] = useState(defaultValue);
|
9
8
|
const workType = useWorkType(workTypeId);
|
10
9
|
return observe(() => {
|
11
10
|
var _a;
|
12
|
-
return (React.createElement(Select, { showSearch: true, open: open, style: style, value: value, autoFocus: autoFocus, className: className, placeholder: placeholder, optionFilterProp: "
|
11
|
+
return (React.createElement(Select, { showSearch: true, open: open, style: style, value: value, autoFocus: autoFocus, className: className, placeholder: placeholder, optionFilterProp: "label", onChange: onChange, onBlur: props.onBlur, options: (_a = workType === null || workType === void 0 ? void 0 : workType.errorTypes) === null || _a === void 0 ? void 0 : _a.map((errorType) => {
|
12
|
+
return { value: errorType, label: errorType };
|
13
|
+
}) }));
|
13
14
|
});
|
14
15
|
function onChange(value) {
|
15
16
|
var _a;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/controls/WorkErrorSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,MAAM,eAAe,GAAG,CAAC,KAUxB,EAAE,EAAE;IACJ,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAC3F,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/controls/WorkErrorSelect/index.tsx"],"names":[],"mappings":"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EF,eAAe,CAAC,YAAY,GAAG;IAC9B,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;CACxB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -2,10 +2,12 @@ import React, { useState } from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
3
3
|
import { useRenderOnChange } from "@voplus/morpho-ui";
|
4
4
|
import { useWorkScheduleListEffect } from "../../../../../data/work-schedule";
|
5
|
+
import { useWorkTypeListEffect } from "../../../../../data/worktype";
|
5
6
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
6
7
|
import { useAutoUpdateListData } from "../../../../../data/work-schedule/work-schedule-events";
|
7
8
|
import { useViewContext } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
8
9
|
import WorkScheduleFilter from "../../controls/WorkScheduleFilter";
|
10
|
+
import WorkTypesFilter from "../../../../../controls/filters/WorkTypesFilter";
|
9
11
|
import NewWorkScheduleForm from "../NewWorkScheduleForm";
|
10
12
|
import NewWorkScheduleFormDialog from "../NewWorkScheduleForm/NewWorkScheduleFormDialog";
|
11
13
|
import WorkSchedulePropertiesView from "../WorkSchedulePropertiesView";
|
@@ -20,6 +22,7 @@ const WorkScheduleList = (props) => {
|
|
20
22
|
const { contact, viewTitle, asideable, scheduleDate } = props;
|
21
23
|
const [activeId, setActiveId] = useState("");
|
22
24
|
const [addAble, setAddAble] = useState(false);
|
25
|
+
const [workTypeList, setWorkTypeList] = useState([]);
|
23
26
|
const view = useViewContext();
|
24
27
|
const list = useCreateListDataState({
|
25
28
|
filterDefaults: {
|
@@ -45,6 +48,9 @@ const WorkScheduleList = (props) => {
|
|
45
48
|
Total: true,
|
46
49
|
...list.filters.options,
|
47
50
|
});
|
51
|
+
useWorkTypeListEffect(null, (result) => setWorkTypeList(result), {
|
52
|
+
Filters: [],
|
53
|
+
});
|
48
54
|
return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
|
49
55
|
React.createElement("div", { className: styles["work-schedule-list"] },
|
50
56
|
React.createElement(ListView, { headerProps: {
|
@@ -53,7 +59,10 @@ const WorkScheduleList = (props) => {
|
|
53
59
|
quickSearch: true,
|
54
60
|
onAdd: () => (view === null || view === void 0 ? void 0 : view.Type) === "PropertiesView" && setAddAble(!addAble),
|
55
61
|
filterViewProps: {
|
56
|
-
columns: [
|
62
|
+
columns: [
|
63
|
+
React.createElement(WorkScheduleFilter, { key: "WorkScheduleFilter", defaultValue: "Empty" }),
|
64
|
+
React.createElement(WorkTypesFilter, { key: "WorkTypesFilter", workTypeList: workTypeList }),
|
65
|
+
],
|
57
66
|
onFilter,
|
58
67
|
},
|
59
68
|
}, asideable: asideable, className: "work-schedule-list-content", formView: (view === null || view === void 0 ? void 0 : view.Type) !== "PropertiesView" && React.createElement(NewWorkScheduleForm, { contact: contact }), renderItem: ({ item, connectDragSource }) => (React.createElement(DocumentItemFrame, { key: item.id, frameProps: { active: activeId === item.id }, onClick: () => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAiB,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC7F,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAC/F,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,kBAAkB,MAAM,mCAAmC,CAAC;AACnE,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,yBAAyB,MAAM,kDAAkD,CAAC;AACzF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at-tab-content", labelAlign: "left", labelCol: { span: 2 } },
|
11
11
|
React.createElement(Form.Item, { label: "Every" },
|
12
12
|
React.createElement(InputNumber, { defaultValue: "1", variant: "borderless" }),
|
13
|
-
React.createElement(Select, { onChange: handleChange, defaultValue: "Week", style: { width: 120 }, variant: "borderless"
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
React.createElement(Select, { onChange: handleChange, defaultValue: "Week", style: { width: 120 }, variant: "borderless", options: [
|
14
|
+
{ value: "Week", label: "Week" },
|
15
|
+
{ value: "Month", label: "Month" },
|
16
|
+
{ value: "Year", label: "Year" },
|
17
|
+
] }),
|
17
18
|
select === "Week" && (React.createElement("ul", { className: "week-content" },
|
18
19
|
React.createElement("li", { className: "week-content-item" }, "Sun"),
|
19
20
|
React.createElement("li", { className: "week-content-item" }, "Mon"),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/RepeatTab/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,cAAc,CAAC;AAEtB,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC3C,MAAM,cAAc,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;IAE7C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,YAAY;QAC1B,6BAAK,SAAS,EAAC,iBAAiB,iBAAiB;QACjD,oBAAC,IAAI,IAAC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,SAAW;4BAC5B,oBAAC,UAAU,IAAC,OAAO,EAAC,YAAY,EAAC,MAAM,EAAE,cAAc,GAAI,CACtD,CACC,CACK,CACH;YACZ,oBAAC,OAAO,OAAG;YACX,8BAAM,KAAK,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,kCAAoC;YACpE,oBAAC,OAAO,OAAG,CACL,CACF,CACN,CAAC,CAAC;IAEH,SAAS,YAAY,CAAC,KAAa;QAClC,SAAS,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC;IAED,SAAS,aAAa,CAAC,KAAU,EAAE,IAAS;QAC3C,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC1B,CAAC;IAED,SAAS,QAAQ,CAAC,aAAkB;QACnC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC;IAC1C,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
@@ -11,18 +11,23 @@ const WorkTypeSelect = (props) => {
|
|
11
11
|
filterDefaults: {
|
12
12
|
includes: "workspace",
|
13
13
|
filters: [{ c: "Roles", o: "contains", l: "And", v1: JSON.stringify(["Requester"]) }],
|
14
|
+
page: { Page: 1, PageSize: 300 },
|
14
15
|
},
|
15
16
|
}, []);
|
16
17
|
useWorkTypeListEffect(null, (result) => {
|
17
18
|
list.union(result);
|
18
19
|
setWorkTypeData(result);
|
19
20
|
}, list.filters.options);
|
20
|
-
return observe(() => (React.createElement(Select, { showSearch: true, style: { width: "100%", ...style }, loading: list.loading, filterOption: false, open: open, autoFocus: props.autoFocus, placeholder: "Select Work Type", onSearch: onSearch, onChange: handleChange, onBlur: props.onBlur, optionLabelProp: "label"
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
return observe(() => (React.createElement(Select, { showSearch: true, style: { width: "100%", ...style }, loading: list.loading, filterOption: false, open: open, autoFocus: props.autoFocus, placeholder: "Select Work Type", onSearch: onSearch, onChange: handleChange, onBlur: props.onBlur, optionLabelProp: "label", options: workTypeData.map((item) => {
|
22
|
+
var _a;
|
23
|
+
return {
|
24
|
+
value: item.id,
|
25
|
+
label: item.name,
|
26
|
+
workspaceName: (_a = item.workspace) === null || _a === void 0 ? void 0 : _a.name,
|
27
|
+
};
|
28
|
+
}), optionRender: (option) => (React.createElement(React.Fragment, null,
|
29
|
+
React.createElement("div", null, option.data.label),
|
30
|
+
React.createElement("div", { style: { color: "#00000073", fontSize: "12px" } }, option.data.workspaceName))) })));
|
26
31
|
function onSearch(val) {
|
27
32
|
if (timer)
|
28
33
|
clearTimeout(timer);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,KAAK,EAAE,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,MAAM,cAAc,GAAG,CAAC,KAMvB,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAExC,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAc,EAAE,CAAC,CAAC;IAElE,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,EAA8B,CAAC;IAEjE,MAAM,IAAI,GAAG,sBAAsB,CAClC;QACC,cAAc,EAAE;YACf,QAAQ,EAAE,WAAW;YACrB,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE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,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QACpD,IAAI,QAAQ;YAAE,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,EAAE,EAAE,QAAQ,CAAC,CAAC;IACxC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
@@ -69,7 +69,7 @@ const WorkTypeCompletedWorksChart = (props) => {
|
|
69
69
|
return observe(() => (React.createElement("div", { className: "completed-works-chart" },
|
70
70
|
React.createElement("div", { ref: divEl }),
|
71
71
|
state.loading ? (React.createElement("div", { className: "card-loading" },
|
72
|
-
React.createElement(Spin, {
|
72
|
+
React.createElement(Spin, { indicator: React.createElement(LoadingOutlined, null) }))) : !columnData.length ? (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })) : null)));
|
73
73
|
};
|
74
74
|
export default WorkTypeCompletedWorksChart;
|
75
75
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAEN,wBAAwB,GACxB,MAAM,6DAA6D,CAAC;AACrE,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAA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QAAQ,EAAE,6BAA6B;oBACjD,OAAO;oBACP,KAAK,EAAE;wBACN,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,GAAG;qBACZ;iBACD;gBACD,KAAK,EAAE;oBACN,KAAK,EAAE;wBACN,QAAQ,EAAE,IAAI;wBACd,UAAU,EAAE,KAAK;qBACjB;iBACD;gBACD,KAAK,EAAE;oBACN,KAAK,EAAE;wBACN,IAAI,EAAE,iBAAiB;qBACvB;iBACD;gBACD,aAAa;gBACb,IAAI,EAAE;oBACL,IAAI,EAAE;wBACL,KAAK,EAAE,IAAI;qBACX;oBACD,KAAK,EAAE;wBACN,KAAK,EAAE,KAAK;qBACZ;iBACD;gBACD,MAAM,EAAE,GAAG;aACX,CAAC,CAAC;YACH,KAAK,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;QAC3B,CAAC;IACF,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IAEjB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,uBAAuB;QACrC,6BAAK,GAAG,EAAE,KAAK,GAAI;QAClB,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAChB,6BAAK,SAAS,EAAC,cAAc;YAC5B,oBAAC,IAAI,IAAC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAEN,wBAAwB,GACxB,MAAM,6DAA6D,CAAC;AACrE,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE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Element("div", { className: "completed-works-chart" },
|
68
68
|
React.createElement("div", { ref: divEl }),
|
69
69
|
state.loading ? (React.createElement("div", { className: "card-loading" },
|
70
|
-
React.createElement(Spin, {
|
70
|
+
React.createElement(Spin, { indicator: React.createElement(LoadingOutlined, null) }))) : !columnData.length ? (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })) : null)));
|
71
71
|
};
|
72
72
|
export default WorkspaceCompletedWorksChart;
|
73
73
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/controls/WorkspaceCompletedWorksChart/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAEN,yBAAyB,GACzB,MAAM,4DAA4D,CAAC;AACpE,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,4BAA4B,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC9D,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,KAAK,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC3C,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAA4B,EAAE,CAAC,CAAC;IAE5E,yBAAyB,CAAC,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wBACN,KAAK,EAAE,KAAK;qBACZ;iBACD;gBACD,MAAM,EAAE,GAAG;aACX,CAAC,CAAC;YACH,KAAK,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;QAC3B,CAAC;IACF,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IAEjB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,uBAAuB;QACrC,6BAAK,GAAG,EAAE,KAAK,GAAI;QAClB,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAChB,6BAAK,SAAS,EAAC,cAAc;YAC5B,oBAAC,IAAI,IAAC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/controls/WorkspaceCompletedWorksChart/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAEN,yBAAyB,GACzB,MAAM,4DAA4D,CAAC;AACpE,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,4BAA4B,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC9D,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,KAAK,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC3C,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,MAAM,CAAC,UAAU,EAAE,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EAAE;oBACL,IAAI,EAAE;wBACL,KAAK,EAAE,IAAI;qBACX;oBACD,KAAK,EAAE;wBACN,KAAK,EAAE,KAAK;qBACZ;iBACD;gBACD,MAAM,EAAE,GAAG;aACX,CAAC,CAAC;YACH,KAAK,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;QAC3B,CAAC;IACF,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IAEjB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,uBAAuB;QACrC,6BAAK,GAAG,EAAE,KAAK,GAAI;QAClB,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAChB,6BAAK,SAAS,EAAC,cAAc;YAC5B,oBAAC,IAAI,IAAC,SAAS,EAAE,oBAAC,eAAe,OAAG,GAAI,CACnC,CACN,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CACxB,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,CAAC,sBAAsB,GAAI,CAC9C,CAAC,CAAC,CAAC,IAAI,CACH,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
@@ -22,7 +22,7 @@ const Dashboard = (props) => {
|
|
22
22
|
return observe(() => (React.createElement("div", { className: styles["worktype-works-dashboard"], ref: ref },
|
23
23
|
React.createElement(RelatedDocument, null,
|
24
24
|
React.createElement(Card, { className: "work-cash-report" },
|
25
|
-
React.createElement(WorkCashReport, { id: params.typesId, onFilterOutPut: (statusArr) => setStatusArr(statusArr) })),
|
25
|
+
React.createElement(WorkCashReport, { id: params.typesId, workspaceId: params.id, onFilterOutPut: (statusArr) => setStatusArr(statusArr) })),
|
26
26
|
React.createElement("div", { className: "work-list-card" },
|
27
27
|
React.createElement(WorkListCard, { style: { height: `${dashboardHeight - 463}px` }, filterVisible: false, statusArr: statusArr, active: params.active, typesId: params.typesId, workspaceId: params.id, onClickItem: (item) => {
|
28
28
|
layout.history.replace(generatePath(props.path, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WorkTypeWorksDashBoard.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAEnC,OAAO,eAAe,MAAM,qDAAqD,CAAC;AAClF,OAAO,YAAY,MAAM,uCAAuC,CAAC;AACjE,OAAO,cAAc,MAAM,yCAAyC,CAAC;AACrE,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,SAAS,GAAG,CAAC,KAAqC,EAAE,EAAE;IAC3D,MAAM,GAAG,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IACzC,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,EAAU,CAAC;IACjE,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAW,EAAE,CAAC,CAAC;IAEzD,eAAe,CAAC,GAAG,EAAE;;QACpB,kBAAkB,CAAC,MAAA,GAAG,CAAC,OAAO,0CAAE,YAAY,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAE,MAAM,CAAC,0BAA0B,CAAC,EAAE,GAAG,EAAE,GAAG;QAC3D,oBAAC,eAAe;YACf,oBAAC,IAAI,IAAC,SAAS,EAAC,kBAAkB;gBACjC,oBAAC,cAAc,IACd,EAAE,EAAE,MAAM,CAAC,OAAQ,EACnB,cAAc,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,GACrD,CACI;YAEP,6BAAK,SAAS,EAAC,gBAAgB;gBAC9B,oBAAC,YAAY,IACZ,KAAK,EAAE,EAAE,MAAM,EAAE,GAAG,eAAgB,GAAG,GAAG,IAAI,EAAE,EAChD,aAAa,EAAE,KAAK,EACpB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,OAAO,EAAE,MAAM,CAAC,OAAO,EACvB,WAAW,EAAE,MAAM,CAAC,EAAE,EACtB,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE;wBACrB,MAAM,CAAC,OAAO,CAAC,OAAO,CACrB,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE;4BACxB,EAAE,EAAE,MAAM,CAAC,EAAG;4BACd,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,EAAE;4BAC7B,MAAM,EAAE,IAAI,CAAC,EAAE;yBACf,CAAC,CACF,CAAC;oBACH,CAAC,EACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAClB,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,MAAM,CAAC,OAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,GAEzE,CACG,CACW,CACb,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
1
|
+
{"version":3,"file":"WorkTypeWorksDashBoard.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,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AW,EAAE,MAAM,CAAC,EAAG,EACvB,cAAc,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,GACrD,CACI;YAEP,6BAAK,SAAS,EAAC,gBAAgB;gBAC9B,oBAAC,YAAY,IACZ,KAAK,EAAE,EAAE,MAAM,EAAE,GAAG,eAAgB,GAAG,GAAG,IAAI,EAAE,EAChD,aAAa,EAAE,KAAK,EACpB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,OAAO,EAAE,MAAM,CAAC,OAAO,EACvB,WAAW,EAAE,MAAM,CAAC,EAAE,EACtB,WAAW,EAAE,CAAC,IAAI,EAAE,EAAE;wBACrB,MAAM,CAAC,OAAO,CAAC,OAAO,CACrB,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE;4BACxB,EAAE,EAAE,MAAM,CAAC,EAAG;4BACd,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,EAAE;4BAC7B,MAAM,EAAE,IAAI,CAAC,EAAE;yBACf,CAAC,CACF,CAAC;oBACH,CAAC,EACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAClB,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,MAAM,CAAC,OAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,GAEzE,CACG,CACW,CACb,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { Select } from "antd";
|
3
3
|
export default (props) => {
|
4
|
-
const { Option } = Select;
|
5
4
|
function handleChange() {
|
6
5
|
// console.log(`selected ${value}`);
|
7
6
|
}
|
8
|
-
return (React.createElement(Select, { defaultValue: props.memberCon[0], style: { width: 90 }, onChange: handleChange
|
7
|
+
return (React.createElement(Select, { defaultValue: props.memberCon[0], style: { width: 90 }, onChange: handleChange, options: props.memberCon.map((item) => {
|
8
|
+
return { value: item, label: item };
|
9
|
+
}) }));
|
9
10
|
};
|
10
11
|
//# sourceMappingURL=MemberSelect.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MemberSelect.js","sourceRoot":"","sources":["../../../../src/obsolete/member/components/MemberSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,eAAe,CAAC,KAAyB,EAAE,EAAE;IAC5C,
|
1
|
+
{"version":3,"file":"MemberSelect.js","sourceRoot":"","sources":["../../../../src/obsolete/member/components/MemberSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,eAAe,CAAC,KAAyB,EAAE,EAAE;IAC5C,SAAS,YAAY;QACpB,oCAAoC;IACrC,CAAC;IACD,OAAO,CACN,oBAAC,MAAM,IACN,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,EAChC,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,EACpB,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,EAAE;YAC1C,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;QACrC,CAAC,CAAC,GACD,CACF,CAAC;AACH,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,24 +0,0 @@
|
|
1
|
-
import { Form, Select } from "antd";
|
2
|
-
import React from "react";
|
3
|
-
import { observe } from "@voplus/morpho-ui";
|
4
|
-
export default () => {
|
5
|
-
const items = [
|
6
|
-
{ id: 1, name: "001" },
|
7
|
-
{ id: 2, name: "002" },
|
8
|
-
{ id: 3, name: "003" },
|
9
|
-
{ id: 4, name: "004" },
|
10
|
-
{ id: 5, name: "005" },
|
11
|
-
{ id: 6, name: "006" },
|
12
|
-
];
|
13
|
-
const { Option } = Select;
|
14
|
-
function handleChange(value) {
|
15
|
-
console.log(`selected ${value}`);
|
16
|
-
}
|
17
|
-
return observe(() => (React.createElement(Form.Item, null,
|
18
|
-
React.createElement("div", { className: "form-item-layout" },
|
19
|
-
React.createElement("div", null,
|
20
|
-
React.createElement(Select, { mode: "multiple", style: { width: "100%" }, placeholder: "Please select", defaultValue: ["a10", "c12"], onChange: handleChange }, items.map((item) => {
|
21
|
-
return (React.createElement(Option, { key: item.id, value: item.id }, item.name));
|
22
|
-
})))))));
|
23
|
-
};
|
24
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/AssignPeople/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,eAAe,GAAG,EAAE;IACnB,MAAM,KAAK,GAAG;QACb,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;QACtB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;QACtB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;QACtB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;QACtB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;QACtB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;KACtB,CAAC;IACF,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAC1B,SAAS,YAAY,CAAC,KAAU;QAC/B,OAAO,CAAC,GAAG,CAAC,YAAY,KAAK,EAAE,CAAC,CAAC;IAClC,CAAC;IAED,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,IAAI,CAAC,IAAI;QACT,6BAAK,SAAS,EAAC,kBAAkB;YAChC;gBACC,oBAAC,MAAM,IACN,IAAI,EAAC,UAAU,EACf,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,EACxB,WAAW,EAAC,eAAe,EAC3B,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,EAC5B,QAAQ,EAAE,YAAY,IAErB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;oBACnB,OAAO,CACN,oBAAC,MAAM,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,IAClC,IAAI,CAAC,IAAI,CACF,CACT,CAAC;gBACH,CAAC,CAAC,CACM,CACJ,CACD,CACK,CACZ,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import { CloseOutlined } from "@ant-design/icons";
|
3
|
-
import { observe } from "@voplus/morpho-ui";
|
4
|
-
import { useFilterOptionsContext } from "@voplus/morpho-ui/es/data";
|
5
|
-
import "./index.less";
|
6
|
-
const SelectedFilterLabel = () => {
|
7
|
-
const context = useFilterOptionsContext();
|
8
|
-
return observe(() => {
|
9
|
-
var _a;
|
10
|
-
const selectedLabel = (_a = context.selectedLabels) === null || _a === void 0 ? void 0 : _a.filter((i) => i.key === "WorkTypes");
|
11
|
-
return (React.createElement("div", { className: "selected-filter-label-list" }, (selectedLabel === null || selectedLabel === void 0 ? void 0 : selectedLabel.length) > 0
|
12
|
-
? selectedLabel[0].label.map((label) => (React.createElement("div", { className: "selected-filter-item", key: label.v1 },
|
13
|
-
React.createElement("span", { className: "prosemirror-mention-node" }, label.name),
|
14
|
-
React.createElement(CloseOutlined, { className: "selected-filter-item-delete", onClick: () => {
|
15
|
-
var _a, _b;
|
16
|
-
(_b = (_a = selectedLabel[0]) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.removeSelected(label.v1);
|
17
|
-
context.filter();
|
18
|
-
} }))))
|
19
|
-
: null));
|
20
|
-
});
|
21
|
-
};
|
22
|
-
export default SelectedFilterLabel;
|
23
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/controls/SelectedFilterLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,uBAAuB,EAAkB,MAAM,2BAA2B,CAAC;AACpF,OAAO,cAAc,CAAC;AAEtB,MAAM,mBAAmB,GAAG,GAAG,EAAE;IAChC,MAAM,OAAO,GAAG,uBAAuB,EAAE,CAAC;IAE1C,OAAO,OAAO,CAAC,GAAG,EAAE;;QACnB,MAAM,aAAa,GAAqB,MAAA,OAAO,CAAC,cAAc,0CAAE,MAAM,CACrE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,WAAW,CAC5B,CAAC;QAEF,OAAO,CACN,6BAAK,SAAS,EAAC,4BAA4B,IACzC,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,MAAM,IAAG,CAAC;YACzB,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACtC,6BAAK,SAAS,EAAC,sBAAsB,EAAC,GAAG,EAAE,KAAK,CAAC,EAAE;gBAClD,8BAAM,SAAS,EAAC,0BAA0B,IAAE,KAAK,CAAC,IAAI,CAAQ;gBAC9D,oBAAC,aAAa,IACb,SAAS,EAAC,6BAA6B,EACvC,OAAO,EAAE,GAAG,EAAE;;wBACb,MAAA,MAAA,aAAa,CAAC,CAAC,CAAC,0CAAE,KAAK,0CAAE,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;wBAClD,OAAO,CAAC,MAAM,EAAE,CAAC;oBAClB,CAAC,GACA,CACG,CACL,CAAC;YACJ,CAAC,CAAC,IAAI,CACF,CACN,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
:global {
|
2
|
-
.selected-filter-label-list {
|
3
|
-
.selected-filter-item {
|
4
|
-
position: relative;
|
5
|
-
display: inline-block;
|
6
|
-
|
7
|
-
.prosemirror-mention-node {
|
8
|
-
line-height: 1em;
|
9
|
-
margin-top: 8px;
|
10
|
-
}
|
11
|
-
|
12
|
-
.selected-filter-item-delete {
|
13
|
-
position: absolute;
|
14
|
-
font-size: 12px;
|
15
|
-
right: 12px;
|
16
|
-
top: 20px;
|
17
|
-
display: none;
|
18
|
-
}
|
19
|
-
|
20
|
-
&:hover {
|
21
|
-
.prosemirror-mention-node {
|
22
|
-
padding-right: 24px;
|
23
|
-
}
|
24
|
-
|
25
|
-
.selected-filter-item-delete {
|
26
|
-
display: block;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}
|