@voplus/morpho-workspace 6.0.24 → 6.0.25
Sign up to get free protection for your applications and to get access to all the features.
- package/es/components/AutoSequenceDialog/Tip.js.map +1 -0
- package/es/{modules/work/work-type/components → components}/AutoSequenceDialog/index.d.ts +3 -6
- package/es/{modules/work/work-type/components → components}/AutoSequenceDialog/index.js +7 -13
- package/es/components/AutoSequenceDialog/index.js.map +1 -0
- package/es/{modules/work/work-type/components → components}/AutoSequenceDialog/state.d.ts +2 -2
- package/es/{modules/work/work-type/components → components}/AutoSequenceDialog/state.js +5 -5
- package/es/components/AutoSequenceDialog/state.js.map +1 -0
- package/es/components/AutoSequenceLink/index.d.ts +7 -0
- package/es/components/AutoSequenceLink/index.js +17 -0
- package/es/components/AutoSequenceLink/index.js.map +1 -0
- package/es/modules/work/work-type/components/WorkTypeProperties/Properties.js +2 -2
- package/es/modules/work/work-type/components/WorkTypeProperties/Properties.js.map +1 -1
- package/package.json +1 -1
- package/es/modules/work/work-type/components/AutoSequenceDialog/Tip.js.map +0 -1
- package/es/modules/work/work-type/components/AutoSequenceDialog/index.js.map +0 -1
- package/es/modules/work/work-type/components/AutoSequenceDialog/state.js.map +0 -1
- package/es/modules/work/work-type/components/AutoSequenceLink/index.d.ts +0 -5
- package/es/modules/work/work-type/components/AutoSequenceLink/index.js +0 -17
- package/es/modules/work/work-type/components/AutoSequenceLink/index.js.map +0 -1
- /package/es/{modules/work/work-type/components → components}/AutoSequenceDialog/Tip.d.ts +0 -0
- /package/es/{modules/work/work-type/components → components}/AutoSequenceDialog/Tip.js +0 -0
- /package/es/{modules/work/work-type/components → components}/AutoSequenceDialog/index.less +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Tip.js","sourceRoot":"","sources":["../../../src/components/AutoSequenceDialog/Tip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAElE,eAAe,CAAC,KAAuD,EAAE,EAAE;IAC1E,OAAO,CACN,oBAAC,OAAO,IAAC,OAAO,EAAE,kCAAO,KAAK,CAAC,OAAO,CAAQ;QAC7C;YACC,oBAAC,eAAe,IACf,IAAI,EAAE,YAAY,EAClB,IAAI,EAAC,IAAI,EACT,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,GAC/D,CACI,CACE,CACV,CAAC;AACH,CAAC,CAAC"}
|
@@ -1,12 +1,9 @@
|
|
1
1
|
import React from "react";
|
2
|
+
import { ISequenceInfo, SequenceEditOptions } from "../../data/worktype";
|
2
3
|
import "./index.less";
|
3
4
|
declare const AutoSequenceDialog: (props: {
|
4
|
-
|
5
|
-
defaultDocument?: {
|
6
|
-
id: string;
|
7
|
-
name: string;
|
8
|
-
} | undefined;
|
5
|
+
sequence?: ISequenceInfo | undefined;
|
9
6
|
onCancel?: (() => void) | undefined;
|
10
|
-
onSubmit?: (() => void) | undefined;
|
7
|
+
onSubmit?: ((Sequence: SequenceEditOptions) => void) | undefined;
|
11
8
|
}) => React.JSX.Element;
|
12
9
|
export default AutoSequenceDialog;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
|
-
import { useWorkTypeStore
|
2
|
+
import { useWorkTypeStore } from "../../data/worktype";
|
3
3
|
import { State } from "./state";
|
4
4
|
import { observe } from "@voplus/morpho-ui";
|
5
5
|
import { Form, Select, Modal, Input, InputNumber, Row, Col } from "antd";
|
@@ -10,8 +10,7 @@ const AutoSequenceDialog = (props) => {
|
|
10
10
|
const [state] = useState(new State(store));
|
11
11
|
const dateFormat = "{0:date format}";
|
12
12
|
const sequenceFormat = "{1:sequence format}";
|
13
|
-
|
14
|
-
state.update(worktype);
|
13
|
+
state.update(props.sequence);
|
15
14
|
return observe(() => {
|
16
15
|
var _a;
|
17
16
|
return (React.createElement(Modal, { width: 550, open: true, title: "Auto Sequence", okText: "Save", onCancel: props.onCancel, onOk: onSubmit },
|
@@ -81,17 +80,12 @@ const AutoSequenceDialog = (props) => {
|
|
81
80
|
});
|
82
81
|
async function onSubmit() {
|
83
82
|
var _a;
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
Reset: state.reset,
|
90
|
-
StartFrom: state.startFrom,
|
91
|
-
},
|
92
|
-
},
|
83
|
+
(_a = props.onSubmit) === null || _a === void 0 ? void 0 : _a.call(props, {
|
84
|
+
Format: state.format,
|
85
|
+
Sequence: state.sequence,
|
86
|
+
Reset: state.reset,
|
87
|
+
StartFrom: state.startFrom,
|
93
88
|
});
|
94
|
-
(_a = props.onSubmit) === null || _a === void 0 ? void 0 : _a.call(props);
|
95
89
|
}
|
96
90
|
};
|
97
91
|
export default AutoSequenceDialog;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/AutoSequenceDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAsC,MAAM,qBAAqB,CAAC;AAC3F,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AACzE,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,cAAc,CAAC;AAEtB,MAAM,kBAAkB,GAAG,CAAC,KAI3B,EAAE,EAAE;IACJ,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,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ACtB,QAAQ,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,GACrD,CACS,CACP,CACD,CACA,CACA,CACR,CAAA;KAAA,CAAC,CAAC;IAEH,KAAK,UAAU,QAAQ;;QACtB,MAAA,KAAK,CAAC,QAAQ,sDAAG;YAChB,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,SAAS,EAAE,KAAK,CAAC,SAAS;SAC1B,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IPreview, SequenceReset,
|
1
|
+
import { IPreview, SequenceReset, WorkTypeStore, ISequenceInfo } from "../../data/worktype";
|
2
2
|
export declare class State {
|
3
3
|
private store;
|
4
4
|
constructor(store: WorkTypeStore);
|
@@ -7,6 +7,6 @@ export declare class State {
|
|
7
7
|
reset: SequenceReset;
|
8
8
|
startFrom?: number;
|
9
9
|
preview?: IPreview;
|
10
|
-
update(data
|
10
|
+
update(data?: ISequenceInfo): void;
|
11
11
|
getPreview(): Promise<void>;
|
12
12
|
}
|
@@ -41,11 +41,11 @@ export class State {
|
|
41
41
|
makeObservable(this);
|
42
42
|
}
|
43
43
|
update(data) {
|
44
|
-
var _a, _b
|
45
|
-
this.format =
|
46
|
-
this.sequence = (
|
47
|
-
this.reset = (
|
48
|
-
this.startFrom =
|
44
|
+
var _a, _b;
|
45
|
+
this.format = data === null || data === void 0 ? void 0 : data.format;
|
46
|
+
this.sequence = (_a = data === null || data === void 0 ? void 0 : data.sequence) !== null && _a !== void 0 ? _a : 0;
|
47
|
+
this.reset = (_b = data === null || data === void 0 ? void 0 : data.reset) !== null && _b !== void 0 ? _b : "None";
|
48
|
+
this.startFrom = data === null || data === void 0 ? void 0 : data.startFrom;
|
49
49
|
this.getP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;uCAA6B;AACrB;IAAlB,UAAU;oCAAsC;AAC9B;IAAlB,UAAU;wCAA+B;AACvB;IAAlB,UAAU;sCAA2B;AAEvB;IAAd,MAAM;mCAMN;AAEoB;IAApB,MAAM;uCAON"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { ISequenceInfo, SequenceEditOptions } from "../../data/worktype";
|
3
|
+
declare const AutoSequenceLink: (props: {
|
4
|
+
sequence?: ISequenceInfo | undefined;
|
5
|
+
onSubmit?: ((Sequence: SequenceEditOptions) => void) | undefined;
|
6
|
+
}) => React.JSX.Element;
|
7
|
+
export default AutoSequenceLink;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import React, { useState } from "react";
|
2
|
+
import { observe } from "@voplus/morpho-ui";
|
3
|
+
import AutoSequenceDialog from "../AutoSequenceDialog";
|
4
|
+
import classnames from "classnames";
|
5
|
+
const AutoSequenceLink = (props) => {
|
6
|
+
const [open, setOpen] = useState(false);
|
7
|
+
const { sequence } = props;
|
8
|
+
return observe(() => (React.createElement(React.Fragment, null,
|
9
|
+
React.createElement("span", { className: classnames({ "add-info-style": !(sequence === null || sequence === void 0 ? void 0 : sequence.format) }), style: { cursor: "pointer" }, onClick: () => setOpen(true) }, (sequence === null || sequence === void 0 ? void 0 : sequence.format) ? sequence.format : "Add NumberFormat"),
|
10
|
+
open && (React.createElement(AutoSequenceDialog, { sequence: sequence, onCancel: () => setOpen(false), onSubmit: (data) => {
|
11
|
+
var _a;
|
12
|
+
setOpen(false);
|
13
|
+
(_a = props.onSubmit) === null || _a === void 0 ? void 0 : _a.call(props, data);
|
14
|
+
} })))));
|
15
|
+
};
|
16
|
+
export default AutoSequenceLink;
|
17
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/AutoSequenceLink/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,UAAU,MAAM,YAAY,CAAC;AAGpC,MAAM,gBAAgB,GAAG,CAAC,KAGzB,EAAE,EAAE;IACJ,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxC,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAE3B,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACC,8BACC,SAAS,EAAE,UAAU,CAAC,EAAE,gBAAgB,EAAE,CAAC,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,CAAA,EAAE,CAAC,EAC9D,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAC5B,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAE3B,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,EAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,kBAAkB,CAClD;QACN,IAAI,IAAI,CACR,oBAAC,kBAAkB,IAClB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAC9B,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE;;gBAClB,OAAO,CAAC,KAAK,CAAC,CAAC;gBACf,MAAA,KAAK,CAAC,QAAQ,sDAAG,IAAI,CAAC,CAAC;YACxB,CAAC,GACA,CACF,CACC,CACH,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
@@ -11,7 +11,7 @@ import DocumentReference from "@voplus/morpho-document/es/controls/DocumentRefer
|
|
11
11
|
import DocumentSelectDialog from "@voplus/morpho-document/es/components/DocumentSelectDialog";
|
12
12
|
import ChangeWorkDefaultFolderDialog from "../ChangeWorkDefaultFolderDialog";
|
13
13
|
import WorkTypeStatusLabel from "../../controls/WorkTypeStatusLabel";
|
14
|
-
import AutoSequenceLink from "
|
14
|
+
import AutoSequenceLink from "../../../../../components/AutoSequenceLink";
|
15
15
|
const Properties = (props) => {
|
16
16
|
const { id, propertiesName } = props;
|
17
17
|
const worktype = useWorkType(id);
|
@@ -29,7 +29,7 @@ const Properties = (props) => {
|
|
29
29
|
case "Work Space":
|
30
30
|
return (React.createElement(NodeLink, { node: worktype === null || worktype === void 0 ? void 0 : worktype.workspace, url: `/workspaces/${(_a = worktype.workspace) === null || _a === void 0 ? void 0 : _a.id}` }));
|
31
31
|
case "Number Format":
|
32
|
-
return React.createElement(AutoSequenceLink, {
|
32
|
+
return (React.createElement(AutoSequenceLink, { sequence: worktype.sequence, onSubmit: (sequence) => store.edit(worktype.id, { data: { Sequence: sequence } }) }));
|
33
33
|
case "Status":
|
34
34
|
return (React.createElement(WorkTypeStatusLabel, { editable: true, status: worktype.status, onChange: (status) => {
|
35
35
|
store.edit(worktype.id, { data: { Status: status }, error: "message" });
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Properties.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/Properties.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,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,QAAQ,MAAM,kCAAkC,CAAC;AACxD,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,iBAAiB,MAAM,+EAA+E,CAAC;AAC9G,OAAO,oBAAoB,MAAM,4DAA4D,CAAC;AAC9F,OAAO,6BAA6B,MAAM,kCAAkC,CAAC;AAC7E,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,gBAAgB,MAAM,
|
1
|
+
{"version":3,"file":"Properties.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/Properties.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,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,QAAQ,MAAM,kCAAkC,CAAC;AACxD,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,iBAAiB,MAAM,+EAA+E,CAAC;AAC9G,OAAO,oBAAoB,MAAM,4DAA4D,CAAC;AAC9F,OAAO,6BAA6B,MAAM,kCAAkC,CAAC;AAC7E,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,gBAAgB,MAAM,4CAA4C,CAAC;AAc1E,MAAM,UAAU,GAAG,CAAC,KAA6D,EAAE,EAAE;IACpF,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IACrC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IACjC,MAAM,KAAK,GAAG,gBAAgB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AAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Tip.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/AutoSequenceDialog/Tip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAElE,eAAe,CAAC,KAAuD,EAAE,EAAE;IAC1E,OAAO,CACN,oBAAC,OAAO,IAAC,OAAO,EAAE,kCAAO,KAAK,CAAC,OAAO,CAAQ;QAC7C;YACC,oBAAC,eAAe,IACf,IAAI,EAAE,YAAY,EAClB,IAAI,EAAC,IAAI,EACT,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,GAC/D,CACI,CACE,CACV,CAAC;AACH,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/AutoSequenceDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AACzE,OAAO,GAAG,MAAM,OAAO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,CACP;oBACN,oBAAC,GAAG,IAAC,IAAI,EAAE,CAAC;wBACX,oBAAC,IAAI,CAAC,IAAI,IACT,KAAK,EACJ;;gCAEC,oBAAC,GAAG,IACH,OAAO,EACN;;wCAEC,+BAAM;iHAEJ,GAEH,CACA;4BAGJ,oBAAC,WAAW,IACX,KAAK,EAAE,KAAK,CAAC,SAAS,EACtB,QAAQ,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,GACrD,CACS,CACP,CACD,CACA,CACA,CACR,CAAA;KAAA,CAAC,CAAC;IAEH,KAAK,UAAU,QAAQ;;QACtB,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE;YACpB,IAAI,EAAE;gBACL,QAAQ,EAAE;oBACT,MAAM,EAAE,KAAK,CAAC,MAAM;oBACpB,QAAQ,EAAE,KAAK,CAAC,QAAQ;oBACxB,KAAK,EAAE,KAAK,CAAC,KAAK;oBAClB,SAAS,EAAE,KAAK,CAAC,SAAS;iBAC1B;aACD;SACD,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/AutoSequenceDialog/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAG1D,MAAM,OAAO,KAAK;IACjB,YAA2B,KAAoB;QAA5B;;;;mBAAQ,KAAK;WAAe;QAI5B;;;;;WAAgB;QAChB;;;;mBAAmB,CAAC;WAAC;QACrB;;;;mBAAuB,MAAM;WAAC;QAC9B;;;;mBAAqB,CAAC;WAAC;QACvB;;;;;WAAmB;QAPrC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAQc,MAAM,CAAC,IAAe;;QACpC,IAAI,CAAC,MAAM,GAAG,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,0CAAE,MAAM,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,MAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,0CAAE,QAAQ,mCAAI,CAAC,CAAC;QAC9C,IAAI,CAAC,KAAK,GAAG,MAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,0CAAE,KAAK,mCAAI,MAAM,CAAC;QAC7C,IAAI,CAAC,SAAS,GAAG,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,0CAAE,SAAS,CAAC;QAC3C,IAAI,CAAC,UAAU,EAAE,CAAC;IACnB,CAAC;IAEoB,AAAN,KAAK,CAAC,UAAU;QAC9B,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YACjB,IAAI,CAAC,OAAO,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;gBACvC,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACvB,CAAC,CAAC;QACJ,CAAC;IACF,CAAC;CACD;AAtBmB;IAAlB,UAAU;qCAAwB;AAChB;IAAlB,UAAU;uCAA6B;AACrB;IAAlB,UAAU;oCAAsC;AAC9B;IAAlB,UAAU;wCAA+B;AACvB;IAAlB,UAAU;sCAA2B;AAEvB;IAAd,MAAM;mCAMN;AAEoB;IAApB,MAAM;uCAON"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import React, { useState } from "react";
|
2
|
-
import { observe } from "@voplus/morpho-ui";
|
3
|
-
import AutoSequenceDialog from "../AutoSequenceDialog";
|
4
|
-
import classnames from "classnames";
|
5
|
-
import { useWorkType } from "../../../../../data/worktype";
|
6
|
-
const AutoSequenceLink = (props) => {
|
7
|
-
const [open, setOpen] = useState(false);
|
8
|
-
const worktype = useWorkType(props.id);
|
9
|
-
return observe(() => {
|
10
|
-
var _a, _b;
|
11
|
-
return (React.createElement(React.Fragment, null,
|
12
|
-
React.createElement("span", { className: classnames({ "add-info-style": !((_a = worktype.sequence) === null || _a === void 0 ? void 0 : _a.format) }), style: { cursor: "pointer" }, onClick: () => setOpen(true) }, ((_b = worktype.sequence) === null || _b === void 0 ? void 0 : _b.format) ? worktype.sequence.format : "Add NumberFormat"),
|
13
|
-
open && (React.createElement(AutoSequenceDialog, { id: props.id, onCancel: () => setOpen(false), onSubmit: () => setOpen(false) }))));
|
14
|
-
});
|
15
|
-
};
|
16
|
-
export default AutoSequenceLink;
|
17
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/AutoSequenceLink/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,gBAAgB,GAAG,CAAC,KAAqB,EAAE,EAAE;IAClD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxC,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAEvC,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB;YACC,8BACC,SAAS,EAAE,UAAU,CAAC,EAAE,gBAAgB,EAAE,CAAC,CAAA,MAAA,QAAQ,CAAC,QAAQ,0CAAE,MAAM,CAAA,EAAE,CAAC,EACvE,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,E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