@voplus/morpho-workspace 6.0.94 → 6.0.95

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ import { DefaultDocumentTypeMeta } from "@voplus/morpho-document";
3
3
  import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
4
4
  import { suspense } from "@voplus/morpho-ui/es/controls/Suspense";
5
5
  import { faColumns } from "@fortawesome/pro-solid-svg-icons";
6
- const DefaultView = lazy(() => import("../../modules/board/pages/BoardViewList"));
6
+ const DefaultView = lazy(() => import("../../modules/board/pages/BoardPage"));
7
7
  /** Meta information for Board document. */
8
8
  export class BoardTypeMeta extends DefaultDocumentTypeMeta {
9
9
  get name() {
@@ -1 +1 @@
1
- {"version":3,"file":"metas.js","sourceRoot":"","sources":["../../../src/data/board/metas.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,yCAAyC,CAAC,CAAC,CAAC;AAElF,2CAA2C;AAC3C,MAAM,OAAO,aAAc,SAAQ,uBAAuB;IAGzD,IAAW,IAAI;QACd,OAAO,aAAa,CAAC,QAAQ,CAAC;IAC/B,CAAC;IAEM,OAAO,CAAC,QAAmB;QACjC,OAAO,oBAAC,eAAe,IAAC,IAAI,EAAE,SAAS,GAAI,CAAC;IAC7C,CAAC;IAEM,SAAS,CAAC,QAAmB;QACnC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC5C,CAAC;IAEM,cAAc,CAAC,KAAqB;QAC1C,OAAO,QAAQ,CAAC,WAAW,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC;IAChD,CAAC;;AAhBa;;;;WAAW,OAAO;GAAC"}
1
+ {"version":3,"file":"metas.js","sourceRoot":"","sources":["../../../src/data/board/metas.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,qCAAqC,CAAC,CAAC,CAAC;AAE9E,2CAA2C;AAC3C,MAAM,OAAO,aAAc,SAAQ,uBAAuB;IAGzD,IAAW,IAAI;QACd,OAAO,aAAa,CAAC,QAAQ,CAAC;IAC/B,CAAC;IAEM,OAAO,CAAC,QAAmB;QACjC,OAAO,oBAAC,eAAe,IAAC,IAAI,EAAE,SAAS,GAAI,CAAC;IAC7C,CAAC;IAEM,SAAS,CAAC,QAAmB;QACnC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC5C,CAAC;IAEM,cAAc,CAAC,KAAqB;QAC1C,OAAO,QAAQ,CAAC,WAAW,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC;IAChD,CAAC;;AAhBa;;;;WAAW,OAAO;GAAC"}
@@ -3,7 +3,7 @@ import { Route, Routes } from "react-router-dom";
3
3
  import { BaseRoutes } from "@voplus/morpho-data";
4
4
  import { DocumentRoute } from "@voplus/morpho-document/es/routes";
5
5
  import { Skeleton } from "antd";
6
- const BoardViewList = lazy(() => import("./pages/BoardViewList"));
6
+ const BoardPage = lazy(() => import("./pages/BoardPage"));
7
7
  const BoardRoutes = () => {
8
8
  return (React.createElement(Suspense, { fallback: React.createElement(Skeleton, null) },
9
9
  React.createElement(Routes, null,
@@ -14,7 +14,7 @@ const RouteList = {
14
14
  route: "/boards/:id",
15
15
  tabPattern: RegExp("/boards/[^/]+"),
16
16
  getUrl: (id) => `/boards/${id}`,
17
- component: React.createElement(BoardViewList, null),
17
+ component: React.createElement(BoardPage, null),
18
18
  },
19
19
  Board: {
20
20
  getUrl: DocumentRoute,
@@ -1 +1 @@
1
- {"version":3,"file":"BoardRouets.js","sourceRoot":"","sources":["../../../src/modules/board/BoardRouets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAEhC,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAElE,MAAM,WAAW,GAAG,GAAG,EAAE;IACxB,OAAO,CACN,oBAAC,QAAQ,IAAC,QAAQ,EAAE,oBAAC,QAAQ,OAAG;QAC/B,oBAAC,MAAM;YACN,oBAAC,KAAK,IAAC,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,SAAS,GAAI,CAC1E,CACC,CACX,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG;IACjB,SAAS,EAAE;QACV,KAAK,EAAE,aAAa;QACpB,UAAU,EAAE,MAAM,CAAC,eAAe,CAAC;QACnC,MAAM,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,WAAW,EAAE,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AU,EAAE,EAAE,CAAC,WAAW,EAAE,EAAE;QACvC,SAAS,EAAE,oBAAC,SAAS,OAAG;KACxB;IACD,KAAK,EAAE;QACN,MAAM,EAAE,aAAa;KACrB;IAED,SAAS,EAAE,GAAG,EAAE;QACf,UAAU,CAAC,MAAM,CAAC,IAAI,CAAC;YACtB,IAAI,EAAE,aAAa;YACnB,cAAc,EAAE,SAAS,CAAC,SAAS,CAAC,UAAU;YAC9C,SAAS,EAAE,oBAAC,WAAW,OAAG;SAC1B,CAAC,CAAC;IACJ,CAAC;CACD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -6,7 +6,6 @@ import { FilterOptionsContext, ListDataContext, useCreateListDataState, } from "
6
6
  import React, { useEffect, useState } from "react";
7
7
  import { useLayout } from "@voplus/morpho-data";
8
8
  import { Swiper, SwiperSlide } from "swiper/react";
9
- import NewBoardColumnDialog from "../NewBoardColumnDialog";
10
9
  import BoardColumn from "../BoardColumn";
11
10
  import FilterView from "@voplus/morpho-ui/es/controls/FilterView";
12
11
  import { Observer } from "mobx-react-lite";
@@ -76,10 +75,7 @@ const Board = (props) => {
76
75
  React.createElement(ListDataContext.Provider, { value: list },
77
76
  React.createElement("div", { className: styles["board-context"] },
78
77
  React.createElement("div", { className: "board-list" },
79
- React.createElement(DragDropContext, { onDragEnd: (result) => state.onDragEnd(result) }, board),
80
- data.status !== "Readonly" && (React.createElement("div", { className: "add-board" },
81
- React.createElement("div", { onClick: () => runInAction(() => (state.addBoardColumnAble = true)) }, "+ ADD")))),
82
- state.addBoardColumnAble && (React.createElement(NewBoardColumnDialog, { parentId: props.parentId, onCancel: () => (state.addBoardColumnAble = false) })))))));
78
+ React.createElement(DragDropContext, { onDragEnd: (result) => state.onDragEnd(result) }, board)))))));
83
79
  /** BoardColumn filters name */
84
80
  function onSearch(value) {
85
81
  list.triggerSearch(value);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/index.tsx"],"names":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G;oBAC/B,oBAAC,oBAAoB,IAAC,GAAG,EAAC,sBAAsB,GAAG;iBACnD,EACD,SAAS,EAAC,gBAAgB,GACzB,CAC6B,CAChC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/index.tsx"],"names":[],"mappings":"AAAA,OAAO,YAAY,CAAC;AACpB,OAAO,EACN,qBAAqB,EACrB,iBAAiB,EACjB,QAAQ,EACR,wBAAwB,EACxB,mBAAmB,GACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACN,gBAAgB,EAChB,oBAAoB,EACpB,UAAU,GACV,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EACN,oBAAoB,EACpB,eAAe,EACf,sBAAsB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAkB,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEnD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,OAAO,MAAM,uCAAuC,CAAC;AAC5D,OAAO,WAAW,MAAM,sEAAsE,CAAC;AAC/F,OAAO,gBAAgB,MAAM,2EAA2E,CAAC;AACzG,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,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 export declare class State {
22
22
  reload: boolean;
23
23
  /** add BoardColumn save loading */
24
24
  addLoading: boolean;
25
- /** add BoardColumn */
26
- addBoardColumnAble: boolean;
27
25
  /** move 原数据 */
28
26
  source: any;
29
27
  /** move 目标数据 */
@@ -60,13 +60,6 @@ export class State {
60
60
  writable: true,
61
61
  value: false
62
62
  });
63
- /** add BoardColumn */
64
- Object.defineProperty(this, "addBoardColumnAble", {
65
- enumerable: true,
66
- configurable: true,
67
- writable: true,
68
- value: false
69
- });
70
63
  /** move 原数据 */
71
64
  Object.defineProperty(this, "source", {
72
65
  enumerable: true,
@@ -284,9 +277,6 @@ __decorate([
284
277
  __decorate([
285
278
  observable
286
279
  ], State.prototype, "addLoading", void 0);
287
- __decorate([
288
- observable
289
- ], State.prototype, "addBoardColumnAble", void 0);
290
280
  __decorate([
291
281
  observable
292
282
  ], State.prototype, "source", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/state.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGpE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAW/B,MAAM,OAAO,KAAK;IAEjB,YAA2B,MAAwB,EAAU,SAAwB;QAAlE;;;;mBAAQ,MAAM;WAAkB;QAAE;;;;mBAAQ,SAAS;WAAe;QAD9E;;;;;WAAsB;QAIV;;;;mBAA+B,EAAE;WAAC;QAClC;;;;;WAAgC;QACnD,gBAAgB;QACG;;;;mBAAmB,EAAE;WAAC;QACzC,2BAA2B;QACR;;;;mBAAO,EAAE;WAAC;QACV;;;;mBAAS,KAAK;WAAC;QAClC,mCAAmC;QAChB;;;;mBAAa,KAAK;WAAC;QACtC,sBAAsB;QACH;;;;mBAAqB,KAAK;WAAC;QAC9C,eAAe;QACI;;;;;WAAY;QAC/B,gBAAgB;QACG;;;;;WAAiB;QACpC,w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AAM;mDAOL;AAGK;IADN,MAAM;mDAKL;AAGK;IADN,MAAM;6DAQL;AAIK;IADN,MAAM;qCAWL;AAIW;IADZ,MAAM;sCA6DN;AAGc;IAAd,MAAM;kCAON;AAOD;IADC,QAAQ;oCAQR"}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/Board/state.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGpE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAW/B,MAAM,OAAO,KAAK;IAEjB,YAA2B,MAAwB,EAAU,SAAwB;QAAlE;;;;mBAAQ,MAAM;WAAkB;QAAE;;;;mBAAQ,SAAS;WAAe;QAD9E;;;;;WAAsB;QAIV;;;;mBAA+B,EAAE;WAAC;QAClC;;;;;WAAgC;QACnD,gBAAgB;QACG;;;;mBAAmB,EAAE;WAAC;QACzC,2BAA2B;QACR;;;;mBAAO,EAAE;WAAC;QACV;;;;mBAAS,KAAK;WAAC;QAClC,mCAAmC;QAChB;;;;mBAAa,KAAK;WAAC;QACtC,eAAe;QACI;;;;;WAAY;QAC/B,gBAAgB;QACG;;;;;WAAiB;QACpC,wCAAwC;QACrB;;;;mBAAY;gBAC9B;oBACC,KAAK,EAAE,SAAS;oBAChB,UAAU,EAAE,SAAS;iBACrB;gBACD;oBACC,KAAK,EAAE,SAAS;oBAChB,UAAU,EAAE,SAAS;iBACrB;gBACD;oBACC,KAAK,EAAE,SAAS;oBAChB,UAAU,EAAE,SAAS;iBACrB;gBACD;oBACC,KAAK,EAAE,SAAS;oBAChB,UAAU,EAAE,SAAS;iBACrB;gBACD;oBACC,KAAK,EAAE,SAAS;oBAChB,UAAU,EAAE,SAAS;iBACrB;aACD;WAAC;QACF,+BAA+B;QACZ;;;;mBAAa,EAAE;WAAC;QAChB;;;;mBAA8B,EAAE;WAAC;QACpD,2EAA2E;QACxD;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jB,IAAI,OAAO,GAAG,EAAE,CAAC;QACjB,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACrB,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QAC7F,CAAC;QACD,OAAO,GAAG,CAAC,GAAG,OAAO,EAAE,GAAG,IAAI,CAAC,UAAW,CAAC,CAAC;QAC5C,OAAO,OAAO,CAAC;IAChB,CAAC;CACD;AAzKmB;IAAlB,UAAU;2CAA0C;AAClC;IAAlB,UAAU;8CAAwC;AAEhC;IAAlB,UAAU;kCAA8B;AAEtB;IAAlB,UAAU;mCAAkB;AACV;IAAlB,UAAU;qCAAuB;AAEf;IAAlB,UAAU;yCAA2B;AAEnB;IAAlB,UAAU;qCAAoB;AAEZ;IAAlB,UAAU;0CAAyB;AAEjB;IAAlB,UAAU;wCAqBT;AAEiB;IAAlB,UAAU;yCAAwB;AAChB;IAAlB,UAAU;yCAAyC;AAEjC;IAAlB,UAAU;0CAA4B;AAGhC;IADN,MAAM;mDAOL;AAGK;IADN,MAAM;mDAKL;AAGK;IADN,MAAM;6DAQL;AAIK;IADN,MAAM;qCAWL;AAIW;IADZ,MAAM;sCA6DN;AAGc;IAAd,MAAM;kCAON;AAOD;IADC,QAAQ;oCAQR"}
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import { DocumentPropertiesName } from "@voplus/morpho-document/es/components/DocumentProperties";
3
+ declare const BoardProperties: (props: {
4
+ id: string;
5
+ headerVisible?: boolean;
6
+ documentTitle?: string;
7
+ documentProperties?: {
8
+ name: DocumentPropertiesName;
9
+ visible?: boolean;
10
+ }[];
11
+ }) => React.JSX.Element;
12
+ export default BoardProperties;
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import { observe } from "@voplus/morpho-ui";
3
+ import { Scrollbars } from "react-custom-scrollbars-2";
4
+ import DocumentProperties from "@voplus/morpho-document/es/components/DocumentProperties";
5
+ import DocumentPanelHeader from "@voplus/morpho-document/es/components/DocumentPanelHeader";
6
+ const BoardProperties = (props) => {
7
+ const { id, headerVisible, documentTitle, documentProperties } = props;
8
+ return observe(() => (React.createElement("div", { className: "properties-list" },
9
+ headerVisible && React.createElement(DocumentPanelHeader, { id: id }),
10
+ React.createElement(Scrollbars, { autoHide: true },
11
+ React.createElement(DocumentProperties, { id: id, title: documentTitle !== null && documentTitle !== void 0 ? documentTitle : "Document Properties", customProperties: documentProperties })))));
12
+ };
13
+ export default BoardProperties;
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/BoardProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,kBAEN,MAAM,0DAA0D,CAAC;AAClE,OAAO,mBAAmB,MAAM,2DAA2D,CAAC;AAE5F,MAAM,eAAe,GAAG,CAAC,KAQxB,EAAE,EAAE;IACJ,MAAM,EAAE,EAAE,EAAE,aAAa,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IAEvE,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,iBAAiB;QAC9B,aAAa,IAAI,oBAAC,mBAAmB,IAAC,EAAE,EAAE,EAAE,GAAI;QACjD,oBAAC,UAAU,IAAC,QAAQ;YACnB,oBAAC,kBAAkB,IAClB,EAAE,EAAE,EAAE,EACN,KAAK,EAAE,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,qBAAqB,EAC7C,gBAAgB,EAAE,kBAAkB,GACnC,CACU,CACR,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const BoardTabs: (props: {
4
+ id: string;
5
+ }) => React.JSX.Element;
6
+ export default BoardTabs;
@@ -0,0 +1,49 @@
1
+ import React, { useState } from "react";
2
+ import ActivityLog from "@voplus/morpho-org/es/components/ActivityLog/ActivityLog2";
3
+ import BoardViewList from "../../pages/BoardViewList";
4
+ import DocumentTabs from "@voplus/morpho-document/es/components/DocumentTabs";
5
+ import Links from "@voplus/morpho-document/es/components/Links";
6
+ import { faEllipsisVertical } from "@fortawesome/pro-solid-svg-icons";
7
+ import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
8
+ import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
9
+ import NewBoardColumnDialog from "../NewBoardColumnDialog";
10
+ import BoardProperties from "../BoardProperties";
11
+ import { useBoard } from "../../../../data/board";
12
+ import { Button } from "antd";
13
+ import { observe } from "@voplus/morpho-ui";
14
+ import "./index.less";
15
+ const BoardTabs = (props) => {
16
+ const { id } = props;
17
+ const [activeKey, setActiveKey] = useState();
18
+ const [addBoardColumnAble, setAddBoardColumnAble] = useState(false);
19
+ const board = useBoard(id);
20
+ const items = [
21
+ {
22
+ key: "Board",
23
+ label: "Board",
24
+ children: React.createElement(BoardViewList, { id: id }),
25
+ },
26
+ {
27
+ key: "Properties",
28
+ label: "Properties",
29
+ children: React.createElement(BoardProperties, { id: id }),
30
+ },
31
+ {
32
+ key: "Activities",
33
+ label: "Activities",
34
+ children: React.createElement(React.Fragment, null, activeKey === "Activities" ? React.createElement(ActivityLog, { id: id, title: " " }) : null),
35
+ },
36
+ {
37
+ key: "Links",
38
+ label: "Links",
39
+ children: React.createElement(Links, { id: id, isTitle: false }),
40
+ },
41
+ ];
42
+ return observe(() => (React.createElement(React.Fragment, null,
43
+ React.createElement(DocumentTabs, { id: id, active: "Board", tabItems: items, onChange: (key) => setActiveKey(key), tabBarExtraContent: React.createElement("div", null,
44
+ activeKey === "Board" && board.status !== "Readonly" && (React.createElement(Button, { type: "link", className: "board-tab-create", onClick: () => setAddBoardColumnAble(true) }, "+ Create New Status")),
45
+ React.createElement(ToolBar, { id: id, moreProps: { icon: React.createElement(FAIcon, { icon: faEllipsisVertical }) } })) }),
46
+ addBoardColumnAble && (React.createElement(NewBoardColumnDialog, { parentId: id, onCancel: () => setAddBoardColumnAble(false) })))));
47
+ };
48
+ export default BoardTabs;
49
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/BoardTabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,WAAW,MAAM,2DAA2D,CAAC;AACpF,OAAO,aAAa,MAAM,2BAA2B,CAAC;AACtD,OAAO,YAAY,MAAM,oDAAoD,CAAC;AAC9E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,oBAAoB,MAAM,yBAAyB,CAAC;AAC3D,OAAO,eAAe,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,cAAc,CAAC;AAEtB,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC3C,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,G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0BAGlC,CACT;gBACD,oBAAC,OAAO,IAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,kBAAkB,GAAI,EAAE,GAAI,CACzE,GAEN;QACD,kBAAkB,IAAI,CACtB,oBAAC,oBAAoB,IAAC,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,qBAAqB,CAAC,KAAK,CAAC,GAAI,CACpF,CACC,CACH,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,5 @@
1
+ :global {
2
+ .board-tab-create {
3
+ color: #5d5d5d;
4
+ }
5
+ }
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import "./index.less";
3
+ declare const BoardPage: (props: {
4
+ id?: string;
5
+ }) => React.JSX.Element;
6
+ export default BoardPage;
@@ -0,0 +1,24 @@
1
+ import React, { useEffect } from "react";
2
+ import BoardTabs from "../../components/BoardTabs";
3
+ import { useBoard } from "../../../../data/board";
4
+ import PageHeaderBoard from "@voplus/morpho-ui/es/components/layout/headers/PageHeaderBoard";
5
+ import { observe } from "@voplus/morpho-ui";
6
+ import { useParams } from "react-router-dom";
7
+ import { useTabItem } from "@voplus/morpho-data";
8
+ import { runInAction } from "mobx";
9
+ import "./index.less";
10
+ const BoardPage = (props) => {
11
+ const params = useParams();
12
+ const id = props.id || params.id || "";
13
+ const board = useBoard(id, { includes: "path" });
14
+ /** set tab title */
15
+ const tab = useTabItem();
16
+ useEffect(() => {
17
+ runInAction(() => { var _a; return (tab.title = (_a = board.name) !== null && _a !== void 0 ? _a : "Decument"); });
18
+ }, []);
19
+ return observe(() => (React.createElement("div", { className: "board-page" },
20
+ React.createElement(PageHeaderBoard, { title: board.name, breadCrumbsPathProps: { current: { id: id, name: board.name }, path: board.path } }),
21
+ React.createElement(BoardTabs, { id: id }))));
22
+ };
23
+ export default BoardPage;
24
+ //# sourceMappingURL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AE,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,GAChF;QACF,oBAAC,SAAS,IAAC,EAAE,EAAE,EAAE,GAAI,CAChB,CACN,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,10 @@
1
+ :global {
2
+ .board-page {
3
+ height: 100%;
4
+ display: flex;
5
+ flex-direction: column;
6
+ .ant-tabs {
7
+ height: 100%;
8
+ }
9
+ }
10
+ }
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  /** The Board Page component with router parameters support. */
3
3
  declare const BoardViewList: (props: {
4
- id?: string;
4
+ id: string;
5
5
  }) => React.JSX.Element;
6
6
  export default BoardViewList;
@@ -1,42 +1,22 @@
1
- import { Archive, Sidebar } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
2
- import React, { useEffect, useMemo, useState } from "react";
1
+ import React, { useMemo, useState } from "react";
3
2
  import { ViewContext, ViewContextData, } from "@voplus/morpho-document-core/es/data/context/ViewContext";
4
3
  import { observe, useAsideContentContext } from "@voplus/morpho-ui";
5
4
  import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
6
5
  import Board from "../../components/Board";
7
- import BoardPropertiesView from "../../components/BoardPropertiesView";
8
- import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
9
6
  import NewColumnDocumentForm from "../../components/NewColumnDocumentForm";
10
7
  import { State } from "./state";
11
- import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
12
- import { runInAction } from "mobx";
13
8
  import styles from "./index.less";
14
9
  import { useBoard } from "../../../../data/board";
15
10
  import { useFrame } from "@voplus/morpho-document/es/components/ViewFrame/ViewFrameContext";
16
- import { useParams } from "react-router-dom";
17
- import { useTabItem } from "@voplus/morpho-data";
18
11
  /** The Board Page component with router parameters support. */
19
12
  const BoardViewList = (props) => {
20
- const params = useParams();
21
- const id = props.id || params.id || "";
13
+ const { id } = props;
22
14
  const frame = useFrame();
23
15
  const view = useMemo(() => new ViewContextData("PropertiesView"), []);
24
16
  const [asideContext] = useState(frame ? useAsideContentContext() : AsideContent.createContext());
25
17
  const [state] = useState(new State());
26
18
  state.board = useBoard(id);
27
- /** set tab title */
28
- const tab = useTabItem();
29
- useEffect(() => {
30
- runInAction(() => { var _a; return (tab.title = (_a = state.board.name) !== null && _a !== void 0 ? _a : "Decument"); });
31
- }, []);
32
- const AsideElement = React.createElement(BoardPropertiesView, { id: id });
33
19
  const Content = observe(() => (React.createElement("div", { className: "vo-layout-main" },
34
- React.createElement(DocumentHeader, { id: id, size: "h3", quickVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, tools: React.createElement("div", { className: "tools-bar" },
35
- React.createElement(ToolBar, { id: id },
36
- React.createElement(Sidebar, { action: () => runInAction(() => (asideContext === null || asideContext === void 0 ? void 0 : asideContext.asideContent)
37
- ? asideContext.closeAside()
38
- : asideContext === null || asideContext === void 0 ? void 0 : asideContext.openAside(AsideElement, { span: 12 })) }),
39
- React.createElement(Archive, null))), descriptionVisible: false }),
40
20
  React.createElement(Board, { parentId: id, onAdd: onAddColumn }))));
41
21
  return observe(() => (React.createElement("div", { className: styles["vo-layout"] },
42
22
  React.createElement(ViewContext.Provider, { value: view }, frame ? Content : React.createElement(AsideContent, { context: asideContext }, Content)))));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/pages/BoardViewList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EACN,WAAW,EACX,eAAe,GACf,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM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EAChB,QAAQ,EAAE,QAAQ,GACjB,EACF;YACC,IAAI,EAAE,CAAC;SACP,CACD,CAAC;IACH,CAAC;IAED,SAAS,QAAQ;QAChB,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,UAAU,EAAE,CAAC;IAC5B,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.94",
3
+ "version": "6.0.95",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",