@voplus/morpho-workspace 6.0.111 → 6.0.113
Sign up to get free protection for your applications and to get access to all the features.
- package/es/modules/notification/components/NewNotificationForm/index.less +6 -2
- package/es/modules/work/components/NewWorkForm/NewWorkFormDialog.js +1 -1
- package/es/modules/work/components/NewWorkForm/NewWorkFormDialog.js.map +1 -1
- package/es/modules/work/components/NewWorkForm/index.less +3 -0
- package/es/modules/work/components/WorkTableListCard/index.js +1 -1
- package/es/modules/work/components/WorkTableListCard/index.js.map +1 -1
- package/es/modules/workspace/components/WorkspaceIcon/index.less +6 -1
- package/package.json +1 -1
@@ -5,7 +5,7 @@ import { observe } from "@voplus/morpho-ui";
|
|
5
5
|
import "./index.less";
|
6
6
|
const NewWorkFormDialog = (props) => {
|
7
7
|
return observe(() => (React.createElement(Modal, { className: "new-work-form-dialog", title: "New Work Form Dialog", open: true, closable: false, footer: false, onCancel: props.onCancel },
|
8
|
-
React.createElement(NewWorkForm, { ...props }))));
|
8
|
+
React.createElement(NewWorkForm, { openMode: "openBottom", ...props }))));
|
9
9
|
};
|
10
10
|
NewWorkFormDialog.defaultProps = {
|
11
11
|
type: "mini",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NewWorkFormDialog.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkForm/NewWorkFormDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,WAAiC,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,cAAc,CAAC;AAEtB,MAAM,iBAAiB,GAAG,CAAC,KAAuB,EAAE,EAAE;
|
1
|
+
{"version":3,"file":"NewWorkFormDialog.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/NewWorkForm/NewWorkFormDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,WAAiC,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,cAAc,CAAC;AAEtB,MAAM,iBAAiB,GAAG,CAAC,KAAuB,EAAE,EAAE;IACrD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,KAAK,IACL,SAAS,EAAC,sBAAsB,EAChC,KAAK,EAAC,sBAAsB,EAC5B,IAAI,QACJ,QAAQ,EAAE,KAAK,EACf,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,KAAK,CAAC,QAAQ;QAExB,oBAAC,WAAW,IAAC,QAAQ,EAAC,YAAY,KAAK,KAAK,GAAI,CACzC,CACR,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,iBAAiB,CAAC,YAAY,GAAG;IAChC,IAAI,EAAE,MAAM;CACZ,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
@@ -85,7 +85,7 @@ const WorkTableListCard = (props) => {
|
|
85
85
|
workTotal ? React.createElement(Badge, { count: workTotal, overflowCount: 99 }) : null)),
|
86
86
|
React.createElement("div", null, props.addAble && (React.createElement(Button, { className: "create-new", type: "link", onClick: () => setVisible(true) }, "+Create New")))) },
|
87
87
|
React.createElement(TableListCard, { tableListProps: { columns: columns, components: components } }))),
|
88
|
-
visible && React.createElement(NewWorkFormDialog, { contact: props.primaryContact }))));
|
88
|
+
visible && (React.createElement(NewWorkFormDialog, { contact: props.primaryContact, onCancel: () => setVisible(false), onSave: () => setVisible(false) })))));
|
89
89
|
function filters() {
|
90
90
|
let filter = [];
|
91
91
|
if (contactId) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkTableListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kCAAkC,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,KAAK,EAAE,IAAI;YACpC,oBAAC,qBAAqB,IACrB,QAAQ,QACR,MAAM,EACL;oBACC;wBACC,8BAAM,SAAS,EAAC,OAAO;;4BAChB,SAAS,CAAC,CAAC,CAAC,oBAAC,KAAK,IAAC,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,EAAE,GAAI,CAAC,CAAC,CAAC,IAAI,CACjE,CACF;oBACN,iCACE,KAAK,CAAC,OAAO,IAAI,CACjB,oBAAC,MAAM,IAAC,SAAS,EAAC,YAAY,EAAC,IAAI,EAAC,MAAM,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,kBAEjE,CACT,CACI,CACJ;gBAGJ,oBAAC,aAAa,IAAC,cAAc,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,GAAI,CACxD,CACE;QAC1B,OAAO,IAAI,oBAAC,iBAAiB,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkTableListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC5F,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,EAAE,qBAAqB,EAAgB,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,qBAAqB,MAAM,uDAAuD,CAAC;AAC1F,OAAO,aAAa,MAAM,+CAA+C,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,iBAAiB,EAAgB,MA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AE,UAAU,EAAE,UAAU,EAAE,GAAI,CACxD,CACE;QAC1B,OAAO,IAAI,CACX,oBAAC,iBAAiB,IACjB,OAAO,EAAE,KAAK,CAAC,cAAc,EAC7B,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EACjC,MAAM,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAC9B,CACF,CACC,CACH,CAAC,CAAC;IAEH,SAAS,OAAO;QACf,IAAI,MAAM,GAAmB,EAAE,CAAC;QAChC,IAAI,SAAS,EAAE,CAAC;YACf,MAAM,GAAG;gBACR,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE;gBACjD;oBACC,CAAC,EAAE,YAAY;oBACf,CAAC,EAAE,UAAU;oBACb,CAAC,EAAE,KAAK;oBACR,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;iBACrC;aACD,CAAC;QACH,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;AACF,CAAC,CAAC;AAEF,iBAAiB,CAAC,YAAY,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AAEnD,eAAe,iBAAiB,CAAC"}
|
@@ -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
|
|