@voplus/morpho-workspace 6.0.112 → 6.0.114

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,7 @@ import React from "react";
2
2
  import { ISequenceInfo, SequenceEditOptions } from "../../data/worktype";
3
3
  declare const AutoSequenceLink: (props: {
4
4
  sequence?: ISequenceInfo;
5
+ style?: React.CSSProperties;
5
6
  onSubmit?: (Sequence: SequenceEditOptions) => void;
6
7
  }) => React.JSX.Element;
7
8
  export default AutoSequenceLink;
@@ -1,12 +1,11 @@
1
1
  import React, { useState } from "react";
2
2
  import { observe } from "@voplus/morpho-ui";
3
3
  import AutoSequenceDialog from "../AutoSequenceDialog";
4
- import classnames from "classnames";
5
4
  const AutoSequenceLink = (props) => {
6
5
  const [open, setOpen] = useState(false);
7
6
  const { sequence } = props;
8
7
  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"),
8
+ React.createElement("span", { style: { cursor: "pointer" }, onClick: () => setOpen(true) }, (sequence === null || sequence === void 0 ? void 0 : sequence.format) ? (React.createElement("span", { style: props.style }, sequence.format)) : (React.createElement("span", { className: "add-info-style" }, "Add NumberFormat"))),
10
9
  open && (React.createElement(AutoSequenceDialog, { sequence: sequence, onCancel: () => setOpen(false), onSubmit: (data) => {
11
10
  var _a;
12
11
  setOpen(false);
@@ -1 +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,gBA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,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,8BAAM,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAC9D,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,EAAC,CAAC,CAAC,CACnB,8BAAM,KAAK,EAAE,KAAK,CAAC,KAAK,IAAG,QAAQ,CAAC,MAAM,CAAQ,CAClD,CAAC,CAAC,CAAC,CACH,8BAAM,SAAS,EAAC,gBAAgB,uBAAwB,CACxD,CACK;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"}
@@ -48,8 +48,12 @@
48
48
  }
49
49
 
50
50
  .new-notification-form-tabs {
51
- flex: 1;
52
-
51
+ flex: 1;
52
+
53
+ & > .ant-tabs-nav {
54
+ margin-bottom: 16px !important;
55
+ }
56
+
53
57
  .email-content-component {
54
58
  height: calc(100% - 36px);
55
59
 
@@ -7,7 +7,7 @@ import { useApplicationContext } from "@voplus/morpho-data";
7
7
  import { useWorkType, useWorkTypeStore } from "../../../../../data/worktype";
8
8
  import NodeLink from "../../../../../controls/NodeLink";
9
9
  import AvatarList from "@voplus/morpho-org/es/components/AvatarList";
10
- import DocumentReference from "@voplus/morpho-document/es/controls/DocumentReference/LoadedDocumentReference";
10
+ import DocumentReference from "@voplus/morpho-document/es/controls/DocumentReference";
11
11
  import DocumentSelectDialog from "@voplus/morpho-document/es/components/DocumentSelectDialog";
12
12
  import ChangeWorkDefaultFolderDialog from "../ChangeWorkDefaultFolderDialog";
13
13
  import WorkTypeStatusLabel from "../../controls/WorkTypeStatusLabel";
@@ -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, { sequence: worktype.sequence, onSubmit: (sequence) => store.edit(worktype.id, { data: { Sequence: sequence } }) }));
32
+ return (React.createElement(AutoSequenceLink, { style: { color: "#868686" }, 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" });
@@ -37,15 +37,15 @@ const Properties = (props) => {
37
37
  case "Default Folder":
38
38
  return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_b = state.worktype.defaultFolder) === null || _b === void 0 ? void 0 : _b.name}`, editable: false, content: (v) => {
39
39
  var _a;
40
- return (React.createElement("div", null, ((_a = state.worktype.defaultFolder) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(DocumentReference, { file: state.worktype.defaultFolder })) : (React.createElement("span", { className: "add-info-style" }, "Add Default Folder"))));
40
+ return (React.createElement("div", null, ((_a = state.worktype.defaultFolder) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(DocumentReference, { type: "link", id: state.worktype.defaultFolder.id })) : (React.createElement("span", { className: "add-info-style" }, "Add Default Folder"))));
41
41
  }, onEditIconClick: () => runInAction(() => (state.folderEdit = true)) }));
42
42
  case "Documentation":
43
43
  return (React.createElement(InlineEdit, { showEditIcon: true, defaultValue: `&${(_c = state.worktype.document) === null || _c === void 0 ? void 0 : _c.name}`, editable: false, content: (v) => {
44
44
  var _a;
45
- return (React.createElement("div", null, ((_a = state.worktype.document) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(DocumentReference, { file: state.worktype.document })) : (React.createElement("span", { className: "add-info-style" }, "Add Documentation"))));
45
+ return (React.createElement("div", null, ((_a = state.worktype.document) === null || _a === void 0 ? void 0 : _a.id) ? (React.createElement(DocumentReference, { type: "link", id: state.worktype.document.id })) : (React.createElement("span", { className: "add-info-style" }, "Add Documentation"))));
46
46
  }, onEditIconClick: () => runInAction(() => (state.documentationEdit = true)) }));
47
47
  case "Default Due":
48
- return (React.createElement(InlineEdit, { defaultValue: worktype.defaultDue, content: (v) => (React.createElement("div", null, (worktype.defaultDue === 0 ? "Same day" : `${worktype.defaultDue} days`) || (React.createElement("span", { className: "add-info-style" }, "Add default due in days")))), onSave: (value) => store.edit(worktype.id, { data: { DefaultDue: value }, error: "message" }) }));
48
+ return (React.createElement(InlineEdit, { defaultValue: worktype.defaultDue, content: (v) => worktype.defaultDue !== undefined ? (React.createElement("span", { className: "properties-value" }, worktype.defaultDue === 0 ? "Same day" : `${worktype.defaultDue} days`)) : (React.createElement("span", { className: "add-info-style" }, "Add default due in days")), onSave: (value) => store.edit(worktype.id, { data: { DefaultDue: value }, error: "message" }) }));
49
49
  case "Requester":
50
50
  return (React.createElement(AvatarList, { organizationId: user.info.organizationId, multiple: true, buttonText: "Ok", list: worktype.requester, onChange: (ids) => {
51
51
  store.edit(worktype.id, { data: { RequesterIds: ids }, 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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AK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBAC3E,CAAC,GACA,CACF,CAAC;YACH,KAAK,eAAe;gBACnB,OAAO,CACN,oBAAC,UAAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,QAAQ,QACR,UAAU,EAAC,IAAI,EACf,IAAI,EAAE,QAAQ,CAAC,MAAM,EACrB,QAAQ,EAAE,CAAC,GAAa,EAAE,EAAE;wBAC3B,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBACxE,CAAC,GACA,CACF,CAAC;YACH,KAAK,aAAa;gBACjB,OAAO,CACN,oBAAC,MAAM,IACN,OAAO,EAAE,QAAQ,CAAC,UAAU,EAC5B,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,CACrB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAE5E,CACF,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
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;AAC9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AC3B,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBAC3E,CAAC,GACA,CACF,CAAC;YACH,KAAK,eAAe;gBACnB,OAAO,CACN,oBAAC,UAAU,IACV,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,cAAc,EACxC,QAAQ,QACR,UAAU,EAAC,IAAI,EACf,IAAI,EAAE,QAAQ,CAAC,MAAM,EACrB,QAAQ,EAAE,CAAC,GAAa,EAAE,EAAE;wBAC3B,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;oBACxE,CAAC,GACA,CACF,CAAC;YACH,KAAK,aAAa;gBACjB,OAAO,CACN,oBAAC,MAAM,IACN,OAAO,EAAE,QAAQ,CAAC,UAAU,EAC5B,QAAQ,EAAE,CAAC,OAAO,EAAE,EAAE,CACrB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,GAE5E,CACF,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -8,7 +8,7 @@ const WorkTypePropertiesCard = (props) => {
8
8
  const { id, workTypeProperties } = props;
9
9
  const worktype = useWorkType(id);
10
10
  return observe(() => (React.createElement(Skeleton, { active: true, loading: !worktype.loaded },
11
- React.createElement(PropertiesCard, { title: "Work Type Details", cardList: workTypeProperties, cardItem: (item) => React.createElement(Properties, { id: id, propertiesName: item }) }))));
11
+ React.createElement(PropertiesCard, { className: "work-type-properties-card", title: "Work Type Details", cardList: workTypeProperties, cardItem: (item) => React.createElement(Properties, { id: id, propertiesName: item }) }))));
12
12
  };
13
13
  WorkTypePropertiesCard.defaultProps = {
14
14
  workTypeProperties: [
@@ -1 +1 @@
1
- {"version":3,"file":"WorkTypePropertiesCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,sBAAsB,GAAG,CAAC,KAG/B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IACzC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEjC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,MAAM;QACzC,oBAAC,cAAc,IACd,KAAK,EAAC,mBAAmB,EACzB,QAAQ,EAAE,kBAAkB,EAC5B,QAAQ,EAAE,CAAC,IAA4B,EAAE,EAAE,CAAC,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,GAAI,GACvF,CACQ,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,kBAAkB,EAAE;QACnB,EAAE,GAAG,EAAE,YAAY,EAAE;QACrB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,QAAQ,EAAE;QACjB,EAAE,GAAG,EAAE,gBAAgB,EAAE;QACzB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;QACtB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;KACtB;CACD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"WorkTypePropertiesCard.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,cAAc,MAAM,8CAA8C,CAAC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,sBAAsB,GAAG,CAAC,KAG/B,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IACzC,MAAM,QAAQ,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;IAEjC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,IAAC,MAAM,QAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,MAAM;QACzC,oBAAC,cAAc,IACd,SAAS,EAAC,2BAA2B,EACrC,KAAK,EAAC,mBAAmB,EACzB,QAAQ,EAAE,kBAAkB,EAC5B,QAAQ,EAAE,CAAC,IAA4B,EAAE,EAAE,CAAC,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,GAAI,GACvF,CACQ,CACX,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,kBAAkB,EAAE;QACnB,EAAE,GAAG,EAAE,YAAY,EAAE;QACrB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,QAAQ,EAAE;QACjB,EAAE,GAAG,EAAE,gBAAgB,EAAE;QACzB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;QACtB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,WAAW,EAAE;QACpB,EAAE,GAAG,EAAE,eAAe,EAAE;QACxB,EAAE,GAAG,EAAE,aAAa,EAAE;KACtB;CACD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -1,35 +1,27 @@
1
- import { InlineEdit, observe } from "@voplus/morpho-ui";
2
- import Properties from "./Properties";
3
1
  import React, { useState } from "react";
2
+ import { State } from "./state";
3
+ import { Scrollbars } from "react-custom-scrollbars-2";
4
+ import { InlineEdit, observe } from "@voplus/morpho-ui";
4
5
  import { useWorkType, useWorkTypeStore } from "../../../../../data/worktype";
5
6
  import PropertiesSection from "@voplus/morpho-ui/es/controls/PropertiesSection";
7
+ import Properties from "./Properties";
6
8
  import Prop from "@voplus/morpho-ui/es/controls/Prop";
7
- import { Form } from "antd";
8
- import { Scrollbars } from "react-custom-scrollbars-2";
9
- import { State } from "./state";
10
9
  import classnames from "classnames";
10
+ import styles from "./index.less";
11
11
  const WorkTypeProperties = (props) => {
12
+ const { id, workTypeProperties } = props;
12
13
  /** 加class name 为了方便做integration tests */
13
14
  const classId = "workType-properties";
14
- const { id, workTypeProperties } = props;
15
+ const worktype = useWorkType(props.id);
15
16
  const store = useWorkTypeStore();
16
17
  const [state] = useState(new State(store));
17
- const worktype = useWorkType(props.id);
18
18
  state.update(worktype);
19
- const [form] = Form.useForm();
20
- return observe(() => (React.createElement("div", { className: classnames("properties-list") },
21
- props.header && (React.createElement("div", { className: "properties-header" },
22
- React.createElement("div", { className: "title" },
23
- React.createElement(InlineEdit, { defaultValue: worktype === null || worktype === void 0 ? void 0 : worktype.name, content: (v) => React.createElement("div", null, worktype === null || worktype === void 0 ? void 0 : worktype.name), onSave: (value) => state.save(value, worktype.name, { Name: value }) })))),
19
+ return observe(() => (React.createElement("div", { className: classnames(styles["work-type-properties"], "properties-list") },
20
+ props.header && (React.createElement("div", { className: "work-type-properties-type-header" },
21
+ React.createElement(InlineEdit, { defaultValue: worktype === null || worktype === void 0 ? void 0 : worktype.name, content: (v) => React.createElement("div", { className: "work-type-properties-type-name" }, worktype === null || worktype === void 0 ? void 0 : worktype.name), onSave: (value) => state.save(value, worktype.name, { Name: value }) }))),
24
22
  React.createElement(Scrollbars, { autoHide: true },
25
- React.createElement(PropertiesSection, { properties: () => workTypeProperties === null || workTypeProperties === void 0 ? void 0 : workTypeProperties.map((i) => (React.createElement(Prop, { key: i, label: i, className: `${classId}-${i}` },
23
+ React.createElement(PropertiesSection, { title: "WORK TYPE PROPERTIES", properties: () => workTypeProperties === null || workTypeProperties === void 0 ? void 0 : workTypeProperties.map((i) => (React.createElement(Prop, { key: i, label: i, className: `${classId}-${i}` },
26
24
  React.createElement(Properties, { id: id, propertiesName: i })))) })))));
27
- /** 转换 */
28
- function titleCase(str) {
29
- const str1 = str.replace(" ", "");
30
- const newStr = str1.slice(0, 1).toLowerCase() + str1.slice(1);
31
- return newStr;
32
- }
33
25
  };
34
26
  WorkTypeProperties.defaultProps = {
35
27
  header: true,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,UAAsC,MAAM,cAAc,CAAC;AAClE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,iBAAiB,MA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IAAI,EAAE,KAAK,EAAE,CAAC,GACxE,CACG,CACD,CACN;QACD,oBAAC,UAAU,IAAC,QAAQ;YACnB,oBAAC,iBAAiB,IACjB,UAAU,EAAE,GAAG,EAAE,CAChB,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,GAAG,CAAC,CAAC,CAAyB,EAAE,EAAE,CAAC,CACtD,oBAAC,IAAI,IAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,OAAO,IAAI,CAAC,EAAE;oBACnD,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,CAAC,GAAI,CACnC,CACP,CAAC,GAEF,CACU,CACR,CACN,CAAC,CAAC;IAEH,SAAS;IACT,SAAS,SAAS,CAAC,GAAW;QAC7B,MAAM,IAAI,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QAClC,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC9D,OAAO,MAAM,CAAC;IACf,CAAC;AACF,CAAC,CAAC;AAEF,kBAAkB,CAAC,YAAY,GAAG;IACjC,MAAM,EAAE,IAAI;IACZ,kBAAkB,EAAE;QACnB,YAAY;QACZ,eAAe;QACf,QAAQ;QACR,gBAAgB;QAChB,eAAe;QACf,aAAa;QACb,WAAW;QACX,WAAW;QACX,eAAe;QACf,aAAa;KACb;CACD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypeProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO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E,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GACxE,CACG,CACN;QACD,oBAAC,UAAU,IAAC,QAAQ;YACnB,oBAAC,iBAAiB,IACjB,KAAK,EAAC,sBAAsB,EAC5B,UAAU,EAAE,GAAG,EAAE,CAChB,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,GAAG,CAAC,CAAC,CAAyB,EAAE,EAAE,CAAC,CACtD,oBAAC,IAAI,IAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,OAAO,IAAI,CAAC,EAAE;oBACnD,oBAAC,UAAU,IAAC,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,CAAC,GAAI,CACnC,CACP,CAAC,GAEF,CACU,CACR,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAkB,CAAC,YAAY,GAAG;IACjC,MAAM,EAAE,IAAI;IACZ,kBAAkB,EAAE;QACnB,YAAY;QACZ,eAAe;QACf,QAAQ;QACR,gBAAgB;QAChB,eAAe;QACf,aAAa;QACb,WAAW;QACX,WAAW;QACX,eAAe;QACf,aAAa;KACb;CACD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,12 @@
1
+ .work-type-properties {
2
+ :global {
3
+ .work-type-properties-type-header {
4
+ padding: 0.625em 12px 0;
5
+
6
+ .work-type-properties-type-name {
7
+ font-size: 1.22222222em;
8
+ font-weight: 500;
9
+ }
10
+ }
11
+ }
12
+ }
@@ -5,9 +5,6 @@
5
5
  height: 100%;
6
6
 
7
7
  :global {
8
- .main-content-nav {
9
- }
10
-
11
8
  .work-type-page-content {
12
9
  background: #fff;
13
10
  padding: 0;
@@ -49,6 +46,10 @@
49
46
  }
50
47
  }
51
48
 
49
+ .work-type-properties-card {
50
+ margin-top: 1.25rem;
51
+ }
52
+
52
53
  .description-editor {
53
54
  padding-top: 0 !important;
54
55
 
@@ -26,10 +26,15 @@
26
26
  right: 10px;
27
27
  top: 10px;
28
28
 
29
- .ant-badge-count {
29
+ & > .ant-badge-count {
30
30
  background-color: #fff !important;
31
31
  border: none;
32
32
  box-shadow: @badge-hover-shadow;
33
+ min-width: 22px !important;
34
+ height: 22px !important;
35
+ line-height: 20px !important;
36
+ color: @ant-badge-color !important;
37
+ border-radius: 11px !important;
33
38
  }
34
39
  }
35
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.112",
3
+ "version": "6.0.114",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",