@voplus/morpho-workspace 9.0.25 → 9.1.1

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 (178) hide show
  1. package/es/controls/MoreOperateDropdown/index.d.ts +17 -26
  2. package/es/controls/MoreOperateDropdown/index.js +2 -10
  3. package/es/controls/MoreOperateDropdown/index.js.map +1 -1
  4. package/es/controls/filters/StartDateFilter/index.d.ts +3 -8
  5. package/es/controls/filters/StartDateFilter/index.js +2 -5
  6. package/es/controls/filters/StartDateFilter/index.js.map +1 -1
  7. package/es/modules/meeting/components/MeetingProperties/index.d.ts +16 -24
  8. package/es/modules/meeting/components/MeetingProperties/index.js +7 -12
  9. package/es/modules/meeting/components/MeetingProperties/index.js.map +1 -1
  10. package/es/modules/meeting/components/MeetingPropertiesView/index.js +8 -9
  11. package/es/modules/meeting/components/MeetingPropertiesView/index.js.map +1 -1
  12. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.d.ts +8 -13
  13. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.js +2 -6
  14. package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.js.map +1 -1
  15. package/es/modules/notification/components/NewNotificationForm/NotificationForm.d.ts +1 -6
  16. package/es/modules/notification/components/NewNotificationForm/NotificationForm.js +4 -7
  17. package/es/modules/notification/components/NewNotificationForm/NotificationForm.js.map +1 -1
  18. package/es/modules/notification/components/NewNotificationForm/index.d.ts +1 -7
  19. package/es/modules/notification/components/NewNotificationForm/index.js +2 -6
  20. package/es/modules/notification/components/NewNotificationForm/index.js.map +1 -1
  21. package/es/modules/notification/components/NotificationHeader/index.d.ts +5 -10
  22. package/es/modules/notification/components/NotificationHeader/index.js +2 -5
  23. package/es/modules/notification/components/NotificationHeader/index.js.map +1 -1
  24. package/es/modules/notification/components/NotificationList/index.d.ts +1 -9
  25. package/es/modules/notification/components/NotificationList/index.js +4 -10
  26. package/es/modules/notification/components/NotificationList/index.js.map +1 -1
  27. package/es/modules/notification/components/NotificationListHeader/index.d.ts +1 -7
  28. package/es/modules/notification/components/NotificationListHeader/index.js +2 -6
  29. package/es/modules/notification/components/NotificationListHeader/index.js.map +1 -1
  30. package/es/modules/notification/components/NotificationProperties/index.d.ts +9 -16
  31. package/es/modules/notification/components/NotificationProperties/index.js +7 -11
  32. package/es/modules/notification/components/NotificationProperties/index.js.map +1 -1
  33. package/es/modules/notification/components/NotificationPropertiesView/index.d.ts +0 -1
  34. package/es/modules/notification/components/NotificationPropertiesView/index.js +2 -6
  35. package/es/modules/notification/components/NotificationPropertiesView/index.js.map +1 -1
  36. package/es/modules/notification/components/NotificationTableList/index.d.ts +1 -6
  37. package/es/modules/notification/components/NotificationTableList/index.js +2 -5
  38. package/es/modules/notification/components/NotificationTableList/index.js.map +1 -1
  39. package/es/modules/notification/pages/NotificationListPage/index.d.ts +1 -7
  40. package/es/modules/notification/pages/NotificationListPage/index.js +3 -7
  41. package/es/modules/notification/pages/NotificationListPage/index.js.map +1 -1
  42. package/es/modules/tasks/components/NewTaskForm/index.d.ts +1 -6
  43. package/es/modules/tasks/components/NewTaskForm/index.js +2 -5
  44. package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
  45. package/es/modules/tasks/components/SubTaskList/index.d.ts +1 -9
  46. package/es/modules/tasks/components/SubTaskList/index.js +2 -8
  47. package/es/modules/tasks/components/SubTaskList/index.js.map +1 -1
  48. package/es/modules/tasks/components/TaskCheckListCard/index.d.ts +4 -10
  49. package/es/modules/tasks/components/TaskCheckListCard/index.js +0 -4
  50. package/es/modules/tasks/components/TaskCheckListCard/index.js.map +1 -1
  51. package/es/modules/tasks/components/TaskEstimatedTime/index.d.ts +1 -8
  52. package/es/modules/tasks/components/TaskEstimatedTime/index.js +2 -3
  53. package/es/modules/tasks/components/TaskEstimatedTime/index.js.map +1 -1
  54. package/es/modules/tasks/components/TaskPageHead/index.d.ts +6 -11
  55. package/es/modules/tasks/components/TaskPageHead/index.js +2 -6
  56. package/es/modules/tasks/components/TaskPageHead/index.js.map +1 -1
  57. package/es/modules/tasks/components/TaskProperties/index.d.ts +15 -24
  58. package/es/modules/tasks/components/TaskProperties/index.js +3 -9
  59. package/es/modules/tasks/components/TaskProperties/index.js.map +1 -1
  60. package/es/modules/tasks/components/TaskPropertiesView/index.d.ts +0 -1
  61. package/es/modules/tasks/components/TaskPropertiesView/index.js +0 -1
  62. package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
  63. package/es/modules/tasks/components/TaskSimpleProperties/index.d.ts +14 -21
  64. package/es/modules/tasks/components/TaskSimpleProperties/index.js +2 -6
  65. package/es/modules/tasks/components/TaskSimpleProperties/index.js.map +1 -1
  66. package/es/modules/tasks/controls/TaskDataIconBar/index.d.ts +9 -15
  67. package/es/modules/tasks/controls/TaskDataIconBar/index.js +2 -7
  68. package/es/modules/tasks/controls/TaskDataIconBar/index.js.map +1 -1
  69. package/es/modules/tasks/controls/TasksProgressDataIcon/index.d.ts +6 -11
  70. package/es/modules/tasks/controls/TasksProgressDataIcon/index.js +2 -6
  71. package/es/modules/tasks/controls/TasksProgressDataIcon/index.js.map +1 -1
  72. package/es/modules/tasks/controls/TasksTotal/index.d.ts +6 -10
  73. package/es/modules/tasks/controls/TasksTotal/index.js +2 -5
  74. package/es/modules/tasks/controls/TasksTotal/index.js.map +1 -1
  75. package/es/modules/tasks/reports/TaskSummaryCard/index.d.ts +8 -14
  76. package/es/modules/tasks/reports/TaskSummaryCard/index.js +1 -7
  77. package/es/modules/tasks/reports/TaskSummaryCard/index.js.map +1 -1
  78. package/es/modules/work/components/NewWorkForm/NewWorkFormDialog.d.ts +1 -6
  79. package/es/modules/work/components/NewWorkForm/NewWorkFormDialog.js +0 -3
  80. package/es/modules/work/components/NewWorkForm/NewWorkFormDialog.js.map +1 -1
  81. package/es/modules/work/components/NewWorkForm/index.d.ts +1 -6
  82. package/es/modules/work/components/NewWorkForm/index.js +4 -7
  83. package/es/modules/work/components/NewWorkForm/index.js.map +1 -1
  84. package/es/modules/work/components/RelatedWorkList/RelatedWorkList.d.ts +1 -6
  85. package/es/modules/work/components/RelatedWorkList/RelatedWorkList.js +2 -5
  86. package/es/modules/work/components/RelatedWorkList/RelatedWorkList.js.map +1 -1
  87. package/es/modules/work/components/WorkList/index.d.ts +1 -7
  88. package/es/modules/work/components/WorkList/index.js +6 -10
  89. package/es/modules/work/components/WorkList/index.js.map +1 -1
  90. package/es/modules/work/components/WorkList2/index.d.ts +1 -7
  91. package/es/modules/work/components/WorkList2/index.js +7 -11
  92. package/es/modules/work/components/WorkList2/index.js.map +1 -1
  93. package/es/modules/work/components/WorkListCard/index.d.ts +3 -8
  94. package/es/modules/work/components/WorkListCard/index.js +1 -4
  95. package/es/modules/work/components/WorkListCard/index.js.map +1 -1
  96. package/es/modules/work/components/WorkPropertiesView/index.d.ts +0 -1
  97. package/es/modules/work/components/WorkPropertiesView/index.js +4 -6
  98. package/es/modules/work/components/WorkPropertiesView/index.js.map +1 -1
  99. package/es/modules/work/components/WorkTableListCard/index.d.ts +1 -7
  100. package/es/modules/work/components/WorkTableListCard/index.js +3 -4
  101. package/es/modules/work/components/WorkTableListCard/index.js.map +1 -1
  102. package/es/modules/work/components/WorksProperties/index.d.ts +15 -24
  103. package/es/modules/work/components/WorksProperties/index.js +11 -17
  104. package/es/modules/work/components/WorksProperties/index.js.map +1 -1
  105. package/es/modules/work/controls/WorkDataIconBar/index.d.ts +9 -14
  106. package/es/modules/work/controls/WorkDataIconBar/index.js +2 -6
  107. package/es/modules/work/controls/WorkDataIconBar/index.js.map +1 -1
  108. package/es/modules/work/work-error/components/WorkErrorProperties/index.d.ts +9 -17
  109. package/es/modules/work/work-error/components/WorkErrorProperties/index.js +8 -13
  110. package/es/modules/work/work-error/components/WorkErrorProperties/index.js.map +1 -1
  111. package/es/modules/work/work-error/components/WorkErrorPropertiesView/index.d.ts +0 -1
  112. package/es/modules/work/work-error/components/WorkErrorPropertiesView/index.js +6 -9
  113. package/es/modules/work/work-error/components/WorkErrorPropertiesView/index.js.map +1 -1
  114. package/es/modules/work/work-error/controls/SeveritySelect/index.d.ts +10 -16
  115. package/es/modules/work/work-error/controls/SeveritySelect/index.js +2 -5
  116. package/es/modules/work/work-error/controls/SeveritySelect/index.js.map +1 -1
  117. package/es/modules/work/work-error/controls/WorkErrorSelect/index.d.ts +3 -10
  118. package/es/modules/work/work-error/controls/WorkErrorSelect/index.js +2 -5
  119. package/es/modules/work/work-error/controls/WorkErrorSelect/index.js.map +1 -1
  120. package/es/modules/work/work-schedule/components/NewWorkScheduleForm/NewWorkScheduleFormDialog.d.ts +1 -6
  121. package/es/modules/work/work-schedule/components/NewWorkScheduleForm/NewWorkScheduleFormDialog.js +1 -4
  122. package/es/modules/work/work-schedule/components/NewWorkScheduleForm/NewWorkScheduleFormDialog.js.map +1 -1
  123. package/es/modules/work/work-schedule/components/NewWorkScheduleForm/index.d.ts +1 -6
  124. package/es/modules/work/work-schedule/components/NewWorkScheduleForm/index.js +2 -5
  125. package/es/modules/work/work-schedule/components/NewWorkScheduleForm/index.js.map +1 -1
  126. package/es/modules/work/work-schedule/components/WorkScheduleHeader/index.d.ts +6 -10
  127. package/es/modules/work/work-schedule/components/WorkScheduleHeader/index.js +3 -6
  128. package/es/modules/work/work-schedule/components/WorkScheduleHeader/index.js.map +1 -1
  129. package/es/modules/work/work-schedule/components/WorkScheduleList/index.d.ts +1 -9
  130. package/es/modules/work/work-schedule/components/WorkScheduleList/index.js +4 -10
  131. package/es/modules/work/work-schedule/components/WorkScheduleList/index.js.map +1 -1
  132. package/es/modules/work/work-schedule/components/WorkScheduleProperties/index.d.ts +9 -16
  133. package/es/modules/work/work-schedule/components/WorkScheduleProperties/index.js +7 -11
  134. package/es/modules/work/work-schedule/components/WorkScheduleProperties/index.js.map +1 -1
  135. package/es/modules/work/work-type/components/WorkStatusSelect/index.d.ts +1 -8
  136. package/es/modules/work/work-type/components/WorkStatusSelect/index.js +0 -3
  137. package/es/modules/work/work-type/components/WorkStatusSelect/index.js.map +1 -1
  138. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.d.ts +7 -13
  139. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js +14 -17
  140. package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js.map +1 -1
  141. package/es/modules/work/work-type/components/WorkTypeProperties/index.css +1 -1
  142. package/es/modules/work/work-type/components/WorkTypeProperties/index.d.ts +5 -10
  143. package/es/modules/work/work-type/components/WorkTypeProperties/index.js +14 -18
  144. package/es/modules/work/work-type/components/WorkTypeProperties/index.js.map +1 -1
  145. package/es/modules/work/work-type/components/WorkTypePropertiesView/index.d.ts +0 -1
  146. package/es/modules/work/work-type/components/WorkTypePropertiesView/index.js +17 -20
  147. package/es/modules/work/work-type/components/WorkTypePropertiesView/index.js.map +1 -1
  148. package/es/modules/work/work-type/components/WorkTypeQA/index.d.ts +4 -9
  149. package/es/modules/work/work-type/components/WorkTypeQA/index.js +2 -3
  150. package/es/modules/work/work-type/components/WorkTypeQA/index.js.map +1 -1
  151. package/es/modules/work/work-type/components/WorkTypeSelect/index.d.ts +1 -8
  152. package/es/modules/work/work-type/components/WorkTypeSelect/index.js +1 -4
  153. package/es/modules/work/work-type/components/WorkTypeSelect/index.js.map +1 -1
  154. package/es/modules/workspace/components/WorkspacePropertiesView/index.css +2 -16
  155. package/es/modules/workspace/components/WorkspacePropertiesView/index.js +25 -30
  156. package/es/modules/workspace/components/WorkspacePropertiesView/index.js.map +1 -1
  157. package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.css +0 -1
  158. package/es/{modules/board/components → obsolete}/BoardPropertiesView/index.d.ts +0 -1
  159. package/es/{modules/board/components → obsolete}/BoardPropertiesView/index.js +0 -1
  160. package/es/obsolete/BoardPropertiesView/index.js.map +1 -0
  161. package/es/obsolete/NotificationList2/index.d.ts +1 -6
  162. package/es/obsolete/NotificationList2/index.js +2 -5
  163. package/es/obsolete/NotificationList2/index.js.map +1 -1
  164. package/package.json +1 -1
  165. package/es/modules/board/components/BoardPropertiesView/index.css +0 -10
  166. package/es/modules/board/components/BoardPropertiesView/index.js.map +0 -1
  167. package/es/modules/meeting/components/MeetingPropertiesView/index.less +0 -13
  168. package/es/modules/notification/components/NotificationPropertiesView/index.css +0 -5
  169. package/es/modules/tasks/components/TaskPropertiesView/index.css +0 -21
  170. package/es/modules/work/components/WorkPropertiesView/index.css +0 -8
  171. package/es/modules/work/work-error/components/WorkErrorPropertiesView/index.css +0 -38
  172. package/es/modules/work/work-type/components/WorkTypePropertiesView/index.css +0 -10
  173. package/es/modules/work/work-type/components/WorkTypePropertiesView/state.d.ts +0 -15
  174. package/es/modules/work/work-type/components/WorkTypePropertiesView/state.js +0 -68
  175. package/es/modules/work/work-type/components/WorkTypePropertiesView/state.js.map +0 -1
  176. package/es/modules/workspace/components/WorkspacePropertiesView/state.d.ts +0 -14
  177. package/es/modules/workspace/components/WorkspacePropertiesView/state.js +0 -72
  178. package/es/modules/workspace/components/WorkspacePropertiesView/state.js.map +0 -1
@@ -1,5 +0,0 @@
1
- .notification-properties-view.hide {
2
- .ant-dropdown-trigger {
3
- display: none;
4
- }
5
- }
@@ -1,21 +0,0 @@
1
- .task-properties-view-header {
2
- color: #444;
3
- .tools-bar {
4
- text-align: right;
5
- }
6
- }
7
- .task-properties-view {
8
- display: flex;
9
- flex-direction: column;
10
- height: 100%;
11
- overflow-x: hidden;
12
- .task-description {
13
- padding: 10px 20px;
14
- }
15
- .sub-task-simply-form {
16
- position: sticky;
17
- bottom: 0;
18
- z-index: 9999;
19
- background: #fff;
20
- }
21
- }
@@ -1,8 +0,0 @@
1
- .work-properties-view {
2
- .document-header-content:hover {
3
- .add-tag-btn {
4
- display: inline-block;
5
- visibility: visible;
6
- }
7
- }
8
- }
@@ -1,38 +0,0 @@
1
- .workerror-properties-view {
2
- height: 100%;
3
- display: flex;
4
- flex-direction: column;
5
- .workerror-header {
6
- padding: 10px 20px;
7
-
8
- .workerror-header-content {
9
- display: flex;
10
- justify-content: space-between;
11
-
12
- .workerror-header-title {
13
- display: flex;
14
- align-items: center;
15
-
16
- .workerror-info {
17
- display: inline-block;
18
- color: #000;
19
- font-size: 24px;
20
- font-weight: 500;
21
- cursor: pointer;
22
- padding-right: 5px;
23
- }
24
-
25
- .ant-tag {
26
- padding: 0 5px;
27
- font-size: 12px;
28
- line-height: 15px;
29
- margin-left: 8px;
30
- }
31
- }
32
- }
33
- }
34
-
35
- .element-tabs {
36
- flex: 1;
37
- }
38
- }
@@ -1,10 +0,0 @@
1
- .worktype-properties-view {
2
- .node-header-layout {
3
- .left {
4
- font-size: 24px;
5
- color: #000;
6
- font-weight: 500;
7
- word-break: break-all;
8
- }
9
- }
10
- }
@@ -1,15 +0,0 @@
1
- import { IDocumentAccessSettings } from "@voplus/morpho-document-core";
2
- import { WorkTypeStore } from "../../../../../data/worktype";
3
- export declare class State {
4
- private id;
5
- private store;
6
- /** Name of workspace */
7
- name: string;
8
- /** Visible of Edit name */
9
- editVisible: boolean;
10
- members: any[];
11
- constructor(id: string, store: WorkTypeStore);
12
- update(doc: IDocumentAccessSettings): void;
13
- /** edit save */
14
- save(v: any, name: any, params: Record<string, unknown>): void;
15
- }
@@ -1,68 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { action, makeObservable, observable } from "mobx";
3
- export class State {
4
- constructor(id, store) {
5
- Object.defineProperty(this, "id", {
6
- enumerable: true,
7
- configurable: true,
8
- writable: true,
9
- value: id
10
- });
11
- Object.defineProperty(this, "store", {
12
- enumerable: true,
13
- configurable: true,
14
- writable: true,
15
- value: store
16
- });
17
- /** Name of workspace */
18
- Object.defineProperty(this, "name", {
19
- enumerable: true,
20
- configurable: true,
21
- writable: true,
22
- value: ""
23
- });
24
- /** Visible of Edit name */
25
- Object.defineProperty(this, "editVisible", {
26
- enumerable: true,
27
- configurable: true,
28
- writable: true,
29
- value: false
30
- });
31
- Object.defineProperty(this, "members", {
32
- enumerable: true,
33
- configurable: true,
34
- writable: true,
35
- value: []
36
- });
37
- makeObservable(this);
38
- }
39
- update(doc) {
40
- this.members = [];
41
- doc.includes.map((i) => {
42
- if (i.role === "Member")
43
- this.members.push(i.contact);
44
- });
45
- }
46
- /** edit save */
47
- save(v, name, params) {
48
- if ((v === null || v === void 0 ? void 0 : v.trim()) === name)
49
- return;
50
- this.store.edit(this.id, { data: params, error: "message" });
51
- }
52
- }
53
- __decorate([
54
- observable
55
- ], State.prototype, "name", void 0);
56
- __decorate([
57
- observable
58
- ], State.prototype, "editVisible", void 0);
59
- __decorate([
60
- observable
61
- ], State.prototype, "members", void 0);
62
- __decorate([
63
- action
64
- ], State.prototype, "update", null);
65
- __decorate([
66
- action
67
- ], State.prototype, "save", null);
68
- //# sourceMappingURL=state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../../src/modules/work/work-type/components/WorkTypePropertiesView/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAe,MAAM,MAAM,CAAC;AAKvE,MAAM,OAAO,KAAK;IAOjB,YAAoB,EAAU,EAAU,KAAoB;QAAhD;;;;mBAAQ,EAAE;WAAQ;QAAE;;;;mBAAQ,KAAK;WAAe;QAN5D,wBAAwB;QACL;;;;mBAAO,EAAE;WAAC;QAC7B,2BAA2B;QACR;;;;mBAAc,KAAK;WAAC;QACpB;;;;mBAAiB,EAAE;WAAC;QAGtC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAGM,MAAM,CAAC,GAA4B;QACzC,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QAClB,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;YACtB,IAAI,CAAC,CAAC,IAAI,KAAK,QAAQ;gBAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;QACvD,CAAC,CAAC,CAAC;IACJ,CAAC;IAED,gBAAgB;IAET,IAAI,CAAC,CAAM,EAAE,IAAS,EAAE,MAA+B;QAC7D,IAAI,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,IAAI,EAAE,MAAK,IAAI;YAAE,OAAO;QAC/B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IAC9D,CAAC;CACD;AAvBmB;IAAlB,UAAU;mCAAkB;AAEV;IAAlB,UAAU;0CAA4B;AACpB;IAAlB,UAAU;sCAA4B;AAOhC;IADN,MAAM;mCAMN;AAIM;IADN,MAAM;iCAIN"}
@@ -1,14 +0,0 @@
1
- import { WorkspaceStore } from "../../../../data/workspace";
2
- export declare class State {
3
- private id;
4
- private store;
5
- refresh: boolean;
6
- /** Name of workspace */
7
- name: string;
8
- /** Visible of Edit name */
9
- editVisible: boolean;
10
- members: any[];
11
- constructor(id: string, store: WorkspaceStore);
12
- /** edit save */
13
- save(v: any, name: any, params: Record<string, unknown>): void;
14
- }
@@ -1,72 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { action, makeObservable, observable } from "mobx";
3
- export class State {
4
- constructor(id, store) {
5
- Object.defineProperty(this, "id", {
6
- enumerable: true,
7
- configurable: true,
8
- writable: true,
9
- value: id
10
- });
11
- Object.defineProperty(this, "store", {
12
- enumerable: true,
13
- configurable: true,
14
- writable: true,
15
- value: store
16
- });
17
- Object.defineProperty(this, "refresh", {
18
- enumerable: true,
19
- configurable: true,
20
- writable: true,
21
- value: false
22
- });
23
- /** Name of workspace */
24
- Object.defineProperty(this, "name", {
25
- enumerable: true,
26
- configurable: true,
27
- writable: true,
28
- value: ""
29
- });
30
- /** Visible of Edit name */
31
- Object.defineProperty(this, "editVisible", {
32
- enumerable: true,
33
- configurable: true,
34
- writable: true,
35
- value: false
36
- });
37
- Object.defineProperty(this, "members", {
38
- enumerable: true,
39
- configurable: true,
40
- writable: true,
41
- value: []
42
- });
43
- makeObservable(this);
44
- }
45
- // @action
46
- // public initialMemberList(res: IDocumentAccessSettings) {
47
- // this.members = [];
48
- // res?.includes?.map((i) => i.role === "Member" && this.members.push(i.contact));
49
- // }
50
- /** edit save */
51
- save(v, name, params) {
52
- if ((v === null || v === void 0 ? void 0 : v.trim()) === name)
53
- return;
54
- this.store.edit(this.id, { data: params, error: "message" });
55
- }
56
- }
57
- __decorate([
58
- observable
59
- ], State.prototype, "refresh", void 0);
60
- __decorate([
61
- observable
62
- ], State.prototype, "name", void 0);
63
- __decorate([
64
- observable
65
- ], State.prototype, "editVisible", void 0);
66
- __decorate([
67
- observable
68
- ], State.prototype, "members", void 0);
69
- __decorate([
70
- action
71
- ], State.prototype, "save", null);
72
- //# sourceMappingURL=state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/components/WorkspacePropertiesView/state.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAI1D,MAAM,OAAO,KAAK;IAQjB,YAAoB,EAAU,EAAU,KAAqB;QAAjD;;;;mBAAQ,EAAE;WAAQ;QAAE;;;;mBAAQ,KAAK;WAAgB;QAP1C;;;;mBAAU,KAAK;WAAC;QACnC,wBAAwB;QACL;;;;mBAAO,EAAE;WAAC;QAC7B,2BAA2B;QACR;;;;mBAAc,KAAK;WAAC;QACpB;;;;mBAAiB,EAAE;WAAC;QAGtC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,UAAU;IACV,2DAA2D;IAC3D,sBAAsB;IACtB,mFAAmF;IACnF,IAAI;IAEJ,gBAAgB;IAET,IAAI,CAAC,CAAM,EAAE,IAAS,EAAE,MAA+B;QAC7D,IAAI,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,IAAI,EAAE,MAAK,IAAI;YAAE,OAAO;QAC/B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IAC9D,CAAC;CACD;AAvBmB;IAAlB,UAAU;sCAAwB;AAEhB;IAAlB,UAAU;mCAAkB;AAEV;IAAlB,UAAU;0CAA4B;AACpB;IAAlB,UAAU;sCAA4B;AAchC;IADN,MAAM;iCAIN"}