@voplus/morpho-workspace 6.0.153 → 6.0.154

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,29 +10,28 @@ const WorkSpaceSettingPage = (props) => {
10
10
  const wrokspace = useWorkspace(props.id);
11
11
  return observe(() => {
12
12
  var _a, _b, _c, _d;
13
- return (React.createElement("div", null,
14
- React.createElement(SettingPage, { className: "workSpace-setting-page", pageHeadProps: { visible: true } },
15
- React.createElement(SettingSection, { className: "setting-section" },
16
- React.createElement(Setting, { label: "Members" },
17
- React.createElement(MentionList, { contacts: ((_a = wrokspace.settings) === null || _a === void 0 ? void 0 : _a.members) ? (_b = wrokspace.settings) === null || _b === void 0 ? void 0 : _b.members : [], canEdit: true, multiple: true, defaultSelection: "Users", placeholder: "Select an Members", onChange: (list) => {
18
- const ids = [];
19
- list.map((i) => ids.push(i.id));
20
- onEdit({
21
- Settings: {
22
- Members: ids,
23
- },
24
- });
25
- } })),
26
- React.createElement(Setting, { label: "Owners" },
27
- React.createElement(MentionList, { contacts: ((_c = wrokspace.settings) === null || _c === void 0 ? void 0 : _c.owners) ? (_d = wrokspace.settings) === null || _d === void 0 ? void 0 : _d.owners : [], canEdit: true, multiple: true, defaultSelection: "Users", placeholder: "Select an Owners", onChange: (list) => {
28
- const ids = [];
29
- list.map((i) => ids.push(i.id));
30
- onEdit({
31
- Settings: {
32
- Owners: ids,
33
- },
34
- });
35
- } }))))));
13
+ return (React.createElement(SettingPage, { className: "workSpace-setting-page", pageHeadProps: { visible: true } },
14
+ React.createElement(SettingSection, { className: "setting-section" },
15
+ React.createElement(Setting, { label: "Members" },
16
+ React.createElement(MentionList, { contacts: ((_a = wrokspace.settings) === null || _a === void 0 ? void 0 : _a.members) ? (_b = wrokspace.settings) === null || _b === void 0 ? void 0 : _b.members : [], canEdit: true, multiple: true, defaultSelection: "Users", placeholder: "Select an Members", onChange: (list) => {
17
+ const ids = [];
18
+ list.map((i) => ids.push(i.id));
19
+ onEdit({
20
+ Settings: {
21
+ Members: ids,
22
+ },
23
+ });
24
+ } })),
25
+ React.createElement(Setting, { label: "Owners" },
26
+ React.createElement(MentionList, { contacts: ((_c = wrokspace.settings) === null || _c === void 0 ? void 0 : _c.owners) ? (_d = wrokspace.settings) === null || _d === void 0 ? void 0 : _d.owners : [], canEdit: true, multiple: true, defaultSelection: "Users", placeholder: "Select an Owners", onChange: (list) => {
27
+ const ids = [];
28
+ list.map((i) => ids.push(i.id));
29
+ onEdit({
30
+ Settings: {
31
+ Owners: ids,
32
+ },
33
+ });
34
+ } })))));
36
35
  });
37
36
  function onEdit(data) {
38
37
  store.edit(props.id, {
@@ -1 +1 @@
1
- {"version":3,"file":"SettingPage.js","sourceRoot":"","sources":["../../../../../src/modules/workspace/pages/WorkspacePage/SettingPage.tsx"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,4CAA4C,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,WAAW,MAAM,2CAA2C,CAAC;AACpE,OAAO,OAAO,MAAM,mDAAmD,CAAC;AACxE,OAAO,cAAc,MAAM,0DAA0D,CAAC;AACtF,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG7E,MAAM,oBAAoB,GAAG,CAAC,KAAqB,EAAE,EAAE;IACtD,MAAM,KAAK,GAAG,iBAAiB,EAAE,CAAC;IAClC,MAAM,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAEzC,OAAO,OAAO,CAAC,GAAG,EAAE;;QAAC,OAAA,CACpB;YACC,oBAAC,WAAW,IAAC,SAAS,EAAC,wBAAwB,EAAC,aAAa,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;gBAC/E,oBAAC,cAAc,IAAC,SAAS,EAAC,iBAAiB;oBAC1C,oBAAC,OAAO,IAAC,KAAK,EAAC,SAAS;wBACvB,oBAAC,WAAW,IACX,QAAQ,EAAE,CAAA,M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ype-works-dashboard {
17
9
  height: 100%;
18
10
  background: #f5f9fc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.153",
3
+ "version": "6.0.154",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",