@voplus/morpho-workspace 6.0.146 → 6.0.147

Sign up to get free protection for your applications and to get access to all the features.
@@ -99,11 +99,17 @@ const SubDocumentList = (props) => {
99
99
  });
100
100
  return observe(() => (React.createElement("div", { className: styles["link-list-page"] },
101
101
  React.createElement(Upload.Dragger, { className: classnames("link-upload", !disabled && "doc-drag-hover"), disabled: disabled, customRequest: (option) => customRequest(option), showUploadList: false, openFileDialogOnClick: false, multiple: true },
102
- React.createElement(InfiniteScrollView, { empty: false, loading: docList.loading, hasMore: docList.hasMore, loadMore: () => docList.triggerNextPage() }, docList.data.map((item, index) => (React.createElement(Draggable, { key: item.id, draggableId: item.id, index: index }, (dragProvided, dragSnapshot) => (React.createElement("div", { className: "link-container", isdragging: dragSnapshot.isDragging.toString(), isgroupedover: Boolean(dragSnapshot.combineTargetFor).toString(), ref: dragProvided.innerRef, ...dragProvided.draggableProps, ...dragProvided.dragHandleProps, "data-is-dragging": dragSnapshot.isDragging, "data-testid": props.id, "data-index": index,
103
- // avoid mouse down propagate to panable
104
- onMouseDown: (e) => e.stopPropagation() },
105
- React.createElement("div", { className: "link-content" },
106
- React.createElement(DocumentCard, { id: item.id, onChangeDisabled: onChangeDisabled }))))))))))));
102
+ React.createElement(InfiniteScrollView, { empty: false, loading: docList.loading, hasMore: docList.hasMore, loadMore: () => docList.triggerNextPage() },
103
+ docList.data.map((item, index) => (React.createElement(Draggable, { key: item.id, draggableId: item.id, index: index }, (dragProvided, dragSnapshot) => (React.createElement("div", { className: "link-container", isdragging: dragSnapshot.isDragging.toString(), isgroupedover: Boolean(dragSnapshot.combineTargetFor).toString(), ref: dragProvided.innerRef, ...dragProvided.draggableProps, ...dragProvided.dragHandleProps, "data-is-dragging": dragSnapshot.isDragging, "data-testid": props.id, "data-index": index,
104
+ // avoid mouse down propagate to panable
105
+ onMouseDown: (e) => e.stopPropagation() },
106
+ React.createElement("div", { className: "link-content" },
107
+ React.createElement(DocumentCard, { id: item.id, onChangeDisabled: onChangeDisabled }))))))),
108
+ !docList.data.length && (React.createElement("div", { className: "board-empty" },
109
+ React.createElement("img", { className: "board-empty-img", src: "/img/board/empty.png" }),
110
+ React.createElement("div", { className: "title" }, "New Item"),
111
+ React.createElement("div", { className: "info" }, "Involves creating and assigning a new task within the project management system."),
112
+ React.createElement("div", { className: "new-btn" }, "+ Add New Item"))))))));
107
113
  /**change disabled Upload function*/
108
114
  function onChangeDisabled(newDisabled) {
109
115
  console.log("onChangeDisabled", newDisabled);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/SubDocumentList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGN,qBAAqB,EACrB,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,GAChB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,EAAwB,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEvF,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,kBAAkB,MAAM,kDAAkD,CAAC;AAClF,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACnC,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,eAAe,GAAG,CAAC,KAA2B,EAAE,EAAE;;IACvD,MAAM,IAAI,GAAG,Y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EAAE,CAAC;gBACtD,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC;gBACtC,KAAK,CAAC,KAAK,EAAE,CAAC;gBACd,KAAK,CAAC,cAAe,CAAC,OAAO,EAAE,CAAC,CAAC;YAClC,CAAC;QACF,CAAC;QAED,IAAI,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,QAAQ,MAAK,KAAK,CAAC,EAAE,EAAE,CAAC;YACxC,MAAM,GAAG,GAAG;gBACX,EAAE,EAAE,WAAW,CAAC,EAAE;aAClB,CAAC;YACF,OAAO,CAAC,MAAM,CAAC,GAAgB,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;YACpD,KAAK,CAAC,KAAK,EAAE,CAAC;YACd,KAAK,CAAC,cAAe,CAAC,OAAO,EAAE,CAAC,CAAC;QAClC,CAAC;QACD;wEACgE;QAChE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;QACtB,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC;QAEhC,MAAM,GAAG,IAAI,CAAC;QACd,WAAW,GAAG,IAAI,CAAC;IACpB,CAAC;IAED,kCAAkC;IAClC,SAAS,OAAO;QACf,MAAM,GAAG,GAAa,EAAE,CAAC;QACzB,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACxC,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IAC7C,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/board/components/SubDocumentList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGN,qBAAqB,EACrB,gBAAgB,EAChB,YAAY,EACZ,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CAAC,OAAO,EAAE,CAAC,CAAC;YAClC,CAAC;QACF,CAAC;QAED,IAAI,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,QAAQ,MAAK,KAAK,CAAC,EAAE,EAAE,CAAC;YACxC,MAAM,GAAG,GAAG;gBACX,EAAE,EAAE,WAAW,CAAC,EAAE;aAClB,CAAC;YACF,OAAO,CAAC,MAAM,CAAC,GAAgB,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;YACpD,KAAK,CAAC,KAAK,EAAE,CAAC;YACd,KAAK,CAAC,cAAe,CAAC,OAAO,EAAE,CAAC,CAAC;QAClC,CAAC;QACD;wEACgE;QAChE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;QACtB,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC;QAEhC,MAAM,GAAG,IAAI,CAAC;QACd,WAAW,GAAG,IAAI,CAAC;IACpB,CAAC;IAED,kCAAkC;IAClC,SAAS,OAAO;QACf,MAAM,GAAG,GAAa,EAAE,CAAC;QACzB,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACxC,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IAC7C,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC,eAAe,CAAC,CAAC"}
@@ -21,6 +21,32 @@
21
21
  display: block;
22
22
  height: 100%;
23
23
  }
24
+ .board-empty {
25
+ text-align: center;
26
+ padding-top: 45px;
27
+ .title {
28
+ color: #5d5d5d;
29
+ font-weight: bold;
30
+ }
31
+ .info {
32
+ font-size: 12px;
33
+ color: #868686;
34
+ padding: 0 38px;
35
+ }
36
+ .board-empty-img {
37
+ width: 154px;
38
+ margin: 0 auto;
39
+ }
40
+ .new-btn {
41
+ height: 30px;
42
+ line-height: 30px;
43
+ font-weight: 500;
44
+ color: #868686;
45
+ background: #ffffff;
46
+ border-radius: 5px;
47
+ margin-top: 12px;
48
+ }
49
+ }
24
50
  }
25
51
  .list-loading {
26
52
  text-align: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-workspace",
3
- "version": "6.0.146",
3
+ "version": "6.0.147",
4
4
  "description": "morpho workspace module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,7 +20,7 @@
20
20
  "copy-less-mac": "cpx 'src/**/*.less' lib && cpx 'src/**/*.less' es && cpx 'src/**/*.css' es",
21
21
  "copy-css-mac": "cpx 'src/**/*.css' lib && cpx 'src/**/*.css' es",
22
22
  "clean": "del-cli es && jest --clearCache",
23
- "storybook": "sb dev -p 9001 -c .storybook -s ./public",
23
+ "storybook": "sb dev -p 9001 -c .storybook -s ../public",
24
24
  "lint": "npx eslint -c .eslintrc.js --ext .ts --ext .tsx src",
25
25
  "build": "npm run clean && tsc -p tsconfig.prod.json && npm run copy-less && npm run copy-css",
26
26
  "build:mac": "npm run clean && tsc -p tsconfig.prod.json && npm run copy-less-mac && npm run copy-css-mac",