@agilemotion/oui-react-js 1.0.0 → 1.2.0
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/dist/components/Tree.js
CHANGED
|
@@ -108,8 +108,8 @@ function TransitionComponent(props) {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
TransitionComponent.propTypes = {
|
|
111
|
-
/**
|
|
112
|
-
* Show the component; triggers the enter or exit states
|
|
111
|
+
/**
|
|
112
|
+
* Show the component; triggers the enter or exit states
|
|
113
113
|
*/
|
|
114
114
|
in: _propTypes.default.bool
|
|
115
115
|
};
|
|
@@ -219,7 +219,7 @@ var DocumentUpload = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.defau
|
|
|
219
219
|
backgroundRepeat: 'no-repeat',
|
|
220
220
|
backgroundSize: 'cover',
|
|
221
221
|
backgroundColor: 'transparent',
|
|
222
|
-
backgroundImage: !_Utils.default.isNull(viewerFile) ? "url(".concat(viewerFile.base64, ")") : !_Utils.default.isNull(props.config.dataService) ? "url(".concat(location + '/agility/app/files/get/file?fileId=' + (!_Utils.default.isNull(base.value) ? base.value.id : '-1') + '&fileService=' + props.config.dataService.serviceId + (!_Utils.default.isNull(defaultImage) ? '&defaultImage=' + defaultImage : '') + '&access_token=' + sessionStorage.getItem("accessToken") + '&idToken=' + sessionStorage.getItem("idToken"), ")") : "url(".concat(require('
|
|
222
|
+
backgroundImage: !_Utils.default.isNull(viewerFile) ? "url(".concat(viewerFile.base64, ")") : !_Utils.default.isNull(props.config.dataService) ? "url(".concat(location + '/agility/app/files/get/file?fileId=' + (!_Utils.default.isNull(base.value) ? base.value.id : '-1') + '&fileService=' + props.config.dataService.serviceId + (!_Utils.default.isNull(defaultImage) ? '&defaultImage=' + defaultImage : '') + '&access_token=' + sessionStorage.getItem("accessToken") + '&idToken=' + sessionStorage.getItem("idToken"), ")") : "url(".concat(require('./default-avatar.png'), ")")
|
|
223
223
|
}
|
|
224
224
|
}))) : /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("label", {
|
|
225
225
|
htmlFor: "contained-button-file"
|
|
Binary file
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.coll-panel-container {
|
|
2
|
-
font-family: sans-serif;
|
|
3
|
-
text-align: center;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.coll-panel-btn:focus {
|
|
7
|
-
outline: 0;
|
|
8
|
-
box-shadow: none;
|
|
9
|
-
}
|
|
1
|
+
.coll-panel-container {
|
|
2
|
+
font-family: sans-serif;
|
|
3
|
+
text-align: center;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.coll-panel-btn:focus {
|
|
7
|
+
outline: 0;
|
|
8
|
+
box-shadow: none;
|
|
9
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
.loaderModal {
|
|
2
|
-
display: block; /* Hidden by default */
|
|
3
|
-
position: fixed; /* Stay in place */
|
|
4
|
-
z-index: 1; /* Sit on top */
|
|
5
|
-
left: 0;
|
|
6
|
-
top: 0;
|
|
7
|
-
width: 100vw; /* Full width */
|
|
8
|
-
height: 100vh; /* Full height */
|
|
9
|
-
overflow: auto; /* Enable scroll if needed */
|
|
10
|
-
background-color: rgb(0,0,0); /* Fallback color */
|
|
11
|
-
background-color: rgba(0,0,0,0.1); /* Black w/ opacity */
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/* Modal Content/Box */
|
|
15
|
-
.modal-content {
|
|
16
|
-
background-color: transparent;
|
|
17
|
-
margin: 30% auto; /* 15% from the top and centered */
|
|
18
|
-
padding: 20px;
|
|
19
|
-
border: 1px solid #888;
|
|
20
|
-
width: 10%; /* Could be more or less, depending on screen size */
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* The Close Button */
|
|
24
|
-
.close {
|
|
25
|
-
color: #aaa;
|
|
26
|
-
float: right;
|
|
27
|
-
font-size: 28px;
|
|
28
|
-
font-weight: bold;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.close:hover,
|
|
32
|
-
.close:focus {
|
|
33
|
-
color: black;
|
|
34
|
-
text-decoration: none;
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
}
|
|
1
|
+
.loaderModal {
|
|
2
|
+
display: block; /* Hidden by default */
|
|
3
|
+
position: fixed; /* Stay in place */
|
|
4
|
+
z-index: 1; /* Sit on top */
|
|
5
|
+
left: 0;
|
|
6
|
+
top: 0;
|
|
7
|
+
width: 100vw; /* Full width */
|
|
8
|
+
height: 100vh; /* Full height */
|
|
9
|
+
overflow: auto; /* Enable scroll if needed */
|
|
10
|
+
background-color: rgb(0,0,0); /* Fallback color */
|
|
11
|
+
background-color: rgba(0,0,0,0.1); /* Black w/ opacity */
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Modal Content/Box */
|
|
15
|
+
.modal-content {
|
|
16
|
+
background-color: transparent;
|
|
17
|
+
margin: 30% auto; /* 15% from the top and centered */
|
|
18
|
+
padding: 20px;
|
|
19
|
+
border: 1px solid #888;
|
|
20
|
+
width: 10%; /* Could be more or less, depending on screen size */
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* The Close Button */
|
|
24
|
+
.close {
|
|
25
|
+
color: #aaa;
|
|
26
|
+
float: right;
|
|
27
|
+
font-size: 28px;
|
|
28
|
+
font-weight: bold;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.close:hover,
|
|
32
|
+
.close:focus {
|
|
33
|
+
color: black;
|
|
34
|
+
text-decoration: none;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agilemotion/oui-react-js",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"private": false,
|
|
3
|
+
"version": "1.2.0",
|
|
5
4
|
"babel": {
|
|
6
5
|
"presets": [
|
|
7
6
|
"@babel/preset-env",
|
|
@@ -13,6 +12,9 @@
|
|
|
13
12
|
]
|
|
14
13
|
]
|
|
15
14
|
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
16
18
|
"dependencies": {
|
|
17
19
|
"@date-io/date-fns": "^1.3.13",
|
|
18
20
|
"@material-ui/core": "^4.10.2",
|
|
@@ -52,12 +54,7 @@
|
|
|
52
54
|
"reactstrap": "^8.4.1",
|
|
53
55
|
"redux": "^4.0.5",
|
|
54
56
|
"redux-thunk": "^2.3.0",
|
|
55
|
-
"styled-components": "^5.1.0"
|
|
56
|
-
"webpack": "^4.28.3",
|
|
57
|
-
"@types/googlemaps": "3.39.3",
|
|
58
|
-
"@types/markerclustererplus": "2.1.33",
|
|
59
|
-
"eslint-plugin-flowtype": "3.13.0",
|
|
60
|
-
"typescript": "3.8.3"
|
|
57
|
+
"styled-components": "^5.1.0"
|
|
61
58
|
},
|
|
62
59
|
"devDependencies": {
|
|
63
60
|
"@babel/cli": "^7.12.1",
|
|
@@ -87,17 +84,5 @@
|
|
|
87
84
|
"@types/markerclustererplus": "2.1.33",
|
|
88
85
|
"eslint-plugin-flowtype": "3.13.0",
|
|
89
86
|
"typescript": "3.8.3"
|
|
90
|
-
}
|
|
91
|
-
"description": "This project is a react-js rendering engine for the Open UI configuration based UI specification",
|
|
92
|
-
"repository": {
|
|
93
|
-
"type": "git",
|
|
94
|
-
"url": "git+https://ashandla@bitbucket.org/ashandla/oui-react-js.git"
|
|
95
|
-
},
|
|
96
|
-
"author": "Amukelani Shandlale",
|
|
97
|
-
"license": "ISC",
|
|
98
|
-
"homepage": "https://bitbucket.org/ashandla/oui-react-js#readme",
|
|
99
|
-
"main": "dist/index.js",
|
|
100
|
-
"files": [
|
|
101
|
-
"dist"
|
|
102
|
-
]
|
|
87
|
+
}
|
|
103
88
|
}
|