@voplus/morpho-document 1.4.129 → 1.4.131

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.
@@ -1,9 +1,8 @@
1
1
  import React from "react";
2
2
  import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
3
- import { PlusOutlined } from "@ant-design/icons";
4
3
  import { Scrollbars } from "react-custom-scrollbars";
5
4
  import { Tooltip } from "@voplus/antd";
6
- import { faTimes } from "@fortawesome/pro-light-svg-icons";
5
+ import { faTimes, faPlus } from "@fortawesome/pro-light-svg-icons";
7
6
  import styles from "./index.less";
8
7
  const AddFormView = (props) => {
9
8
  const addFormElement = (React.createElement("div", { className: styles["add-form-element"] },
@@ -15,7 +14,7 @@ const AddFormView = (props) => {
15
14
  React.createElement(Scrollbars, { autoHide: true }, props.children))));
16
15
  return (React.createElement(Tooltip, { title: "AddForm" },
17
16
  React.createElement("span", { className: styles["plus-outlined-icon"], onClick: () => { var _a; return (_a = props.onAdd) === null || _a === void 0 ? void 0 : _a.call(props, addFormElement); } },
18
- React.createElement(PlusOutlined, null))));
17
+ React.createElement(FAIcon, { icon: faPlus }))));
19
18
  };
20
19
  export default AddFormView;
21
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/AddFormView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,MAAM,WAAW,GAAG,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AAK,SAAS,EAAE,MAAM,CAAC,kBAAkB,CAAC;QACzC,6BAAK,SAAS,EAAC,iBAAiB;YAC/B,kCAAO,KAAK,CAAC,KAAK,CAAQ;YAC1B,8BAAM,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,SAAS,EAAC,YAAY;gBACnD,oBAAC,MAAM,IAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,IAAI,EAAC,KAAK,EAAC,MAAM,GAAG,CAC1C,CACF;QACN,6BAAK,SAAS,EAAC,eAAe;YAC7B,oBAAC,UAAU,IAAC,QAAQ,UAAE,KAAK,CAAC,QAAQ,CAAc,CAC7C,CACD,CACN,CAAC;IAEF,OAAO,CACN,oBAAC,OAAO,IAAC,KAAK,EAAC,SAAS;QACvB,8BAAM,SAAS,EAAE,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,WAAC,OAAA,MAAA,KAAK,CAAC,KAAK,+CAAX,KAAK,EAAS,cAAc,CAAC,CAAA,EAAA;YAC1F,oBAAC,MAAM,IAAC,IAAI,EAAE,MAAM,GAAI,CAClB,CACE,CACV,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -2,10 +2,12 @@
2
2
 
3
3
  .quickView-modal {
4
4
  height: calc(100% - 200px);
5
+
5
6
  :global {
6
7
  .ant-modal-content {
7
8
  height: 100%;
8
9
  }
10
+
9
11
  .ant-modal-body {
10
12
  display: flex;
11
13
  height: 100%;
@@ -13,26 +15,32 @@
13
15
  }
14
16
  }
15
17
  }
18
+
16
19
  .quickView-aside {
17
20
  width: 100%;
21
+
18
22
  :global {
19
23
  .document-header {
20
24
  .document-header-default {
21
25
  display: flex;
22
26
  padding: 20px;
23
27
  }
28
+
24
29
  .tools-bar {
25
30
  align-self: flex-end;
26
31
  }
27
32
  }
33
+
28
34
  .quickView-left {
29
35
  flex: 1;
30
36
  display: flex;
31
37
  flex-direction: column;
38
+
32
39
  .document-header {
33
40
  // padding: 10px 15px;
34
41
  position: relative;
35
42
  border-bottom: solid 1px #eeeeee;
43
+
36
44
  .close-icon {
37
45
  position: absolute;
38
46
  right: 0;
@@ -42,23 +50,35 @@
42
50
  padding: 10px 20px 0;
43
51
  }
44
52
  }
53
+
45
54
  .quickView-contents {
46
55
  flex: 1;
47
56
  display: flex;
48
57
  flex-direction: column;
49
58
  overflow: hidden;
59
+
50
60
  .quickView-subTab {
51
61
  display: inline-block;
52
62
  text-align: right;
53
63
  padding: 10px 20px;
64
+
54
65
  .ant-btn {
55
66
  margin-left: 10px;
56
67
  }
57
68
  }
69
+
58
70
  .quickView-description {
59
71
  padding: 10px 15px;
60
72
  }
61
73
  }
62
74
  }
75
+
76
+ .frame-view___o5TgK {
77
+ .frame-header {
78
+ position: absolute;
79
+ top: 0;
80
+ background-color: #fff;
81
+ }
82
+ }
63
83
  }
64
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voplus/morpho-document",
3
- "version": "1.4.129",
3
+ "version": "1.4.131",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://voplus.visualstudio.com/morpho-document/_git/morpho-document"
@@ -15,7 +15,7 @@
15
15
  "author": "ALEX KWOK",
16
16
  "license": "SEE LICENSE IN LICENSE",
17
17
  "scripts": {
18
- "copy-less": "cpx src/**/*.less lib && cpx src/**/*.less es",
18
+ "copy-less": "cpx src/**/*.less lib && cpx src/**/*.less es && cpx src/**/*.css es",
19
19
  "clean": "del-cli es && jest --clearCache",
20
20
  "storybook": "start-storybook -p 9001 -c .storybook -s ./public",
21
21
  "lint": "npx eslint -c .eslintrc.js --ext .ts --ext .tsx src",
@@ -46,7 +46,8 @@
46
46
  "@types/react-signature-canvas": "^1.0.1",
47
47
  "@types/reactour": "^1.18.1",
48
48
  "@voplus/morpho-client-test": "1.x",
49
- "@voplus/morpho-storybook": "1.x",
49
+ "@voplus/morpho-build": "3.x",
50
+ "@voplus/morpho-storybook": "2.x",
50
51
  "@voplus/morpho-test": "1.x",
51
52
  "react": "17.x",
52
53
  "react-dom": "17.x"
@@ -58,6 +59,7 @@
58
59
  },
59
60
  "sideEffects": [
60
61
  "*.less",
62
+ "*.css",
61
63
  "./src/**/PDFViewer/index.tsx"
62
64
  ]
63
65
  }