@voplus/morpho-workspace 1.3.3 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/es/data/work/interfaces.d.ts +2 -2
  2. package/es/data/workspace/interfaces.d.ts +8 -0
  3. package/es/data/workspace/types.d.ts +1 -0
  4. package/es/data/worktype/interfaces.d.ts +4 -0
  5. package/es/data/worktype/types.d.ts +1 -0
  6. package/es/modules/work/components/WorkErrorList/index.js +7 -5
  7. package/es/modules/work/components/WorkErrorList/index.js.map +1 -1
  8. package/es/modules/work/components/WorkList/index.js +3 -1
  9. package/es/modules/work/components/WorkList/index.js.map +1 -1
  10. package/es/modules/work/components/WorkQATab/index.js +9 -7
  11. package/es/modules/work/components/WorkQATab/index.js.map +1 -1
  12. package/es/modules/work/components/WorkQATab/index.less +8 -8
  13. package/es/modules/work/components/WorkTaskList/index.js +8 -6
  14. package/es/modules/work/components/WorkTaskList/index.js.map +1 -1
  15. package/es/modules/work/components/WorkTaskList/index.less +3 -3
  16. package/es/modules/work/components/WorkTasksTab/index.js +4 -2
  17. package/es/modules/work/components/WorkTasksTab/index.js.map +1 -1
  18. package/es/modules/work/components/WorkTasksTab/index.less +2 -2
  19. package/es/modules/work/components/WorksProperties/index.js +1 -1
  20. package/es/modules/work/components/WorksProperties/index.js.map +1 -1
  21. package/es/modules/workspace/components/MyWorkspaces/index.js +9 -7
  22. package/es/modules/workspace/components/MyWorkspaces/index.js.map +1 -1
  23. package/es/modules/workspace/components/MyWorkspaces/index.less +2 -2
  24. package/es/modules/workspace/components/WorkspaceCard/index.js +9 -4
  25. package/es/modules/workspace/components/WorkspaceCard/index.js.map +1 -1
  26. package/es/modules/workspace/components/WorkspaceCard/index.less +12 -0
  27. package/es/modules/workspace/components/WorkspaceCardList/index.js +3 -4
  28. package/es/modules/workspace/components/WorkspaceCardList/index.js.map +1 -1
  29. package/es/modules/workspace/components/WorkspaceTabs/index.js +1 -1
  30. package/es/modules/workspace/components/WorkspaceTabs/index.js.map +1 -1
  31. package/es/modules/workspace/controls/WorkspaceMenu/index.js +38 -14
  32. package/es/modules/workspace/controls/WorkspaceMenu/index.js.map +1 -1
  33. package/es/modules/worktype/components/NewTypeForm/index.js +3 -5
  34. package/es/modules/worktype/components/NewTypeForm/index.js.map +1 -1
  35. package/es/modules/worktype/components/NewTypeForm/index.less +5 -2
  36. package/es/modules/worktype/components/WorkTypeItem/index.js +1 -1
  37. package/es/modules/worktype/components/WorkTypeItem/index.js.map +1 -1
  38. package/es/modules/worktype/components/WorkTypeList/index.d.ts +1 -0
  39. package/es/modules/worktype/components/WorkTypeList/index.js +19 -17
  40. package/es/modules/worktype/components/WorkTypeList/index.js.map +1 -1
  41. package/es/modules/worktype/components/WorkTypeList/index.less +7 -0
  42. package/es/modules/worktype/components/WorkTypeProperties/index.js +24 -3
  43. package/es/modules/worktype/components/WorkTypeProperties/index.js.map +1 -1
  44. package/es/modules/worktype/components/WorkTypeProperties/index.less +27 -2
  45. package/es/modules/worktype/components/WorkTypePropertiesView/index.js +1 -1
  46. package/es/modules/worktype/components/WorkTypePropertiesView/index.js.map +1 -1
  47. package/es/modules/worktype/components/WorkTypeTabs/index.js +4 -2
  48. package/es/modules/worktype/components/WorkTypeTabs/index.js.map +1 -1
  49. package/es/pages/Routes.js +3 -3
  50. package/es/pages/Routes.js.map +1 -1
  51. package/es/pages/Space/components/Tasks/index.js +22 -24
  52. package/es/pages/Space/components/Tasks/index.js.map +1 -1
  53. package/es/pages/Space/pages/MySpace/index.js +1 -1
  54. package/es/pages/Space/pages/MySpace/index.js.map +1 -1
  55. package/es/pages/Space/pages/MySpace/state.d.ts +3 -2
  56. package/es/pages/Space/pages/MySpace/state.js +19 -5
  57. package/es/pages/Space/pages/MySpace/state.js.map +1 -1
  58. package/es/pages/WorkType/WorkTypeSelect/index.js +5 -1
  59. package/es/pages/WorkType/WorkTypeSelect/index.js.map +1 -1
  60. package/package.json +1 -1
  61. package/es/modules/worktype/controls/ToolBar/index.d.ts +0 -10
  62. package/es/modules/worktype/controls/ToolBar/index.js +0 -20
  63. package/es/modules/worktype/controls/ToolBar/index.js.map +0 -1
  64. package/es/modules/worktype/controls/ToolBar/index.less +0 -55
  65. package/es/modules/worktype/controls/ToolBar/state.d.ts +0 -36
  66. package/es/modules/worktype/controls/ToolBar/state.js +0 -57
  67. package/es/modules/worktype/controls/ToolBar/state.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { LayoutContext } from "@voplus/morpho-data";
1
+ import { LayoutContext, UserContext } from "@voplus/morpho-data";
2
2
  import { LoadDocumentListOptions } from "@voplus/morpho-document-core";
3
3
  import { NotificationStatus } from "../../../../data/notification";
4
4
  import { TaskStatus } from "../../../../data/task";
@@ -6,6 +6,7 @@ import { WorkStatus } from "../../../../data/work";
6
6
  export declare class State {
7
7
  private _layout;
8
8
  private _url;
9
+ private user;
9
10
  menuKey: string[] | undefined;
10
11
  /** status All Notifications list Total */
11
12
  notificationTotals: {
@@ -28,7 +29,7 @@ export declare class State {
28
29
  month: number;
29
30
  unscheduled: number;
30
31
  };
31
- constructor(_layout: LayoutContext, _url: string);
32
+ constructor(_layout: LayoutContext, _url: string, user: UserContext);
32
33
  navigate(key: string, rest?: string): void;
33
34
  updateTaskTotal(oldStatus: TaskStatus, status: TaskStatus): void;
34
35
  updateWorkTotal(oldStatus: WorkStatus, status: WorkStatus): void;
@@ -2,7 +2,7 @@ import { __decorate } from "tslib";
2
2
  import { action, computed, makeObservable, observable } from "mobx";
3
3
  import moment from "moment";
4
4
  export class State {
5
- constructor(_layout, _url) {
5
+ constructor(_layout, _url, user) {
6
6
  Object.defineProperty(this, "_layout", {
7
7
  enumerable: true,
8
8
  configurable: true,
@@ -15,6 +15,12 @@ export class State {
15
15
  writable: true,
16
16
  value: _url
17
17
  });
18
+ Object.defineProperty(this, "user", {
19
+ enumerable: true,
20
+ configurable: true,
21
+ writable: true,
22
+ value: user
23
+ });
18
24
  Object.defineProperty(this, "menuKey", {
19
25
  enumerable: true,
20
26
  configurable: true,
@@ -86,7 +92,9 @@ export class State {
86
92
  l: "And",
87
93
  v1: moment().startOf("day").format("YYYY-MM-DD HH:mm:ss"),
88
94
  v2: moment().endOf("day").format("YYYY-MM-DD HH:mm:ss"),
89
- }
95
+ },
96
+ { c: "Members", o: "contains", l: "And", v1: JSON.stringify([this.user.info.unit.id]) },
97
+ { c: "Status", o: "!=", v1: "Draft", l: "And" }
90
98
  ],
91
99
  };
92
100
  }
@@ -101,7 +109,9 @@ export class State {
101
109
  l: "And",
102
110
  v1: moment().startOf("week").format("YYYY-MM-DD HH:mm:ss"),
103
111
  v2: moment().endOf("week").format("YYYY-MM-DD HH:mm:ss"),
104
- }
112
+ },
113
+ { c: "Members", o: "contains", l: "And", v1: JSON.stringify([this.user.info.unit.id]) },
114
+ { c: "Status", o: "!=", v1: "Draft", l: "And" }
105
115
  ],
106
116
  };
107
117
  }
@@ -116,7 +126,9 @@ export class State {
116
126
  l: "And",
117
127
  v1: moment().startOf("month").format("YYYY-MM-DD HH:mm:ss"),
118
128
  v2: moment().endOf("month").format("YYYY-MM-DD HH:mm:ss"),
119
- }
129
+ },
130
+ { c: "Members", o: "contains", l: "And", v1: JSON.stringify([this.user.info.unit.id]) },
131
+ { c: "Status", o: "!=", v1: "Draft", l: "And" }
120
132
  ],
121
133
  };
122
134
  }
@@ -131,7 +143,9 @@ export class State {
131
143
  l: "And",
132
144
  v1: moment().add(1, "months").startOf("month").format("YYYY-MM-DD HH:mm:ss"),
133
145
  v2: moment().add(1, "months").endOf("month").format("YYYY-MM-DD HH:mm:ss"),
134
- }
146
+ },
147
+ { c: "Members", o: "contains", l: "And", v1: JSON.stringify([this.user.info.unit.id]) },
148
+ { c: "Status", o: "!=", v1: "Draft", l: "And" }
135
149
  ],
136
150
  };
137
151
  }
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/pages/Space/pages/MySpace/state.ts"],"names":[],"mappings":";A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CAAC;IACH,CAAC;IAED,uCAAuC;IAEvC,IAAW,aAAa;QACvB,OAAO;YACN,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK;YACxB,OAAO,EAAE;gBACR,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE;aAC9C;SACD,CAAC;IACH,CAAC;IAED,2CAA2C;IAE3C,IAAW,iBAAiB;QAC3B,OAAO;YACN,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK;YACxB,OAAO,EAAE;gBACR,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,WAAW,EAAE;aAClD;SACD,CAAC;IACH,CAAC;CACD;AA5KY;IAAX,UAAU;sCAAsD;AAGrD;IAAX,UAAU;iDAKT;AAGU;IAAX,UAAU;yCAKV;AAGW;IAAX,UAAU;yCAKV;AAMO;IAAP,MAAM;qCAGN;AAGD;IADC,MAAM;4CAIN;AAGD;IADC,MAAM;4CAIN;AAGD;IADC,MAAM;oDAIN;AAID;IADC,QAAQ;mCAgBR;AAID;IADC,QAAQ;kCAgBR;AAID;IADC,QAAQ;mCAgBR;AAID;IADC,QAAQ;yCAgBR;AAID;IADC,QAAQ;2CAQR;AAID;IADC,QAAQ;yCAQR;AAID;IADC,QAAQ;0CAQR;AAID;IADC,QAAQ;8CAQR"}
@@ -5,7 +5,11 @@ import { observe } from "@voplus/morpho-ui";
5
5
  import { useCreateListDataState } from "@voplus/morpho-ui/es/data";
6
6
  const WorkTypeSelect = (props) => {
7
7
  const { onChange, style } = props;
8
- const list = useCreateListDataState({}, []);
8
+ const list = useCreateListDataState({
9
+ filterDefaults: {
10
+ filters: [{ c: "Roles", o: "contains", l: "And", v1: "Requester" }]
11
+ },
12
+ }, []);
9
13
  useWorkTypeListEffect(null, (result) => list.union(result), list.filters.options);
10
14
  return observe(() => (React.createElement(Select, { style: { width: "100%", ...style }, loading: list.loading, placeholder: "Select WorkType", onChange: handleChange }, list.data.map((item) => (React.createElement(Select.Option, { key: item.id, value: item.id }, item.name))))));
11
15
  function handleChange(id) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/pages/WorkType/WorkTypeSelect/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAC3D,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,MAAM,cAAc,GAAG,CAAC,KAGvB,EAAE,EAAE;IACJ,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAElC,MAAM,IAAI,GAAG,sBAAsB,CAAY,EAAE,EAAE,EAAE,CAAC,CAAC;IAEvD,qBAAqB,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAElF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,MAAM,IACN,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAClC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,WAAW,EAAC,iBAAiB,EAC7B,QAAQ,EAAE,YAAY,IAErB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACxB,oBAAC,MAAM,CAAC,MAAM,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,IACzC,IAAI,CAAC,IAAI,CAC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,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAClC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,WAAW,EAAC,iBAAiB,EAC7B,QAAQ,EAAE,YAAY,IAErB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACxB,oBAAC,MAAM,CAAC,MAAM,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,IACzC,IAAI,CAAC,IAAI,CACK,CAChB,CAAC,CACM,CACT,CAAC,CAAC;IAEH,SAAS,YAAY,CAAC,EAAU;QAC/B,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QACpD,IAAI,QAAQ;YAAE,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAG,EAAE,EAAE,QAAQ,CAAC,CAAC;IACxC,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { ToolBarProps } from "./state";
3
- import "./index.less";
4
- declare const Toolbar: {
5
- (props: ToolBarProps): JSX.Element;
6
- defaultProps: {
7
- showMenu: boolean;
8
- };
9
- };
10
- export default Toolbar;
@@ -1,20 +0,0 @@
1
- import React, { useState } from "react";
2
- import { observe } from "@voplus/morpho-ui";
3
- import { More } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
4
- import { ToolBarContext, ToolBarState } from "./state";
5
- import { useWorkTypeStore } from "../../../../data/worktype";
6
- import "./index.less";
7
- const Toolbar = (props) => {
8
- const { children, visible, showMenu, moreProps: dropDownMenuProps } = props;
9
- const store = useWorkTypeStore();
10
- const [state] = useState(new ToolBarState(store));
11
- state.props = props;
12
- return observe(() => (React.createElement(ToolBarContext.Provider, { value: state }, visible !== false ? (React.createElement("span", { className: "tool-bar" },
13
- children,
14
- showMenu && React.createElement(More, { ...dropDownMenuProps }))) : (React.createElement(React.Fragment, null)))));
15
- };
16
- Toolbar.defaultProps = {
17
- showMenu: true,
18
- };
19
- export default Toolbar;
20
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/worktype/controls/ToolBar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAgB,cAAc,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,cAAc,CAAC;AAEtB,MAAM,OAAO,GAAG,CAAC,KAAmB,EAAE,EAAE;IACvC,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IAC5E,MAAM,KAAK,GAAG,gBAAgB,EAAE,CAAC;IACjC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAClD,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC;IAEpB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,IACnC,OAAO,KAAK,KAAK,CAAC,CAAC,CAAC,CACpB,8BAAM,SAAS,EAAC,UAAU;QACxB,QAAQ;QACR,QAAQ,IAAI,oBAAC,IAAI,OAAK,iBAAiB,GAAI,CACtC,CACP,CAAC,CAAC,CAAC,CACH,yCAAK,CACL,CACwB,CAC1B,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,CAAC,YAAY,GAAG;IACtB,QAAQ,EAAE,IAAI;CACd,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1,55 +0,0 @@
1
- :global {
2
- .tool-bar {
3
- .ant-btn + .ant-btn {
4
- margin-left: 5px;
5
- }
6
- .ant-tooltip-disabled-compatible-wrapper {
7
- margin: 0 5px;
8
- & + .ant-tooltip-disabled-compatible-wrapper {
9
- margin-left: 0;
10
- }
11
- }
12
- .archive-btn {
13
- background: #fff;
14
- border-color: #faad14;
15
- color: #faad14;
16
- }
17
- .archive-btn:active,
18
- .archive-btn.active,
19
- .archive-btn:hover {
20
- background-color: #faad14;
21
- color: #fff;
22
- }
23
- }
24
- .tool-bar-menu {
25
- padding: 4px 0;
26
- list-style-type: none;
27
- background-color: #fff;
28
- background-clip: padding-box;
29
- border-radius: 2px;
30
- outline: none;
31
- box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
32
- 0 9px 28px 8px rgba(0, 0, 0, 0.05);
33
-
34
- .ant-btn {
35
- display: block;
36
- width: 100%;
37
- padding: 0 12px;
38
- height: 34px;
39
- color: #666;
40
- text-align: left;
41
- &[disabled] {
42
- color: rgba(0, 0, 0, 0.25);
43
- }
44
- &:hover {
45
- background-color: #f5f5f5;
46
- }
47
- > span {
48
- margin-left: 10px;
49
- }
50
- }
51
- .delete {
52
- color: #f5222d;
53
- }
54
- }
55
- }
@@ -1,36 +0,0 @@
1
- import { ReactNode } from "react";
2
- import { MoreButtonProps } from "@voplus/morpho-document/es/controls/ToolBar/buttons/More";
3
- import { WorkTypeStore } from "../../../../data/worktype";
4
- export declare type ToolBarProps = {
5
- /** id of document */
6
- id?: string;
7
- children?: ReactNode;
8
- /** show toolbar */
9
- visible?: boolean;
10
- /** show drop down menu */
11
- showMenu?: boolean;
12
- /** Props for dropd */
13
- moreProps?: MoreButtonProps;
14
- };
15
- export interface IToolBarState {
16
- disabled?: boolean;
17
- }
18
- export declare class ToolBarState {
19
- store: WorkTypeStore;
20
- /** Current tools states. */
21
- private states;
22
- props: ToolBarProps;
23
- constructor(store: WorkTypeStore);
24
- /** Try to get an existing icons state or create a new one if it's not already exists.
25
- * @param key - Key of the icons state.
26
- * @param factory - factor to create a new option state.
27
- */
28
- getState<T extends IToolBarState>(key: string, factory: () => T): T;
29
- /** id */
30
- get id(): string;
31
- collapsed: boolean;
32
- }
33
- /** React context for ToolBarState. */
34
- export declare const ToolBarContext: import("react").Context<ToolBarState>;
35
- /** React hook to retrieve the nearest ToolBarContext. */
36
- export declare const useToolBarContext: () => ToolBarState;
@@ -1,57 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { createContext, useContext } from "react";
3
- import { computed, makeObservable, observable } from "mobx";
4
- export class ToolBarState {
5
- constructor(store) {
6
- Object.defineProperty(this, "store", {
7
- enumerable: true,
8
- configurable: true,
9
- writable: true,
10
- value: store
11
- });
12
- /** Current tools states. */
13
- Object.defineProperty(this, "states", {
14
- enumerable: true,
15
- configurable: true,
16
- writable: true,
17
- value: new Map()
18
- });
19
- Object.defineProperty(this, "props", {
20
- enumerable: true,
21
- configurable: true,
22
- writable: true,
23
- value: void 0
24
- });
25
- Object.defineProperty(this, "collapsed", {
26
- enumerable: true,
27
- configurable: true,
28
- writable: true,
29
- value: false
30
- });
31
- makeObservable(this);
32
- }
33
- /** Try to get an existing icons state or create a new one if it's not already exists.
34
- * @param key - Key of the icons state.
35
- * @param factory - factor to create a new option state.
36
- */
37
- getState(key, factory) {
38
- if (!this.states.has(key))
39
- this.states.set(key, factory());
40
- return this.states.get(key);
41
- }
42
- /** id */
43
- get id() {
44
- return (this.props && this.props.id) || "";
45
- }
46
- }
47
- __decorate([
48
- computed
49
- ], ToolBarState.prototype, "id", null);
50
- __decorate([
51
- observable
52
- ], ToolBarState.prototype, "collapsed", void 0);
53
- /** React context for ToolBarState. */
54
- export const ToolBarContext = createContext(null);
55
- /** React hook to retrieve the nearest ToolBarContext. */
56
- export const useToolBarContext = () => useContext(ToolBarContext);
57
- //# sourceMappingURL=state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/worktype/controls/ToolBar/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAa,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAqB5D,MAAM,OAAO,YAAY;IAMxB,YAA0B,KAAoB;;;;;mBAApB;;QAL1B,4BAA4B;QAC5B;;;;mBAA6C,IAAI,GAAG,EAAE;WAAC;QAEvD;;;;;WAA2B;QAqBf;;;;mBAAmB,KAAK;WAAC;QAlBpC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED;;;OAGG;IACI,QAAQ,CAA0B,GAAW,EAAE,OAAgB;QACrE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC;YAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC;QAC3D,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAM,CAAC;IAClC,CAAC;IAED,SAAS;IAET,IAAW,EAAE;QACZ,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC;IAC5C,CAAC;CAGD;AALA;IADC,QAAQ;sCAGR;AAEW;IAAX,UAAU;+CAA0B;AAGtC,sCAAsC;AACtC,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAe,IAAW,CAAC,CAAC;AAEvE,yDAAyD;AACzD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC"}