@voplus/morpho-workspace 6.0.66 → 6.0.68

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/es/controls/filters/AssigneeViewFilter/state.d.ts +2 -2
  2. package/es/controls/filters/AssigneeViewFilter/state.js +3 -1
  3. package/es/controls/filters/AssigneeViewFilter/state.js.map +1 -1
  4. package/es/controls/filters/DueDateFilter/state.d.ts +2 -2
  5. package/es/controls/filters/DueDateFilter/state.js +3 -1
  6. package/es/controls/filters/DueDateFilter/state.js.map +1 -1
  7. package/es/controls/filters/EventsFilter/state.d.ts +2 -2
  8. package/es/controls/filters/EventsFilter/state.js +3 -1
  9. package/es/controls/filters/EventsFilter/state.js.map +1 -1
  10. package/es/controls/filters/MemberTaskDueDateFilter/state.d.ts +2 -2
  11. package/es/controls/filters/MemberTaskDueDateFilter/state.js +3 -1
  12. package/es/controls/filters/MemberTaskDueDateFilter/state.js.map +1 -1
  13. package/es/controls/filters/StartDateFilter/state.d.ts +2 -2
  14. package/es/controls/filters/StartDateFilter/state.js +3 -1
  15. package/es/controls/filters/StartDateFilter/state.js.map +1 -1
  16. package/es/controls/filters/TaskFilter/state.d.ts +2 -2
  17. package/es/controls/filters/TaskFilter/state.js +3 -1
  18. package/es/controls/filters/TaskFilter/state.js.map +1 -1
  19. package/es/controls/filters/TaskStatusFilter/state.d.ts +2 -2
  20. package/es/controls/filters/TaskStatusFilter/state.js +3 -1
  21. package/es/controls/filters/TaskStatusFilter/state.js.map +1 -1
  22. package/es/controls/filters/WorkStatusFilter/state.d.ts +2 -2
  23. package/es/controls/filters/WorkStatusFilter/state.js +3 -1
  24. package/es/controls/filters/WorkStatusFilter/state.js.map +1 -1
  25. package/es/controls/filters/WorkTypeStatusFilter/state.d.ts +2 -2
  26. package/es/controls/filters/WorkTypeStatusFilter/state.js +3 -1
  27. package/es/controls/filters/WorkTypeStatusFilter/state.js.map +1 -1
  28. package/es/controls/filters/WorkTypesFilter/state.d.ts +4 -2
  29. package/es/controls/filters/WorkTypesFilter/state.js +18 -4
  30. package/es/controls/filters/WorkTypesFilter/state.js.map +1 -1
  31. package/es/modules/notification/components/NewNotificationForm/NotificationForm.js +2 -1
  32. package/es/modules/notification/components/NewNotificationForm/NotificationForm.js.map +1 -1
  33. package/es/modules/work/components/WorkList/index.js +3 -1
  34. package/es/modules/work/components/WorkList/index.js.map +1 -1
  35. package/es/modules/work/work-schedule/controls/WorkScheduleFilter/state.d.ts +2 -2
  36. package/es/modules/work/work-schedule/controls/WorkScheduleFilter/state.js +3 -1
  37. package/es/modules/work/work-schedule/controls/WorkScheduleFilter/state.js.map +1 -1
  38. package/es/modules/work/work-type/controls/SelectedFilterLabel/index.d.ts +4 -0
  39. package/es/modules/work/work-type/controls/SelectedFilterLabel/index.js +23 -0
  40. package/es/modules/work/work-type/controls/SelectedFilterLabel/index.js.map +1 -0
  41. package/es/modules/work/work-type/controls/SelectedFilterLabel/index.less +31 -0
  42. package/package.json +1 -1
  43. package/es/modules/work/components/WorkList/state.d.ts +0 -10
  44. package/es/modules/work/components/WorkList/state.js +0 -51
  45. package/es/modules/work/components/WorkList/state.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { FilterOption } from "@voplus/morpho-data";
2
- import { IFilterState } from "@voplus/morpho-ui/es/data/IFilterState";
2
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data/DefaultFilterState";
3
3
  import { IUnit } from "@voplus/morpho-org";
4
- export declare class State implements IFilterState {
4
+ export declare class State extends DefaultFilterState {
5
5
  /** Members of filter */
6
6
  memberList: IUnit[];
7
7
  /** Ids of member of filter */
@@ -1,7 +1,9 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { makeObservable, observable } from "mobx";
3
- export class State {
3
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data/DefaultFilterState";
4
+ export class State extends DefaultFilterState {
4
5
  constructor() {
6
+ super();
5
7
  /** Members of filter */
6
8
  Object.defineProperty(this, "memberList", {
7
9
  enumerable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/AssigneeViewFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAMlD,MAAM,OAAO,KAAK;IAMjB;QALA,wBAAwB;QACL;;;;mBAAsB,EAAE;WAAC;QAC5C,8BAA8B;QACX;;;;mBAAgC,IAAI,GAAG,EAAE;WAAC;QAG5D,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,6FAA6F;IAC7F,IAAW,OAAO;QACjB,0CAA0C;QAC1C,OAAO;YACN;gBACC,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,UAAU;gBACb,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;gBACnD,CAAC,EAAE,KAAK;aACQ;SACjB,CAAC;IACH,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;IACtB,CAAC;CACD;AAzBmB;IAAlB,UAAU;yCAAiC;AAEzB;IAAlB,UAAU;sCAAkD"}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/AssigneeViewFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAGlF,MAAM,OAAO,KAAM,SAAQ,kBAAkB;IAM5C;QACC,KAAK,EAAE,CAAC;QANT,wBAAwB;QACL;;;;mBAAsB,EAAE;WAAC;QAC5C,8BAA8B;QACX;;;;mBAAgC,IAAI,GAAG,EAAE;WAAC;QAI5D,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,6FAA6F;IAC7F,IAAW,OAAO;QACjB,0CAA0C;QAC1C,OAAO;YACN;gBACC,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,UAAU;gBACb,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;gBACnD,CAAC,EAAE,KAAK;aACQ;SACjB,CAAC;IACH,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;IACtB,CAAC;CACD;AA1BmB;IAAlB,UAAU;yCAAiC;AAEzB;IAAlB,UAAU;sCAAkD"}
@@ -1,8 +1,8 @@
1
1
  import { FilterOption } from "@voplus/morpho-data";
2
- import { IFilterState } from "@voplus/morpho-ui/es/data";
2
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
3
  import { RangeValue } from "rc-picker/es/interface";
4
4
  import dayjs from "dayjs";
5
- export declare class State implements IFilterState {
5
+ export declare class State extends DefaultFilterState {
6
6
  dueDate: RangeValue<dayjs.Dayjs>;
7
7
  constructor();
8
8
  /** 视乎State内容,返回正确的FilterOption[]. 在Filter时,Context 会使用此属性replace Context内FilterOption的资料。 */
@@ -1,8 +1,10 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { makeObservable, observable } from "mobx";
3
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
4
  import dayjs from "dayjs";
4
- export class State {
5
+ export class State extends DefaultFilterState {
5
6
  constructor() {
7
+ super();
6
8
  Object.defineProperty(this, "dueDate", {
7
9
  enumerable: true,
8
10
  configurable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/DueDateFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAIlD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAK;IA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,kBAAkB;IAG5C;QACC,KAAK,EAAE,CAAC;QAHU;;;;;WAAiC;QAInD,cAAc,CAAC,IAAI,CAAC,CAAC;QACrB,IAAI,CAAC,KAAK,EAAE,CAAC;IACd,CAAC;IAED,6FAA6F;IAC7F,IAAW,OAAO;;QACjB,IAAI,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,MAAK,IAAI,IAAI,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,MAAK,IAAI;YAAE,OAAO,EAAE,CAAC;QACxE,MAAM,KAAK,GAAG,MAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,mCAAI,KAAK,CAAC,YAAY,CAAC,CAAC;QACvD,MAAM,GAAG,GAAG,MAAA,MAAA,IAAI,CAAC,OAAO,0CAAG,CAAC,CAAC,mCAAI,KAAK,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACvD,OAAO;YACN;gBACC,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,KAAK;gBACR,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;gBACvD,EAAE,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;aACnC;SACjB,CAAC;IACH,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,OAAO,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC7B,CAAC;CACD;AA3BmB;IAAlB,UAAU;sCAAyC"}
@@ -1,6 +1,6 @@
1
1
  import { FilterOption } from "@voplus/morpho-data";
2
- import { IFilterState } from "@voplus/morpho-ui/es/data/IFilterState";
3
- export declare class State implements IFilterState {
2
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
+ export declare class State extends DefaultFilterState {
4
4
  /** events of filter */
5
5
  events: Map<string, boolean>;
6
6
  constructor();
@@ -1,7 +1,9 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { action, makeObservable, observable } from "mobx";
3
- export class State {
3
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
4
+ export class State extends DefaultFilterState {
4
5
  constructor() {
6
+ super();
5
7
  /** events of filter */
6
8
  Object.defineProperty(this, "events", {
7
9
  enumerable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/EventsFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAK1D,MAAM,OAAO,KAAK;IAIjB;QAHA,uBAAuB;QACJ;;;;mBAA+B,IAAI,GAAG,EAAE;WAAC;QAG3D,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,oBAAoB;IAEb,cAAc,CAAC,KAAa;QAClC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;IAED,IAAW,KAAK;QACf,OAAO;YACN,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;YACjE,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;YACxE,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;SACxE,CAAC;IACH,CAAC;IACD,IAAW,OAAO;QACjB,OAAO;YACN;gBACC,CAAC,EAAE,WAAW;gBACd,CAAC,E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,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;SACxE,CAAC;IACH,CAAC;IACD,IAAW,OAAO;QACjB,OAAO;YACN;gBACC,CAAC,EAAE,WAAW;gBACd,CAAC,EAAE,UAAU;gBACb,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;gBAClD,CAAC,EAAE,KAAK;aACQ;SACjB,CAAC;IACH,CAAC;IACM,KAAK;QACX,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;IACrB,CAAC;CACD;AAjCmB;IAAlB,UAAU;qCAAiD;AASrD;IADN,MAAM;2CAGN"}
@@ -1,5 +1,5 @@
1
1
  import { FilterOption } from "@voplus/morpho-data";
2
- import { IFilterState } from "@voplus/morpho-ui/es/data";
2
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
3
  import { RangeValue } from "rc-picker/es/interface";
4
4
  import dayjs from "dayjs";
5
5
  export declare const dateMenus: ({
@@ -26,7 +26,7 @@ export declare const dateMenus: ({
26
26
  style?: undefined;
27
27
  badge?: undefined;
28
28
  })[];
29
- export declare class State implements IFilterState {
29
+ export declare class State extends DefaultFilterState {
30
30
  dueDate: RangeValue<dayjs.Dayjs>;
31
31
  unscheduled: boolean;
32
32
  constructor();
@@ -1,5 +1,6 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { makeObservable, observable } from "mobx";
3
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
4
  import dayjs from "dayjs";
4
5
  export const dateMenus = [
5
6
  {
@@ -30,8 +31,9 @@ export const dateMenus = [
30
31
  counts: 5,
31
32
  },
32
33
  ];
33
- export class State {
34
+ export class State extends DefaultFilterState {
34
35
  constructor() {
36
+ super();
35
37
  Object.defineProperty(this, "dueDate", {
36
38
  enumerable: true,
37
39
  configurable: true,
@@ -1 +1 @@
1
- {"version":3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AC,OAAO,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC7B,CAAC;CACD;AAhCmB;IAAlB,UAAU;sCAAyC;AAEjC;IAAlB,UAAU;0CAAqC"}
@@ -1,8 +1,8 @@
1
1
  import { FilterOption } from "@voplus/morpho-data";
2
- import { IFilterState } from "@voplus/morpho-ui/es/data";
2
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
3
  import { RangeValue } from "rc-picker/es/interface";
4
4
  import dayjs from "dayjs";
5
- export declare class State implements IFilterState {
5
+ export declare class State extends DefaultFilterState {
6
6
  stateDate: RangeValue<dayjs.Dayjs>;
7
7
  constructor();
8
8
  /** 视乎State内容,返回正确的FilterOption[]. 在Filter时,Context 会使用此属性replace Context内FilterOption的资料。 */
@@ -1,8 +1,10 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { makeObservable, observable } from "mobx";
3
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
4
  import dayjs from "dayjs";
4
- export class State {
5
+ export class State extends DefaultFilterState {
5
6
  constructor() {
7
+ super();
6
8
  Object.defineProperty(this, "stateDate", {
7
9
  enumerable: true,
8
10
  configurable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/StartDateFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAIlD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,OAAO,KAAK;IAGjB;QAFmB;;;;;WAAmC;QAGrD,cAAc,CAAC,IAAI,CAAC,CAAC;QACrB,IAAI,CAAC,KAAK,EAAE,CAAC;IACd,CAAC;IAED,6FAA6F;IAC7F,IAAW,OAAO;;QACjB,IAAI,CAAA,MAAA,IAAI,CAAC,SAAS,0CAAG,CAAC,CAAC,MAAK,IAAI,IAAI,CAAA,MAAA,IAAI,CAAC,SAAS,0CAAG,CAAC,CAAC,MAAK,IAAI;YAA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CAAG,CAAC,CAAC,MAAK,IAAI;YAAE,OAAO,EAAE,CAAC;QAC5E,MAAM,KAAK,GAAG,MAAA,MAAA,IAAI,CAAC,SAAS,0CAAG,CAAC,CAAC,mCAAI,KAAK,CAAC,YAAY,CAAC,CAAC;QACzD,MAAM,GAAG,GAAG,MAAA,MAAA,IAAI,CAAC,SAAS,0CAAG,CAAC,CAAC,mCAAI,KAAK,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACzD,OAAO;YACN;gBACC,CAAC,EAAE,WAAW;gBACd,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,KAAK;gBACR,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;gBACvD,EAAE,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC;aACnC;SACjB,CAAC;IACH,CAAC;IAEM,KAAK;QACX,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC/B,CAAC;CACD;AA3BmB;IAAlB,UAAU;wCAA2C"}
@@ -1,6 +1,6 @@
1
1
  import { FilterOption } from "@voplus/morpho-data";
2
- import { IFilterState } from "@voplus/morpho-ui/es/data/IFilterState";
3
- export declare class State implements IFilterState {
2
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
+ export declare class State extends DefaultFilterState {
4
4
  private id;
5
5
  members: Map<string, boolean>;
6
6
  constructor(id: string);
@@ -1,7 +1,9 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { action, makeObservable, observable } from "mobx";
3
- export class State {
3
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
4
+ export class State extends DefaultFilterState {
4
5
  constructor(id) {
6
+ super();
5
7
  Object.defineProperty(this, "id", {
6
8
  enumerable: true,
7
9
  configurable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls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AAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;SACxE,CAAC;IACH,CAAC;IACD,IAAW,OAAO;QACjB,OAAO;YACN;gBACC,CAAC,EAAE,SAAS;gBACZ,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU;gBACnD,CAAC,EAAE,KAAK;gBACR,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;aACvE;SACjB,CAAC;IACH,CAAC;IACM,KAAK;QACX,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;CACD;AAtCmB;IAAlB,UAAU;sCAAkD;AAStD;IADN,MAAM;4CASN"}
@@ -1,6 +1,6 @@
1
1
  import { FilterOption } from "@voplus/morpho-data";
2
- import { IFilterState } from "@voplus/morpho-ui/es/data/IFilterState";
3
- export declare class State implements IFilterState {
2
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
+ export declare class State extends DefaultFilterState {
4
4
  /** Status of filter */
5
5
  status: Map<string, boolean>;
6
6
  constructor();
@@ -1,7 +1,9 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { action, makeObservable, observable } from "mobx";
3
- export class State {
3
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
4
+ export class State extends DefaultFilterState {
4
5
  constructor() {
6
+ super();
5
7
  /** Status of filter */
6
8
  Object.defineProperty(this, "status", {
7
9
  enumerable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/TaskStatusFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAA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C;IACD,IAAW,OAAO;QACjB,yCAAyC;QACzC,OAAO;YACN;gBACC,CAAC,EAAE,YAAY;gBACf,CAAC,EAAE,UAAU;gBACb,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;gBAClD,CAAC,EAAE,KAAK;aACQ;SACjB,CAAC;IACH,CAAC;IACM,KAAK;QACX,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;IACrB,CAAC;CACD;AApCmB;IAAlB,UAAU;qCAAiD;AASrD;IADN,MAAM;2CAGN"}
@@ -1,6 +1,6 @@
1
1
  import { FilterOption } from "@voplus/morpho-data";
2
- import { IFilterState } from "@voplus/morpho-ui/es/data/IFilterState";
3
- export declare class State implements IFilterState {
2
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
+ export declare class State extends DefaultFilterState {
4
4
  /** Status of filter */
5
5
  status: Map<string, boolean>;
6
6
  constructor();
@@ -1,7 +1,9 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { action, makeObservable, observable } from "mobx";
3
- export class State {
3
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
4
+ export class State extends DefaultFilterState {
4
5
  constructor() {
6
+ super();
5
7
  /** Status of filter */
6
8
  Object.defineProperty(this, "status", {
7
9
  enumerable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkStatusFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAK1D,MAAM,OAAO,KAAK;IAIjB;QAHA,uBAAuB;QACJ;;;;mBAA+B,IAAI,GAAG,EAAE;WAAC;QAG3D,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,oBAAoB;IAEb,cAAc,CAAC,KAAa;QAClC,IAAI,CAAC,MAAM,CAAC,GA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KAAK,EAAE,UAAU,EAAE;YACnE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;SAC9D,CAAC;IACH,CAAC;IACD,IAAW,OAAO;QACjB,OAAO;YACN;gBACC,CAAC,EAAE,YAAY;gBACf,CAAC,EAAE,UAAU;gBACb,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;gBAClD,CAAC,EAAE,KAAK;aACQ;SACjB,CAAC;IACH,CAAC;IACM,KAAK;QACX,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;IACrB,CAAC;CACD;AApCmB;IAAlB,UAAU;qCAAiD;AASrD;IADN,MAAM;2CAGN"}
@@ -1,7 +1,7 @@
1
1
  import { FilterOption } from "@voplus/morpho-data";
2
- import { IFilterState } from "@voplus/morpho-ui/es/data";
2
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
3
  /** DocumentStatusFilter的 State, 实现 IFilterState 接口 */
4
- export declare class State implements IFilterState {
4
+ export declare class State extends DefaultFilterState {
5
5
  /** Status of document of filter */
6
6
  status: Map<string, boolean>;
7
7
  constructor();
@@ -1,8 +1,10 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { action, makeObservable, observable } from "mobx";
3
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
4
  /** DocumentStatusFilter的 State, 实现 IFilterState 接口 */
4
- export class State {
5
+ export class State extends DefaultFilterState {
5
6
  constructor() {
7
+ super();
6
8
  /** Status of document of filter */
7
9
  Object.defineProperty(this, "status", {
8
10
  enumerable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/controls/filters/WorkTypeStatusFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE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"@voplus/morpho-ui/es/data/IFilterState";
2
+ import { DefaultFilterState, ISelectedLabel } from "@voplus/morpho-ui/es/data";
3
3
  import { IWorkType } from "../../../data/worktype";
4
- export declare class State implements IFilterState {
4
+ export declare class State extends DefaultFilterState {
5
5
  private initial;
6
6
  /** types of filter */
7
7
  types: Map<string, boolean>;
@@ -16,5 +16,7 @@ export declare class State implements IFilterState {
16
16
  onChangeTypes(value: string): void;
17
17
  get menus(): any[];
18
18
  get filters(): FilterOption[];
19
+ getSelectedLabels(): ISelectedLabel[];
20
+ removeSelected(value: string): ISelectedLabel[];
19
21
  reset(): void;
20
22
  }
@@ -1,7 +1,9 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { action, makeObservable, observable } from "mobx";
3
- export class State {
3
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
4
+ export class State extends DefaultFilterState {
4
5
  constructor(initial) {
6
+ super();
5
7
  Object.defineProperty(this, "initial", {
6
8
  enumerable: true,
7
9
  configurable: true,
@@ -58,13 +60,25 @@ export class State {
58
60
  return [
59
61
  {
60
62
  c: "WorkType",
61
- o: "=",
62
- v1: Array.from(this.types.keys())[0],
63
+ o: "contains",
64
+ v1: JSON.stringify(Array.from(this.types.keys())),
63
65
  l: "And",
64
- labels: this.selectedLabels,
65
66
  },
66
67
  ];
67
68
  }
69
+ getSelectedLabels() {
70
+ return [
71
+ {
72
+ state: this,
73
+ key: "WorkTypes",
74
+ label: this.selectedLabels,
75
+ },
76
+ ];
77
+ }
78
+ removeSelected(value) {
79
+ this.onChangeTypes(value);
80
+ return this.getSelectedLabels();
81
+ }
68
82
  reset() {
69
83
  this.types.clear();
70
84
  }
@@ -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;IAMjB,YAAo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54,7 +54,8 @@ const NewNotificationFormContent = (props) => {
54
54
  return asideContext.openAside(React.createElement(NotificationPropertiesView, { id: res.id }), {
55
55
  span: 12,
56
56
  });
57
- state.params = state.Params;
57
+ if (res)
58
+ state.params = state.Params;
58
59
  }
59
60
  // cancel add notifications
60
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;AAExC,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;AAYhC,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,CAAC,GAAG,QAAQ,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC;IAEtC,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAC7B,6BACC,SAAS,EAAE,UAAU,CACpB,uBAAuB,EACvB,EAAE,8BAA8B,EAAE,KAAK,CA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,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;QACJ,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IAC7B,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,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,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;AAYhC,MAAM,0BAA0B,GA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AC,sBAAsB,CAAC,CAAC;QAC3E,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;QACrB,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC;YAC9B,IAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EAAE,GAAG,KAAK,CAAC,MAAM,EAAE;YACnD,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;QACJ,IAAI,GAAG;YAAE,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;IACtC,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"}
@@ -8,6 +8,7 @@ import { observe, useRenderOnChange } from "@voplus/morpho-ui";
8
8
  import { Badge } from "antd";
9
9
  import DocumentItemFrame from "@voplus/morpho-document/es/controls/DocumentItemFrame";
10
10
  import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
11
+ import SelectedFilterLabel from "../../work-type/controls/SelectedFilterLabel";
11
12
  import NewWorkForm from "../NewWorkForm";
12
13
  import WorkItem from "../WorkItem";
13
14
  import dayjs from "dayjs";
@@ -56,7 +57,8 @@ const WorkList = (props) => {
56
57
  React.createElement(ListView, { headerProps: {
57
58
  viewTitle: (React.createElement(React.Fragment, null,
58
59
  React.createElement("span", { className: "margin-right-10" }, viewTitle || (workType === null || workType === void 0 ? void 0 : workType.name) || "My Works"),
59
- total && workTotal ? React.createElement(Badge, { count: workTotal }) : null)),
60
+ total && workTotal ? React.createElement(Badge, { count: workTotal }) : null,
61
+ React.createElement(SelectedFilterLabel, null))),
60
62
  sortable: false,
61
63
  quickSearch: true,
62
64
  addAble: addAble || (dueDate === "requested" ? true : false),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/work/components/WorkList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAS,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAa,WAAW,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAC7B,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,cAAc,CAAC;AAuCtB,MAAM,QAAQ,GAAG,CAAC,KAAoB,EAAE,EAAE;IACzC,MAAM,EACL,OAAO,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CAAC,CAAC;QACxB,OAAO,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;AACF,CAAC,CAAC;AAEF,QAAQ,CAAC,YAAY,GAAG;IACvB,SAAS,EAAE,IAAI;IACf,aAAa,EAAE,IAAI;CACnB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { FilterOption } from "@voplus/morpho-data";
2
- import { IFilterState } from "@voplus/morpho-ui/es/data/IFilterState";
3
- export declare class State implements IFilterState {
2
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
3
+ export declare class State extends DefaultFilterState {
4
4
  /** 是否显示预选 */
5
5
  showDefaultValue: boolean;
6
6
  /** Status of filter */
@@ -1,7 +1,9 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { action, makeObservable, observable } from "mobx";
3
- export class State {
3
+ import { DefaultFilterState } from "@voplus/morpho-ui/es/data";
4
+ export class State extends DefaultFilterState {
4
5
  constructor() {
6
+ super();
5
7
  /** 是否显示预选 */
6
8
  Object.defineProperty(this, "showDefaultValue", {
7
9
  enumerable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/controls/WorkScheduleFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAI1D,MAAM,OAAO,KAAK;IAMjB;QALA,aAAa;QACM;;;;mBAAmB,IAAI;WAAC;QAC3C,uBAAuB;QACJ;;;;mBAA6B,IAAI,GAAG,EAAE;WAAC;QAGzD,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,kBAAkB;IAEX,cAAc,CAAC,KAAa;QAClC,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;YAC1B,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;aAAM,CAAC;YACP,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;YAClB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QAC5B,CAAC;IACF,CAAC;IAED,IAAW,KAAK;QACf,OAAO;YACN,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;YACjE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;SAC5D,CAAC;IACH,CAAC;IACD,IAAW,OAAO;QACjB,OAAO;YACN;gBACC,CAAC,EAAE,MAAM;gBACT,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAQ;gBACzC,EAAE,EAAE,MAAM;gBACV,CAAC,EAAE,KAAK;aACQ;SACjB,CAAC;IACH,CAAC;IACM,KAAK;QACX,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;QAClB,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAC9B,CAAC;CACD;AAvCmB;IAAlB,UAAU;+CAAgC;AAExB;IAAlB,UAAU;mCAA+C;AAQnD;IADN,MAAM;2CAQN"}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-schedule/controls/WorkScheduleFilter/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,OAAO,KAAM,SAAQ,kBAAkB;IAM5C;QACC,KAAK,EAAE,CAAC;QANT,aAAa;QACM;;;;mBAAmB,IAAI;WAAC;QAC3C,uBAAuB;QACJ;;;;mBAA6B,IAAI,GAAG,EAAE;WAAC;QAIzD,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,kBAAkB;IAEX,cAAc,CAAC,KAAa;QAClC,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;YAC1B,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;aAAM,CAAC;YACP,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;YAClB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QAC5B,CAAC;IACF,CAAC;IAED,IAAW,KAAK;QACf,OAAO;YACN,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;YACjE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE;SAC5D,CAAC;IACH,CAAC;IACD,IAAW,OAAO;QACjB,OAAO;YACN;gBACC,CAAC,EAAE,MAAM;gBACT,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAQ;gBACzC,EAAE,EAAE,MAAM;gBACV,CAAC,EAAE,KAAK;aACQ;SACjB,CAAC;IACH,CAAC;IACM,KAAK;QACX,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;QAClB,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;IAC9B,CAAC;CACD;AAxCmB;IAAlB,UAAU;+CAAgC;AAExB;IAAlB,UAAU;mCAA+C;AASnD;IADN,MAAM;2CAQN"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const SelectedFilterLabel: () => React.JSX.Element;
4
+ export default SelectedFilterLabel;
@@ -0,0 +1,23 @@
1
+ import React from "react";
2
+ import { CloseOutlined } from "@ant-design/icons";
3
+ import { observe } from "@voplus/morpho-ui";
4
+ import { useFilterOptionsContext } from "@voplus/morpho-ui/es/data";
5
+ import "./index.less";
6
+ const SelectedFilterLabel = () => {
7
+ const context = useFilterOptionsContext();
8
+ return observe(() => {
9
+ var _a;
10
+ const selectedLabel = (_a = context.selectedLabels) === null || _a === void 0 ? void 0 : _a.filter((i) => i.key === "WorkTypes");
11
+ return (React.createElement("div", { className: "selected-filter-label-list" }, (selectedLabel === null || selectedLabel === void 0 ? void 0 : selectedLabel.length) > 0
12
+ ? selectedLabel[0].label.map((label) => (React.createElement("div", { className: "selected-filter-item", key: label.v1 },
13
+ React.createElement("span", { className: "prosemirror-mention-node" }, label.name),
14
+ React.createElement(CloseOutlined, { className: "selected-filter-item-delete", onClick: () => {
15
+ var _a, _b;
16
+ (_b = (_a = selectedLabel[0]) === null || _a === void 0 ? void 0 : _a.state) === null || _b === void 0 ? void 0 : _b.removeSelected(label.v1);
17
+ context.filter();
18
+ } }))))
19
+ : null));
20
+ });
21
+ };
22
+ export default SelectedFilterLabel;
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/controls/SelectedFilterLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,uBAAuB,EAAkB,MAAM,2BAA2B,CAAC;AACpF,OAAO,cAAc,CAAC;AAEtB,MAAM,mBAAmB,GAAG,GAAG,EAAE;IAChC,MAAM,OAAO,GAAG,uBAAuB,EAAE,CAAC;IAE1C,OAAO,OAAO,CAAC,GAAG,EAAE;;QACnB,MAAM,aAAa,GAAqB,MAAA,OAAO,CAAC,cAAc,0CAAE,MAAM,CACrE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,WAAW,CAC5B,CAAC;QAEF,OAAO,CACN,6BAAK,SAAS,EAAC,4BAA4B,IACzC,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,MAAM,IAAG,CAAC;YACzB,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACtC,6BAAK,SAAS,EAAC,sBAAsB,EAAC,GAAG,EAAE,KAAK,CAAC,EAAE;gBAClD,8BAAM,SAAS,EAAC,0BAA0B,IAAE,KAAK,CAAC,IAAI,CAAQ;gBAC9D,oBAAC,aAAa,IACb,SAAS,EAAC,6BAA6B,EACvC,OAAO,EAAE,GAAG,EAAE;;wBACb,MAAA,MAAA,aAAa,CAAC,CAAC,CAAC,0CAAE,KAAK,0CAAE,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;wBAClD,OAAO,CAAC,MAAM,EAAE,CAAC;oBAClB,CAAC,GACA,CACG,CACL,CAAC;YACJ,CAAC,CAAC,IAAI,CACF,CACN,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,31 @@
1
+ :global {
2
+ .selected-filter-label-list {
3
+ .selected-filter-item {
4
+ position: relative;
5
+ display: inline-block;
6
+
7
+ .prosemirror-mention-node {
8
+ line-height: 1em;
9
+ margin-top: 8px;
10
+ }
11
+
12
+ .selected-filter-item-delete {
13
+ position: absolute;
14
+ font-size: 12px;
15
+ right: 12px;
16
+ top: 20px;
17
+ display: none;
18
+ }
19
+
20
+ &:hover {
21
+ .prosemirror-mention-node {
22
+ padding-right: 24px;
23
+ }
24
+
25
+ .selected-filter-item-delete {
26
+ display: block;
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.66",
3
+ "version": "6.0.68",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,10 +0,0 @@
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
- }
@@ -1,51 +0,0 @@
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
@@ -1 +0,0 @@
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"}