@voplus/morpho-workspace 6.0.123 → 6.0.125

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,11 @@ export type AllNewNotificationListProps = {
7
7
  id: string;
8
8
  name: string;
9
9
  };
10
+ defaultTemplate?: {
11
+ id: string;
12
+ name: string;
13
+ body: string;
14
+ };
10
15
  };
11
16
  declare const AllNewNotificationList: (props: AllNewNotificationListProps) => React.JSX.Element;
12
17
  export default AllNewNotificationList;
@@ -33,7 +33,7 @@ const AllNewNotificationList = (props) => {
33
33
  return (React.createElement(ListDataContext.Provider, { value: list },
34
34
  React.createElement(AsideContent, { context: asideContext },
35
35
  React.createElement("div", { className: "all-new-notification-list" },
36
- React.createElement(AllNewNotificationListHeader, { onAdd: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(NotificationForm, { showView: true, targetId: props.parentId, recipient: props.recipient }), {
36
+ React.createElement(AllNewNotificationListHeader, { onAdd: () => asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(React.createElement(NotificationForm, { showView: true, targetId: props.parentId, recipient: props.recipient, defaultTemplate: props.defaultTemplate }), {
37
37
  span: 12,
38
38
  }) }),
39
39
  React.createElement("div", { className: "all-new-notification-body" },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/AllNewNotificationList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAGN,qBAAqB,EACrB,0BAA0B,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EACN,cAAc,EACd,WAAW,EACX,WAAW,EACX,cAAc,GACd,MAA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KAAK,EAAE,EAC/B,UAAU,EAAE,CAAC,EAAE,IAAI,EAA2B,EAAE,EAAE,CAAC,CAClD,oBAAC,sBAAsB,IACtB,GAAG,EAAE,IAAI,CAAC,EAAE,EACZ,EAAE,EAAE,IAAI,CAAC,EAAE,EACX,OAAO,EAAE,GAAG,EAAE,CACb,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,SAAS,CAAC,oBAAC,cAAc,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,EAAE;oCACxD,IAAI,EAAE,EAAE;iCACR,CAAC,GAEF,CACF,GACA,CACG,CACD,CACQ,CACW,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/AllNewNotificationList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAChC,OAAO,EAGN,qBAAqB,EACrB,0BAA0B,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EACN,cAAc,EACd,WAAW,EACX,WAAW,EACX,cAAc,GACd,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,4BAA4B,MAAM,iCAAiC,CAAC;AAC3E,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;A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AC,oBAAC,cAAc,IAAC,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,EAAE;oCACxD,IAAI,EAAE,EAAE;iCACR,CAAC,GAEF,CACF,GACA,CACG,CACD,CACQ,CACW,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -8,6 +8,11 @@ export type NewNotificationFormProps = {
8
8
  id: string;
9
9
  name: string;
10
10
  };
11
+ defaultTemplate?: {
12
+ id: string;
13
+ name: string;
14
+ body: string;
15
+ };
11
16
  type?: "full" | "mini";
12
17
  showView?: boolean;
13
18
  className?: string;
@@ -15,7 +15,7 @@ import NotificationPropertiesView from "../NotificationPropertiesView";
15
15
  import classnames from "classnames";
16
16
  import "./index.less";
17
17
  const NewNotificationFormContent = (props) => {
18
- const [state] = useState(new State());
18
+ const [state] = useState(new State(props.defaultTemplate));
19
19
  const store = useNotificationStore();
20
20
  const emailTemplateStore = useMessageTemplateStore();
21
21
  const asideContext = useAsideContentContext();
@@ -38,7 +38,15 @@ const NewNotificationFormContent = (props) => {
38
38
  (_a = res.placeholders) === null || _a === void 0 ? void 0 : _a.map((item) => state.placeholderList.push({ Placeholder: item }));
39
39
  });
40
40
  } }),
41
- !!((_a = state.placeholderList) === null || _a === void 0 ? void 0 : _a.length) && (React.createElement(Form, { className: "email-content-placeholder-list", scrollToFirstError: true, labelAlign: "left", labelCol: { span: 6 } }, state.placeholderList.map((item, index) => (React.createElement(Form.Item, { label: item.Placeholder, key: index }, item.Placeholder === "Message" ? (React.createElement(ProseMirror, { scroll: true, toolbarProps: { sticky: false }, className: "proseMirror", onChange: (opt) => (item.Value = opt.getInnerHtml()) })) : (React.createElement(Input, { onChange: (e) => (item.Value = e.target.value) }))))))))) : (React.createElement(ProseMirror, { toolbarProps: { sticky: false }, scroll: true, className: "proseMirror", onChange: (opt) => (state.params.Body = opt.getInnerHtml()) })))));
41
+ !!((_a = state.placeholderList) === null || _a === void 0 ? void 0 : _a.length) && (React.createElement(Form, { className: "email-content-placeholder-list", scrollToFirstError: true, labelAlign: "left", labelCol: { span: 6 } }, state.placeholderList.map((item, index) => (React.createElement(Form.Item, { label: item.Placeholder, key: index }, item.Placeholder === "Message" ? (React.createElement(ProseMirror, { scroll: true, toolbarProps: { sticky: false }, className: "proseMirror", onChange: (opt) => (item.Value = opt.getInnerHtml()) })) : (React.createElement(Input, { onChange: (e) => (item.Value = e.target.value) }))))))))) : (React.createElement(ProseMirror, { toolbarProps: { sticky: false }, scroll: true, className: "proseMirror", onChange: (opt) => {
42
+ var _a;
43
+ if ((_a = props.defaultTemplate) === null || _a === void 0 ? void 0 : _a.body) {
44
+ state.params.Body = props.defaultTemplate.body.replace("{{Content}}", opt.getInnerHtml());
45
+ }
46
+ else {
47
+ state.params.Body = opt.getInnerHtml();
48
+ }
49
+ } })))));
42
50
  });
43
51
  const PreviewComponent = observe(() => (React.createElement(Skeleton, { loading: state.loadPreview },
44
52
  React.createElement("div", { className: "preview-component" },
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationForm.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/NotificationForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EACN,IAAI,EACJ,GAAG,EACH,GAAG,EACH,KAAK,EACL,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,OAAO,EACP,QAAQ,EACR,KAAK,EACL,KAAK,GACL,MAAM,MAAM,CAAC;AACd,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AK,CAAC,eAAsB;iBACzC;gBACH,CAAC,CAAC;oBACA,GAAG,KAAK,CAAC,MAAM;oBACf,QAAQ,EAAE,KAAK,CAAC,QAAQ;iBACvB;YACL,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;QAEtB,IAAI,KAAK,CAAC,QAAQ,IAAI,GAAG;YACxB,YAAa,CAAC,SAAS,CAAC,oBAAC,0BAA0B,IAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAI,EAAE;gBACnE,IAAI,EAAE,EAAE;aACR,CAAC,CAAC;QAEJ,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,KAAK,CAAC,eAAe,GAAG,EAAE,CAAC;QAE3B,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;IAClB,CAAC;IAED,2BAA2B;IAC3B,SAAS,QAAQ;;QAChB,IAAI,KAAK,CAAC,QAAQ;YAAE,YAAa,CAAC,UAAU,EAAE,CAAC;QAC/C,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,KAAK,CAAC,eAAe,GAAG,EAAE,CAAC;QAE3B,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AAEF,0BAA0B,CAAC,YAAY,GAAG;IACzC,IAAI,EAAE,MAAM;CACZ,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"NotificationForm.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/NotificationForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,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QAC5B,KAAK,CAAC,eAAe,GAAG,EAAE,CAAC;QAE3B,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AAEF,0BAA0B,CAAC,YAAY,GAAG;IACzC,IAAI,EAAE,MAAM;CACZ,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
@@ -1,5 +1,10 @@
1
1
  export declare class State {
2
- constructor();
2
+ private defaultTemplate?;
3
+ constructor(defaultTemplate?: {
4
+ id: string;
5
+ name: string;
6
+ body: string;
7
+ } | undefined);
3
8
  Params: {
4
9
  Channels: number;
5
10
  Subject: string;
@@ -1,7 +1,14 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { makeObservable, observable } from "mobx";
3
3
  export class State {
4
- constructor() {
4
+ constructor(defaultTemplate) {
5
+ var _a;
6
+ Object.defineProperty(this, "defaultTemplate", {
7
+ enumerable: true,
8
+ configurable: true,
9
+ writable: true,
10
+ value: defaultTemplate
11
+ });
5
12
  Object.defineProperty(this, "Params", {
6
13
  enumerable: true,
7
14
  configurable: true,
@@ -9,7 +16,7 @@ export class State {
9
16
  value: {
10
17
  Channels: 1,
11
18
  Subject: "",
12
- Body: "",
19
+ Body: ((_a = this.defaultTemplate) === null || _a === void 0 ? void 0 : _a.body) || "",
13
20
  EmailTemplateId: "",
14
21
  }
15
22
  });
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGlD,MAAM,OAAO,KAAK;IACjB;QAGO;;;;mBAAS;gBACf,QAAQ,EAAE,CAAC;gBACX,OAAO,EAAE,EAAE;gBACX,IAAI,EAAE,EAAE;gBACR,eAAe,EAAE,EAAE;aACnB;WAAC;QAEiB;;;;mBAAS,IAAI,CAAC,MAAM;WAAC;QACxC,4CAA4C;QACzB;;;;mBAA0C,EAAE;WAAC;QAC7C;;;;mBAAU,KAAK;WAAC;QAChB;;;;mBAAc,KAAK;WAAC;QACpB;;;;mBAAmC,QAAQ;WAAC;QAC5C;;;;mBAA6D,EAAE;WAAC;QAflF,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAeD;AAPmB;IAAlB,UAAU;qCAA6B;AAErB;IAAlB,UAAU;sCAAqD;AAC7C;IAAlB,UAAU;sCAAwB;AAChB;IAAlB,UAAU;0CAA4B;AACpB;IAAlB,UAAU;uCAAoD;AAC5C;IAAlB,UAAU;8CAAwE"}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,MAAM,OAAO,KAAK;IACjB,YAA2B,eAA4D;;QAApE;;;;mBAAQ,eAAe;WAA6C;QAGhF;;;;mBAAS;gBACf,QAAQ,EAAE,CAAC;gBACX,OAAO,EAAE,EAAE;gBACX,IAAI,EAAE,CAAA,MAAA,IAAI,CAAC,eAAe,0CAAE,IAAI,KAAI,EAAE;gBACtC,eAAe,EAAE,EAAE;aACnB;WAAC;QAEiB;;;;mBAAS,IAAI,CAAC,MAAM;WAAC;QACxC,4CAA4C;QACzB;;;;mBAA0C,EAAE;WAAC;QAC7C;;;;mBAAU,KAAK;WAAC;QAChB;;;;mBAAc,KAAK;WAAC;QACpB;;;;mBAAmC,QAAQ;WAAC;QAC5C;;;;mBAA6D,EAAE;WAAC;QAflF,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAeD;AAPmB;IAAlB,UAAU;qCAA6B;AAErB;IAAlB,UAAU;sCAAqD;AAC7C;IAAlB,UAAU;sCAAwB;AAChB;IAAlB,UAAU;0CAA4B;AACpB;IAAlB,UAAU;uCAAoD;AAC5C;IAAlB,UAAU;8CAAwE"}
@@ -9,7 +9,7 @@ import { faBell } from "@fortawesome/pro-solid-svg-icons";
9
9
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
10
10
  import { useNotificationListContext } from "../NotificationList/state";
11
11
  import ListHeaderTool from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
12
- import PageHeaderPath from "@voplus/morpho-ui/es/components/layout/headers/PageHeaderPath";
12
+ import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
13
13
  import classnames from "classnames";
14
14
  const NotificationListHeader = (props) => {
15
15
  const context = useApplicationContext();
@@ -51,7 +51,7 @@ const NotificationListHeader = (props) => {
51
51
  },
52
52
  ];
53
53
  return (React.createElement("div", { className: "notifications-header" },
54
- React.createElement(PageHeaderPath, { title: "Your Notifications Center", background: true, icon: React.createElement(FAIcon, { icon: faBell }) }),
54
+ React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faBell }), title: "Your Notifications Center", description: "Stay updated: your latest alerts and notifications" }),
55
55
  React.createElement(ListHeaderTool, { addAble: false, filterViewProps: context.host.isTest
56
56
  ? {
57
57
  columns: [React.createElement(FlagFilter, { key: "Flag" })],
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM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O,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAC5C,YAAY,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAChD,aAAa,EAAE,EAAE,WAAW,EAAE,yBAAyB,EAAE,EACzD,QAAQ,EAAE,GAAG,EAAE,CAAC,CACf,6BAAK,SAAS,EAAC,sBAAsB;oBACnC,UAAU,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACzB,oBAAC,MAAM,IACN,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,SAAS,EAAE,UAAU,CAAC,IAAI,EAAE;4BAC3B,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC,GAAG;yBACjC,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC;wBAErC,IAAI,CAAC,KAAK;;wBAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAC,CAAC,CAAC,KAAK,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,CAC3C,CACT,CAAC;oBAED,OAAO,CAAC,IAAI,CAAC,MAAM,IAAI,oBAAC,OAAO,IAAC,IAAI,EAAC,UAAU,GAAG,CAC9C,CACN,GACA,CACG,CACN,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,SAAS,aAAa,CAAC,IAAY;;QAClC,eAAe,CAAC,IAAI,CAAC,CAAC;QACtB,MAAA,KAAK,CAAC,aAAa,sDAAG,IAAI,CAAC,CAAC;IAC7B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,O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C9C,CACN,GACA,CACG,CACN,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,SAAS,aAAa,CAAC,IAAY;;QAClC,eAAe,CAAC,IAAI,CAAC,CAAC;QACtB,MAAA,KAAK,CAAC,aAAa,sDAAG,IAAI,CAAC,CAAC;IAC7B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -4,14 +4,14 @@ import { Button } from "antd";
4
4
  import { faBriefcase } from "@fortawesome/pro-solid-svg-icons";
5
5
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
6
6
  import ListHeaderTool from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
7
- import PageHeaderPath from "@voplus/morpho-ui/es/components/layout/headers/PageHeaderPath";
7
+ import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
8
8
  import classnames from "classnames";
9
9
  const WorkListHeader = (props) => {
10
10
  const { addAble, viewTitle, dueDate, workMenu, filterProps } = props;
11
11
  const [active, setActive] = useState();
12
12
  useEffect(() => setActive(dueDate || ""), [dueDate]);
13
13
  return observe(() => (React.createElement("div", { className: "work-header" },
14
- React.createElement(PageHeaderPath, { title: viewTitle, background: true, icon: React.createElement(FAIcon, { icon: faBriefcase }) }),
14
+ React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faBriefcase }), title: viewTitle, description: "Your tasks: prioritize and complete your work" }),
15
15
  React.createElement(ListHeaderTool, { filterViewProps: filterProps, addAble: addAble, onAdd: props.onAdd, sortable: false, searchHeader: true, searchOptions: { placeholder: "search in work list" }, preExtra: () => (React.createElement("div", { className: "work-status-menu" }, workMenu === null || workMenu === void 0 ? void 0 : workMenu.map((item, index) => (React.createElement(Button, { key: index, className: classnames(item, {
16
16
  active: active === item.key,
17
17
  }), onClick: () => onChangeFilter(item.key) },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkListHeader/index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C,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,CACjD,CACK,CACT,CAAC,CACG,CACN,GACA,CACG,CACN,CAAC,CAAC;IAEH,SAAS,cAAc,CAAC,IAAY;;QACnC,SAAS,CAAC,IAAI,CAAC,CAAC;QAEhB,MAAA,KAAK,CAAC,cAAc,sDAAG,IAAI,CAAC,CAAC;IAC9B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.123",
3
+ "version": "6.0.125",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",