adata-ui 0.2.7 → 0.3.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/README.md +7 -7
- package/babel.config.js +5 -5
- package/dist/adata-ui.common.js +2960 -59
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +2960 -59
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +2 -2
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/public/index.html +17 -17
- package/src/components/ErrorPages/BadGateway.vue +12 -14
- package/src/components/ErrorPages/Forbidden.vue +9 -6
- package/src/components/ErrorPages/InternalServerError.vue +9 -6
- package/src/components/ErrorPages/NotFound.vue +9 -6
- package/src/components/ErrorPages/Unavailable.vue +2012 -0
- package/src/components/Footer/Footer.vue +1 -0
- package/src/components/Header/Header.vue +9 -0
- package/src/components/Header/InfoHeader.vue +5 -0
- package/src/components/index.js +11 -1
|
@@ -34,6 +34,8 @@
|
|
|
34
34
|
class="menu__wrapper menu__items"
|
|
35
35
|
:class="{ active: item.key === activeTabKey }"
|
|
36
36
|
:href="item[mode]"
|
|
37
|
+
@click="goToAnotherModule(item[mode])"
|
|
38
|
+
onclick="return false;"
|
|
37
39
|
>
|
|
38
40
|
{{ item.name }}
|
|
39
41
|
</a>
|
|
@@ -589,6 +591,12 @@ export default {
|
|
|
589
591
|
this.notificationShow()
|
|
590
592
|
},
|
|
591
593
|
methods: {
|
|
594
|
+
goToAnotherModule(url) {
|
|
595
|
+
if(!location.href.includes(url)) {
|
|
596
|
+
this.$emit("changeModule");
|
|
597
|
+
}
|
|
598
|
+
window.open(url, "_self");
|
|
599
|
+
},
|
|
592
600
|
goAuth() {
|
|
593
601
|
const fullPath = encodeURIComponent(window.location.toString());
|
|
594
602
|
if (window) {
|
|
@@ -696,6 +704,7 @@ export default {
|
|
|
696
704
|
height: 62px;
|
|
697
705
|
display: flex;
|
|
698
706
|
align-items: center;
|
|
707
|
+
width: 100vw;
|
|
699
708
|
@media (max-width: 1025px) {
|
|
700
709
|
height: 56px;
|
|
701
710
|
border-bottom: 1px solid #BDC7CE;
|
|
@@ -202,6 +202,7 @@ export default {
|
|
|
202
202
|
<style scoped lang="scss">
|
|
203
203
|
.info {
|
|
204
204
|
position: relative;
|
|
205
|
+
width: 100vw;
|
|
205
206
|
@media (min-width: 1025px) {
|
|
206
207
|
height: 30px;
|
|
207
208
|
}
|
|
@@ -242,6 +243,10 @@ export default {
|
|
|
242
243
|
background: #FFFFFF;
|
|
243
244
|
padding: 7px 0;
|
|
244
245
|
border-bottom: 0.5px solid rgba(189, 199, 206, 0.5);
|
|
246
|
+
max-height: 34px;
|
|
247
|
+
height: 34px;
|
|
248
|
+
display: flex;
|
|
249
|
+
align-items: center;
|
|
245
250
|
@media (max-width: 1025px) {
|
|
246
251
|
display: none;
|
|
247
252
|
}
|
package/src/components/index.js
CHANGED
|
@@ -12,6 +12,11 @@ import ASearchTextField from "./SearchTextField/SearchTextField";
|
|
|
12
12
|
import AMailTo from "./MailTo/MailTo";
|
|
13
13
|
import ATable from "./Table/ATable";
|
|
14
14
|
import ALoader from "./Loader/Loader";
|
|
15
|
+
import ABadGateway from "./ErrorPages/BadGateway";
|
|
16
|
+
import AForbidden from "./ErrorPages/Forbidden";
|
|
17
|
+
import AInternalServerError from "./ErrorPages/InternalServerError";
|
|
18
|
+
import ANotFound from "./ErrorPages/NotFound";
|
|
19
|
+
import AUnavailable from "./ErrorPages/Unavailable";
|
|
15
20
|
|
|
16
21
|
const Components = {
|
|
17
22
|
ACheckbox,
|
|
@@ -26,7 +31,12 @@ const Components = {
|
|
|
26
31
|
AMailTo,
|
|
27
32
|
ATable,
|
|
28
33
|
ALoader,
|
|
29
|
-
ACheckboxMenu
|
|
34
|
+
ACheckboxMenu,
|
|
35
|
+
ABadGateway,
|
|
36
|
+
AForbidden,
|
|
37
|
+
AInternalServerError,
|
|
38
|
+
ANotFound,
|
|
39
|
+
AUnavailable,
|
|
30
40
|
};
|
|
31
41
|
|
|
32
42
|
Object.keys(Components).forEach((name) => {
|