@voplus/morpho-workspace 6.0.75 → 6.0.77
Sign up to get free protection for your applications and to get access to all the features.
- package/es/controls/filters/WorkTypesFilter/index.d.ts +1 -2
- package/es/controls/filters/WorkTypesFilter/index.js +7 -5
- package/es/controls/filters/WorkTypesFilter/index.js.map +1 -1
- package/es/controls/filters/WorkTypesFilter/state.d.ts +7 -3
- package/es/controls/filters/WorkTypesFilter/state.js +39 -3
- package/es/controls/filters/WorkTypesFilter/state.js.map +1 -1
- package/es/modules/work/components/WorkCashReport/index.less +0 -4
- package/es/modules/work/components/WorkList/index.js +5 -10
- package/es/modules/work/components/WorkList/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.js +3 -10
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.js.map +1 -1
- package/package.json +1 -1
@@ -1,23 +1,25 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { State } from "./state";
|
3
|
-
import { Badge, Input } from "antd";
|
3
|
+
import { Badge, Input, Skeleton } from "antd";
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
5
|
+
import { useWorkTypeStore } from "../../../data/worktype";
|
5
6
|
import { useFilterOptionsContext } from "@voplus/morpho-ui/es/data";
|
6
7
|
import classnames from "classnames";
|
7
8
|
const WorkTypesFilter = (props) => {
|
8
9
|
const [timer, setTimer] = useState();
|
10
|
+
const store = useWorkTypeStore();
|
9
11
|
const context = useFilterOptionsContext();
|
10
|
-
const state = context.getFilterState("WorkTypes", () => new State(props.
|
12
|
+
const state = context.getFilterState("WorkTypes", () => new State(store, props.workspaceId));
|
11
13
|
return observe(() => (React.createElement("div", { style: { maxHeight: "400px", overflow: "scroll", scrollbarWidth: "none" } },
|
12
14
|
React.createElement("div", { className: "menu-item-title" }, "WorkTypes"),
|
13
|
-
React.createElement(Input.Search, { allowClear: true, onChange: (e) => onSearch(e.target.value) }),
|
14
|
-
state.menus.map((item, index) => (React.createElement("div", { key: index, className: classnames("filter-menu-item", {
|
15
|
+
React.createElement(Input.Search, { disabled: state.loading, allowClear: true, onChange: (e) => onSearch(e.target.value) }),
|
16
|
+
React.createElement(Skeleton, { active: true, loading: state.loading }, state.menus.map((item, index) => (React.createElement("div", { key: index, className: classnames("filter-menu-item", {
|
15
17
|
bold: state.types.has(item.value),
|
16
18
|
}), onClick: () => state.onChangeTypes(item.value) },
|
17
19
|
React.createElement("div", { className: "filter-name" },
|
18
20
|
React.createElement(Badge, { color: item.color }),
|
19
21
|
item.name),
|
20
|
-
React.createElement("span", null, item.counts)))))));
|
22
|
+
React.createElement("span", null, item.counts))))))));
|
21
23
|
function onSearch(value) {
|
22
24
|
if (timer)
|
23
25
|
clearTimeout(timer);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,eAAe,GAAG,CAAC,KAA+B,EAAE,EAAE;IAC3D,MAAM,CAAC,K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rB,CACN,CAAC,CACQ,CACN,CACN,CAAC,CAAC;IAEH,SAAS,QAAQ,CAAC,KAAa;QAC9B,IAAI,KAAK;YAAE,YAAY,CAAC,KAAK,CAAC,CAAC;QAC/B,QAAQ,CACP,UAAU,CAAC,GAAG,EAAE;YACf,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;YAC5B,QAAQ,CAAC,SAAS,CAAC,CAAC;QACrB,CAAC,EAAE,IAAI,CAAQ,CACf,CAAC;IACH,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
@@ -1,16 +1,20 @@
|
|
1
1
|
import { FilterOption } from "@voplus/morpho-data";
|
2
2
|
import { DefaultFilterState, ISelectedLabel } from "@voplus/morpho-ui/es/data";
|
3
|
-
import { IWorkType } from "../../../data/worktype";
|
3
|
+
import { IWorkType, WorkTypeStore } from "../../../data/worktype";
|
4
4
|
export declare class State extends DefaultFilterState {
|
5
|
-
private
|
5
|
+
private store;
|
6
|
+
private workspaceId?;
|
6
7
|
/** types of filter */
|
7
8
|
types: Map<string, boolean>;
|
8
9
|
selectedLabels: {
|
9
10
|
name: string;
|
10
11
|
v1: string;
|
11
12
|
}[];
|
13
|
+
loading: boolean;
|
14
|
+
initial: IWorkType[];
|
12
15
|
workTypeList: IWorkType[];
|
13
|
-
constructor(
|
16
|
+
constructor(store: WorkTypeStore, workspaceId?: string | undefined);
|
17
|
+
onInitial(): Promise<void>;
|
14
18
|
searchWorkType(query?: string): void;
|
15
19
|
/** update types */
|
16
20
|
onChangeTypes(value: string): void;
|
@@ -2,13 +2,19 @@ import { __decorate } from "tslib";
|
|
2
2
|
import { action, makeObservable, observable } from "mobx";
|
3
3
|
import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
|
4
4
|
export class State extends DefaultFilterState {
|
5
|
-
constructor(
|
5
|
+
constructor(store, workspaceId) {
|
6
6
|
super();
|
7
|
-
Object.defineProperty(this, "
|
7
|
+
Object.defineProperty(this, "store", {
|
8
|
+
enumerable: true,
|
9
|
+
configurable: true,
|
10
|
+
writable: true,
|
11
|
+
value: store
|
12
|
+
});
|
13
|
+
Object.defineProperty(this, "workspaceId", {
|
8
14
|
enumerable: true,
|
9
15
|
configurable: true,
|
10
16
|
writable: true,
|
11
|
-
value:
|
17
|
+
value: workspaceId
|
12
18
|
});
|
13
19
|
/** types of filter */
|
14
20
|
Object.defineProperty(this, "types", {
|
@@ -23,6 +29,18 @@ export class State extends DefaultFilterState {
|
|
23
29
|
writable: true,
|
24
30
|
value: void 0
|
25
31
|
});
|
32
|
+
Object.defineProperty(this, "loading", {
|
33
|
+
enumerable: true,
|
34
|
+
configurable: true,
|
35
|
+
writable: true,
|
36
|
+
value: false
|
37
|
+
});
|
38
|
+
Object.defineProperty(this, "initial", {
|
39
|
+
enumerable: true,
|
40
|
+
configurable: true,
|
41
|
+
writable: true,
|
42
|
+
value: void 0
|
43
|
+
});
|
26
44
|
Object.defineProperty(this, "workTypeList", {
|
27
45
|
enumerable: true,
|
28
46
|
configurable: true,
|
@@ -30,7 +48,16 @@ export class State extends DefaultFilterState {
|
|
30
48
|
value: void 0
|
31
49
|
});
|
32
50
|
makeObservable(this);
|
51
|
+
this.onInitial();
|
52
|
+
}
|
53
|
+
async onInitial() {
|
54
|
+
this.loading = true;
|
55
|
+
const filter = this.workspaceId
|
56
|
+
? [{ c: "ParentNodeId", o: "=", l: "And", v1: this.workspaceId }]
|
57
|
+
: [];
|
58
|
+
this.initial = await this.store.loadList({ Filters: filter });
|
33
59
|
this.workTypeList = this.initial;
|
60
|
+
this.loading = false;
|
34
61
|
}
|
35
62
|
searchWorkType(query) {
|
36
63
|
this.workTypeList = this.initial;
|
@@ -89,9 +116,18 @@ __decorate([
|
|
89
116
|
__decorate([
|
90
117
|
observable
|
91
118
|
], State.prototype, "selectedLabels", void 0);
|
119
|
+
__decorate([
|
120
|
+
observable
|
121
|
+
], State.prototype, "loading", void 0);
|
122
|
+
__decorate([
|
123
|
+
observable
|
124
|
+
], State.prototype, "initial", void 0);
|
92
125
|
__decorate([
|
93
126
|
observable
|
94
127
|
], State.prototype, "workTypeList", void 0);
|
128
|
+
__decorate([
|
129
|
+
action
|
130
|
+
], State.prototype, "onInitial", null);
|
95
131
|
__decorate([
|
96
132
|
action
|
97
133
|
], State.prototype, "searchWorkType", null);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAkB,MAAM,2BAA2B,CAAC;AAG/E,MAAM,OAAO,KAAM,SAAQ,kBAAkB;
|
1
|
+
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAkB,MAAM,2BAA2B,CAAC;AAG/E,MAAM,OAAO,KAAM,SAAQ,kBAAkB;IAS5C,YAAoB,KAAoB,EAAU,WAAoB;QACrE,KAAK,EAAE,CAAC;QADG;;;;mBAAQ,KAAK;WAAe;QAAE;;;;mBAAQ,WAAW;WAAS;QARtE,sBAAsB;QACH;;;;mBAA8B,IAAI,GAAG,EAAE;WAAC;QACxC;;;;;WAA+C;QAE/C;;;;mBAAU,KAAK;WAAC;QAChB;;;;;WAAqB;QACrB;;;;;WAA0B;QAI5C,cAAc,CAAC,IAAI,CAAC,CAAC;QAErB,IAAI,CAAC,SAAS,EAAE,CAAC;IAClB,CAAC;IAEa,AAAN,KAAK,CAAC,SAAS;QACtB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QAEpB,MAAM,MAAM,GAAmB,IAAI,CAAC,WAAW;YAC9C,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE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xC;IAAlB,UAAU;6CAAuD;AAE/C;IAAlB,UAAU;sCAAwB;AAChB;IAAlB,UAAU;sCAA6B;AACrB;IAAlB,UAAU;2CAAkC;AAS/B;IAAb,MAAM;sCAYN;AAGM;IADN,MAAM;2CAWN;AAIM;IADN,MAAM;0CASN"}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { useWorkListEffect } from "../../../../data/work";
|
3
|
-
import {
|
4
|
-
import { useWorkType, useWorkTypeListEffect } from "../../../../data/worktype";
|
3
|
+
import { useWorkType } from "../../../../data/worktype";
|
5
4
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
6
5
|
import { WorkStatusFilter, WorkTypesFilter } from "../../../../controls/filters";
|
7
6
|
import { useAutoUpdateListData, useDocumentStore } from "@voplus/morpho-document-core";
|
@@ -18,7 +17,6 @@ const WorkList = (props) => {
|
|
18
17
|
const { dueDate, typesId, roles, status, statusArr, workspaceId, workId, contactId, contact, addAble, asideable, viewTitle, total, } = props;
|
19
18
|
const [activeId, setActiveId] = useState("");
|
20
19
|
const [workTotal, setWorkTotal] = useState(0);
|
21
|
-
const [workTypeList, setWorkTypeList] = useState([]);
|
22
20
|
const documentStore = useDocumentStore();
|
23
21
|
const workType = useWorkType(typesId);
|
24
22
|
let listViewHeaderProps = {};
|
@@ -29,11 +27,11 @@ const WorkList = (props) => {
|
|
29
27
|
filtercolumns.push(React.createElement(WorkStatusFilter, { key: "WorkStatusFilter", defaultValue: defaultValue() }));
|
30
28
|
}
|
31
29
|
if (props.filterVisible.includes("WorkTypes")) {
|
32
|
-
filtercolumns.push(React.createElement(WorkTypesFilter, { key: "WorkTypesFilter",
|
30
|
+
filtercolumns.push(React.createElement(WorkTypesFilter, { key: "WorkTypesFilter", workspaceId: workspaceId }));
|
33
31
|
}
|
34
32
|
}
|
35
33
|
else if (status && workspaceId) {
|
36
|
-
filtercolumns = [React.createElement(WorkTypesFilter, { key: "WorkTypesFilter",
|
34
|
+
filtercolumns = [React.createElement(WorkTypesFilter, { key: "WorkTypesFilter", workspaceId: workspaceId })];
|
37
35
|
}
|
38
36
|
else {
|
39
37
|
filtercolumns = [React.createElement(WorkStatusFilter, { key: "WorkStatusFilter", defaultValue: defaultValue() })];
|
@@ -66,17 +64,14 @@ const WorkList = (props) => {
|
|
66
64
|
Total: true,
|
67
65
|
...list.filters.options,
|
68
66
|
});
|
69
|
-
useWorkTypeListEffect(null, (result) => setWorkTypeList(result), {
|
70
|
-
Filters: workspaceId ? [{ c: "ParentNodeId", o: "=", l: "And", v1: workspaceId }] : [],
|
71
|
-
});
|
72
67
|
return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
|
73
68
|
React.createElement(ListView, { headerProps: {
|
74
69
|
viewTitle: (React.createElement(React.Fragment, null,
|
75
70
|
React.createElement("span", { className: "margin-right-10" }, viewTitle || (workType === null || workType === void 0 ? void 0 : workType.name) || "My Works"),
|
76
|
-
total && workTotal ? React.createElement(Badge, { count: workTotal }) : null,
|
77
|
-
React.createElement(SelectedFilterLabel, { filterKey: "WorkTypes" }))),
|
71
|
+
total && workTotal ? React.createElement(Badge, { count: workTotal }) : null)),
|
78
72
|
sortable: false,
|
79
73
|
quickSearch: true,
|
74
|
+
selectedFilterKey: ["WorkTypes"],
|
80
75
|
addAble: addAble || (dueDate === "requested" ? true : false),
|
81
76
|
...listViewHeaderProps,
|
82
77
|
}, asideable: asideable, className: "work-list", moveAfter: moveAfter, formViewTitle: "Add Work", formView: React.createElement(NewWorkForm, { contact: contact, showView: true }), 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/components/WorkList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,cAAc,CAAC;AAuCtB,MAAM,QAAQ,GAAG,CAAC,KAAoB,EAAE,EAAE;IACzC,MAAM,EACL,OAAO,EACP,OAAO,EACP,KAAK,EACL,MAAM,EACN,SAAS,EACT,WAAW,EACX,MAAM,EACN,SAAS,EACT,OAAO,EACP,OAAO,EACP,SAAS,EACT,SAAS,EACT,KAAK,GACL,GAAG,KAAK,CAAC;IACV,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAC7C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ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AAO,EAAE,CAAC;IACX,CAAC;IAED,SAAS,QAAQ,CAAC,OAAY;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,QAAQ,CAAC,YAAY,GAAG;IACvB,SAAS,EAAE,IAAI;IACf,aAAa,EAAE,IAAI;CACnB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
@@ -1,9 +1,7 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
3
|
-
import { SelectedFilterLabel } from "@voplus/morpho-ui/es/controls";
|
4
3
|
import { useRenderOnChange } from "@voplus/morpho-ui";
|
5
4
|
import { useWorkScheduleListEffect } from "../../../../../data/work-schedule";
|
6
|
-
import { useWorkTypeListEffect } from "../../../../../data/worktype";
|
7
5
|
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
8
6
|
import { useAutoUpdateListData } from "../../../../../data/work-schedule/work-schedule-events";
|
9
7
|
import { useViewContext } from "@voplus/morpho-document-core/es/data/context/ViewContext";
|
@@ -23,7 +21,6 @@ const WorkScheduleList = (props) => {
|
|
23
21
|
const { contact, viewTitle, asideable, scheduleDate } = props;
|
24
22
|
const [activeId, setActiveId] = useState("");
|
25
23
|
const [addAble, setAddAble] = useState(false);
|
26
|
-
const [workTypeList, setWorkTypeList] = useState([]);
|
27
24
|
const view = useViewContext();
|
28
25
|
const list = useCreateListDataState({
|
29
26
|
filterDefaults: {
|
@@ -49,22 +46,18 @@ const WorkScheduleList = (props) => {
|
|
49
46
|
Total: true,
|
50
47
|
...list.filters.options,
|
51
48
|
});
|
52
|
-
useWorkTypeListEffect(null, (result) => setWorkTypeList(result), {
|
53
|
-
Filters: [],
|
54
|
-
});
|
55
49
|
return observe(() => (React.createElement(ListDataContext.Provider, { value: list },
|
56
50
|
React.createElement("div", { className: styles["work-schedule-list"] },
|
57
51
|
React.createElement(ListView, { headerProps: {
|
58
|
-
viewTitle:
|
59
|
-
React.createElement("span", { className: "margin-right-10" }, viewTitle),
|
60
|
-
React.createElement(SelectedFilterLabel, { filterKey: "WorkTypes" }))),
|
52
|
+
viewTitle: viewTitle,
|
61
53
|
sortable: false,
|
62
54
|
quickSearch: true,
|
55
|
+
selectedFilterKey: ["WorkTypes"],
|
63
56
|
onAdd: () => (view === null || view === void 0 ? void 0 : view.Type) === "PropertiesView" && setAddAble(!addAble),
|
64
57
|
filterViewProps: {
|
65
58
|
columns: [
|
66
59
|
React.createElement(WorkScheduleFilter, { key: "WorkScheduleFilter", defaultValue: "Empty" }),
|
67
|
-
React.createElement(WorkTypesFilter, { key: "WorkTypesFilter"
|
60
|
+
React.createElement(WorkTypesFilter, { key: "WorkTypesFilter" }),
|
68
61
|
],
|
69
62
|
onFilter,
|
70
63
|
},
|
@@ -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,
|
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,wDAAw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