@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.
- package/es/controls/MoreOperateDropdown/index.d.ts +17 -26
- package/es/controls/MoreOperateDropdown/index.js +2 -10
- package/es/controls/MoreOperateDropdown/index.js.map +1 -1
- package/es/controls/filters/StartDateFilter/index.d.ts +3 -8
- package/es/controls/filters/StartDateFilter/index.js +2 -5
- package/es/controls/filters/StartDateFilter/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingProperties/index.d.ts +16 -24
- package/es/modules/meeting/components/MeetingProperties/index.js +7 -12
- package/es/modules/meeting/components/MeetingProperties/index.js.map +1 -1
- package/es/modules/meeting/components/MeetingPropertiesView/index.js +8 -9
- package/es/modules/meeting/components/MeetingPropertiesView/index.js.map +1 -1
- package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.d.ts +8 -13
- package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.js +2 -6
- package/es/modules/meeting/controls/MeetingTasksProgressDataIcon/index.js.map +1 -1
- package/es/modules/notification/components/NewNotificationForm/NotificationForm.d.ts +1 -6
- package/es/modules/notification/components/NewNotificationForm/NotificationForm.js +4 -7
- package/es/modules/notification/components/NewNotificationForm/NotificationForm.js.map +1 -1
- package/es/modules/notification/components/NewNotificationForm/index.d.ts +1 -7
- package/es/modules/notification/components/NewNotificationForm/index.js +2 -6
- package/es/modules/notification/components/NewNotificationForm/index.js.map +1 -1
- package/es/modules/notification/components/NotificationHeader/index.d.ts +5 -10
- package/es/modules/notification/components/NotificationHeader/index.js +2 -5
- package/es/modules/notification/components/NotificationHeader/index.js.map +1 -1
- package/es/modules/notification/components/NotificationList/index.d.ts +1 -9
- package/es/modules/notification/components/NotificationList/index.js +4 -10
- package/es/modules/notification/components/NotificationList/index.js.map +1 -1
- package/es/modules/notification/components/NotificationListHeader/index.d.ts +1 -7
- package/es/modules/notification/components/NotificationListHeader/index.js +2 -6
- package/es/modules/notification/components/NotificationListHeader/index.js.map +1 -1
- package/es/modules/notification/components/NotificationProperties/index.d.ts +9 -16
- package/es/modules/notification/components/NotificationProperties/index.js +7 -11
- package/es/modules/notification/components/NotificationProperties/index.js.map +1 -1
- package/es/modules/notification/components/NotificationPropertiesView/index.d.ts +0 -1
- package/es/modules/notification/components/NotificationPropertiesView/index.js +2 -6
- package/es/modules/notification/components/NotificationPropertiesView/index.js.map +1 -1
- package/es/modules/notification/components/NotificationTableList/index.d.ts +1 -6
- package/es/modules/notification/components/NotificationTableList/index.js +2 -5
- package/es/modules/notification/components/NotificationTableList/index.js.map +1 -1
- package/es/modules/notification/pages/NotificationListPage/index.d.ts +1 -7
- package/es/modules/notification/pages/NotificationListPage/index.js +3 -7
- package/es/modules/notification/pages/NotificationListPage/index.js.map +1 -1
- package/es/modules/tasks/components/NewTaskForm/index.d.ts +1 -6
- package/es/modules/tasks/components/NewTaskForm/index.js +2 -5
- package/es/modules/tasks/components/NewTaskForm/index.js.map +1 -1
- package/es/modules/tasks/components/SubTaskList/index.d.ts +1 -9
- package/es/modules/tasks/components/SubTaskList/index.js +2 -8
- package/es/modules/tasks/components/SubTaskList/index.js.map +1 -1
- package/es/modules/tasks/components/TaskCheckListCard/index.d.ts +4 -10
- package/es/modules/tasks/components/TaskCheckListCard/index.js +0 -4
- package/es/modules/tasks/components/TaskCheckListCard/index.js.map +1 -1
- package/es/modules/tasks/components/TaskEstimatedTime/index.d.ts +1 -8
- package/es/modules/tasks/components/TaskEstimatedTime/index.js +2 -3
- package/es/modules/tasks/components/TaskEstimatedTime/index.js.map +1 -1
- package/es/modules/tasks/components/TaskPageHead/index.d.ts +6 -11
- package/es/modules/tasks/components/TaskPageHead/index.js +2 -6
- package/es/modules/tasks/components/TaskPageHead/index.js.map +1 -1
- package/es/modules/tasks/components/TaskProperties/index.d.ts +15 -24
- package/es/modules/tasks/components/TaskProperties/index.js +3 -9
- package/es/modules/tasks/components/TaskProperties/index.js.map +1 -1
- package/es/modules/tasks/components/TaskPropertiesView/index.d.ts +0 -1
- package/es/modules/tasks/components/TaskPropertiesView/index.js +0 -1
- package/es/modules/tasks/components/TaskPropertiesView/index.js.map +1 -1
- package/es/modules/tasks/components/TaskSimpleProperties/index.d.ts +14 -21
- package/es/modules/tasks/components/TaskSimpleProperties/index.js +2 -6
- package/es/modules/tasks/components/TaskSimpleProperties/index.js.map +1 -1
- package/es/modules/tasks/controls/TaskDataIconBar/index.d.ts +9 -15
- package/es/modules/tasks/controls/TaskDataIconBar/index.js +2 -7
- package/es/modules/tasks/controls/TaskDataIconBar/index.js.map +1 -1
- package/es/modules/tasks/controls/TasksProgressDataIcon/index.d.ts +6 -11
- package/es/modules/tasks/controls/TasksProgressDataIcon/index.js +2 -6
- package/es/modules/tasks/controls/TasksProgressDataIcon/index.js.map +1 -1
- package/es/modules/tasks/controls/TasksTotal/index.d.ts +6 -10
- package/es/modules/tasks/controls/TasksTotal/index.js +2 -5
- package/es/modules/tasks/controls/TasksTotal/index.js.map +1 -1
- package/es/modules/tasks/reports/TaskSummaryCard/index.d.ts +8 -14
- package/es/modules/tasks/reports/TaskSummaryCard/index.js +1 -7
- package/es/modules/tasks/reports/TaskSummaryCard/index.js.map +1 -1
- package/es/modules/work/components/NewWorkForm/NewWorkFormDialog.d.ts +1 -6
- package/es/modules/work/components/NewWorkForm/NewWorkFormDialog.js +0 -3
- package/es/modules/work/components/NewWorkForm/NewWorkFormDialog.js.map +1 -1
- package/es/modules/work/components/NewWorkForm/index.d.ts +1 -6
- package/es/modules/work/components/NewWorkForm/index.js +4 -7
- package/es/modules/work/components/NewWorkForm/index.js.map +1 -1
- package/es/modules/work/components/RelatedWorkList/RelatedWorkList.d.ts +1 -6
- package/es/modules/work/components/RelatedWorkList/RelatedWorkList.js +2 -5
- package/es/modules/work/components/RelatedWorkList/RelatedWorkList.js.map +1 -1
- package/es/modules/work/components/WorkList/index.d.ts +1 -7
- package/es/modules/work/components/WorkList/index.js +6 -10
- package/es/modules/work/components/WorkList/index.js.map +1 -1
- package/es/modules/work/components/WorkList2/index.d.ts +1 -7
- package/es/modules/work/components/WorkList2/index.js +7 -11
- package/es/modules/work/components/WorkList2/index.js.map +1 -1
- package/es/modules/work/components/WorkListCard/index.d.ts +3 -8
- package/es/modules/work/components/WorkListCard/index.js +1 -4
- package/es/modules/work/components/WorkListCard/index.js.map +1 -1
- package/es/modules/work/components/WorkPropertiesView/index.d.ts +0 -1
- package/es/modules/work/components/WorkPropertiesView/index.js +4 -6
- package/es/modules/work/components/WorkPropertiesView/index.js.map +1 -1
- package/es/modules/work/components/WorkTableListCard/index.d.ts +1 -7
- package/es/modules/work/components/WorkTableListCard/index.js +3 -4
- package/es/modules/work/components/WorkTableListCard/index.js.map +1 -1
- package/es/modules/work/components/WorksProperties/index.d.ts +15 -24
- package/es/modules/work/components/WorksProperties/index.js +11 -17
- package/es/modules/work/components/WorksProperties/index.js.map +1 -1
- package/es/modules/work/controls/WorkDataIconBar/index.d.ts +9 -14
- package/es/modules/work/controls/WorkDataIconBar/index.js +2 -6
- package/es/modules/work/controls/WorkDataIconBar/index.js.map +1 -1
- package/es/modules/work/work-error/components/WorkErrorProperties/index.d.ts +9 -17
- package/es/modules/work/work-error/components/WorkErrorProperties/index.js +8 -13
- package/es/modules/work/work-error/components/WorkErrorProperties/index.js.map +1 -1
- package/es/modules/work/work-error/components/WorkErrorPropertiesView/index.d.ts +0 -1
- package/es/modules/work/work-error/components/WorkErrorPropertiesView/index.js +6 -9
- package/es/modules/work/work-error/components/WorkErrorPropertiesView/index.js.map +1 -1
- package/es/modules/work/work-error/controls/SeveritySelect/index.d.ts +10 -16
- package/es/modules/work/work-error/controls/SeveritySelect/index.js +2 -5
- package/es/modules/work/work-error/controls/SeveritySelect/index.js.map +1 -1
- package/es/modules/work/work-error/controls/WorkErrorSelect/index.d.ts +3 -10
- package/es/modules/work/work-error/controls/WorkErrorSelect/index.js +2 -5
- package/es/modules/work/work-error/controls/WorkErrorSelect/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/NewWorkScheduleForm/NewWorkScheduleFormDialog.d.ts +1 -6
- package/es/modules/work/work-schedule/components/NewWorkScheduleForm/NewWorkScheduleFormDialog.js +1 -4
- package/es/modules/work/work-schedule/components/NewWorkScheduleForm/NewWorkScheduleFormDialog.js.map +1 -1
- package/es/modules/work/work-schedule/components/NewWorkScheduleForm/index.d.ts +1 -6
- package/es/modules/work/work-schedule/components/NewWorkScheduleForm/index.js +2 -5
- package/es/modules/work/work-schedule/components/NewWorkScheduleForm/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleHeader/index.d.ts +6 -10
- package/es/modules/work/work-schedule/components/WorkScheduleHeader/index.js +3 -6
- package/es/modules/work/work-schedule/components/WorkScheduleHeader/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.d.ts +1 -9
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.js +4 -10
- package/es/modules/work/work-schedule/components/WorkScheduleList/index.js.map +1 -1
- package/es/modules/work/work-schedule/components/WorkScheduleProperties/index.d.ts +9 -16
- package/es/modules/work/work-schedule/components/WorkScheduleProperties/index.js +7 -11
- package/es/modules/work/work-schedule/components/WorkScheduleProperties/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkStatusSelect/index.d.ts +1 -8
- package/es/modules/work/work-type/components/WorkStatusSelect/index.js +0 -3
- package/es/modules/work/work-type/components/WorkStatusSelect/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.d.ts +7 -13
- package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js +14 -17
- package/es/modules/work/work-type/components/WorkTypeProperties/WorkTypePropertiesCard.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeProperties/index.css +1 -1
- package/es/modules/work/work-type/components/WorkTypeProperties/index.d.ts +5 -10
- package/es/modules/work/work-type/components/WorkTypeProperties/index.js +14 -18
- package/es/modules/work/work-type/components/WorkTypeProperties/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypePropertiesView/index.d.ts +0 -1
- package/es/modules/work/work-type/components/WorkTypePropertiesView/index.js +17 -20
- package/es/modules/work/work-type/components/WorkTypePropertiesView/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeQA/index.d.ts +4 -9
- package/es/modules/work/work-type/components/WorkTypeQA/index.js +2 -3
- package/es/modules/work/work-type/components/WorkTypeQA/index.js.map +1 -1
- package/es/modules/work/work-type/components/WorkTypeSelect/index.d.ts +1 -8
- package/es/modules/work/work-type/components/WorkTypeSelect/index.js +1 -4
- package/es/modules/work/work-type/components/WorkTypeSelect/index.js.map +1 -1
- package/es/modules/workspace/components/WorkspacePropertiesView/index.css +2 -16
- package/es/modules/workspace/components/WorkspacePropertiesView/index.js +25 -30
- package/es/modules/workspace/components/WorkspacePropertiesView/index.js.map +1 -1
- package/es/modules/workspace/controls/WorkspaceCompletedWorksChart/index.css +0 -1
- package/es/{modules/board/components → obsolete}/BoardPropertiesView/index.d.ts +0 -1
- package/es/{modules/board/components → obsolete}/BoardPropertiesView/index.js +0 -1
- package/es/obsolete/BoardPropertiesView/index.js.map +1 -0
- package/es/obsolete/NotificationList2/index.d.ts +1 -6
- package/es/obsolete/NotificationList2/index.js +2 -5
- package/es/obsolete/NotificationList2/index.js.map +1 -1
- package/package.json +1 -1
- package/es/modules/board/components/BoardPropertiesView/index.css +0 -10
- package/es/modules/board/components/BoardPropertiesView/index.js.map +0 -1
- package/es/modules/meeting/components/MeetingPropertiesView/index.less +0 -13
- package/es/modules/notification/components/NotificationPropertiesView/index.css +0 -5
- package/es/modules/tasks/components/TaskPropertiesView/index.css +0 -21
- package/es/modules/work/components/WorkPropertiesView/index.css +0 -8
- package/es/modules/work/work-error/components/WorkErrorPropertiesView/index.css +0 -38
- package/es/modules/work/work-type/components/WorkTypePropertiesView/index.css +0 -10
- package/es/modules/work/work-type/components/WorkTypePropertiesView/state.d.ts +0 -15
- package/es/modules/work/work-type/components/WorkTypePropertiesView/state.js +0 -68
- package/es/modules/work/work-type/components/WorkTypePropertiesView/state.js.map +0 -1
- package/es/modules/workspace/components/WorkspacePropertiesView/state.d.ts +0 -14
- package/es/modules/workspace/components/WorkspacePropertiesView/state.js +0 -72
- package/es/modules/workspace/components/WorkspacePropertiesView/state.js.map +0 -1
|
@@ -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,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,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"}
|