adata-ui 0.3.84 → 0.3.86
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/adata-ui.common.js +371 -404
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +371 -404
- 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 +11010 -10090
- package/package.json +1 -1
- package/src/App.vue +6 -3
- package/src/assets/_text_field.scss +1 -1
- package/src/components/Header/Header.vue +25 -14
- package/src/components/PasswordField/PasswordField.vue +1 -1
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app">
|
|
3
|
-
<a-header active-tab-key="" login-url="" mode="
|
|
4
|
-
<a-footer/>
|
|
5
|
-
<a-footer-new :mode="'dev'"/>
|
|
3
|
+
<a-header active-tab-key="" login-url="" mode="prod"></a-header>
|
|
6
4
|
</div>
|
|
7
5
|
</template>
|
|
8
6
|
|
|
@@ -11,6 +9,11 @@
|
|
|
11
9
|
export default {
|
|
12
10
|
name: "App",
|
|
13
11
|
components: {},
|
|
12
|
+
data() {
|
|
13
|
+
return {
|
|
14
|
+
password: ''
|
|
15
|
+
}
|
|
16
|
+
}
|
|
14
17
|
};
|
|
15
18
|
</script>
|
|
16
19
|
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
&:focus ~ #{$self}__label,
|
|
70
70
|
&:not(:focus):valid ~ #{$self}__label,
|
|
71
71
|
&:-webkit-autofill ~ #{$self}__label,
|
|
72
|
-
&:not(:placeholder-shown) ~ #{$self}__label,
|
|
72
|
+
&:not(.password):not(:placeholder-shown) ~ #{$self}__label,
|
|
73
73
|
&:not(:-webkit-autofill):valid ~ #{$self}__label {
|
|
74
74
|
top: 12px;
|
|
75
75
|
font-size: 10px;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<header :class="{ sticky: isSticky }">
|
|
3
|
+
<div class="version">
|
|
4
|
+
<a :href="newVersion[mode]" target='_blank'>Перейти на новую версию сайта</a>
|
|
5
|
+
</div>
|
|
3
6
|
<InfoHeader
|
|
4
7
|
:weather="weather"
|
|
5
8
|
:currencies="currencies"
|
|
@@ -39,7 +42,7 @@
|
|
|
39
42
|
>
|
|
40
43
|
{{ item.name }}
|
|
41
44
|
</a>
|
|
42
|
-
<child-links class="menu__sublinks" :links="item" :module="activeTabKey" :mode="mode" />
|
|
45
|
+
<child-links v-if="item.children.length" class="menu__sublinks" :links="item" :module="activeTabKey" :mode="mode" />
|
|
43
46
|
</div>
|
|
44
47
|
</div>
|
|
45
48
|
<div class="mobile-search">
|
|
@@ -515,6 +518,11 @@ export default {
|
|
|
515
518
|
prod: "https://adata.kz",
|
|
516
519
|
staging: "https://adada.kz",
|
|
517
520
|
},
|
|
521
|
+
newVersion: {
|
|
522
|
+
dev: "https://pk-new.adtdev.kz",
|
|
523
|
+
staging: "https://pk-new.adada.kz",
|
|
524
|
+
prod: "https://pk-new.adata.kz",
|
|
525
|
+
},
|
|
518
526
|
headerItems: [
|
|
519
527
|
{
|
|
520
528
|
id: 1,
|
|
@@ -693,6 +701,7 @@ export default {
|
|
|
693
701
|
prod: "https://tnved.adata.kz",
|
|
694
702
|
staging: "https://tnved.adada.kz",
|
|
695
703
|
key: "tnved",
|
|
704
|
+
children: []
|
|
696
705
|
},
|
|
697
706
|
],
|
|
698
707
|
isOpen: false,
|
|
@@ -786,24 +795,26 @@ export default {
|
|
|
786
795
|
thousandSeparator(val) {
|
|
787
796
|
return val ? val.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ") : "0";
|
|
788
797
|
},
|
|
789
|
-
defineIconState(name) {
|
|
790
|
-
return name === "DOWN" ? "@/assets/icons/arrow-down.svg" : "@/assets/icons/arrow-up.svg";
|
|
791
|
-
},
|
|
792
|
-
defineIconEntity(name) {
|
|
793
|
-
switch (name) {
|
|
794
|
-
case 'USD':
|
|
795
|
-
return "@/assets/icons/dollor.svg";
|
|
796
|
-
case 'EUR':
|
|
797
|
-
return "@/assets/icons/euro.svg";
|
|
798
|
-
case 'RUB':
|
|
799
|
-
return "@/assets/icons/ruble.svg";
|
|
800
|
-
}
|
|
801
|
-
},
|
|
802
798
|
},
|
|
803
799
|
};
|
|
804
800
|
</script>
|
|
805
801
|
|
|
806
802
|
<style lang="scss">
|
|
803
|
+
.version{
|
|
804
|
+
background: #E0EFFF;
|
|
805
|
+
a{
|
|
806
|
+
font-size: 14px;
|
|
807
|
+
font-weight: 600;
|
|
808
|
+
color: #0070EB;
|
|
809
|
+
display: flex;
|
|
810
|
+
align-items: center;
|
|
811
|
+
justify-content: center;
|
|
812
|
+
gap: 1px;
|
|
813
|
+
width: 100%;
|
|
814
|
+
padding: 8px 0px;
|
|
815
|
+
cursor: pointer;
|
|
816
|
+
}
|
|
817
|
+
}
|
|
807
818
|
* {
|
|
808
819
|
font-family: "Open Sans", sans-serif;
|
|
809
820
|
box-sizing: border-box;
|