adata-ui 0.3.34 → 0.3.36
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 +9011 -6701
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +9011 -6701
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +3 -3
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/package-lock.json +20 -1
- package/package.json +1 -1
- package/src/App.vue +3 -12
- package/src/assets/_text_field.scss +21 -9
- package/src/components/BottomNavigationBar/ABottomNavigationBar.vue +1 -1
- package/src/components/Header/Header.vue +0 -35
- package/src/components/NavIcon/ANavIcon.vue +3 -1
- package/src/components/TextField/TextField.vue +15 -19
package/package-lock.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adata-ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.34",
|
|
4
4
|
"lockfileVersion": 1,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"dependencies": {
|
|
@@ -8241,6 +8241,16 @@
|
|
|
8241
8241
|
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
|
|
8242
8242
|
"dev": true
|
|
8243
8243
|
},
|
|
8244
|
+
"bindings": {
|
|
8245
|
+
"version": "1.5.0",
|
|
8246
|
+
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
|
|
8247
|
+
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
|
|
8248
|
+
"dev": true,
|
|
8249
|
+
"optional": true,
|
|
8250
|
+
"requires": {
|
|
8251
|
+
"file-uri-to-path": "1.0.0"
|
|
8252
|
+
}
|
|
8253
|
+
},
|
|
8244
8254
|
"bluebird": {
|
|
8245
8255
|
"version": "3.7.2",
|
|
8246
8256
|
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
|
|
@@ -12303,6 +12313,13 @@
|
|
|
12303
12313
|
}
|
|
12304
12314
|
}
|
|
12305
12315
|
},
|
|
12316
|
+
"file-uri-to-path": {
|
|
12317
|
+
"version": "1.0.0",
|
|
12318
|
+
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
|
|
12319
|
+
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
|
|
12320
|
+
"dev": true,
|
|
12321
|
+
"optional": true
|
|
12322
|
+
},
|
|
12306
12323
|
"filesize": {
|
|
12307
12324
|
"version": "3.6.1",
|
|
12308
12325
|
"resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz",
|
|
@@ -25030,6 +25047,7 @@
|
|
|
25030
25047
|
"dev": true,
|
|
25031
25048
|
"optional": true,
|
|
25032
25049
|
"requires": {
|
|
25050
|
+
"bindings": "^1.5.0",
|
|
25033
25051
|
"nan": "^2.12.1"
|
|
25034
25052
|
}
|
|
25035
25053
|
},
|
|
@@ -25452,6 +25470,7 @@
|
|
|
25452
25470
|
"dev": true,
|
|
25453
25471
|
"optional": true,
|
|
25454
25472
|
"requires": {
|
|
25473
|
+
"bindings": "^1.5.0",
|
|
25455
25474
|
"nan": "^2.12.1"
|
|
25456
25475
|
}
|
|
25457
25476
|
},
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="app">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- <a-service-slider-->
|
|
6
|
-
<!-- module="tenders"-->
|
|
7
|
-
<!-- mode="dev"-->
|
|
8
|
-
<!-- open-service-->
|
|
9
|
-
<!-- />-->
|
|
10
|
-
<!-- <a-bottom-navigation-bar-->
|
|
11
|
-
<!-- login-url="https://google.com" mode="prod" module="tenders"/>-->
|
|
3
|
+
<a-header active-tab-key="" login-url="" mode="dev"></a-header>
|
|
4
|
+
<a-text-field label="bin" error-text="test"/>
|
|
12
5
|
</div>
|
|
13
6
|
</template>
|
|
14
7
|
|
|
15
8
|
<script>
|
|
16
9
|
|
|
17
|
-
|
|
18
|
-
// import AServiceSlider from "@/components/ServiceSlider/AServiceSlider";
|
|
10
|
+
|
|
19
11
|
|
|
20
12
|
export default {
|
|
21
13
|
name: "App",
|
|
22
|
-
// components: {AServiceSlider, ABottomNavigationBar},
|
|
23
14
|
};
|
|
24
15
|
</script>
|
|
25
16
|
|
|
@@ -40,15 +40,23 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&__error {
|
|
43
|
-
text-align: left;
|
|
44
|
-
font-size: 10px;
|
|
45
|
-
line-height: 14px;
|
|
46
|
-
color: #ff2e43;
|
|
47
|
-
margin-top: 8px;
|
|
48
43
|
display: flex;
|
|
49
44
|
align-items: center;
|
|
50
|
-
|
|
51
|
-
|
|
45
|
+
background: rgba(255, 46, 67, 0.12);
|
|
46
|
+
border-radius: 4px;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
color: #2c3e50;
|
|
49
|
+
margin-top: 8px;
|
|
50
|
+
.error-icon {
|
|
51
|
+
background: #FF2E43;
|
|
52
|
+
padding: 4px 8px;
|
|
53
|
+
display: grid;
|
|
54
|
+
place-content: center;
|
|
55
|
+
}
|
|
56
|
+
p {
|
|
57
|
+
font-size: 12px;
|
|
58
|
+
line-height: 20px;
|
|
59
|
+
padding: 2px 16px;
|
|
52
60
|
}
|
|
53
61
|
}
|
|
54
62
|
|
|
@@ -103,6 +111,10 @@
|
|
|
103
111
|
&::placeholder {
|
|
104
112
|
font-size: 12px;
|
|
105
113
|
}
|
|
114
|
+
|
|
115
|
+
&.error {
|
|
116
|
+
border-color: #ff2e43;
|
|
117
|
+
}
|
|
106
118
|
}
|
|
107
119
|
|
|
108
120
|
&__textarea {
|
|
@@ -127,8 +139,8 @@
|
|
|
127
139
|
}
|
|
128
140
|
textarea {
|
|
129
141
|
border: none;
|
|
130
|
-
height:
|
|
131
|
-
padding:
|
|
142
|
+
height: 100%;
|
|
143
|
+
padding: 24px 40px 5px 16px;
|
|
132
144
|
resize: none;
|
|
133
145
|
&:focus,
|
|
134
146
|
&:hover {
|
|
@@ -93,23 +93,6 @@
|
|
|
93
93
|
}
|
|
94
94
|
"
|
|
95
95
|
/>
|
|
96
|
-
<div class="menu_mobile--switcher" @click="changeValue">
|
|
97
|
-
<!-- icon_hamburger -->
|
|
98
|
-
<svg
|
|
99
|
-
width="24"
|
|
100
|
-
height="24"
|
|
101
|
-
fill="none"
|
|
102
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
103
|
-
viewBox="0 0 24 24"
|
|
104
|
-
>
|
|
105
|
-
<path
|
|
106
|
-
fill-rule="evenodd"
|
|
107
|
-
clip-rule="evenodd"
|
|
108
|
-
d="M2 4h20v2H2V4zm0 14h20v2H2v-2zm0-7h20v2H2v-2z"
|
|
109
|
-
fill="#2C3E50"
|
|
110
|
-
></path>
|
|
111
|
-
</svg>
|
|
112
|
-
</div>
|
|
113
96
|
</div>
|
|
114
97
|
</div>
|
|
115
98
|
<MobileToggle v-slot="{ animationClass }">
|
|
@@ -454,28 +437,11 @@
|
|
|
454
437
|
</div>
|
|
455
438
|
</div>
|
|
456
439
|
</MobileToggle>
|
|
457
|
-
<MobileToggle v-slot="{ animationClass }">
|
|
458
|
-
<ProfileMobile
|
|
459
|
-
v-show="isActiveMenu"
|
|
460
|
-
:rate="rate"
|
|
461
|
-
:class="animationClass"
|
|
462
|
-
:email="email"
|
|
463
|
-
:mode="mode"
|
|
464
|
-
:balance="thousandSeparator(balance)"
|
|
465
|
-
:activeTabKey="activeTabKey"
|
|
466
|
-
:limit-remaining="requestCount"
|
|
467
|
-
:daysLeft="daysRemaining"
|
|
468
|
-
@changeValue="changeValue"
|
|
469
|
-
@close="isActiveMenu = false"
|
|
470
|
-
@logout="$emit('logout')"
|
|
471
|
-
/>
|
|
472
|
-
</MobileToggle>
|
|
473
440
|
</div>
|
|
474
441
|
</header>
|
|
475
442
|
</template>
|
|
476
443
|
|
|
477
444
|
<script>
|
|
478
|
-
import ProfileMobile from "./ProfileMobile";
|
|
479
445
|
import Profile from "./Profile";
|
|
480
446
|
import MobileToggle from "../transitions/VerticalMobileToggle";
|
|
481
447
|
import InfoHeader from "./InfoHeader";
|
|
@@ -485,7 +451,6 @@ export default {
|
|
|
485
451
|
InfoHeader,
|
|
486
452
|
Profile,
|
|
487
453
|
MobileToggle,
|
|
488
|
-
ProfileMobile
|
|
489
454
|
},
|
|
490
455
|
props: {
|
|
491
456
|
rate: {
|
|
@@ -28,7 +28,9 @@ export default {
|
|
|
28
28
|
"<path d=\"M5.5 2.5H19.5C19.7652 2.5 20.0196 2.60536 20.2071 2.79289C20.3946 2.98043 20.5 3.23478 20.5 3.5V22.643C20.5001 22.7324 20.4763 22.8202 20.4309 22.8973C20.3855 22.9743 20.3204 23.0378 20.2421 23.0811C20.1639 23.1244 20.0755 23.1459 19.9861 23.1434C19.8968 23.141 19.8097 23.1146 19.734 23.067L12.5 18.53L5.266 23.066C5.19037 23.1135 5.10339 23.1399 5.0141 23.1424C4.92482 23.1449 4.83649 23.1235 4.7583 23.0803C4.6801 23.0371 4.61491 22.9738 4.56948 22.8969C4.52406 22.82 4.50007 22.7323 4.5 22.643V3.5C4.5 3.23478 4.60536 2.98043 4.79289 2.79289C4.98043 2.60536 5.23478 2.5 5.5 2.5ZM18.5 4.5H6.5V19.932L12.5 16.171L18.5 19.932V4.5Z\" fill=\"#2C3E50\"/>\n" +
|
|
29
29
|
"</svg>\n",
|
|
30
30
|
sign: "<svg width=\"24\" height=\"25\" viewBox=\"0 0 24 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n" +
|
|
31
|
-
"<path d=\"
|
|
31
|
+
"<path d=\"M10 17.5L15 12.5L10 7.5\" stroke=\"#2C3E50\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n" +
|
|
32
|
+
"<path d=\"M15 12.5H3\" stroke=\"#2C3E50\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n" +
|
|
33
|
+
"<path d=\"M15 3.5H19C19.5304 3.5 20.0391 3.71071 20.4142 4.08579C20.7893 4.46086 21 4.96957 21 5.5V19.5C21 20.0304 20.7893 20.5391 20.4142 20.9142C20.0391 21.2893 19.5304 21.5 19 21.5H15\" stroke=\"#2C3E50\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n" +
|
|
32
34
|
"</svg>\n",
|
|
33
35
|
template: "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n" +
|
|
34
36
|
"<path d=\"M9 10H10C10.2652 10 10.5196 9.89464 10.7071 9.70711C10.8946 9.51957 11 9.26522 11 9C11 8.73478 10.8946 8.48043 10.7071 8.29289C10.5196 8.10536 10.2652 8 10 8H9C8.73478 8 8.48043 8.10536 8.29289 8.29289C8.10536 8.48043 8 8.73478 8 9C8 9.26522 8.10536 9.51957 8.29289 9.70711C8.48043 9.89464 8.73478 10 9 10ZM9 12C8.73478 12 8.48043 12.1054 8.29289 12.2929C8.10536 12.4804 8 12.7348 8 13C8 13.2652 8.10536 13.5196 8.29289 13.7071C8.48043 13.8946 8.73478 14 9 14H15C15.2652 14 15.5196 13.8946 15.7071 13.7071C15.8946 13.5196 16 13.2652 16 13C16 12.7348 15.8946 12.4804 15.7071 12.2929C15.5196 12.1054 15.2652 12 15 12H9ZM20 8.94C19.9896 8.84813 19.9695 8.75763 19.94 8.67V8.58C19.8919 8.47718 19.8278 8.38267 19.75 8.3L13.75 2.3C13.6673 2.22222 13.5728 2.15808 13.47 2.11C13.4402 2.10576 13.4099 2.10576 13.38 2.11C13.2784 2.05174 13.1662 2.01434 13.05 2H7C6.20435 2 5.44129 2.31607 4.87868 2.87868C4.31607 3.44129 4 4.20435 4 5V19C4 19.7956 4.31607 20.5587 4.87868 21.1213C5.44129 21.6839 6.20435 22 7 22H17C17.7956 22 18.5587 21.6839 19.1213 21.1213C19.6839 20.5587 20 19.7956 20 19V9C20 9 20 9 20 8.94ZM14 5.41L16.59 8H15C14.7348 8 14.4804 7.89464 14.2929 7.70711C14.1054 7.51957 14 7.26522 14 7V5.41ZM18 19C18 19.2652 17.8946 19.5196 17.7071 19.7071C17.5196 19.8946 17.2652 20 17 20H7C6.73478 20 6.48043 19.8946 6.29289 19.7071C6.10536 19.5196 6 19.2652 6 19V5C6 4.73478 6.10536 4.48043 6.29289 4.29289C6.48043 4.10536 6.73478 4 7 4H12V7C12 7.79565 12.3161 8.55871 12.8787 9.12132C13.4413 9.68393 14.2044 10 15 10H18V19ZM15 16H9C8.73478 16 8.48043 16.1054 8.29289 16.2929C8.10536 16.4804 8 16.7348 8 17C8 17.2652 8.10536 17.5196 8.29289 17.7071C8.48043 17.8946 8.73478 18 9 18H15C15.2652 18 15.5196 17.8946 15.7071 17.7071C15.8946 17.5196 16 17.2652 16 17C16 16.7348 15.8946 16.4804 15.7071 16.2929C15.5196 16.1054 15.2652 16 15 16Z\" fill=\"#2C3E50\"/>\n" +
|
|
@@ -40,25 +40,21 @@
|
|
|
40
40
|
</div>
|
|
41
41
|
</div>
|
|
42
42
|
<div class="adt-text-block__error" v-if="!!errorText">
|
|
43
|
-
<
|
|
44
|
-
width="
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
/>
|
|
59
|
-
<circle cx="8" cy="8" r="7" stroke="#FF2E43" />
|
|
60
|
-
</svg>
|
|
61
|
-
{{ errorText }}
|
|
43
|
+
<div class="error-icon">
|
|
44
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
45
|
+
<g clip-path="url(#clip0_508_13640)">
|
|
46
|
+
<path d="M8.00016 14.6666C11.6821 14.6666 14.6668 11.6818 14.6668 7.99992C14.6668 4.31802 11.6821 1.33325 8.00016 1.33325C4.31826 1.33325 1.3335 4.31802 1.3335 7.99992C1.3335 11.6818 4.31826 14.6666 8.00016 14.6666Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
|
|
47
|
+
<path d="M8 10.6667H8.00667" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
48
|
+
<path d="M8 5.33325V7.99992" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
49
|
+
</g>
|
|
50
|
+
<defs>
|
|
51
|
+
<clipPath id="clip0_508_13640">
|
|
52
|
+
<rect width="16" height="16" fill="white"/>
|
|
53
|
+
</clipPath>
|
|
54
|
+
</defs>
|
|
55
|
+
</svg>
|
|
56
|
+
</div>
|
|
57
|
+
<p>{{ errorText }}</p>
|
|
62
58
|
</div>
|
|
63
59
|
</div>
|
|
64
60
|
</template>
|