@voplus/morpho-workspace 6.0.63 → 6.0.65

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. package/es/components/AssignPeople/index.js +1 -1
  2. package/es/components/AssignPeople/index.js.map +1 -1
  3. package/es/controls/filters/WorkTypesFilter/index.js +4 -4
  4. package/es/controls/filters/WorkTypesFilter/index.js.map +1 -1
  5. package/es/controls/filters/WorkTypesFilter/state.d.ts +7 -1
  6. package/es/controls/filters/WorkTypesFilter/state.js +35 -8
  7. package/es/controls/filters/WorkTypesFilter/state.js.map +1 -1
  8. package/es/data/notification/NotificationStore.d.ts +9 -0
  9. package/es/data/notification/NotificationStore.js +28 -1
  10. package/es/data/notification/NotificationStore.js.map +1 -1
  11. package/es/data/notification/hooks.d.ts +6 -0
  12. package/es/data/notification/hooks.js +15 -0
  13. package/es/data/notification/hooks.js.map +1 -1
  14. package/es/data/notification/types.d.ts +6 -5
  15. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js +1 -1
  16. package/es/modules/meeting/components/AgendaList/AgendaNewForm/index.js.map +1 -1
  17. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js +1 -1
  18. package/es/modules/meeting/components/AgendaList/AgendaNewForm/state.js.map +1 -1
  19. package/es/modules/meeting/components/NewMeetingForm/index.js +1 -1
  20. package/es/modules/meeting/components/NewMeetingForm/index.js.map +1 -1
  21. package/es/modules/notification/components/NewNotificationForm/NotificationForm.d.ts +2 -1
  22. package/es/modules/notification/components/NewNotificationForm/NotificationForm.js +16 -11
  23. package/es/modules/notification/components/NewNotificationForm/NotificationForm.js.map +1 -1
  24. package/es/modules/notification/components/NewNotificationForm/state.d.ts +2 -3
  25. package/es/modules/notification/components/NewNotificationForm/state.js +2 -10
  26. package/es/modules/notification/components/NewNotificationForm/state.js.map +1 -1
  27. package/es/modules/notification/components/NotificationList2/index.d.ts +1 -0
  28. package/es/modules/notification/components/NotificationList2/index.js +5 -5
  29. package/es/modules/notification/components/NotificationList2/index.js.map +1 -1
  30. package/es/modules/tasks/components/NewTaskForm/index.js +1 -1
  31. package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
  32. package/es/modules/tasks/components/TaskCheckNewForm/index.js +1 -1
  33. package/es/modules/tasks/components/TaskCheckNewForm/index.js.map +1 -1
  34. package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.js +1 -1
  35. package/es/modules/tasks/reports/MemberEstimatedDurationCard/state.js.map +1 -1
  36. package/es/modules/work/components/WorkList/state.d.ts +10 -0
  37. package/es/modules/work/components/WorkList/state.js +51 -0
  38. package/es/modules/work/components/WorkList/state.js.map +1 -0
  39. package/es/modules/work/components/WorksProperties/index.js +1 -1
  40. package/es/modules/work/components/WorksProperties/index.js.map +1 -1
  41. package/es/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.js +4 -3
  42. package/es/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.js.map +1 -1
  43. package/es/modules/work/work-type/components/NewTypeForm/index.js +1 -1
  44. package/es/modules/work/work-type/components/NewTypeForm/index.js.map +1 -1
  45. package/es/modules/work/work-type/components/RepeatTab/index.js +3 -3
  46. package/es/modules/work/work-type/components/RepeatTab/index.js.map +1 -1
  47. package/es/modules/workspace/components/NewWorkspaceDialog/index.js +1 -1
  48. package/es/modules/workspace/components/NewWorkspaceDialog/index.js.map +1 -1
  49. package/package.json +1 -1
@@ -17,7 +17,7 @@ export default () => {
17
17
  return observe(() => (React.createElement(Form.Item, null,
18
18
  React.createElement("div", { className: "form-item-layout" },
19
19
  React.createElement("div", null,
20
- React.createElement(Select, { mode: "multiple", style: { width: "100%" }, placeholder: "Please select", defaultValue: ["a10", "c12"], onChange: handleChange, showArrow: true }, items.map((item) => {
20
+ React.createElement(Select, { mode: "multiple", style: { width: "100%" }, placeholder: "Please select", defaultValue: ["a10", "c12"], onChange: handleChange }, items.map((item) => {
21
21
  return (React.createElement(Option, { key: item.id, value: item.id }, item.name));
22
22
  })))))));
23
23
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","source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AY,IAErB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;oBACnB,OAAO,CACN,oBAAC,MAAM,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,IAClC,IAAI,CAAC,IAAI,CACF,CACT,CAAC;gBACH,CAAC,CAAC,CACM,CACJ,CACD,CACK,CACZ,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -1,21 +1,21 @@
1
1
  import React, { useEffect } from "react";
2
2
  import { State } from "./state";
3
- import { Badge } from "antd";
3
+ import { Badge, Input } from "antd";
4
4
  import { observe } from "@voplus/morpho-ui";
5
5
  import { useFilterOptionsContext } from "@voplus/morpho-ui/es/data";
6
6
  import classnames from "classnames";
7
7
  const WorkTypesFilter = (props) => {
8
8
  const context = useFilterOptionsContext();
9
- const state = context.getFilterState("WorkTypes", () => new State());
10
- state.workTypeList = props.workTypeList;
9
+ const state = context.getFilterState("WorkTypes", () => new State(props.workTypeList));
11
10
  // defaultValue 为传入的预选状态
12
11
  useEffect(() => {
13
12
  var _a;
14
13
  state.reset();
15
14
  (_a = props.defaultValue) === null || _a === void 0 ? void 0 : _a.map((value) => state.onChangeTypes(value));
16
15
  }, [props.defaultValue]);
17
- return observe(() => (React.createElement("div", null,
16
+ return observe(() => (React.createElement("div", { style: { maxHeight: "400px", overflow: "scroll", scrollbarWidth: "none" } },
18
17
  React.createElement("div", { className: "menu-item-title" }, "WorkTypes"),
18
+ React.createElement(Input.Search, { allowClear: true, onSearch: (value, event, info) => state.searchWorkType(value) }),
19
19
  state.menus.map((item, index) => (React.createElement("div", { key: index, className: classnames("filter-menu-item", {
20
20
  bold: state.types.has(item.value),
21
21
  }), onClick: () => state.onChangeTypes(item.value) },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,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,EAAE,cAAc,EAAE,MAAM,EAAE;QAC7E,6BAAK,SAAS,EAAC,iBAAiB,gBAAgB;QAChD,oBAAC,KAAK,CAAC,MAAM,IAAC,UAAU,QAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAI;QACzF,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAS,EAAE,KAAa,EAAE,EAAE,CAAC,CAC9C,6BACC,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,UAAU,CAAC,kBAAkB,EAAE;gBACzC,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC;aACjC,CAAC,EACF,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC;YAE9C,6BAAK,SAAS,EAAC,aAAa;gBAC3B,oBAAC,KAAK,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI;gBAC3B,IAAI,CAAC,IAAI,CACL;YACN,kCAAO,IAAI,CAAC,MAAM,CAAQ,CACrB,CACN,CAAC,CACG,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -2,10 +2,16 @@ import { FilterOption } from "@voplus/morpho-data";
2
2
  import { IFilterState } from "@voplus/morpho-ui/es/data/IFilterState";
3
3
  import { IWorkType } from "../../../data/worktype";
4
4
  export declare class State implements IFilterState {
5
+ private initial;
5
6
  /** types of filter */
6
7
  types: Map<string, boolean>;
8
+ selectedLabels: {
9
+ name: string;
10
+ v1: string;
11
+ }[];
7
12
  workTypeList: IWorkType[];
8
- constructor();
13
+ constructor(initial: IWorkType[]);
14
+ searchWorkType(query?: string): void;
9
15
  /** update types */
10
16
  onChangeTypes(value: string): void;
11
17
  get menus(): any[];
@@ -1,7 +1,13 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { action, makeObservable, observable } from "mobx";
3
3
  export class State {
4
- constructor() {
4
+ constructor(initial) {
5
+ Object.defineProperty(this, "initial", {
6
+ enumerable: true,
7
+ configurable: true,
8
+ writable: true,
9
+ value: initial
10
+ });
5
11
  /** types of filter */
6
12
  Object.defineProperty(this, "types", {
7
13
  enumerable: true,
@@ -9,6 +15,12 @@ export class State {
9
15
  writable: true,
10
16
  value: new Map()
11
17
  });
18
+ Object.defineProperty(this, "selectedLabels", {
19
+ enumerable: true,
20
+ configurable: true,
21
+ writable: true,
22
+ value: void 0
23
+ });
12
24
  Object.defineProperty(this, "workTypeList", {
13
25
  enumerable: true,
14
26
  configurable: true,
@@ -16,18 +28,26 @@ export class State {
16
28
  value: void 0
17
29
  });
18
30
  makeObservable(this);
31
+ this.workTypeList = this.initial;
19
32
  }
20
- /** update types */
21
- onChangeTypes(value) {
22
- // this.types.has(value) ? this.types.delete(value) : this.types.set(value, true);
23
- if (this.types.has(value)) {
24
- this.types.delete(value);
33
+ searchWorkType(query) {
34
+ this.workTypeList = this.initial;
35
+ if (query) {
36
+ // 使用正则表达式创建不区分大小写的搜索模式
37
+ const regex = new RegExp(query, "i");
38
+ this.workTypeList = this.workTypeList.filter((t) => regex.test(t.name));
25
39
  }
26
40
  else {
27
- this.types.clear();
28
- this.types.set(value, true);
41
+ this.workTypeList = this.initial;
29
42
  }
30
43
  }
44
+ /** update types */
45
+ onChangeTypes(value) {
46
+ var _a, _b;
47
+ this.selectedLabels = [];
48
+ this.types.has(value) ? this.types.delete(value) : this.types.set(value, true);
49
+ this.selectedLabels = (_b = (_a = this.workTypeList) === null || _a === void 0 ? void 0 : _a.filter((t) => Array.from(this.types.keys()).includes(t.id))) === null || _b === void 0 ? void 0 : _b.map((s) => ({ name: s.name, v1: s.id }));
50
+ }
31
51
  get menus() {
32
52
  var _a;
33
53
  const arr = [];
@@ -41,6 +61,7 @@ export class State {
41
61
  o: "=",
42
62
  v1: Array.from(this.types.keys())[0],
43
63
  l: "And",
64
+ labels: this.selectedLabels,
44
65
  },
45
66
  ];
46
67
  }
@@ -51,9 +72,15 @@ export class State {
51
72
  __decorate([
52
73
  observable
53
74
  ], State.prototype, "types", void 0);
75
+ __decorate([
76
+ observable
77
+ ], State.prototype, "selectedLabels", void 0);
54
78
  __decorate([
55
79
  observable
56
80
  ], State.prototype, "workTypeList", void 0);
81
+ __decorate([
82
+ action
83
+ ], State.prototype, "searchWorkType", null);
57
84
  __decorate([
58
85
  action
59
86
  ], State.prototype, "onChangeTypes", null);
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypesFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAM1D,MAAM,OAAO,KAAK;IAKjB;QAJA,sBAAsB;QACH;;;;mBAA8B,IAAI,GAAG,EAAE;WAAC;QACxC;;;;;WAA0B;QAG5C,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,mBAAmB;IAEZ,aAAa,CAAC,KAAa;QACjC,kFAAkF;QAClF,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;YAC3B,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;aAAM,CAAC;YACP,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC;IACF,CAAC;IAED,IAAW,KAAK;;QACf,MAAM,GAAG,GAAU,EAAE,CAAC;QACtB,MAAA,IAAI,CAAC,YAAY,0CAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAC/B,GAAG,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,EA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AU;gBACb,CAAC,EAAE,GAAG;gBACN,EAAE,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBACpC,CAAC,EAAE,KAAK;gBACR,MAAM,EAAE,IAAI,CAAC,cAAc;aACX;SACjB,CAAC;IACH,CAAC;IACM,KAAK;QACX,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IACpB,CAAC;CACD;AAxDmB;IAAlB,UAAU;oCAAgD;AACxC;IAAlB,UAAU;6CAAuD;AAC/C;IAAlB,UAAU;2CAAkC;AAStC;IADN,MAAM;2CAWN;AAIM;IADN,MAAM;0CASN"}
@@ -28,6 +28,15 @@ export declare class NotificationStore extends Store {
28
28
  * @param {LoadDocumentListOptions}
29
29
  */
30
30
  loadList(options?: LoadDocumentListOptions): Promise<INotification[]>;
31
+ /** Load a notificaiton from server.
32
+ * @param {string} id - id of the notificaiton.
33
+ * @param {LoadNotificationOptions} options - Optional load options.
34
+ */
35
+ newLoad(id: string, options?: LoadNotificationOptions): Promise<INotification>;
36
+ /** Load a list of documents from server.
37
+ * @param {LoadDocumentListOptions}
38
+ */
39
+ newLoadList(options?: LoadDocumentListOptions): Promise<INotification[]>;
31
40
  /** Edit an existing item on server. */
32
41
  edit(id: string, options: NotificationEditOptions): Promise<any>;
33
42
  delete(ids: string[], options?: DeleteNotificationOptions): Promise<any>;
@@ -54,7 +54,7 @@ export class NotificationStore extends Store {
54
54
  async create(options) {
55
55
  // invariant(options.data.name, "Name cannot be empty.");
56
56
  return await this.action(async () => {
57
- const r = await this.endpoint.post(`/api/myspace/notifications/create`, new RequestBuilder().json(options.data));
57
+ const r = await this.endpoint.post(`/api/notifications/create`, new RequestBuilder().json(options.data));
58
58
  const t = (await r.json());
59
59
  this._created.dispatch(this, t);
60
60
  return t;
@@ -87,6 +87,33 @@ export class NotificationStore extends Store {
87
87
  const r = await this.endpoint.post(`/api/myspace/notifications${query}`, new RequestBuilder().json(options ? options : { Filters: [] }));
88
88
  return (await r.json());
89
89
  }
90
+ /** Load a notificaiton from server.
91
+ * @param {string} id - id of the notificaiton.
92
+ * @param {LoadNotificationOptions} options - Optional load options.
93
+ */
94
+ async newLoad(id, options) {
95
+ options = options !== null && options !== void 0 ? options : {};
96
+ let query = "";
97
+ if (options.includes)
98
+ query = query.concat(`includes=${options.includes}`);
99
+ if (query)
100
+ query = "?".concat(query);
101
+ const r = await this.endpoint.get(`/api/notifications/${id}${query}`);
102
+ return await r.json();
103
+ }
104
+ /** Load a list of documents from server.
105
+ * @param {LoadDocumentListOptions}
106
+ */
107
+ async newLoadList(options) {
108
+ let query = "";
109
+ if (options === null || options === void 0 ? void 0 : options.Includes) {
110
+ query = query.concat(`includes=${options.Includes}`);
111
+ }
112
+ if (query)
113
+ query = "?".concat(query);
114
+ const r = await this.endpoint.post(`/api/notifications${query}`, new RequestBuilder().json(options ? options : { Filters: [] }));
115
+ return (await r.json());
116
+ }
90
117
  /** Edit an existing item on server. */
91
118
  async edit(id, options) {
92
119
  return this.action(async () => {
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationStore.js","sourceRoot":"","sources":["../../../src/data/notification/NotificationStore.ts"],"names":[],"mappings":";AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAS/E,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE1C,MAAM,SAAS,GAAG,mBAAmB,CAAC;AAEtC,mDAAmD;AACnD,MAAM,OAAO,iBAAkB,SAAQ,KAAK;IAO3C,YAAmC,QAAqB;QACvD,KAAK,EAAE,CAAC;QADU;;;;mBAAgB,QAAQ;WAAa;QANxD,wBAAwB;QACR;;;;mBAAe,SAAS;WAAC;QACzC,sCAAsC;QACrB;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AE,CAAC;YACnB,KAAK,MAAM,EAAE,IAAI,GAAG,EAAE,CAAC;gBACtB,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;gBACjC,IAAI,IAAI,EAAE,CAAC;oBACV,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;oBACnB,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;gBACpC,CAAC;YACF,CAAC;YACD,OAAO,OAAO,CAAC;QAChB,CAAC,EAAE,OAAQ,CAAC,CAAC;IACd,CAAC;CACD;AAjBa;IADZ,MAAM;+CAiBN;AAGF,+CAA+C;AAC/C,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACxC,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;IACxC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;QACpC,OAAO,CAAC,eAAe,CAAC,IAAI,iBAAiB,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC;IAC7E,CAAC;IACD,OAAO,OAAO,CAAC,UAAU,CAAC,SAAS,CAAuB,CAAC;AAC5D,CAAC,CAAC"}
@@ -1,5 +1,11 @@
1
1
  import { INotification, LoadNotificationOptions } from ".";
2
2
  import { ListDataContextState } from "@voplus/morpho-ui/es/data";
3
3
  import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
4
+ /** notification card */
4
5
  export declare const useNotification: (id: string, options?: LoadNotificationOptions) => INotification;
6
+ /** 新的 notification */
7
+ export declare const useNotifications: (id: string, options?: LoadNotificationOptions) => INotification;
8
+ /** notification card list */
5
9
  export declare const useNotificationListEffect: (list: ListDataContextState<INotification> | null, effect: (list: INotification[], total?: number) => void, options?: LoadDocumentListOptions) => void;
10
+ /** 新的 notification */
11
+ export declare const useNotificationsListEffect: (list: ListDataContextState<INotification> | null, effect: (list: INotification[], total?: number) => void, options?: LoadDocumentListOptions) => void;
@@ -1,15 +1,30 @@
1
1
  import { useNotificationStore } from ".";
2
2
  import { useListLoaderEffect } from "@voplus/morpho-ui/es/hooks";
3
3
  import { useLoadCountedMapItem } from "@voplus/morpho-data";
4
+ /** notification card */
4
5
  export const useNotification = (id, options) => {
5
6
  options = options ? options : {};
6
7
  const store = useNotificationStore();
7
8
  return useLoadCountedMapItem(id, store.items, (calculatedOptions) => store.load(id, calculatedOptions), options);
8
9
  };
10
+ /** 新的 notification */
11
+ export const useNotifications = (id, options) => {
12
+ options = options ? options : {};
13
+ const store = useNotificationStore();
14
+ return useLoadCountedMapItem(id, store.items, (calculatedOptions) => store.newLoad(id, calculatedOptions), options);
15
+ };
16
+ /** notification card list */
9
17
  export const useNotificationListEffect = (list, effect, options) => {
10
18
  const deps = options ? options : {};
11
19
  const store = useNotificationStore();
12
20
  // Call useListLoaderEffect and ensure won't load twice for same loading options.
13
21
  return useListLoaderEffect(list, store.items, effect, () => store.loadList(options), [deps]);
14
22
  };
23
+ /** 新的 notification */
24
+ export const useNotificationsListEffect = (list, effect, options) => {
25
+ const deps = options ? options : {};
26
+ const store = useNotificationStore();
27
+ // Call useListLoaderEffect and ensure won't load twice for same loading options.
28
+ return useListLoaderEffect(list, store.items, effect, () => store.newLoadList(options), [deps]);
29
+ };
15
30
  //# sourceMappingURL=hooks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/data/notification/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,oBAAoB,EAAE,MAAM,GAAG,CAAC;AAIjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAU,EAAE,OAAiC,EAAE,EAAE;IAChF,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAE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EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;AACjG,CAAC,CAAC"}
@@ -26,11 +26,12 @@ export type NotificationEditOptions = {
26
26
  /** create Notification options */
27
27
  export type CreateNotificationOptions = {
28
28
  data: {
29
- /** 需要organization id */
30
- ParentId: string;
31
- Recipients: string[];
32
- /** ("Email" | "Instant Message")[] */
33
- Channels: string[];
29
+ /** corporate id 或 customer id */
30
+ TargetId: string;
31
+ /** Email = 1;
32
+ * Instant Message = 2;
33
+ * Email + Instant Message = 11 */
34
+ Channels: number;
34
35
  Subject?: string;
35
36
  Body?: string;
36
37
  };
@@ -21,7 +21,7 @@ export default forwardRef((props, ref) => {
21
21
  }));
22
22
  const { single } = props;
23
23
  return observe(() => single ? (React.createElement("div", { className: styles["agenda-new-form_single"] },
24
- React.createElement(Input, { autoFocus: true, value: state.name, onChange: (e) => runInAction(() => (state.name = e.target.value)), placeholder: "Name for Agenda", suffix: state.loading ? React.createElement(LoadingOutlined, null) : React.createElement("span", null), onPressEnter: (e) => state.onItemSave(e), onKeyDown: (e) => e.keyCode === 27 && props.onCancel() }))) : (React.createElement(React.Fragment, null,
24
+ React.createElement(Input, { autoFocus: true, value: state.name, onChange: (e) => runInAction(() => (state.name = e.target.value)), placeholder: "Name for Agenda", suffix: state.loading ? React.createElement(LoadingOutlined, null) : React.createElement("span", null), onPressEnter: (e) => state.onItemSave(e), onKeyDown: (e) => e.key === "Escape" && props.onCancel() }))) : (React.createElement(React.Fragment, null,
25
25
  state.params.map((item, index) => (React.createElement("div", { key: index, className: styles["agenda-new-form_default"] },
26
26
  React.createElement("span", null, `${index + 1}、`),
27
27
  React.createElement(Input, { autoFocus: true, value: item.Name, onChange: (e) => onChange(item, e.target.value), onKeyDown: (e) => state.onCancelAdd(index, e) }),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaNewForm/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AAC,CAAC,GAC5C;YACF,8BACC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAChE,SAAS,EAAC,QAAQ;gBAElB,oBAAC,MAAM,IAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAC,MAAM,GAAG,CACnC,CACF,CACN,CAAC;QACF,6BAAK,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE;YACpE,oBAAC,MAAM,IACN,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,EAAE,EAClC,SAAS,EAAE,MAAM,CAAC,qBAAqB,CAAC,EACxC,OAAO,EAAE,KAAK,CAAC,WAAW;gBAE1B,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI;kCAEhB,CACJ,CACU,CACjB,CACD,CAAC;AACH,CAAC,CACD,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaNewForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAW,MAAM,MAAM,CAAC;AAC9C,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAEtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAA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MAAM,IACN,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,EAAE,EAClC,SAAS,EAAE,MAAM,CAAC,qBAAqB,CAAC,EACxC,OAAO,EAAE,KAAK,CAAC,WAAW;gBAE1B,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI;kCAEhB,CACJ,CACU,CACjB,CACD,CAAC;AACH,CAAC,CACD,CAAC"}
@@ -39,7 +39,7 @@ export class State {
39
39
  configurable: true,
40
40
  writable: true,
41
41
  value: (index, e) => {
42
- if (e.keyCode === 27)
42
+ if (e.key === "Escape")
43
43
  this.params.splice(index, 1);
44
44
  }
45
45
  });
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaNewForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAGvE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,MAAM,OAAO,KAAK;IAMjB,YAAoB,MAAmB;QAA3B;;;;mBAAQ,MAAM;WAAa;QALpB;;;;;WAAY;QACZ;;;;mBAAO,EAAE;WAAC;QACV;;;;mBAAgB,EAAE;WAAC;QACnB;;;;mBAAU,KAAK;WAAC;QAKnC,oBAAoB;QACL;;;;mBAAc,CAAC,KAAa,EAAE,CAAwC,EAAE,EAAE;gBACxF,IAAI,CAAC,CAAC,OAAO,KAAK,EAAE;oBAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;YACpD,CAAC;WAAC;QAEa;;;;mBAAc,GAAG,EAAE;gBACjC,MAAM,MAAM,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;gBAC5B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC1B,CAAC;WAAC;QAEF,cAAc;QAEP;;;;mBAAa,KAAK,EAAE,CAAM,EAAE,EAAE;gBACpC,IAAI,IAAI,CAAC,OAAO;oBAAE,OAAO;gBACzB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK;oBAAE,OAAO,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;gBACjE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC;gBACzC,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC;oBACxB,IAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE;oBACjD,KAAK,EAAE,SAAS;iBAChB,CAAC,CAAC;gBACH,WAAW,CAAC,GAAG,EAAE;oBAChB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;oBACrB,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;gBAChB,CAAC,CAAC,CAAC;gBACH,OAAO;YACR,CAAC;WAAC;QA3BD,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CA2BD;AAlCmB;IAAlB,UAAU;iCAAoB;AACZ;IAAlB,UAAU;mCAAkB;AACV;IAAlB,UAAU;qCAA2B;AACnB;IAAlB,UAAU;sCAAwB;AAMpB;IAAd,MAAM;0CAEL;AAEa;IAAd,MAAM;0CAGL;AAIK;IADN,MAAM;yCAcL"}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/meeting/components/AgendaList/AgendaNewForm/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAGvE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,MAAM,OAAO,KAAK;IAMjB,YAAoB,MAAmB;QAA3B;;;;mBAAQ,MAAM;WAAa;QAL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;iCAAoB;AACZ;IAAlB,UAAU;mCAAkB;AACV;IAAlB,UAAU;qCAA2B;AACnB;IAAlB,UAAU;sCAAwB;AAMpB;IAAd,MAAM;0CAEL;AAEa;IAAd,MAAM;0CAGL;AAIK;IADN,MAAM;yCAcL"}
@@ -97,7 +97,7 @@ const NewMeetingForm = (props) => {
97
97
  /** key键:'Esc' cancel added */
98
98
  function onKeyDown(e) {
99
99
  var _a;
100
- if (e.keyCode !== 27)
100
+ if (e.key !== "Escape")
101
101
  return;
102
102
  (_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(props);
103
103
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/meeting/components/NewMeetingForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,aAAa,MAAM,6BAA6B,CAAC;AACxD,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,q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,GAAG,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC;YACjC,IAAI,EAAE;gBACL,GAAG,KAAK,CAAC,MAAM;gBACf,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,SAAS;gBACjC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO;gBAC7B,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"}
@@ -1,7 +1,8 @@
1
1
  import "./index.less";
2
2
  import React from "react";
3
3
  export type NewNotificationFormProps = {
4
- parentId: string;
4
+ /** 需要 corporate 或者 customer id */
5
+ targetId: string;
5
6
  type?: "full" | "mini";
6
7
  showView?: boolean;
7
8
  className?: string;
@@ -5,7 +5,6 @@ import AddFormView from "@voplus/morpho-ui/es/controls/AddFormView";
5
5
  import { Form, Row, Space, Button, Checkbox, Input, message } from "antd";
6
6
  import classnames from "classnames";
7
7
  import React, { useState } from "react";
8
- import MentionList from "@voplus/morpho-org/es/controls/MentionList";
9
8
  import ProseMirror from "@voplus/morpho-text/es/controls/ProseMirror";
10
9
  import { useNotificationStore } from "../../../../data/notification";
11
10
  import NotificationPropertiesView from "../NotificationPropertiesView";
@@ -16,17 +15,21 @@ const NewNotificationFormContent = (props) => {
16
15
  const [state] = useState(new State());
17
16
  const content = observe(() => (React.createElement("div", { className: classnames("new-notification-form", { "sub-notification-simply-form": props.type === "mini" }, props.className) },
18
17
  React.createElement(Form, { layout: "vertical" },
19
- React.createElement(Form.Item, { label: "Recipients" },
20
- React.createElement(MentionList, { defaultSelection: "Everyone", contacts: state.contact, onChange: (list) => {
21
- state.contact = list;
22
- state.recipients = [];
23
- list.map((i) => state.recipients.push(i.id));
24
- } })),
25
18
  React.createElement(Form.Item, { label: "Channels" },
26
19
  React.createElement(Checkbox.Group, { options: [
27
20
  { label: "Email", value: "Email" },
28
21
  { label: "Instant Message", value: "Instant Message" },
29
- ], defaultValue: state.params.Channels, onChange: (checkedValues) => (state.params.Channels = checkedValues) })),
22
+ ], defaultValue: ["Email"], onChange: (checkedValues) => {
23
+ if (checkedValues.length === 1) {
24
+ state.params.Channels = checkedValues[0] === "Email" ? 1 : 2;
25
+ }
26
+ else if (checkedValues.length === 2) {
27
+ state.params.Channels = 11;
28
+ }
29
+ else {
30
+ state.params.Channels = 0;
31
+ }
32
+ } })),
30
33
  React.createElement(Form.Item, { label: "Subject" },
31
34
  React.createElement(Input, { onChange: (e) => (state.params.Subject = e.target.value) })),
32
35
  React.createElement(Form.Item, { label: "Body" },
@@ -38,11 +41,12 @@ const NewNotificationFormContent = (props) => {
38
41
  return observe(() => (React.createElement(React.Fragment, null, props.type === "full" ? (React.createElement(AddFormView, { title: "Add Notification", loading: !!state.loading, onCancel: onCancel, onSubmit: onSave }, content)) : (content))));
39
42
  async function onSave() {
40
43
  var _a;
41
- if (!state.recipients.length)
42
- return message.warning("Recipients is required");
44
+ if (!state.params.Channels)
45
+ return message.warning("Channels is required");
43
46
  state.loading = true;
47
+ console.log(state.params, "----data");
44
48
  const res = await store.create({
45
- data: { ParentId: props.parentId, ...state.params, Recipients: state.recipients },
49
+ data: { TargetId: props.targetId, ...state.params },
46
50
  error: "message",
47
51
  });
48
52
  (_a = props.onSave) === null || _a === void 0 ? void 0 : _a.call(props);
@@ -51,6 +55,7 @@ const NewNotificationFormContent = (props) => {
51
55
  return asideContext.openAside(React.createElement(NotificationPropertiesView, { id: res.id }), {
52
56
  span: 12,
53
57
  });
58
+ state.params = state.Params;
54
59
  }
55
60
  // cancel add notifications
56
61
  function onCancel() {
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationForm.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NewNotificationForm/NotificationForm.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAS,MAAM,MAAM,CAAC;AACjF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,WAAW,MAAM,4CAA4C,CAAC;AACrE,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,0BAA0B,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAWhC,MAAM,0BAA0B,GAAG,CAAC,KAA+B,EAAE,EAAE;IACtE,MAAM,KAAK,GAAG,oBAAoB,EAAE,CAAC;IACrC,MAAM,YAAY,GAAG,sBAAsB,EAAE,CAAC;IAC9C,MAAM,CAAC,KAAK,C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QACrB,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC;YAC9B,IAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,GAAG,KAAK,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,EAAE;YACjF,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;QACjB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;QACtB,IAAI,KAAK,CAAC,QAAQ,IAAI,GAAG;YACxB,OAAO,YAAa,CAAC,SAAS,CAAC,oBAAC,0BAA0B,IAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAI,EAAE;gBAC1E,IAAI,EAAE,EAAE;aACR,CAAC,CAAC;IACL,CAAC;IAED,2BAA2B;IAC3B,SAAS,QAAQ;;QAChB,IAAI,KAAK,CAAC,QAAQ;YAAE,OAAO,YAAa,CAAC,UAAU,EAAE,CAAC;QACtD,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,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAS,MAAM,MAAM,CAAC;AACjF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,E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  constructor();
3
3
  Params: {
4
- Channels: string[];
4
+ Channels: number;
5
5
  Subject: string;
6
6
  Body: string;
7
7
  };
8
8
  params: {
9
- Channels: string[];
9
+ Channels: number;
10
10
  Subject: string;
11
11
  Body: string;
12
12
  };
@@ -14,6 +14,5 @@ export declare class State {
14
14
  id: string;
15
15
  name: string;
16
16
  }[];
17
- recipients: string[];
18
17
  loading: boolean;
19
18
  }
@@ -7,7 +7,7 @@ export class State {
7
7
  configurable: true,
8
8
  writable: true,
9
9
  value: {
10
- Channels: ["Email"],
10
+ Channels: 1,
11
11
  Subject: "",
12
12
  Body: "",
13
13
  }
@@ -18,18 +18,13 @@ export class State {
18
18
  writable: true,
19
19
  value: this.Params
20
20
  });
21
+ // @observable public Channels?: number = 1;
21
22
  Object.defineProperty(this, "contact", {
22
23
  enumerable: true,
23
24
  configurable: true,
24
25
  writable: true,
25
26
  value: []
26
27
  });
27
- Object.defineProperty(this, "recipients", {
28
- enumerable: true,
29
- configurable: true,
30
- writable: true,
31
- value: []
32
- });
33
28
  Object.defineProperty(this, "loading", {
34
29
  enumerable: true,
35
30
  configurable: true,
@@ -45,9 +40,6 @@ __decorate([
45
40
  __decorate([
46
41
  observable
47
42
  ], State.prototype, "contact", void 0);
48
- __decorate([
49
- observable
50
- ], State.prototype, "recipients", void 0);
51
43
  __decorate([
52
44
  observable
53
45
  ], State.prototype, "loading", void 0);
@@ -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,OAAO,CAAC;gBACnB,OAAO,EAAE,EAAE;gBACX,IAAI,EAAE,EAAE;aACR;WAAC;QACiB;;;;mBAAS,IAAI,CAAC,MAAM;WAAC;QACrB;;;;mBAA0C,EAAE;WAAC;QAC7C;;;;mBAAuB,EAAE;WAAC;QAC1B;;;;mBAAU,KAAK;WAAC;QAVlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAUD;AAJmB;IAAlB,UAAU;qCAA6B;AACrB;IAAlB,UAAU;sCAAqD;AAC7C;IAAlB,UAAU;yCAAkC;AAC1B;IAAlB,UAAU;sCAAwB"}
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;aACR;WAAC;QACiB;;;;mBAAS,IAAI,CAAC,MAAM;WAAC;QACxC,4CAA4C;QACzB;;;;mBAA0C,EAAE;WAAC;QAC7C;;;;mBAAU,KAAK;WAAC;QAVlC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;CAUD;AAJmB;IAAlB,UAAU;qCAA6B;AAErB;IAAlB,UAAU;sCAAqD;AAC7C;IAAlB,UAAU;sCAAwB"}
@@ -1,6 +1,7 @@
1
1
  import "./index.less";
2
2
  import React from "react";
3
3
  export type NotificationListProps = {
4
+ /** 需要 corporate 或者 customer id */
4
5
  parentId: string;
5
6
  };
6
7
  declare const NotificationList: (props: NotificationListProps) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import "./index.less";
2
- import { useNotificationListEffect } 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";
@@ -13,10 +13,10 @@ const NotificationList = (props) => {
13
13
  const { parentId } = props;
14
14
  const [addAble, setAddAble] = useState(false);
15
15
  const view = useViewContext();
16
- const list = useCreateListDataState({ filterDefaults: { filters: [{ c: "Status", o: "=", l: "And", v1: "Unread" }] } }, [parentId]);
16
+ const list = useCreateListDataState({ filterDefaults: { filters: [{ c: "Target", o: "=", l: "And", v1: parentId }] } }, [parentId]);
17
17
  // useAutoUpdateListData(list, (d) => d.parentId === parentId);
18
18
  useRenderOnChange(() => list.filters.options);
19
- useNotificationListEffect(list, (result, total) => {
19
+ useNotificationsListEffect(list, (result, total) => {
20
20
  list.union(result);
21
21
  }, {
22
22
  Total: false,
@@ -31,8 +31,8 @@ const NotificationList = (props) => {
31
31
  onAdd: () => ((view === null || view === void 0 ? void 0 : view.Type) === "PropertiesView" || (view === null || view === void 0 ? void 0 : view.Type) === "QuickView") &&
32
32
  setAddAble(!addAble),
33
33
  }, formViewTitle: "Add Offiec", formView: (view === null || view === void 0 ? void 0 : view.Type) !== "PropertiesView" &&
34
- (view === null || view === void 0 ? void 0 : view.Type) !== "QuickView" && React.createElement(NotificationForm, { showView: true, parentId: parentId }), renderItem: ({ item, index }) => (React.createElement(NotificationItem, { key: item.id, id: item.id })) }),
35
- addAble && (React.createElement(NewNotificationFormDialog, { parentId: parentId, onCancel: () => setAddAble(false), onSave: () => setAddAble(false) }))));
34
+ (view === null || view === void 0 ? void 0 : view.Type) !== "QuickView" && React.createElement(NotificationForm, { showView: true, targetId: props.parentId }), renderItem: ({ item, index }) => (React.createElement(NotificationItem, { key: item.id, id: item.id })) }),
35
+ addAble && (React.createElement(NewNotificationFormDialog, { targetId: props.parentId, onCancel: () => setAddAble(false), onSave: () => setAddAble(false) }))));
36
36
  });
37
37
  };
38
38
  export default NotificationList;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/notification/components/NotificationList2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAiB,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACzF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GAC9B,CACF,CACyB,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -74,7 +74,7 @@ const NewTaskForm = (props) => {
74
74
  state.showMore = false;
75
75
  }
76
76
  function onKeyDown(e) {
77
- if (e.keyCode !== 27)
77
+ if (e.key !== "Escape")
78
78
  return;
79
79
  onCancel();
80
80
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/NewTaskForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAC7F,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,WAAW,MAAM,6CAA6C,CAAC;AACtE,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,cAAc,CAAC;AAE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U;YAAE,KAAK,CAAC,UAAU,EAAE,CAAC;IAC1C,CAAC;IACD,SAAS,iBAAiB,CAAC,SAAkC;QAC5D,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC;QACjC,IAAI,CAAC,SAAS,IAAI,CAAC,OAAO,EAAE,CAAC;YAC5B,OAAO,KAAK,CAAC;QACd,CAAC;QACD,OAAO,SAAS,GAAI,OAAuB,CAAC;IAC7C,CAAC;IACD,SAAS,eAAe,CAAC,OAAgC;QACxD,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC;QACnC,IAAI,CAAC,OAAO,IAAI,CAAC,SAAS,EAAE,CAAC;YAC5B,OAAO,KAAK,CAAC;QACd,CAAC;QACD,OAAO,OAAO,IAAK,SAAyB,CAAC;IAC9C,CAAC;AACF,CAAC,CAAC;AACF,eAAe,WAAW,CAAC"}
@@ -40,7 +40,7 @@ const TaskCheckNewForm = (props) => {
40
40
  }
41
41
  }, handleOpenChange: (open) => (state.openDate = open), style: { width: "100%" } }))))))))));
42
42
  function onKeyDown(e) {
43
- if (e.keyCode !== 27)
43
+ if (e.key !== "Escape")
44
44
  return;
45
45
  onCancel();
46
46
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckNewForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,gBAAgB,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,E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GACvB,CACG,CACD,CACD,CACK,CACN,CACD,CACF,CACN,CAAC,CAAC;IAEH,SAAS,SAAS,CAAC,CAAM;QACxB,IAAI,CAAC,CAAC,OAAO,KAAK,EAAE;YAAE,OAAO;QAC7B,QAAQ,EAAE,CAAC;IACZ,CAAC;IAED,KAAK,UAAU,QAAQ;;QACtB,IAAI,CAAC,KAAK,CAAC,IAAI;YAAE,OAAO,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;QAC7D,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC;QAC1C,MAAM,KAAK,CAAC,MAAM,CAAC;YAClB,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAS;YACnF,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;QACjB,OAAO;IACR,CAAC;IACD,kBAAkB;IAClB,SAAS,QAAQ;;QAChB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;QAChB,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC;QACnB,MAAA,KAAK,CAAC,QAAQ,qDAAI,CAAC;IACpB,CAAC;AACF,CAAC,CAAC;AACF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/components/TaskCheckNewForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,K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B,CAAC;AACF,CAAC,CAAC;AACF,eAAe,gBAAgB,CAAC"}
@@ -104,7 +104,7 @@ export class State {
104
104
  setName(name) {
105
105
  let str = "";
106
106
  name.split(" ").forEach((r) => {
107
- str += r.substr(0, 1);
107
+ str += r.substring(0, 1);
108
108
  });
109
109
  return str;
110
110
  }
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/reports/MemberEstimatedDurationCard/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAGhE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAK;IASjB;QARmB;;;;mBAAwC,EAAE;WAAC;QAC3C;;;;mBAAO,CAAC;WAAC;QACT;;;;mBAAW,EAAE;WAAC;QACd;;;;mBAAU,IAAI;WAAC;QACf;;;;mBAAiB,EAAE;WAAC;QACpB;;;;mBAAuB,EAAE;WAAC;QAC1B;;;;mBAAY,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC;WAAC;QAGjG,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,WAAW;IAEJ,QAAQ;QACd,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;IAC3B,CAAC;IAED,YAAY;IAEL,KAAK;QACX,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;QACd,+BAA+B;IAChC,CAAC;IAED,gBAAgB;IAET,MAAM,CAAC,IAAS;QACtB,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAClB,CAAC;IA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OAAO,CAAC,IAAY;QAC1B,IAAI,GAAG,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YAC7B,GAAG,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC;QACH,OAAO,GAAG,CAAC;IACZ,CAAC;CACD;AAlFmB;IAAlB,UAAU;4CAAmD;AAC3C;IAAlB,UAAU;mCAAiB;AACT;IAAlB,UAAU;uCAAsB;AACd;IAAlB,UAAU;sCAAuB;AACf;IAAlB,UAAU;sCAA4B;AACpB;IAAlB,UAAU;mCAAkC;AAC1B;IAAlB,UAAU;wCAAuF;AAQ3F;IADN,MAAM;qCAIN;AAIM;IADN,MAAM;kCAMN;AAIM;IADN,MAAM;mCAIN;AAIM;IADN,MAAM;qCAmCN;AAIM;IADN,MAAM;oCAON"}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/tasks/reports/MemberEstimatedDurationCard/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAGhE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAK;IASjB;QARmB;;;;mBAAwC,EAAE;WAAC;QAC3C;;;;mBAAO,CAAC;WAAC;QACT;;;;mBAAW,EAAE;WAAC;QACd;;;;mBAAU,IAAI;WAAC;QACf;;;;mBAAiB,EAAE;WAAC;QACpB;;;;mBAAuB,EAAE;WAAC;QAC1B;;;;mBAAY,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC;WAAC;QAGjG,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,WAAW;IAEJ,QAAQ;QACd,IAAI,CAAC,OAAO,GAAG,IAAI,CA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,gCAAgC;YAChC,IAAI,CAAC,OAAO,GAAG;gBACd,GAAG,IAAI,CAAC,OAAO;gBACf;oBACC,CAAC,EAAE,SAAS;oBACZ,CAAC,EAAE,SAAS;oBACZ,CAAC,EAAE,KAAK;oBACR,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC;oBAC1C,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC;iBAC1C;aACD,CAAC;IACJ,CAAC;IAED,kBAAkB;IAEX,OAAO,CAAC,IAAY;QAC1B,IAAI,GAAG,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YAC7B,GAAG,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QAC1B,CAAC,CAAC,CAAC;QACH,OAAO,GAAG,CAAC;IACZ,CAAC;CACD;AAlFmB;IAAlB,UAAU;4CAAmD;AAC3C;IAAlB,UAAU;mCAAiB;AACT;IAAlB,UAAU;uCAAsB;AACd;IAAlB,UAAU;sCAAuB;AACf;IAAlB,UAAU;sCAA4B;AACpB;IAAlB,UAAU;mCAAkC;AAC1B;IAAlB,UAAU;wCAAuF;AAQ3F;IADN,MAAM;qCAIN;AAIM;IADN,MAAM;kCAMN;AAIM;IADN,MAAM;mCAIN;AAIM;IADN,MAAM;qCAmCN;AAIM;IADN,MAAM;oCAON"}
@@ -0,0 +1,10 @@
1
+ import { IWorkType } from "../../../../data/worktype";
2
+ import { FilterOption } from "@voplus/morpho-data";
3
+ export declare class State {
4
+ workTypeList: IWorkType[];
5
+ filterWorkTypeIds: string[];
6
+ filterWorkTypeList?: Array<IWorkType>;
7
+ constructor();
8
+ onResetFilter(item: string): void;
9
+ onFilter(filterInfo: FilterOption[]): void;
10
+ }
@@ -0,0 +1,51 @@
1
+ import { __decorate } from "tslib";
2
+ import { makeObservable, observable, action } from "mobx";
3
+ export class State {
4
+ constructor() {
5
+ Object.defineProperty(this, "workTypeList", {
6
+ enumerable: true,
7
+ configurable: true,
8
+ writable: true,
9
+ value: []
10
+ });
11
+ Object.defineProperty(this, "filterWorkTypeIds", {
12
+ enumerable: true,
13
+ configurable: true,
14
+ writable: true,
15
+ value: []
16
+ });
17
+ Object.defineProperty(this, "filterWorkTypeList", {
18
+ enumerable: true,
19
+ configurable: true,
20
+ writable: true,
21
+ value: void 0
22
+ });
23
+ makeObservable(this);
24
+ }
25
+ onResetFilter(item) { }
26
+ onFilter(filterInfo) {
27
+ var _a;
28
+ filterInfo === null || filterInfo === void 0 ? void 0 : filterInfo.map((f) => {
29
+ if (f.c === "WorkType") {
30
+ this.filterWorkTypeIds.push(f.v1);
31
+ }
32
+ });
33
+ this.filterWorkTypeList = (_a = this.workTypeList) === null || _a === void 0 ? void 0 : _a.filter((t) => this.filterWorkTypeIds.includes(t.id));
34
+ }
35
+ }
36
+ __decorate([
37
+ observable
38
+ ], State.prototype, "workTypeList", void 0);
39
+ __decorate([
40
+ observable
41
+ ], State.prototype, "filterWorkTypeIds", void 0);
42
+ __decorate([
43
+ observable
44
+ ], State.prototype, "filterWorkTypeList", void 0);
45
+ __decorate([
46
+ action
47
+ ], State.prototype, "onResetFilter", null);
48
+ __decorate([
49
+ action
50
+ ], State.prototype, "onFilter", null);
51
+ //# sourceMappingURL=state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAI1D,MAAM,OAAO,KAAK;IAKjB;QAJY;;;;mBAA4B,EAAE;WAAC;QAC/B;;;;mBAA8B,EAAE;WAAC;QACjC;;;;;WAAsC;QAGjD,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAEc,aAAa,CAAC,IAAY,IAAG,CAAC;IAE9B,QAAQ,CAAC,UAA0B;;QACjD,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,CAAC,CAAC,CAAe,EAAE,EAAE;YACnC,IAAI,CAAC,CAAC,CAAC,KAAK,UAAU,EAAE,CAAC;gBACxB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;YACnC,CAAC;QACF,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,kBAAkB,GAAG,MAAA,IAAI,CAAC,YAAY,0CAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CACzD,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CACrC,CAAC;IACH,CAAC;CACD;AArBY;IAAX,UAAU;2CAAgC;AAC/B;IAAX,UAAU;gDAAkC;AACjC;IAAX,UAAU;iDAAuC;AAMnC;IAAd,MAAM;0CAAsC;AAE9B;IAAd,MAAM;qCAUN"}
@@ -66,7 +66,7 @@ const WorksProperties = (props) => {
66
66
  case "Document":
67
67
  return ((_a = work.document) === null || _a === void 0 ? void 0 : _a.id) ? React.createElement(DocumentReference, { file: work.document }) : noData;
68
68
  case "Due":
69
- return state.dueDateEditable ? (React.createElement(DatePicker, { defaultValue: dayjs(work.due), bordered: false, onChange: (date, dateString) => state.dueDateEdit(date, dateString) })) : (React.createElement("div", { onClick: () => runInAction(() => (state.dueDateEditable = true)) }, work.due ? (React.createElement("span", { className: "properties-value" }, dayjs(work.due).format("DD MMM YYYY"))) : (noData)));
69
+ return state.dueDateEditable ? (React.createElement(DatePicker, { defaultValue: dayjs(work.due), variant: "borderless", onChange: (date, dateString) => state.dueDateEdit(date, dateString) })) : (React.createElement("div", { onClick: () => runInAction(() => (state.dueDateEditable = true)) }, work.due ? (React.createElement("span", { className: "properties-value" }, dayjs(work.due).format("DD MMM YYYY"))) : (noData)));
70
70
  case "Owner":
71
71
  return (React.createElement(InlineEdit, { defaultValue: "", showEditIcon: true, editable: false, onEditIconClick: () => runInAction(() => (state.ownerEditable = true)), content: (v) => {
72
72
  var _a;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorksProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EACN,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,aAAa,IAAI,UAAU,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,IAAI,MAAM,oCAAoC,CAAC;AACtD,OAAO,kBAEN,MAAM,0DAA0D,CAAC;AAClE,OAAO,QAAQ,MAAM,+BAA+B,CAAC;AACrD,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,OAAO,MAAM,wCAAwC,CAAC;AAC7D,OAAO,aAAa,MAAM,kEAAkE,CAAC;AAC7F,OAAO,iBAAiB,MAAM,oDAAoD,CAAC;AACnF,OAAO,UAAU,MAAM,yEAAyE,CAAC;AACjG,OAAO,kBAAkB,MAAM,mDAAmD,CAAC;AACnF,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAC5F,OAAO,iBAAiB,MAAM,+EAA+E,CAAC;AAC9G,OAAO,eAAe,MAAM,gCAAgC,CAAC;AAC7D,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,KAAK,MAAM,OA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AAE,KAAK,GAAI,CACzB,CAChB,CAAC,CACY,CACf,CAAC,CAAC,CAAC,CACH,MAAM,CACN,CAAA;qBAAA,GAED,CACF,CAAC;YACH,KAAK,WAAW;gBACf,OAAO,oBAAC,QAAQ,IAAC,IAAI,EAAE,IAAI,CAAC,QAAS,EAAE,GAAG,EAAE,oBAAoB,MAAA,IAAI,CAAC,QAAQ,0CAAE,EAAE,EAAE,GAAI,CAAC;YACzF,KAAK,QAAQ;gBACZ,OAAO,8BAAM,SAAS,EAAC,kBAAkB,IAAE,IAAI,CAAC,MAAM,CAAQ,CAAC;QACjE,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,CAAC,YAAY,GAAG;IAC9B,SAAS,EAAE,iBAAiB;IAC5B,aAAa,EAAE,qBAAqB;IACpC,cAAc,EAAE;QACf,EAAE,IAAI,EAAE,WAAW,EAAE;QACrB,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClB,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClB,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,KAAK,EAAE;QACf,EAAE,IAAI,EAAE,OAAO,EAAE;KACjB;CACD,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorksProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EACN,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,aAAa,IAAI,UAAU,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,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I,EAAE,QAAQ,EAAE;QAClB,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClB,EAAE,IAAI,EAAE,SAAS,EAAE;QACnB,EAAE,IAAI,EAAE,UAAU,EAAE;QACpB,EAAE,IAAI,EAAE,KAAK,EAAE;QACf,EAAE,IAAI,EAAE,OAAO,EAAE;KACjB;CACD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -4,7 +4,7 @@ import React, { useState } from "react";
4
4
  import { faCalendarCheck, faThumbsUp, faUser } from "@fortawesome/pro-light-svg-icons";
5
5
  import { observe, useRenderOnChange } from "@voplus/morpho-ui";
6
6
  import { Scrollbars } from "react-custom-scrollbars-2";
7
- import { Empty } from "antd";
7
+ import { Empty, Spin } from "antd";
8
8
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
9
9
  import FilterView from "@voplus/morpho-ui/es/controls/FilterView";
10
10
  import WorkScheduleFilter from "../../controls/WorkScheduleFilter";
@@ -19,6 +19,7 @@ const WorkScheduleTimeLineView = (props) => {
19
19
  const list = useCreateListDataState({
20
20
  filterDefaults: {
21
21
  filters: filters(),
22
+ page: { Page: 1, PageSize: 300 },
22
23
  },
23
24
  }, [contact]);
24
25
  /** useOnNewDocument, useOnDeleteDocument的sugar syntax 自動更新list. */
@@ -45,7 +46,7 @@ const WorkScheduleTimeLineView = (props) => {
45
46
  React.createElement(Scrollbars, { autoHide: true },
46
47
  React.createElement("div", { className: "border-t border-gray-200 p-4" },
47
48
  React.createElement("div", { className: "work-schedule-time-line" },
48
- !list.data.length ? (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })) : (React.createElement("div", { className: "flow-root" },
49
+ React.createElement(Spin, { spinning: list.loading }, !list.data.length ? (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })) : (React.createElement("div", { className: "flow-root" },
49
50
  React.createElement("ul", { role: "list", className: "-mb-8" }, list.data.map((event, eventIdx) => (React.createElement("li", { className: "cursor-pointer", key: event.id },
50
51
  React.createElement("div", { className: "relative pb-8" },
51
52
  eventIdx !== list.data.length - 1 ? (React.createElement("span", { className: "absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200", "aria-hidden": "true" })) : null,
@@ -63,7 +64,7 @@ const WorkScheduleTimeLineView = (props) => {
63
64
  React.createElement("div", { className: "font-medium text-gray-500" }, event === null || event === void 0 ? void 0 : event.status))),
64
65
  React.createElement("div", { className: "whitespace-nowrap text-right text-sm text-gray-500" }, event.schedule
65
66
  ? dayjs(event.schedule).format("YYYY-MM-DD")
66
- : "unscheduled")))))))))),
67
+ : "unscheduled"))))))))))),
67
68
  visibleQuickView.visible && visibleQuickView.id && (React.createElement(WorkScheduleQuickViewDialog, { id: visibleQuickView.id, visible: true, onCancel: onQuickView })))))))));
68
69
  function filters() {
69
70
  const filter = [{ c: "Work", o: "=", v1: "null", l: "And" }];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAiB,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC7F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,kBAAkB,MAAM,mCAAmC,CAAC;A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f,CAAC;IAED,SAAS,QAAQ,CAAC,MAAe;QAChC,IAAI,MAAM,KAAK,YAAY,EAAE,CAAC;YAC7B,OAAO,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAC,MAAM,GAAG,CAAC;QAC9C,CAAC;aAAM,IAAI,MAAM,KAAK,aAAa,EAAE,CAAC;YACrC,OAAO,oBAAC,MAAM,IAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAC,MAAM,GAAG,CAAC;QAClD,CAAC;aAAM,CAAC;YACP,OAAO,oBAAC,MAAM,IAAC,IAAI,EAAE,eAAe,EAAE,KAAK,EAAC,MAAM,GAAG,CAAC;QACvD,CAAC;IACF,CAAC;IAED,iBAAiB;IACjB,SAAS,WAAW,CAAC,EAAW;QAC/B,mBAAmB,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/components/WorkScheduleTimeLineView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAiB,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC7F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,eAAe,IAAI,MAAM,E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,EAAE,CAAC,CAAC;QAE7E,IAAI,OAAO,EAAE,CAAC;YACb,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC;QACjE,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;IAED,SAAS,QAAQ,CAAC,MAAe;QAChC,IAAI,MAAM,KAAK,YAAY,EAAE,CAAC;YAC7B,OAAO,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAC,MAAM,GAAG,CAAC;QAC9C,CAAC;aAAM,IAAI,MAAM,KAAK,aAAa,EAAE,CAAC;YACrC,OAAO,oBAAC,MAAM,IAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAC,MAAM,GAAG,CAAC;QAClD,CAAC;aAAM,CAAC;YACP,OAAO,oBAAC,MAAM,IAAC,IAAI,EAAE,eAAe,EAAE,KAAK,EAAC,MAAM,GAAG,CAAC;QACvD,CAAC;IACF,CAAC;IAED,iBAAiB;IACjB,SAAS,WAAW,CAAC,EAAW;QAC/B,mBAAmB,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -28,7 +28,7 @@ const NewTypeForm = (props) => {
28
28
  return;
29
29
  }
30
30
  function onKeyDown(e) {
31
- if (e.keyCode !== 27)
31
+ if (e.key !== "Escape")
32
32
  return;
33
33
  onCancel();
34
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/NewTypeForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MA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CAAC;QAC1C,MAAM,GAAG,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC;YACjC,IAAI,EAAE,EAAE,GAAG,KAAK,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE;YACzD,KAAK,EAAE,SAAS;SAChB,CAAC,CAAC;QACH,MAAA,KAAK,CAAC,MAAM,qDAAI,CAAC;QACjB,WAAW,CAAC,GAAG,EAAE;YAChB,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC;YACtB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC7B,CAAC,CAAC,CAAC;QACH,OAAO;IACR,CAAC;IACD,SAAS,SAAS,CAAC,CAAM;QACxB,IAAI,CAAC,CAAC,OAAO,KAAK,EAAE;YAAE,OAAO;QAC7B,QAAQ,EAAE,CAAC;IACZ,CAAC;IACD,sBAAsB;IACtB,SAAS,QAAQ;QAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/NewTypeForm/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC5C,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,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE,MAAM,WAAW,GAAG,CAAC,KAMp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YACtB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC7B,CAAC,CAAC,CAAC;QACH,OAAO;IACR,CAAC;IACD,SAAS,SAAS,CAAC,CAAwC;QAC1D,IAAI,CAAC,CAAC,GAAG,KAAK,QAAQ;YAAE,OAAO;QAC/B,QAAQ,EAAE,CAAC;IACZ,CAAC;IACD,sBAAsB;IACtB,SAAS,QAAQ;QAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -9,8 +9,8 @@ const RepeatTab = (props) => {
9
9
  React.createElement("div", { className: "repeat-tab-head" }, "Repeat Tab"),
10
10
  React.createElement(Form, { className: "repeat-tab-content", labelAlign: "left", labelCol: { span: 2 } },
11
11
  React.createElement(Form.Item, { label: "Every" },
12
- React.createElement(InputNumber, { defaultValue: "1", bordered: false }),
13
- React.createElement(Select, { onChange: handleChange, defaultValue: "Week", style: { width: 120 }, bordered: false },
12
+ React.createElement(InputNumber, { defaultValue: "1", variant: "borderless" }),
13
+ React.createElement(Select, { onChange: handleChange, defaultValue: "Week", style: { width: 120 }, variant: "borderless" },
14
14
  React.createElement(Select.Option, { value: "Week" }, "Week"),
15
15
  React.createElement(Select.Option, { value: "Month" }, "Month"),
16
16
  React.createElement(Select.Option, { value: "Year" }, "Year")),
@@ -32,7 +32,7 @@ const RepeatTab = (props) => {
32
32
  React.createElement(Radio, { value: "never" }, "Never"),
33
33
  React.createElement("div", null,
34
34
  React.createElement(Radio, { value: "on" }, "On"),
35
- React.createElement(DatePicker, { bordered: false, format: dateFormatList }))))),
35
+ React.createElement(DatePicker, { variant: "borderless", format: dateFormatList }))))),
36
36
  React.createElement(Divider, null),
37
37
  React.createElement("span", { style: { fontWeight: 500 } }, "Weekly on Wednesday, Friday"),
38
38
  React.createElement(Divider, null)))));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/RepeatTab/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,cAAc,CAAC;AAEtB,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC3C,MAAM,cAAc,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;IAE7C,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,YAAY;QAC1B,6BAAK,SAAS,EAAC,iBAAiB,iBAAiB;QACjD,oBAAC,IAAI,IAAC,SAAS,EAAC,oBAAoB,EAAC,UAAU,EAAC,MAAM,EAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;YAC3E,oBAAC,IAAI,CAAC,IAAI,IAAC,KAAK,EAAC,OAAO;gBACvB,oBAAC,WAAW,IAAC,YAAY,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,GAAI;gBACnD,oBAAC,MAAM,IACN,QAAQ,EAAE,YAAY,EACtB,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,QAAQ,EAAE,KAAK;oBAEf,oBAAC,MAAM,CAAC,MAAM,IAAC,KAAK,EAAC,MAAM,WAAqB;oBAChD,oBAAC,MAAM,CAAC,MAAM,IAAC,KAAK,EAAC,OAAO,YAAsB;oBAClD,oBAA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,UAAU,EAAE,GAAG,EAAE,kCAAoC;YACpE,oBAAC,OAAO,OAAG,CACL,CACF,CACN,CAAC,CAAC;IAEH,SAAS,YAAY,CAAC,KAAa;QAClC,SAAS,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC;IAED,SAAS,aAAa,CAAC,KAAU,EAAE,IAAS;QAC3C,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC1B,CAAC;IAED,SAAS,QAAQ,CAAC,aAAkB;QACnC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC;IAC1C,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -23,7 +23,7 @@ const NewWorkspaceDialog = (props) => {
23
23
  React.createElement(Form, { layout: "vertical" },
24
24
  React.createElement(React.Fragment, null,
25
25
  React.createElement(Form.Item, { label: "Title for your workspaces" },
26
- React.createElement(Input, { bordered: false, autoFocus: true, value: state.params.Name, onChange: (e) => runInAction(() => (state.params.Name = e.target.value)) })),
26
+ React.createElement(Input, { variant: "borderless", autoFocus: true, value: state.params.Name, onChange: (e) => runInAction(() => (state.params.Name = e.target.value)) })),
27
27
  React.createElement(Form.Item, { label: "Members" },
28
28
  React.createElement(AvatarList, { organizationId: user.info.organizationId, multiple: true, buttonText: "Ok", onChange: (ids) => (state.params.MemberIds = ids) })),
29
29
  React.createElement(Row, { justify: "end" },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/components/NewWorkspaceDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAO,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACrE,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,UAAU,MAAM,6CAA6C,CAAC;AACrE,OAAO,KAAK,MAAM,uCAAuC,CAAC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AAC,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACzD,IAAI,KAAK,CAAC,QAAQ;YACjB,OAAO,YAAa,CAAC,SAAS,CAAC,oBAAC,uBAAuB,IAAC,EAAE,EAAE,GAAG,CAAC,EAAE,GAAI,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IACxF,CAAC;IACD,wBAAwB;IACxB,SAAS,QAAQ;QAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,KAAK,CAAC,QAAQ;YAAE,OAAO,YAAa,CAAC,UAAU,EAAE,CAAC;QACtD,IAAI,KAAK,CAAC,QAAQ;YAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;AACF,CAAC,CAAC;AACF,eAAe,kBAAkB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.63",
3
+ "version": "6.0.65",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",