@voplus/morpho-workspace 6.0.124 → 6.0.126

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,62 +8,10 @@
8
8
  flex-direction: column;
9
9
 
10
10
  .all-new-notifications-header {
11
- .header-top-half-part {
12
- display: flex;
13
- padding: 30px 0 20px;
14
- padding-left: 20px;
15
- background-color: #fff;
16
-
17
- .header-icon {
18
- font-size: 30px;
19
- width: 51px;
20
- height: 51px;
21
- color: #1680ea;
22
- background: #e5fbff;
23
- border: 2px solid #1780ea;
24
- border-radius: @border-radius;
25
- display: flex;
26
- align-items: center;
27
- justify-content: center;
28
- margin-right: 15px;
29
-
30
- > svg {
31
- width: 19px;
32
- height: 20px;
33
- }
34
- }
35
-
36
- .header-title {
37
- .title {
38
- color: #5d5d5d;
39
- font: normal normal bold 20px/27px Open Sans;
40
- }
41
-
42
- .sub-title {
43
- color: #868686;
44
- font: normal normal 600 14px/19px Open Sans;
45
- }
46
- }
47
- }
48
-
49
11
  .list-view-header-tool {
50
- background: #f7fbff;
51
-
52
- .header-tool-space {
53
- align-items: center;
54
- }
55
-
56
- .all-new-notifications-info {
57
- width: 60%;
58
-
59
- .title {
60
- color: #217eb2;
61
- font: normal normal bold 20px/27px Open Sans;
62
- }
63
-
64
- .last-updated-time {
65
- color: #868686;
66
- font: normal normal 600 14px/19px Open Sans;
12
+ .search-header-tool {
13
+ .ant-input-outlined {
14
+ width: 280px;
67
15
  }
68
16
  }
69
17
  }
@@ -72,7 +20,7 @@
72
20
  .all-new-notification-body {
73
21
  height: 100%;
74
22
  display: flex;
75
- margin: 0 20px 20px;
23
+ margin: 20px;
76
24
  background: #fff;
77
25
  flex-direction: column;
78
26
  border-radius: @border-radius;
@@ -2,22 +2,15 @@ import React from "react";
2
2
  import { observe } from "@voplus/morpho-ui";
3
3
  import { faBell } from "@fortawesome/pro-solid-svg-icons";
4
4
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
5
- import ListHeaderTool from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
5
+ import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
6
6
  const AllNewNotificationListHeader = (props) => {
7
- return observe(() => {
8
- return (React.createElement("div", { className: "all-new-notifications-header" },
9
- React.createElement("div", { className: "header-top-half-part" },
10
- React.createElement("div", { className: "header-icon" },
11
- React.createElement(FAIcon, { icon: faBell })),
12
- React.createElement("div", { className: "header-title" },
13
- React.createElement("div", { className: "title" }, "Notification Creation"),
14
- React.createElement("div", { className: "sub-title" }, "Set up your notification list effortlessly."))),
15
- React.createElement(ListHeaderTool, { addAble: true, searchHeader: true, sortable: false, onAdd: props.onAdd, searchOptions: { placeholder: "Search in notifications" }, preExtra: () => (React.createElement("div", { className: "all-new-notifications-info" },
16
- React.createElement("div", { className: "title" }, "Notification List"),
17
- React.createElement("div", { className: "last-updated-time" },
18
- "Lates Update on ",
19
- `13 August 2024`))) })));
20
- });
7
+ return observe(() => (React.createElement(PageHeadDashboard, { className: "all-new-notifications-header", avatarIcon: React.createElement(FAIcon, { icon: faBell }), title: "Notification Creation", description: "Set up your notification list effortlessly.", listHeaderProps: {
8
+ visible: true,
9
+ addAble: true,
10
+ sortable: false,
11
+ onAdd: props.onAdd,
12
+ searchOptions: { placeholder: "Search in notifications" },
13
+ } })));
21
14
  };
22
15
  export default AllNewNotificationListHeader;
23
16
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/AllNewNotificationListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,cAAc,MAAM,wEAAwE,CAAC;AAEpG,MAAM,4BAA4B,GAAG,CAAC,KAA6B,EAAE,EAAE;IACtE,OAAO,OAAO,CAAC,GAAG,EAAE;QACnB,OAAO,CACN,6BAAK,SAAS,EAAC,8BAA8B;YAC5C,6BAAK,SAAS,EAAC,sBAAsB;gBACpC,6BAAK,SAAS,EAAC,aAAa;oBAC3B,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI,CACnB;gBACN,6BAAK,SAAS,EAAC,cAAc;oBAC5B,6BAAK,SAAS,EAAC,OAAO,4BAA4B;oBAClD,6BAAK,SAAS,EAAC,WAAW,kDAAkD,CACvE,CACD;YAEN,oBAAC,cAAc,IACd,OAAO,QACP,YAAY,QACZ,QAAQ,EAAE,KAAK,EACf,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,aAAa,EAAE,EAAE,WAAW,EAAE,yBAAyB,EAAE,EACzD,QAAQ,EAAE,GAAG,EAAE,CAAC,CACf,6BAAK,SAAS,EAAC,4BAA4B;oBAC1C,6BAAK,SAAS,EAAC,OAAO,wBAAwB;oBAC9C,6BAAK,SAAS,EAAC,mBAAmB;;wBAAkB,gBAAgB,CAAO,CACtE,CACN,GACA,CACG,CACN,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/AllNewNotificationListHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AAEjG,MAAM,4BAA4B,GAAG,CAAC,KAA6B,EAAE,EAAE;IACtE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,iBAAiB,IACjB,SAAS,EAAC,8BAA8B,EACxC,UAAU,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI,EACpC,KAAK,EAAC,uBAAuB,EAC7B,WAAW,EAAC,6CAA6C,EACzD,eAAe,EAAE;YAChB,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,aAAa,EAAE,EAAE,WAAW,EAAE,yBAAyB,EAAE;SACzD,GACA,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
@@ -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"],"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M,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,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,kCAAkC,CAAC;AAC1D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,sBAAsB,GAAG,CAAC,KAK/B,EAAE,EAAE;IACJ,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,MAAM,QAAQ,GAAG,0BAA0B,EAAE,CAAC;IAC9C,MAAM,CAAC,YAAY,EAAE,eAAe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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"}
@@ -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.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,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,cAAc,MAAM,+DAA+D,CAAC;AAC3F,OAAO,UAAU,MAAM,YAAY,CAAC;AAYpC,MAAM,cAAc,GAAG,CAAC,KAA0B,EAAE,EAAE;IACrD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAErE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,EAAU,CAAC;IAE/C,SAAS,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,IAAI,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAErD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,C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AQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC/B,oBAAC,MAAM,IACN,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,UAAU,CAAC,IAAI,EAAE;oBAC3B,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG;iBAC3B,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC;gBAEvC;oBACE,IAAI,CAAC,KAAK;;oBAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAC,CAAC,CAAC,KAAK,IAAI,CAAC,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.124",
3
+ "version": "6.0.126",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",