@agilemotion/oui-react-js 1.2.2 → 1.2.4
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/README.md +1623 -0
- package/dist/components/Tree.js +2 -2
- package/dist/components/form/UploadField.js +1 -1
- package/dist/components/layout/CollapsiblePanel.css +9 -9
- package/dist/components/loader.css +36 -36
- package/dist/components/navbars/HomeNavbar.js +1 -1
- package/gulpfile.js +77 -0
- package/package.json +20 -9
- package/dist/components/form/default-avatar.png +0 -0
- package/dist/components/navbars/default-avatar.png +0 -0
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('../../../assets/img/default-avatar.png'), ")")
|
|
223
223
|
}
|
|
224
224
|
}))) : /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("label", {
|
|
225
225
|
htmlFor: "contained-button-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
|
+
}
|
|
@@ -120,7 +120,7 @@ var HomeNavbar = /*#__PURE__*/function (_React$Component) {
|
|
|
120
120
|
collapseOpen: false,
|
|
121
121
|
color: "navbar-transparent",
|
|
122
122
|
modalSearch: false,
|
|
123
|
-
avatar: _Utils.default.isNull(_this.props.avatar) ? require("
|
|
123
|
+
avatar: _Utils.default.isNull(_this.props.avatar) ? require("../../../assets/img/default-avatar.png") : _this.props.avatar
|
|
124
124
|
};
|
|
125
125
|
return _this;
|
|
126
126
|
}
|
package/gulpfile.js
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
const gulp = require("gulp");
|
|
2
|
+
const gap = require("gulp-append-prepend");
|
|
3
|
+
|
|
4
|
+
gulp.task("licenses", async function() {
|
|
5
|
+
// this is to add Creative Tim licenses in the production mode for the minified js
|
|
6
|
+
gulp
|
|
7
|
+
.src("build/static/js/*chunk.js", { base: "./" })
|
|
8
|
+
.pipe(
|
|
9
|
+
gap.prependText(`/*!
|
|
10
|
+
|
|
11
|
+
=========================================================
|
|
12
|
+
* Black Dashboard React - v1.1.0
|
|
13
|
+
=========================================================
|
|
14
|
+
|
|
15
|
+
* Product Page: https://www.creative-tim.com/product/black-dashboard-react
|
|
16
|
+
* Copyright 2020 Creative Tim (https://www.creative-tim.com)
|
|
17
|
+
* Licensed under MIT (https://github.com/creativetimofficial/black-dashboard-react/blob/master/LICENSE.md)
|
|
18
|
+
|
|
19
|
+
* Coded by Creative Tim
|
|
20
|
+
|
|
21
|
+
=========================================================
|
|
22
|
+
|
|
23
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
24
|
+
|
|
25
|
+
*/`)
|
|
26
|
+
)
|
|
27
|
+
.pipe(gulp.dest("./", { overwrite: true }));
|
|
28
|
+
|
|
29
|
+
// this is to add Creative Tim licenses in the production mode for the minified html
|
|
30
|
+
gulp
|
|
31
|
+
.src("build/index.html", { base: "./" })
|
|
32
|
+
.pipe(
|
|
33
|
+
gap.prependText(`<!--
|
|
34
|
+
|
|
35
|
+
=========================================================
|
|
36
|
+
* Black Dashboard React - v1.1.0
|
|
37
|
+
=========================================================
|
|
38
|
+
|
|
39
|
+
* Product Page: https://www.creative-tim.com/product/black-dashboard-react
|
|
40
|
+
* Copyright 2020 Creative Tim (https://www.creative-tim.com)
|
|
41
|
+
* Licensed under MIT (https://github.com/creativetimofficial/black-dashboard-react/blob/master/LICENSE.md)
|
|
42
|
+
|
|
43
|
+
* Coded by Creative Tim
|
|
44
|
+
|
|
45
|
+
=========================================================
|
|
46
|
+
|
|
47
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
48
|
+
|
|
49
|
+
-->`)
|
|
50
|
+
)
|
|
51
|
+
.pipe(gulp.dest("./", { overwrite: true }));
|
|
52
|
+
|
|
53
|
+
// this is to add Creative Tim licenses in the production mode for the minified css
|
|
54
|
+
gulp
|
|
55
|
+
.src("build/static/css/*chunk.css", { base: "./" })
|
|
56
|
+
.pipe(
|
|
57
|
+
gap.prependText(`/*!
|
|
58
|
+
|
|
59
|
+
=========================================================
|
|
60
|
+
* Black Dashboard React - v1.1.0
|
|
61
|
+
=========================================================
|
|
62
|
+
|
|
63
|
+
* Product Page: https://www.creative-tim.com/product/black-dashboard-react
|
|
64
|
+
* Copyright 2020 Creative Tim (https://www.creative-tim.com)
|
|
65
|
+
* Licensed under MIT (https://github.com/creativetimofficial/black-dashboard-react/blob/master/LICENSE.md)
|
|
66
|
+
|
|
67
|
+
* Coded by Creative Tim
|
|
68
|
+
|
|
69
|
+
=========================================================
|
|
70
|
+
|
|
71
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
72
|
+
|
|
73
|
+
*/`)
|
|
74
|
+
)
|
|
75
|
+
.pipe(gulp.dest("./", { overwrite: true }));
|
|
76
|
+
return;
|
|
77
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agilemotion/oui-react-js",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"babel": {
|
|
5
5
|
"presets": [
|
|
6
6
|
"@babel/preset-env",
|
|
@@ -45,13 +45,20 @@
|
|
|
45
45
|
"react-pdf": "^4.1.0",
|
|
46
46
|
"react-promise-tracker": "^2.1.0",
|
|
47
47
|
"react-redux": "^7.2.0",
|
|
48
|
-
"react-
|
|
48
|
+
"react-router": "^5.1.2",
|
|
49
|
+
"react-router-dom": "^5.1.2",
|
|
50
|
+
"react-router-redux": "^5.0.0-alpha.9",
|
|
51
|
+
"react-scripts": "^3.0.0",
|
|
49
52
|
"react-spring": "^8.0.27",
|
|
50
53
|
"react-super-responsive-table": "^5.1.1",
|
|
51
54
|
"reactstrap": "^8.4.1",
|
|
52
55
|
"redux": "^4.0.5",
|
|
53
56
|
"redux-thunk": "^2.3.0",
|
|
54
|
-
"styled-components": "^5.1.0"
|
|
57
|
+
"styled-components": "^5.1.0",
|
|
58
|
+
"@types/googlemaps": "3.39.3",
|
|
59
|
+
"@types/markerclustererplus": "2.1.33",
|
|
60
|
+
"eslint-plugin-flowtype": "3.13.0",
|
|
61
|
+
"typescript": "3.8.3"
|
|
55
62
|
},
|
|
56
63
|
"devDependencies": {
|
|
57
64
|
"@babel/cli": "^7.12.1",
|
|
@@ -59,11 +66,6 @@
|
|
|
59
66
|
"gulp": "4.0.2",
|
|
60
67
|
"gulp-append-prepend": "1.0.8"
|
|
61
68
|
},
|
|
62
|
-
"peerDependencies": {
|
|
63
|
-
"react-router": "^5.1.2",
|
|
64
|
-
"react-router-dom": "^5.1.2",
|
|
65
|
-
"react-router-redux": "^5.0.0-alpha.9"
|
|
66
|
-
},
|
|
67
69
|
"scripts": {
|
|
68
70
|
"publish:npm": "rm -rf dist && mkdir dist && babel src/lib -d dist --copy-files",
|
|
69
71
|
"start": "react-scripts start",
|
|
@@ -86,5 +88,14 @@
|
|
|
86
88
|
"@types/markerclustererplus": "2.1.33",
|
|
87
89
|
"eslint-plugin-flowtype": "3.13.0",
|
|
88
90
|
"typescript": "3.8.3"
|
|
89
|
-
}
|
|
91
|
+
},
|
|
92
|
+
"description": "This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).",
|
|
93
|
+
"main": "gulpfile.js",
|
|
94
|
+
"repository": {
|
|
95
|
+
"type": "git",
|
|
96
|
+
"url": "git+https://ashandla@bitbucket.org/ashandla/oui-react-js.git"
|
|
97
|
+
},
|
|
98
|
+
"author": "Amukelani Shandlale",
|
|
99
|
+
"license": "ISC",
|
|
100
|
+
"homepage": "https://bitbucket.org/ashandla/oui-react-js#readme"
|
|
90
101
|
}
|
|
Binary file
|
|
Binary file
|