@voplus/morpho-workspace 6.0.68 → 6.0.70

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. package/es/controls/filters/AssigneeViewFilter/index.js +3 -4
  2. package/es/controls/filters/AssigneeViewFilter/index.js.map +1 -1
  3. package/es/controls/filters/WorkStatusFilter/index.js +2 -8
  4. package/es/controls/filters/WorkStatusFilter/index.js.map +1 -1
  5. package/es/controls/filters/WorkStatusFilter/state.d.ts +10 -2
  6. package/es/controls/filters/WorkStatusFilter/state.js +46 -1
  7. package/es/controls/filters/WorkStatusFilter/state.js.map +1 -1
  8. package/es/data/notification/NotificationStore.d.ts +14 -8
  9. package/es/data/notification/NotificationStore.js +23 -5
  10. package/es/data/notification/NotificationStore.js.map +1 -1
  11. package/es/data/notification/hooks.d.ts +3 -3
  12. package/es/data/notification/hooks.js +3 -3
  13. package/es/data/notification/hooks.js.map +1 -1
  14. package/es/data/notification/interfaces.d.ts +11 -0
  15. package/es/data/notification/notification-events/useAutoUpdateListData.d.ts +2 -2
  16. package/es/data/notification/notification-events/useAutoUpdateListData.js.map +1 -1
  17. package/es/data/notification/notification-events/useOnDeleteNotification.d.ts +2 -2
  18. package/es/data/notification/notification-events/useOnDeleteNotification.js.map +1 -1
  19. package/es/data/notification/notification-events/useOnNewNotification.d.ts +2 -2
  20. package/es/data/notification/notification-events/useOnNewNotification.js.map +1 -1
  21. package/es/data/notification/types.d.ts +6 -1
  22. package/es/data/work/WorkStore.d.ts +1 -4
  23. package/es/data/work/WorkStore.js +0 -4
  24. package/es/data/work/WorkStore.js.map +1 -1
  25. package/es/data/work/interfaces.d.ts +0 -11
  26. package/es/data/work-report/WorkReportStore.d.ts +19 -0
  27. package/es/data/work-report/WorkReportStore.js +52 -0
  28. package/es/data/work-report/WorkReportStore.js.map +1 -0
  29. package/es/data/work-report/hooks.d.ts +8 -0
  30. package/es/data/work-report/hooks.js +13 -0
  31. package/es/data/work-report/hooks.js.map +1 -0
  32. package/es/data/work-report/index.d.ts +3 -0
  33. package/es/data/work-report/index.js +4 -0
  34. package/es/data/work-report/index.js.map +1 -0
  35. package/es/data/work-report/interfaces.d.ts +16 -0
  36. package/es/data/work-report/interfaces.js +2 -0
  37. package/es/data/work-report/interfaces.js.map +1 -0
  38. package/es/modules/calendar/pages/CalendarMonth/index.js +5 -4
  39. package/es/modules/calendar/pages/CalendarMonth/index.js.map +1 -1
  40. package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
  41. package/es/modules/menus/components/Access/index.js +5 -4
  42. package/es/modules/menus/components/Access/index.js.map +1 -1
  43. package/es/modules/menus/components/Account/index.js +5 -4
  44. package/es/modules/menus/components/Account/index.js.map +1 -1
  45. package/es/modules/menus/components/Status/index.js +5 -4
  46. package/es/modules/menus/components/Status/index.js.map +1 -1
  47. package/es/modules/menus/pages/ListOptions/Company/index.js +7 -5
  48. package/es/modules/menus/pages/ListOptions/Company/index.js.map +1 -1
  49. package/es/modules/notification/components/NotificationHeader/index.js +3 -3
  50. package/es/modules/notification/components/NotificationHeader/index.js.map +1 -1
  51. package/es/modules/notification/components/NotificationItem/index.js +5 -3
  52. package/es/modules/notification/components/NotificationItem/index.js.map +1 -1
  53. package/es/modules/notification/components/NotificationList2/index.js +7 -2
  54. package/es/modules/notification/components/NotificationList2/index.js.map +1 -1
  55. package/es/modules/notification/components/NotificationProperties/index.d.ts +1 -1
  56. package/es/modules/notification/components/NotificationProperties/index.js +12 -5
  57. package/es/modules/notification/components/NotificationProperties/index.js.map +1 -1
  58. package/es/modules/notification/components/NotificationRecipients/index.js +2 -2
  59. package/es/modules/notification/components/NotificationRecipients/index.js.map +1 -1
  60. package/es/modules/notification/components/NotificationTabs/index.js +9 -6
  61. package/es/modules/notification/components/NotificationTabs/index.js.map +1 -1
  62. package/es/modules/notification/controls/NotificationMenu/index.js +6 -4
  63. package/es/modules/notification/controls/NotificationMenu/index.js.map +1 -1
  64. package/es/modules/notification/controls/NotificationMenu/item/Send.d.ts +9 -0
  65. package/es/modules/notification/controls/NotificationMenu/item/Send.js +33 -0
  66. package/es/modules/notification/controls/NotificationMenu/item/Send.js.map +1 -0
  67. package/es/modules/notification/controls/NotificationMenu/item/index.d.ts +1 -0
  68. package/es/modules/notification/controls/NotificationMenu/item/index.js +2 -0
  69. package/es/modules/notification/controls/NotificationMenu/item/index.js.map +1 -0
  70. package/es/modules/notification/controls/NotificationStatusLabel/index.d.ts +6 -0
  71. package/es/modules/notification/controls/NotificationStatusLabel/index.js +7 -0
  72. package/es/modules/notification/controls/NotificationStatusLabel/index.js.map +1 -0
  73. package/es/modules/notification/controls/NotificationStatusLabel/index.less +14 -0
  74. package/es/modules/notification/pages/NotificationDefaultView/index.js +1 -1
  75. package/es/modules/notification/pages/NotificationDefaultView/index.js.map +1 -1
  76. package/es/modules/tasks/reports/TaskSummaryCard/index.js +1 -1
  77. package/es/modules/tasks/reports/TaskSummaryCard/index.js.map +1 -1
  78. package/es/modules/user/pages/Positions/index.js +6 -5
  79. package/es/modules/user/pages/Positions/index.js.map +1 -1
  80. package/es/modules/work/components/RejectWorkDialog/index.js +5 -4
  81. package/es/modules/work/components/RejectWorkDialog/index.js.map +1 -1
  82. package/es/modules/work/components/RejectWorkDialog/index.less +5 -0
  83. package/es/modules/work/components/RelatedWorkList/RelatedWorkList.js +1 -1
  84. package/es/modules/work/components/RelatedWorkList/RelatedWorkList.js.map +1 -1
  85. package/es/modules/work/components/WorkCashReport/index.d.ts +1 -0
  86. package/es/modules/work/components/WorkCashReport/index.js +54 -42
  87. package/es/modules/work/components/WorkCashReport/index.js.map +1 -1
  88. package/es/modules/work/components/WorkCashReport/index.less +8 -12
  89. package/es/modules/work/components/WorkCashReport/state.d.ts +3 -8
  90. package/es/modules/work/components/WorkCashReport/state.js +3 -47
  91. package/es/modules/work/components/WorkCashReport/state.js.map +1 -1
  92. package/es/modules/work/components/WorkList/index.js +2 -2
  93. package/es/modules/work/components/WorkList/index.js.map +1 -1
  94. package/es/modules/work/controls/SeveritySelect/index.js +10 -10
  95. package/es/modules/work/controls/SeveritySelect/index.js.map +1 -1
  96. package/es/modules/work/controls/WorkErrorSelect/index.js +3 -2
  97. package/es/modules/work/controls/WorkErrorSelect/index.js.map +1 -1
  98. package/es/modules/work/work-schedule/components/WorkScheduleList/index.js +10 -1
  99. package/es/modules/work/work-schedule/components/WorkScheduleList/index.js.map +1 -1
  100. package/es/modules/work/work-type/components/RepeatTab/index.js +5 -4
  101. package/es/modules/work/work-type/components/RepeatTab/index.js.map +1 -1
  102. package/es/modules/work/work-type/components/WorkTypeSelect/index.js +11 -6
  103. package/es/modules/work/work-type/components/WorkTypeSelect/index.js.map +1 -1
  104. package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.js +1 -1
  105. package/es/modules/work/work-type/controls/WorktypeCompleteWorksChart/index.js.map +1 -1
  106. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js +1 -1
  107. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.js.map +1 -1
  108. package/es/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.js +1 -1
  109. package/es/modules/workspace/pages/WorkspacePage/WorkTypeWorksDashBoard.js.map +1 -1
  110. package/es/obsolete/member/components/MemberSelect.js +3 -2
  111. package/es/obsolete/member/components/MemberSelect.js.map +1 -1
  112. package/package.json +1 -1
  113. package/es/components/AssignPeople/index.d.ts +0 -3
  114. package/es/components/AssignPeople/index.js +0 -24
  115. package/es/components/AssignPeople/index.js.map +0 -1
  116. package/es/modules/work/work-type/controls/SelectedFilterLabel/index.d.ts +0 -4
  117. package/es/modules/work/work-type/controls/SelectedFilterLabel/index.js +0 -23
  118. package/es/modules/work/work-type/controls/SelectedFilterLabel/index.js.map +0 -1
  119. package/es/modules/work/work-type/controls/SelectedFilterLabel/index.less +0 -31
@@ -0,0 +1,13 @@
1
+ import { useWorkReportStore } from ".";
2
+ import { useListLoaderEffect } from "@voplus/morpho-ui/es/hooks";
3
+ /** React hook to retrieve a list of ledgers
4
+ * @param effect - Effect callback to be ran after successful retrieved the list.
5
+ * @param options - Optional ledger list loading options.
6
+ */
7
+ export const useWorkReportListEffect = (list, effect, options) => {
8
+ const deps = options ? options : {};
9
+ const store = useWorkReportStore();
10
+ // Call useDocumentListEffect and ensure won't load twice for same loading options.
11
+ return useListLoaderEffect(list, store.items, effect, () => store.loadList(options), [deps]);
12
+ };
13
+ //# sourceMappingURL=hooks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/work-report/hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAoC,MAAM,GAAG,CAAC;AAEzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACtC,IAAkD,EAClD,MAA+E,EAC/E,OAAiC,EAChC,EAAE;IACH,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE,EAA8B,CAAC;IACjE,MAAM,KAAK,GAAG,kBAAkB,EAAE,CAAC;IAEnC,mFAAmF;IACnF,OAAO,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9F,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./WorkReportStore";
2
+ export * from "./hooks";
3
+ export * from "./interfaces";
@@ -0,0 +1,4 @@
1
+ export * from "./WorkReportStore";
2
+ export * from "./hooks";
3
+ export * from "./interfaces";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/work-report/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { ILoadable } from "@voplus/morpho-data";
2
+ export interface IWorkReportData {
3
+ end: string;
4
+ start: string;
5
+ }
6
+ export interface IWorkReportItem extends ILoadable {
7
+ id: string;
8
+ year?: number;
9
+ month?: number;
10
+ total?: number;
11
+ }
12
+ export interface IWorkReport extends ILoadable {
13
+ data: IWorkReportData;
14
+ list: IWorkReportItem[];
15
+ total: number;
16
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/data/work-report/interfaces.ts"],"names":[],"mappings":""}
@@ -86,10 +86,11 @@ const CalendarMonth = () => {
86
86
  React.createElement("div", { className: "calendar-left" },
87
87
  React.createElement("span", { className: "calendar-fa-icon" },
88
88
  React.createElement(FAIcon, { icon: faCalendar })),
89
- React.createElement(Select, { defaultValue: "month", style: { width: 105 }, onChange: handleChange },
90
- React.createElement(Option, { value: "month" }, "Month"),
91
- React.createElement(Option, { value: "week" }, "Week"),
92
- React.createElement(Option, { value: "day" }, "Day"))),
89
+ React.createElement(Select, { defaultValue: "month", style: { width: 105 }, onChange: handleChange, options: [
90
+ { value: "month", label: "Month" },
91
+ { value: "week", label: "Week" },
92
+ { value: "day", label: "Day" },
93
+ ] })),
93
94
  React.createElement("div", { className: "calendar-center" },
94
95
  React.createElement(Button, { className: "calendar-today", onClick: () => calendarApi.today() }, "Today"),
95
96
  React.createElement(Button, { className: "calendar-prev", onClick: () => calendarApi.prev() },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/calendar/pages/CalendarMonth/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EACN,YAAY,EACZ,OAAO,EACP,iBAAiB,EACjB,aAAa,IAAI,UAAU,GAC3B,MAAM,mB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AC7B,QAAQ,EAAE,KAAK,CAAC,QAAQ;aACxB;YACD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,IAAI,CAAC,KAAK,CAAC,MAAM;gBAChB,YAAa,CAAC,SAAS,CAAC,oBAAC,qBAAqB,IAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;YAC9E,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;QACvB,CAAC,CAAC,CAAC;QAEH,IAAI,SAAS,CAAC,OAAO;YAAE,OAAO,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IACzD,CAAC;IACD,8BAA8B;IAC9B,SAAS,SAAS,CAAC,CAAwC;;QAC1D,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;YAAE,OAAO;QAC/B,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,cAAc,CAAC"}
@@ -8,13 +8,14 @@ export default (props) => {
8
8
  { id: 3, label: "In Progress" },
9
9
  { id: 4, label: "Done" },
10
10
  ];
11
- const { Option } = Select;
12
11
  function handleChange(value) {
13
12
  console.log(`selected ${value}`);
14
13
  }
15
14
  return observe(() => (React.createElement("div", null,
16
- React.createElement(Select, { defaultValue: "lucy", style: { width: 120 }, onChange: handleChange }, status.map((item) => {
17
- return (React.createElement(Option, { value: item.label, key: item.id }, item.label));
18
- })))));
15
+ React.createElement(Select, { defaultValue: "lucy", style: { width: 120 }, onChange: handleChange, options: [
16
+ status.map((item) => {
17
+ return { value: item.label, label: item.label };
18
+ }),
19
+ ] }))));
19
20
  };
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/menus/components/Access/index.tsx"],"names":[],"mappings":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,mBAAmB,CAAC;AAE5C,eAAe,CAAC,KAA8C,EAAE,EAAE;IACjE,MAAM,MAAM,GAAG;QACd,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE;QAChC,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE;QAC/B,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE;QAC/B,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE;KACxB,CAAC;IAEF,SAAS,YAAY,CAAC,KAAU;QAC/B,OAAO,CAAC,GAAG,CAAC,YAAY,KAAK,EAAE,CAAC,CAAC;IAClC,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACC,oBAAC,MAAM,IACN,YAAY,EAAC,MAAM,EACnB,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE;gBACR,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;oBACnB,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC;gBACjD,CAAC,CAAC;aACF,GACA,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -8,13 +8,14 @@ export default (props) => {
8
8
  { id: 3, label: "In Progress" },
9
9
  { id: 4, label: "Done" },
10
10
  ];
11
- const { Option } = Select;
12
11
  function handleChange(value) {
13
12
  console.log(`selected ${value}`);
14
13
  }
15
14
  return observe(() => (React.createElement("div", null,
16
- React.createElement(Select, { defaultValue: "lucy", style: { width: 120 }, onChange: handleChange }, status.map((item) => {
17
- return (React.createElement(Option, { value: item.label, key: item.id }, item.label));
18
- })))));
15
+ React.createElement(Select, { defaultValue: "lucy", style: { width: 120 }, onChange: handleChange, options: [
16
+ status.map((item) => {
17
+ return { value: item.label, label: item.label };
18
+ }),
19
+ ] }))));
19
20
  };
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/menus/components/Account/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,eAAe,CAAC,KAA8C,EAAE,EAAE;IACjE,MAAM,MAAM,GAAG;QACd,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE;QAChC,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE;QAC/B,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE;QAC/B,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE;KACxB,CAAC;IACF,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAE1B,SAAS,YAAY,CAAC,KAAU;QAC/B,OAAO,CAAC,GAAG,CAAC,YAAY,KAAK,EAAE,CAAC,CAAC;IAClC,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACC,oBAAC,MAAM,IAAC,YAAY,EAAC,MAAM,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,QAAQ,EAAE,YAAY,IACvE,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;YACpB,OAAO,CACN,oBAAC,MAAM,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,IACrC,IAAI,CAAC,KAAK,CACH,CACT,CAAC;QACH,CAAC,CAAC,CACM,CACJ,CACN,CAAC,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/menus/components/Account/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,eAAe,CAAC,KAA8C,EAAE,EAAE;IACjE,MAAM,MAAM,GAAG;QACd,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE;QAChC,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE;QAC/B,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE;QAC/B,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE;KACxB,CAAC;IAEF,SAAS,YAAY,CAAC,KAAU;QAC/B,OAAO,CAAC,GAAG,CAAC,YAAY,KAAK,EAAE,CAAC,CAAC;IAClC,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACC,oBAAC,MAAM,IACN,YAAY,EAAC,MAAM,EACnB,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE;gBACR,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;oBACnB,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC;gBACjD,CAAC,CAAC;aACF,GACA,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -8,13 +8,14 @@ export default (props) => {
8
8
  { id: 3, label: "In Progress" },
9
9
  { id: 4, label: "Done" },
10
10
  ];
11
- const { Option } = Select;
12
11
  function handleChange(value) {
13
12
  console.log(`selected ${value}`);
14
13
  }
15
14
  return observe(() => (React.createElement("div", null,
16
- React.createElement(Select, { defaultValue: "lucy", style: { width: 120 }, onChange: handleChange }, status.map((item) => {
17
- return (React.createElement(Option, { value: item.label, key: item.id }, item.label));
18
- })))));
15
+ React.createElement(Select, { defaultValue: "lucy", style: { width: 120 }, onChange: handleChange, options: [
16
+ status.map((item) => {
17
+ return { value: item.label, label: item.label };
18
+ }),
19
+ ] }))));
19
20
  };
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/menus/components/Status/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,eAAe,CAAC,KAA8C,EAAE,EAAE;IACjE,MAAM,MAAM,GAAG;QACd,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE;QAChC,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE;QAC/B,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE;QAC/B,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE;KACxB,CAAC;IACF,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IAE1B,SAAS,YAAY,CAAC,KAAU;QAC/B,OAAO,CAAC,GAAG,CAAC,YAAY,KAAK,EAAE,CAAC,CAAC;IAClC,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACC,oBAAC,MAAM,IAAC,YAAY,EAAC,MAAM,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,QAAQ,EAAE,YAAY,IACvE,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;YACpB,OAAO,CACN,oBAAC,MAAM,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,IACrC,IAAI,CAAC,KAAK,CACH,CACT,CAAC;QACH,CAAC,CAAC,CACM,CACJ,CACN,CAAC,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/menus/components/Status/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,eAAe,CAAC,KAA8C,EAAE,EAAE;IACjE,MAAM,MAAM,GAAG;QACd,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE;QAChC,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE;QAC/B,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE;QAC/B,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE;KACxB,CAAC;IAEF,SAAS,YAAY,CAAC,KAAU;QAC/B,OAAO,CAAC,GAAG,CAAC,YAAY,KAAK,EAAE,CAAC,CAAC;IAClC,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB;QACC,oBAAC,MAAM,IACN,YAAY,EAAC,MAAM,EACnB,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE;gBACR,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;oBACnB,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC;gBACjD,CAAC,CAAC;aACF,GACA,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -71,12 +71,12 @@ const Company = () => {
71
71
  }
72
72
  setState({ autoCompleteResult });
73
73
  };
74
- const { Option } = Select;
75
74
  const AutoCompleteOption = AutoComplete.Option;
76
75
  const prefixSelector = (React.createElement(Form.Item, { name: "prefix", noStyle: true },
77
- React.createElement(Select, { style: { width: 70 } },
78
- React.createElement(Option, { value: "86" }, "+86"),
79
- React.createElement(Option, { value: "87" }, "+87"))));
76
+ React.createElement(Select, { style: { width: 70 }, options: [
77
+ { value: "86", label: "+86" },
78
+ { value: "87", label: "+87" },
79
+ ] })));
80
80
  const websiteOptions = autoCompleteResult.map((website) => (React.createElement(AutoCompleteOption, { key: website, value: website }, website)));
81
81
  return observe(() => (React.createElement("div", { className: style.all },
82
82
  React.createElement(Form, { ...formItemLayout, form: form, initialValues: { ["residence"]: ["zhejiang", "hangzhou", "xihu"], ["prefix"]: 86 }, onFinish: handleSubmit },
@@ -92,7 +92,9 @@ const Company = () => {
92
92
  React.createElement(Form.Item, { label: React.createElement("span", null, "City\u00A0") },
93
93
  React.createElement(Input, { style: { width: "70%" } })),
94
94
  React.createElement(Form.Item, { label: "Country", required: true },
95
- React.createElement(Select, { defaultValue: "Singapore", style: { width: "50%" } }, residences.map((item) => (React.createElement(Option, { value: item.value, key: item.value }, item.value))))),
95
+ React.createElement(Select, { defaultValue: "Singapore", style: { width: "50%" }, options: residences.map((item) => {
96
+ return { value: item.value, label: item.value };
97
+ }) })),
96
98
  React.createElement(Form.Item, { label: React.createElement("span", null, "Postal/Zip Code\u00A0") },
97
99
  React.createElement(Input, { style: { width: "35%" } })),
98
100
  React.createElement(Form.Item, { name: "residence", label: "Time Zone", rules: [
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/menus/pages/ListOptions/Company/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACpF,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,OAAO,EAAE,MAA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ACZ,oBAAC,IAAI,CAAC,IAAI,OAAK,kBAAkB;gBAChC,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,EAAC,QAAQ,EAAC,SAAS,EAAC,QAAQ,WAElD,CACE,CACN,CACF,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/menus/pages/ListOptions/Company/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACpF,OAAO,KAAK,EAAE,EAAa,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,MAAM,OAAO,GAAG,GAAG,EAAE;IACpB,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;IAE9B,MAAM,UAAU,GAAG;QAClB;YACC,KAAK,EAAE,UAAU;YACjB,KAAK,EAAE,UAAU;YACjB,QAAQ,EAAE;gBACT;oBACC,KAAK,EAAE,UAAU;oBACjB,KAAK,EAAE,UAAU;iBACjB;aACD;SACD;QACD;YACC,KAAK,EAAE,SAAS;YAChB,KAAK,EAAE,SAAS;YAChB,QAAQ,EAAE;gBACT;oBACC,KAAK,EAAE,SAAS;oBAChB,KAAK,EAAE,SAAS;iBAChB;aACD;SACD;KACD,CAAC;IAEF,MAAM,cAAc,GAAG;QACtB,QAAQ,EAAE;YACT,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;YAChB,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;SACf;QACD,UAAU,EAAE;YACX,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;YAChB,EAAE,EA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AE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;gBAEvE,oBAAC,KAAK,IAAC,WAAW,EAAE,cAAc,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,GAAI,CACpD;YACZ,oBAAC,IAAI,CAAC,IAAI,IACT,IAAI,EAAC,SAAS,EACd,KAAK,EAAC,SAAS,EACf,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC;gBAE7D,oBAAC,YAAY;gBACZ,8BAA8B;;oBAA9B,8BAA8B;oBAC9B,QAAQ,EAAE,mBAAmB,EAC7B,WAAW,EAAC,SAAS,EACrB,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,IAEtB,cAAc,CAED,CACJ;YACZ,oBAAC,IAAI,CAAC,IAAI,OAAK,kBAAkB;gBAChC,oBAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,EAAC,QAAQ,EAAC,SAAS,EAAC,QAAQ,WAElD,CACE,CACN,CACF,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,OAAO,CAAC"}
@@ -3,17 +3,17 @@ import ToolBar from "@voplus/morpho-org/es/controls/ToolBar";
3
3
  import { Open } from "@voplus/morpho-org/es/controls/ToolBar/items";
4
4
  import { observe } from "@voplus/morpho-ui";
5
5
  import React from "react";
6
- import { useNotification } from "../../../../data/notification";
6
+ import { useNotifications } from "../../../../data/notification";
7
7
  import Routes from "../../../Routes";
8
8
  import NotificationMenu from "../../controls/NotificationMenu";
9
9
  const NotificationHeader = (props) => {
10
10
  const id = props.id;
11
- const notification = useNotification(id);
11
+ const notification = useNotifications(id);
12
12
  return observe(() => (React.createElement("div", { className: "notification-header" },
13
13
  React.createElement("div", null, notification.subject),
14
14
  React.createElement(ToolBar, { more: false, id: id },
15
15
  React.createElement(Open, { url: Routes.NotificationDefaultView.getUrl(id) }),
16
- React.createElement(NotificationMenu, { id: id, closeAside: true })))));
16
+ notification.draft && React.createElement(NotificationMenu, { id: id, closeAside: true })))));
17
17
  };
18
18
  export default NotificationHeader;
19
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAE/D,MAAM,kBAAkB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACpD,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,YAAY,GAAG,eAAe,CAAC,EAAE,CAAC,CAAC;IAEzC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,qBAAqB;QACnC,iCAAM,YAAY,CAAC,OAAO,CAAO;QACjC,oBAAC,OAAO,IAAC,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE;YAC3B,oBAAC,IAAI,IAAC,GAAG,EAAE,MAAM,CAAC,uBAAuB,CAAC,MAAM,CAAC,EAAE,CAAC,GAAI;YACxD,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACrC,CACL,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAE/D,MAAM,kBAAkB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACpD,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,CAAC;IACpB,MAAM,YAAY,GAAG,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAE1C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,qBAAqB;QACnC,iCAAM,YAAY,CAAC,OAAO,CAAO;QACjC,oBAAC,OAAO,IAAC,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE;YAC3B,oBAAC,IAAI,IAAC,GAAG,EAAE,MAAM,CAAC,uBAAuB,CAAC,MAAM,CAAC,EAAE,CAAC,GAAI;YACvD,YAAY,CAAC,KAAK,IAAI,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CAC5D,CACL,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
@@ -11,6 +11,7 @@ import dayjs from "dayjs";
11
11
  import NotificationMenu from "../../controls/NotificationMenu";
12
12
  import PropertiesView from "../NotificationPropertiesView";
13
13
  import NotificationQuickViewDialog from "../NotificationQuickViewDialog";
14
+ import NotificationStatusLabel from "../../controls/NotificationStatusLabel";
14
15
  import "./index.less";
15
16
  const NotificationItem = (props) => {
16
17
  const { id } = props;
@@ -18,14 +19,15 @@ const NotificationItem = (props) => {
18
19
  const [hover, setHover] = useState(false);
19
20
  return observe(() => (React.createElement(ItemFunction, { className: "notification-item", onMouseOver: () => setHover(true), onMouseLeave: () => setHover(false), propertiesView: React.createElement(PropertiesView, { id: id }), quickViewDialog: (onCancel) => (React.createElement(NotificationQuickViewDialog, { id: id, visible: true, onCancel: onCancel })) },
20
21
  React.createElement(ColumnItem, { className: "notification-column-item" },
21
- React.createElement(ColumnItemCol, { span: 14 },
22
+ React.createElement(ColumnItemCol, { span: 10, label: "Subject" },
22
23
  React.createElement("div", { className: "notification-item-name" }, notification.subject)),
23
- React.createElement(ColumnItemCol, { span: 6, label: "Date" }, dayjs(notification.date).format("DD MMM YYYY")),
24
+ React.createElement(ColumnItemCol, { span: 10, label: "Date" }, dayjs(notification.date).format("DD MMM YYYY")),
24
25
  React.createElement(ColumnItemCol, { span: 4, align: "flex-end" },
26
+ !hover && notification.draft ? (React.createElement(NotificationStatusLabel, { status: notification.draft ? "Draft" : "" })) : null,
25
27
  React.createElement("div", { className: classnames("notification-item-tool", { show: hover }) },
26
28
  React.createElement(ToolBar, { more: false, id: id },
27
29
  React.createElement(Open, { url: Routes.NotificationDefaultView.getUrl(id) }),
28
- React.createElement(NotificationMenu, { id: id, closeAside: true }))))))));
30
+ notification.draft && React.createElement(NotificationMenu, { id: id, closeAside: true }))))))));
29
31
  };
30
32
  export default NotificationItem;
31
33
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,6CAA6C,CAAC;AACvE,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,UAAU,MAAM,YAAY,CAA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AC,MAAM,IAClC,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,aAAa,CAAC,CAChC;YAChB,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,UAAU;gBACvC,6BAAK,SAAS,EAAE,UAAU,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;oBACpE,oBAAC,OAAO,IAAC,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE;wBAC3B,oBAAC,IAAI,IAAC,GAAG,EAAE,MAAM,CAAC,uBAAuB,CAAC,MAAM,CAAC,EAAE,CAAC,GAAI;wBACxD,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CACrC,CACL,CACS,CACJ,CACC,CACf,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,6CAA6C,CAAC;AACvE,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,2BAA2B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AC,uBAAuB,IAAC,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAI,CACtE,CAAC,CAAC,CAAC,IAAI;gBACR,6BAAK,SAAS,EAAE,UAAU,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;oBACpE,oBAAC,OAAO,IAAC,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE;wBAC3B,oBAAC,IAAI,IAAC,GAAG,EAAE,MAAM,CAAC,uBAAuB,CAAC,MAAM,CAAC,EAAE,CAAC,GAAI;wBACvD,YAAY,CAAC,KAAK,IAAI,oBAAC,gBAAgB,IAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,GAAI,CAC5D,CACL,CACS,CACJ,CACC,CACf,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import "./index.less";
2
- import { useNotificationsListEffect } from "../../../../data/notification";
2
+ import { useNotificationsListEffect, } from "../../../../data/notification";
3
3
  import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data/ListDataContext";
4
4
  import React, { useState } from "react";
5
5
  import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
@@ -14,7 +14,12 @@ const NotificationList = (props) => {
14
14
  const { parentId } = props;
15
15
  const [addAble, setAddAble] = useState(false);
16
16
  const view = useViewContext();
17
- const list = useCreateListDataState({ filterDefaults: { filters: [{ c: "Target", o: "=", l: "And", v1: parentId }] } }, [parentId]);
17
+ const list = useCreateListDataState({
18
+ filterDefaults: {
19
+ includes: "recipients",
20
+ filters: [{ c: "Target", o: "=", l: "And", v1: parentId }],
21
+ },
22
+ }, [parentId]);
18
23
  useAutoUpdateListData(list, (d) => d.target.id === parentId);
19
24
  useRenderOnChange(() => list.filters.options);
20
25
  useNotificationsListEffect(list, (result, total) => {
@@ -1 +1 @@
1
- {"version":3,"file":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,IAAI,CACX,oBAAC,yBAAyB,IACzB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EACjC,MAAM,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAC9B,CACF,CACyB,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationList2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAGN,0BAA0B,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AACvE,OAAO,yBAAyB,MAAM,wBAAwB,CAAC;AAC/D,OAAO,gBAAgB,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAO1F,MAAM,gBAAgB,GAAG,CAAC,KAA4B,EAAE,EAAE;IACzD,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3B,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,IAAI,GAAG,cAAc,EAAE,CAAC;IAE9B,MAAM,IAAI,GAAG,sBAAsB,CAClC;QACC,cAAc,EAA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AJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,WAAW,IAAI,oBAAC,gBAAgB,IAAC,QAAQ,QAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAI,EAEtF,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAA0C,EAAE,EAAE,CAAC,CACxE,oBAAC,gBAAgB,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,CAC/C,GACA;YACD,OAAO,IAAI,CACX,oBAAC,yBAAyB,IACzB,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EACjC,MAAM,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAC9B,CACF,CACyB,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- export type NotificationPropertiesName = "Subject" | "Channels" | "Date";
2
+ export type NotificationPropertiesName = "Subject" | "Channels" | "Date" | "Notification Status";
3
3
  declare const NotificationProperties: {
4
4
  (props: {
5
5
  id: string;
@@ -8,21 +8,21 @@ import { Radio } from "antd";
8
8
  import DateInputEditor from "@voplus/morpho-ui/es/controls/InlineEdit/editors/DateInputEditor";
9
9
  import React from "react";
10
10
  import { Scrollbars } from "react-custom-scrollbars-2";
11
- import { useNotification, useNotificationStore, } from "../../../../data/notification";
11
+ import { useNotifications, useNotificationStore } from "../../../../data/notification";
12
12
  import NotificationMenu from "../../controls/NotificationMenu";
13
+ import NotificationStatusLabel from "../../controls/NotificationStatusLabel";
13
14
  import dayjs from "dayjs";
14
15
  const NotificationProperties = (props) => {
15
16
  /** 加class name 为了方便做integration tests */
16
17
  const classId = "notification-properties";
17
18
  const { id, headerVisible, NotificationTitle, NotificationProperties } = props;
18
- const notification = useNotification(id);
19
+ const notification = useNotifications(id);
19
20
  const store = useNotificationStore();
20
21
  const filterPro = NotificationProperties === null || NotificationProperties === void 0 ? void 0 : NotificationProperties.filter((i) => (i === null || i === void 0 ? void 0 : i.visible) !== false);
21
22
  return observe(() => (React.createElement("div", { className: "properties-list" },
22
23
  headerVisible && (React.createElement("div", { className: "properties-header" },
23
24
  React.createElement("div", { className: "title" }, notification.subject),
24
- React.createElement(ToolBar, { id: id, more: false },
25
- React.createElement(NotificationMenu, { id: id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) })))),
25
+ React.createElement(ToolBar, { id: id, more: false }, notification.draft && (React.createElement(NotificationMenu, { id: id, icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) }))))),
26
26
  React.createElement(Scrollbars, { autoHide: true },
27
27
  React.createElement(PropertiesSection, { title: NotificationTitle, properties: () => filterPro === null || filterPro === void 0 ? void 0 : filterPro.map((i) => (React.createElement(Prop, { key: i.name, label: i.name, className: `${classId}-${i.name}` }, renderProp(i)))) })))));
28
28
  function renderProp(item) {
@@ -45,12 +45,19 @@ const NotificationProperties = (props) => {
45
45
  data: { Date: date !== null ? date : "" },
46
46
  });
47
47
  } }));
48
+ case "Notification Status":
49
+ return notification.draft ? (React.createElement(NotificationStatusLabel, { status: notification.draft ? "Draft" : "" })) : null;
48
50
  }
49
51
  }
50
52
  };
51
53
  NotificationProperties.defaultProps = {
52
54
  NotificationTitle: "Notification Properties",
53
- NotificationProperties: [{ name: "Subject" }, { name: "Channels" }, { name: "Date" }],
55
+ NotificationProperties: [
56
+ { name: "Notification Status" },
57
+ { name: "Subject" },
58
+ // { name: "Channels" },
59
+ { name: "Date" },
60
+ ],
54
61
  };
55
62
  export default NotificationProperties;
56
63
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kC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AI,EAAE,KAAK,CAAC;4BAAE,OAAO;wBAC9E,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE;4BACd,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAS;yBAChD,CAAC,CAAC;oBACJ,CAAC,GACA,CACF,CAAC;QACJ,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,sBAAsB,CAAC,YAAY,GAAG;IACrC,iBAAiB,EAAE,yBAAyB;IAC5C,sBAAsB,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;CACrF,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,iBAAiB,MAAM,iDAAiD,CAAC;AAChF,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,eAAe,MAAM,kEAAkE,CAAC;AAC/F,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACvF,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAC/D,OAAO,uBAAuB,MAAM,wCAAwC,CAAC;AAC7E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AAC,YAAY,GAAG;IACrC,iBAAiB,EAAE,yBAAyB;IAC5C,sBAAsB,EAAE;QACvB,EAAE,IAAI,EAAE,qBAAqB,EAAE;QAC/B,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,wBAAwB;QACxB,EAAE,IAAI,EAAE,MAAM,EAAE;KAChB;CACD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -6,11 +6,11 @@ import Scrollbars from "react-custom-scrollbars-2";
6
6
  import ItemFrame from "@voplus/morpho-ui/es/controls/ItemFrame";
7
7
  import UnitReference from "@voplus/morpho-org/es/controls/UnitReference";
8
8
  import { ColumnItem, ColumnItemCol } from "@voplus/morpho-ui/es/controls/ColumnItem";
9
- import { useNotification } from "../../../../data/notification";
9
+ import { useNotifications } from "../../../../data/notification";
10
10
  import "./index.less";
11
11
  const NotificationRecipients = (props) => {
12
12
  const { id, viewTitle } = props;
13
- const notification = useNotification(id);
13
+ const notification = useNotifications(id);
14
14
  return observe(() => {
15
15
  var _a;
16
16
  return (React.createElement("div", { className: "notification-recipient-list" },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationRecipients/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,SAAS,MAAM,yCAAyC,CAAC;AAChE,OAAO,aAAa,MAAM,8CAA8C,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,cAAc,CAAC;AAEtB,MAAM,sBAAsB,GAAG,CAAC,KAA0C,EAA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IAAI,EAAE,EAAE,EAAE,KAAK,EAAC,SAAS,IACtC,IAAI,CAAC,OAAO,CACE;oBAChB,oBAAC,aAAa,IAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAC,MAAM,IAClC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAC3B,CACJ,CACF,CACZ,CAAC,CACF,CAAC,CAAC,CAAC,CACH,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,CAAC,sBAAsB,GAAI,CAC9C,CACW,CACR,CACN,CAAA;KAAA,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -2,22 +2,25 @@ import { observe } from "@voplus/morpho-ui";
2
2
  import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
3
3
  import ProseMirrorViewer from "@voplus/morpho-text/es/controls/ProseMirror/Viewer";
4
4
  import { Tabs } from "antd";
5
- import { useNotification } from "../../../../data/notification";
6
- import React, { useState, useMemo } from "react";
5
+ import { useNotifications } from "../../../../data/notification";
6
+ import React, { useState, useMemo, useEffect } from "react";
7
7
  import NotificationProperties from "../NotificationProperties";
8
8
  import NotificationRecipients from "../NotificationRecipients";
9
9
  import "./index.less";
10
10
  const NotificationTabs = (props) => {
11
11
  const { id, properties } = props;
12
- const [activeKey, setActiveKey] = useState(properties ? "Properties" : "Document");
12
+ const [activeKey, setActiveKey] = useState(properties ? "Properties" : "Content");
13
13
  const view = useMemo(() => new ViewContextData("QuickView"), []);
14
- const notification = useNotification(id);
14
+ const notification = useNotifications(id);
15
+ useEffect(() => {
16
+ setActiveKey(properties ? "Properties" : "Content");
17
+ }, [id]);
15
18
  const items = [
16
19
  {
17
20
  key: "Content",
18
21
  label: "Content",
19
- children: (React.createElement("div", { style: { padding: "20px" } },
20
- React.createElement(ProseMirrorViewer, { html: notification.body }))),
22
+ children: observe(() => (React.createElement("div", { style: { padding: "20px" } },
23
+ React.createElement(ProseMirrorViewer, { html: notification.body })))),
21
24
  },
22
25
  {
23
26
  key: "Recipients",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,cAAc,CAAC;AAEtB,MAAM,gBAAgB,GAAG,CAAC,KAA2C,EAAE,EAAE;IACxE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IACjC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAS,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IAC3F,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,eAAe,CAAC,WAAW,CAAC,EAAE,EAAE,CAAC,CAAC;IACjE,MAAM,YAAY,GAAG,eAAe,CAAC,EAAE,CAAC,CAAC;IAEzC,MAAM,KAAK,GAAuB;QACjC;YACC,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,SAAS;YAChB,QAAQ,EAAE,CACT,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;gBAC9B,oBAAC,iBAAiB,IAAC,IAAI,EAAE,YAAY,CAAC,IAAI,GAAI,CACzC,CACN;SACD;QACD;YACC,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE,YAAY;YACnB,QAAQ,EAAE,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAE,GAAI;SAC5C;KACD,CAAC;IAEF,UAAU;QACT,KAAK,CAAC,OAAO,CAAC;YACb,GAAG,EAAE,YAAY;YACjB,KAAK,EAAE,YAAY;YACnB,QAAQ,EAAE,oBAAC,sBAAsB,IAAC,EAAE,EAAE,EAAE,GAAI;SAC5C,CAAC,CAAC;IAEJ,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,WAAW,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI;QAChC,oBAAC,IAAI,IACJ,SAAS,EAAC,mBAAmB,EAC7B,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GACnC,CACoB,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,sBAAsB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,cAAc,CAAC;AAEtB,MAAM,gBAAgB,GAAG,CAAC,KAA2C,EAAE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AC,mBAAmB,EAC7B,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,GACnC,CACoB,CACvB,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,13 +1,15 @@
1
1
  import NodeMenu from "@voplus/morpho-org/es/controls/NodeMenu";
2
- import { Delete, Access } from "@voplus/morpho-org/es/controls/NodeMenu/items";
2
+ import { Delete } from "@voplus/morpho-org/es/controls/NodeMenu/items";
3
3
  import { observe } from "@voplus/morpho-ui";
4
4
  import React from "react";
5
- import { useNotificationStore } from "../../../../data/notification";
5
+ import { Send } from "./item";
6
+ import { useNotificationStore, useNotifications } from "../../../../data/notification";
6
7
  const NotificationMenu = (props) => {
7
8
  const store = useNotificationStore();
9
+ const notification = useNotifications(props.id);
8
10
  return observe(() => (React.createElement(NodeMenu, { ...props, store: store, menus: React.createElement(React.Fragment, null,
9
- React.createElement(Access, null),
10
- React.createElement(Delete, { closeAside: true })) })));
11
+ notification.draft === true && React.createElement(Send, null),
12
+ notification.draft === true && React.createElement(Delete, { closeAside: true })) })));
11
13
  };
12
14
  export default NotificationMenu;
13
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/controls/NotificationMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,yCAAyC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,MAAM,gBAAgB,GAAG,CAAC,KAAmE,EAAE,EAAE;IAChG,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IAErC,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,OACJ,KAAK,EACT,KAAK,EAAE,KAAK,EACZ,KAAK,EACJ;YACC,oBAAC,MAAM,OAAG;YACV,oBAAC,MAAM,IAAC,UAAU,SAAG,CACnB,GAEH,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/controls/NotificationMenu/index.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,yCAAyC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEvF,MAAM,gBAAgB,GAAG,CAAC,KAAmE,EAAE,EAAE;IAChG,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IACrC,MAAM,YAAY,GAAG,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAEhD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,QAAQ,OACJ,KAAK,EACT,KAAK,EAAE,KAAK,EACZ,KAAK,EACJ;YACE,YAAY,CAAC,KAAK,KAAK,IAAI,IAAI,oBAAC,IAAI,OAAG;YACvC,YAAY,CAAC,KAAK,KAAK,IAAI,IAAI,oBAAC,MAAM,IAAC,UAAU,SAAG,CACnD,GAEH,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ declare const Send: (props: {
3
+ /** disabled Button */
4
+ disabled?: boolean | undefined;
5
+ /** function of Click */
6
+ action?: ((context?: any) => void) | undefined;
7
+ className?: string | undefined;
8
+ }) => React.JSX.Element;
9
+ export default Send;