adata-ui 0.3.73 → 0.3.74

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.
Files changed (96) hide show
  1. package/README.md +7 -7
  2. package/babel.config.js +5 -5
  3. package/package.json +76 -76
  4. package/public/index.html +17 -17
  5. package/public/logo.svg +4 -4
  6. package/src/App.vue +25 -25
  7. package/src/assets/_text_field.scss +224 -224
  8. package/src/assets/facebook.svg +4 -4
  9. package/src/assets/instagram.svg +6 -6
  10. package/src/assets/logo-desktop-main.svg +8 -8
  11. package/src/assets/logo-desktop.svg +9 -9
  12. package/src/assets/logo-mobile-main.svg +4 -4
  13. package/src/assets/logo-mobile.svg +9 -9
  14. package/src/assets/logo-white-desktop.svg +8 -8
  15. package/src/assets/style.scss +1 -1
  16. package/src/assets/telegram.svg +4 -4
  17. package/src/assets/tiktok.svg +4 -4
  18. package/src/assets/up-down.svg +3 -3
  19. package/src/assets/youtube.svg +5 -5
  20. package/src/components/Alert/Alert.stories.js +17 -17
  21. package/src/components/Alert/Alert.vue +63 -63
  22. package/src/components/BottomNavigationBar/ABottomNavigationBar.vue +160 -160
  23. package/src/components/BottomNavigationBar/BottomNavigationBar.stories.js +24 -24
  24. package/src/components/Button/AButton.vue +231 -231
  25. package/src/components/Button/Button.stories.js +23 -23
  26. package/src/components/Checkbox/ACheckbox.vue +114 -114
  27. package/src/components/Checkbox/Checkbox.stories.js +15 -15
  28. package/src/components/CheckboxMenu/CheckboxMenu.stories.js +23 -23
  29. package/src/components/CheckboxMenu/CheckboxMenu.vue +108 -108
  30. package/src/components/ErrorPages/BadGateway.vue +224 -224
  31. package/src/components/ErrorPages/Forbidden.vue +468 -468
  32. package/src/components/ErrorPages/InternalServerError.vue +275 -275
  33. package/src/components/ErrorPages/NotFound.vue +995 -995
  34. package/src/components/ErrorPages/Unavailable.vue +3705 -3705
  35. package/src/components/Footer/Footer.stories.js +20 -20
  36. package/src/components/Footer/Footer.vue +292 -292
  37. package/src/components/Header/ChildLinks.vue +141 -122
  38. package/src/components/Header/Header.stories.js +56 -56
  39. package/src/components/Header/Header.vue +1289 -1289
  40. package/src/components/Header/InfoHeader.vue +319 -319
  41. package/src/components/Header/Profile.vue +670 -670
  42. package/src/components/Header/ProfileMenu.vue +291 -276
  43. package/src/components/Header/ProfileMobile.vue +308 -308
  44. package/src/components/Header/ProfileOld.vue +781 -781
  45. package/src/components/InternalServerError/InternalServerError.stories.js +16 -16
  46. package/src/components/InternalServerError/InternalServerError.vue +262 -262
  47. package/src/components/Introduction.stories.mdx +7 -7
  48. package/src/components/Loader/Loader.stories.js +24 -24
  49. package/src/components/Loader/Loader.vue +325 -325
  50. package/src/components/MailTo/MailTo.stories.js +14 -14
  51. package/src/components/MailTo/MailTo.vue +258 -258
  52. package/src/components/NavIcon/ANavIcon.vue +49 -49
  53. package/src/components/NavIcon/NavIcon.stories.js +14 -14
  54. package/src/components/PasswordField/PasswordField.stories.js +16 -16
  55. package/src/components/PasswordField/PasswordField.vue +77 -77
  56. package/src/components/SearchTextField/SearchTextField.stories.js +77 -77
  57. package/src/components/SearchTextField/SearchTextField.vue +230 -230
  58. package/src/components/ServiceSlider/AServiceSlider.vue +782 -782
  59. package/src/components/ServiceSlider/ServiceSlider.stories.js +20 -20
  60. package/src/components/Table/ATable.vue +117 -117
  61. package/src/components/Table/Table.stories.js +15 -15
  62. package/src/components/TextArea/TextArea.stories.js +17 -17
  63. package/src/components/TextArea/TextArea.vue +116 -116
  64. package/src/components/TextError/TextError.stories.js +15 -15
  65. package/src/components/TextError/TextError.vue +57 -57
  66. package/src/components/TextField/TextField.stories.js +17 -17
  67. package/src/components/TextField/TextField.vue +107 -107
  68. package/src/components/index.js +54 -54
  69. package/src/components/newComponents/FooterNew/FooterBottom.vue +153 -153
  70. package/src/components/newComponents/FooterNew/FooterItem.vue +113 -113
  71. package/src/components/newComponents/FooterNew/FooterNew.stories.js +20 -20
  72. package/src/components/newComponents/FooterNew/FooterNew.vue +39 -39
  73. package/src/components/newComponents/FooterNew/FooterTop.vue +321 -321
  74. package/src/components/transitions/SlideToggle.vue +55 -55
  75. package/src/components/transitions/VerticalMobileToggle.vue +75 -75
  76. package/src/configs/icons.js +112 -112
  77. package/src/configs/profileDropDown.js +134 -134
  78. package/src/main.js +12 -12
  79. package/dist/adata-ui.common.js +0 -12969
  80. package/dist/adata-ui.common.js.map +0 -1
  81. package/dist/adata-ui.css +0 -1
  82. package/dist/adata-ui.umd.js +0 -12979
  83. package/dist/adata-ui.umd.js.map +0 -1
  84. package/dist/adata-ui.umd.min.js +0 -7
  85. package/dist/adata-ui.umd.min.js.map +0 -1
  86. package/dist/demo.html +0 -10
  87. package/dist/img/facebook.797d820f.svg +0 -4
  88. package/dist/img/instagram.8a77381c.svg +0 -6
  89. package/dist/img/logo-desktop-main.4d169395.svg +0 -8
  90. package/dist/img/logo-mobile-main.397bce24.svg +0 -4
  91. package/dist/img/logo-white-desktop.7d0e3481.svg +0 -8
  92. package/dist/img/telegram.be0d1008.svg +0 -4
  93. package/dist/img/tiktok.eaeb39cb.svg +0 -4
  94. package/dist/img/up-down.e2b28f72.svg +0 -3
  95. package/dist/img/youtube.125aace6.svg +0 -5
  96. package/package-lock.json +0 -26218
@@ -1,325 +1,325 @@
1
- <template>
2
- <div
3
- class="loader"
4
- :class="{
5
- 'loader--global': global,
6
- small: small || smallYellow,
7
- 'very-small': verySmall,
8
- unloadData: unloadData,
9
- }"
10
- >
11
- <div class="loader__wrapper">
12
- <div class="loader__element" v-if="!timerCenter">
13
- <p class="loader__number" v-if="timer">
14
- {{ ownSeconds }}
15
- </p>
16
- <div
17
- class="loader__base"
18
- :class="[
19
- {
20
- small: small,
21
- 'very-small': verySmall,
22
- 'small-yellow': smallYellow,
23
- },
24
- ]"
25
- />
26
- </div>
27
-
28
- <div class="loader__element-stable" v-if="timerCenter">
29
- <p class="loader__number-stable">
30
- {{ ownSeconds }}
31
- </p>
32
- <div
33
- class="loader__base"
34
- :class="[
35
- {
36
- small: small,
37
- 'very-small': verySmall,
38
- 'small-yellow': smallYellow,
39
- },
40
- ]"
41
- />
42
- </div>
43
-
44
- <div class="loader__subtitle" v-if="global">
45
- <slot></slot>
46
- </div>
47
- </div>
48
- </div>
49
- </template>
50
-
51
- <script>
52
- export default {
53
- name: "BaseLoader",
54
- props: {
55
- timer: {
56
- type: Boolean,
57
- default: false,
58
- },
59
- timerCenter: {
60
- type: Boolean,
61
- default: false,
62
- },
63
- global: {
64
- type: Boolean,
65
- default: false,
66
- },
67
- small: {
68
- type: Boolean,
69
- default: false,
70
- },
71
- smallYellow: {
72
- type: Boolean,
73
- default: false,
74
- },
75
- verySmall: {
76
- type: Boolean,
77
- default: false,
78
- },
79
- seconds: {
80
- type: [Number, String],
81
- default: 0,
82
- },
83
- unloadData: {
84
- type: Boolean,
85
- default: false,
86
- },
87
- },
88
- data() {
89
- return {
90
- timerStore: null,
91
- ownSeconds: this.seconds,
92
- };
93
- },
94
- mounted() {
95
- (this.timer || this.timerCenter) &&
96
- (this.timerStore = setInterval(() => {
97
- if (this.ownSeconds > 0) {
98
- this.ownSeconds--;
99
- return;
100
- }
101
- clearInterval(this.timerStore);
102
- this.$emit("completed");
103
- }, 1000));
104
- },
105
- beforeDestroy() {
106
- clearInterval(this.timerStore);
107
- },
108
- };
109
- </script>
110
-
111
- <style lang="scss" scoped>
112
- .loader {
113
- $self: &;
114
- margin: 0 auto;
115
- // tablet
116
- @media screen and (max-width: 1025px) {
117
- margin-top: 20px;
118
- }
119
- &.very-small {
120
- margin: 0;
121
- width: 16px;
122
- height: 16px;
123
- }
124
-
125
- &.small {
126
- margin: 0;
127
- width: 20px;
128
- height: 20px;
129
- }
130
-
131
- &__number {
132
- position: absolute;
133
- color: #ffcd33;
134
- font-size: 24px;
135
- line-height: 33px;
136
- top: 38%;
137
- left: 726px;
138
- text-align: center;
139
-
140
- &-stable {
141
- position: absolute;
142
- color: #ffcd33;
143
- font-size: 24px;
144
- line-height: 33px;
145
- left: 50%;
146
- transform: translateX(-50%);
147
- text-align: center;
148
- top: 20%;
149
-
150
- @media screen and (max-width: 1025px) {
151
- top: 25%;
152
- }
153
- }
154
- }
155
-
156
- &__element {
157
- top: 350px;
158
- left: 0;
159
- right: 0;
160
- }
161
-
162
- &__element-stable {
163
- top: 0px;
164
- left: 0;
165
- right: 0;
166
- }
167
-
168
- &__base {
169
- height: 100px;
170
- width: 100px;
171
- background: #ffcd33;
172
- background: linear-gradient(
173
- to right,
174
- #ffcd33 10%,
175
- rgba(255, 255, 255, 0) 42%
176
- );
177
- border-radius: 50%;
178
- mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #fff 0);
179
- animation: spin 0.7s linear infinite;
180
- margin-left: auto;
181
- margin-right: auto;
182
- @media screen and (max-width: 1025px) {
183
- height: 60px;
184
- width: 60px;
185
- }
186
-
187
- &.small {
188
- width: 20px;
189
- height: 20px;
190
- margin: 0;
191
- background: linear-gradient(
192
- to right,
193
- #217aff 28%,
194
- rgba(255, 255, 255, 0) 42%
195
- );
196
- mask: radial-gradient(
197
- farthest-side,
198
- transparent calc(100% - 1.5px),
199
- #fff 0
200
- );
201
- }
202
-
203
- &.small-yellow {
204
- width: 20px;
205
- height: 20px;
206
- margin: 0;
207
- background: linear-gradient(
208
- to right,
209
- #ffcd33 28%,
210
- rgba(255, 255, 255, 0) 42%
211
- );
212
- mask: radial-gradient(
213
- farthest-side,
214
- transparent calc(100% - 1.5px),
215
- #fff 0
216
- );
217
- }
218
-
219
- &.very-small {
220
- width: 16px;
221
- height: 16px;
222
- margin: 0;
223
- background: linear-gradient(
224
- to right,
225
- #217aff 28%,
226
- rgba(255, 255, 255, 0) 42%
227
- );
228
- mask: radial-gradient(
229
- farthest-side,
230
- transparent calc(100% - 1.5px),
231
- #fff 0
232
- );
233
- }
234
- }
235
-
236
- &__subtitle {
237
- text-align: center;
238
- margin-top: 40px;
239
-
240
- p {
241
- font-size: 18px;
242
- line-height: 25px;
243
- color: var(--newGray);
244
- font-weight: 400;
245
- }
246
- }
247
-
248
- &.unloadData {
249
- #{$self}__element {
250
- position: relative;
251
- top: 200px;
252
- }
253
-
254
- #{$self}__number {
255
- position: absolute;
256
- top: 50%;
257
- left: 50%;
258
- transform: translate(-50%, -50%);
259
- }
260
- }
261
-
262
- &--global {
263
- position: fixed;
264
- top: 0;
265
- left: 0;
266
- right: 0;
267
- bottom: 0;
268
- width: 100%;
269
- height: 100%;
270
- background: #fff;
271
- display: flex;
272
- justify-content: center;
273
- align-items: center;
274
-
275
- #{$self}__base {
276
- margin-top: 0;
277
- }
278
-
279
- #{$self}__element {
280
- position: relative;
281
- top: 20px;
282
- }
283
-
284
- #{$self}__number {
285
- position: absolute;
286
- top: 50%;
287
- left: 50%;
288
- transform: translate(-50%, -50%);
289
- }
290
- }
291
- }
292
-
293
- @keyframes spin {
294
- 0% {
295
- transform: rotate(0deg);
296
- }
297
- 100% {
298
- transform: rotate(360deg);
299
- }
300
- }
301
-
302
- .download-button.colored--blue {
303
- &:hover {
304
- .loader__base.small {
305
- background: linear-gradient(
306
- to right,
307
- #fff 28%,
308
- rgba(255, 255, 255, 0) 42%
309
- );
310
- }
311
- }
312
- }
313
-
314
- .right-side {
315
- @media screen and (max-width: 1025px) {
316
- .loader.small {
317
- position: absolute;
318
- right: 0;
319
- height: 100%;
320
- display: flex;
321
- align-items: center;
322
- }
323
- }
324
- }
325
- </style>
1
+ <template>
2
+ <div
3
+ class="loader"
4
+ :class="{
5
+ 'loader--global': global,
6
+ small: small || smallYellow,
7
+ 'very-small': verySmall,
8
+ unloadData: unloadData,
9
+ }"
10
+ >
11
+ <div class="loader__wrapper">
12
+ <div class="loader__element" v-if="!timerCenter">
13
+ <p class="loader__number" v-if="timer">
14
+ {{ ownSeconds }}
15
+ </p>
16
+ <div
17
+ class="loader__base"
18
+ :class="[
19
+ {
20
+ small: small,
21
+ 'very-small': verySmall,
22
+ 'small-yellow': smallYellow,
23
+ },
24
+ ]"
25
+ />
26
+ </div>
27
+
28
+ <div class="loader__element-stable" v-if="timerCenter">
29
+ <p class="loader__number-stable">
30
+ {{ ownSeconds }}
31
+ </p>
32
+ <div
33
+ class="loader__base"
34
+ :class="[
35
+ {
36
+ small: small,
37
+ 'very-small': verySmall,
38
+ 'small-yellow': smallYellow,
39
+ },
40
+ ]"
41
+ />
42
+ </div>
43
+
44
+ <div class="loader__subtitle" v-if="global">
45
+ <slot></slot>
46
+ </div>
47
+ </div>
48
+ </div>
49
+ </template>
50
+
51
+ <script>
52
+ export default {
53
+ name: "BaseLoader",
54
+ props: {
55
+ timer: {
56
+ type: Boolean,
57
+ default: false,
58
+ },
59
+ timerCenter: {
60
+ type: Boolean,
61
+ default: false,
62
+ },
63
+ global: {
64
+ type: Boolean,
65
+ default: false,
66
+ },
67
+ small: {
68
+ type: Boolean,
69
+ default: false,
70
+ },
71
+ smallYellow: {
72
+ type: Boolean,
73
+ default: false,
74
+ },
75
+ verySmall: {
76
+ type: Boolean,
77
+ default: false,
78
+ },
79
+ seconds: {
80
+ type: [Number, String],
81
+ default: 0,
82
+ },
83
+ unloadData: {
84
+ type: Boolean,
85
+ default: false,
86
+ },
87
+ },
88
+ data() {
89
+ return {
90
+ timerStore: null,
91
+ ownSeconds: this.seconds,
92
+ };
93
+ },
94
+ mounted() {
95
+ (this.timer || this.timerCenter) &&
96
+ (this.timerStore = setInterval(() => {
97
+ if (this.ownSeconds > 0) {
98
+ this.ownSeconds--;
99
+ return;
100
+ }
101
+ clearInterval(this.timerStore);
102
+ this.$emit("completed");
103
+ }, 1000));
104
+ },
105
+ beforeDestroy() {
106
+ clearInterval(this.timerStore);
107
+ },
108
+ };
109
+ </script>
110
+
111
+ <style lang="scss" scoped>
112
+ .loader {
113
+ $self: &;
114
+ margin: 0 auto;
115
+ // tablet
116
+ @media screen and (max-width: 1025px) {
117
+ margin-top: 20px;
118
+ }
119
+ &.very-small {
120
+ margin: 0;
121
+ width: 16px;
122
+ height: 16px;
123
+ }
124
+
125
+ &.small {
126
+ margin: 0;
127
+ width: 20px;
128
+ height: 20px;
129
+ }
130
+
131
+ &__number {
132
+ position: absolute;
133
+ color: #ffcd33;
134
+ font-size: 24px;
135
+ line-height: 33px;
136
+ top: 38%;
137
+ left: 726px;
138
+ text-align: center;
139
+
140
+ &-stable {
141
+ position: absolute;
142
+ color: #ffcd33;
143
+ font-size: 24px;
144
+ line-height: 33px;
145
+ left: 50%;
146
+ transform: translateX(-50%);
147
+ text-align: center;
148
+ top: 20%;
149
+
150
+ @media screen and (max-width: 1025px) {
151
+ top: 25%;
152
+ }
153
+ }
154
+ }
155
+
156
+ &__element {
157
+ top: 350px;
158
+ left: 0;
159
+ right: 0;
160
+ }
161
+
162
+ &__element-stable {
163
+ top: 0px;
164
+ left: 0;
165
+ right: 0;
166
+ }
167
+
168
+ &__base {
169
+ height: 100px;
170
+ width: 100px;
171
+ background: #ffcd33;
172
+ background: linear-gradient(
173
+ to right,
174
+ #ffcd33 10%,
175
+ rgba(255, 255, 255, 0) 42%
176
+ );
177
+ border-radius: 50%;
178
+ mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #fff 0);
179
+ animation: spin 0.7s linear infinite;
180
+ margin-left: auto;
181
+ margin-right: auto;
182
+ @media screen and (max-width: 1025px) {
183
+ height: 60px;
184
+ width: 60px;
185
+ }
186
+
187
+ &.small {
188
+ width: 20px;
189
+ height: 20px;
190
+ margin: 0;
191
+ background: linear-gradient(
192
+ to right,
193
+ #217aff 28%,
194
+ rgba(255, 255, 255, 0) 42%
195
+ );
196
+ mask: radial-gradient(
197
+ farthest-side,
198
+ transparent calc(100% - 1.5px),
199
+ #fff 0
200
+ );
201
+ }
202
+
203
+ &.small-yellow {
204
+ width: 20px;
205
+ height: 20px;
206
+ margin: 0;
207
+ background: linear-gradient(
208
+ to right,
209
+ #ffcd33 28%,
210
+ rgba(255, 255, 255, 0) 42%
211
+ );
212
+ mask: radial-gradient(
213
+ farthest-side,
214
+ transparent calc(100% - 1.5px),
215
+ #fff 0
216
+ );
217
+ }
218
+
219
+ &.very-small {
220
+ width: 16px;
221
+ height: 16px;
222
+ margin: 0;
223
+ background: linear-gradient(
224
+ to right,
225
+ #217aff 28%,
226
+ rgba(255, 255, 255, 0) 42%
227
+ );
228
+ mask: radial-gradient(
229
+ farthest-side,
230
+ transparent calc(100% - 1.5px),
231
+ #fff 0
232
+ );
233
+ }
234
+ }
235
+
236
+ &__subtitle {
237
+ text-align: center;
238
+ margin-top: 40px;
239
+
240
+ p {
241
+ font-size: 18px;
242
+ line-height: 25px;
243
+ color: var(--newGray);
244
+ font-weight: 400;
245
+ }
246
+ }
247
+
248
+ &.unloadData {
249
+ #{$self}__element {
250
+ position: relative;
251
+ top: 200px;
252
+ }
253
+
254
+ #{$self}__number {
255
+ position: absolute;
256
+ top: 50%;
257
+ left: 50%;
258
+ transform: translate(-50%, -50%);
259
+ }
260
+ }
261
+
262
+ &--global {
263
+ position: fixed;
264
+ top: 0;
265
+ left: 0;
266
+ right: 0;
267
+ bottom: 0;
268
+ width: 100%;
269
+ height: 100%;
270
+ background: #fff;
271
+ display: flex;
272
+ justify-content: center;
273
+ align-items: center;
274
+
275
+ #{$self}__base {
276
+ margin-top: 0;
277
+ }
278
+
279
+ #{$self}__element {
280
+ position: relative;
281
+ top: 20px;
282
+ }
283
+
284
+ #{$self}__number {
285
+ position: absolute;
286
+ top: 50%;
287
+ left: 50%;
288
+ transform: translate(-50%, -50%);
289
+ }
290
+ }
291
+ }
292
+
293
+ @keyframes spin {
294
+ 0% {
295
+ transform: rotate(0deg);
296
+ }
297
+ 100% {
298
+ transform: rotate(360deg);
299
+ }
300
+ }
301
+
302
+ .download-button.colored--blue {
303
+ &:hover {
304
+ .loader__base.small {
305
+ background: linear-gradient(
306
+ to right,
307
+ #fff 28%,
308
+ rgba(255, 255, 255, 0) 42%
309
+ );
310
+ }
311
+ }
312
+ }
313
+
314
+ .right-side {
315
+ @media screen and (max-width: 1025px) {
316
+ .loader.small {
317
+ position: absolute;
318
+ right: 0;
319
+ height: 100%;
320
+ display: flex;
321
+ align-items: center;
322
+ }
323
+ }
324
+ }
325
+ </style>
@@ -1,15 +1,15 @@
1
- import MailTo from "./MailTo.vue";
2
-
3
- export default {
4
- title: "MailTo",
5
- component: MailTo,
6
- template: "<a-mail-to></a-mail-to>",
7
- };
8
-
9
- const Template = (args, { argTypes }) => ({
10
- components: { MailTo },
11
- props: Object.keys(argTypes),
12
- template: '<mail-to v-bind="$props"></mail-to>',
13
- });
14
-
1
+ import MailTo from "./MailTo.vue";
2
+
3
+ export default {
4
+ title: "MailTo",
5
+ component: MailTo,
6
+ template: "<a-mail-to></a-mail-to>",
7
+ };
8
+
9
+ const Template = (args, { argTypes }) => ({
10
+ components: { MailTo },
11
+ props: Object.keys(argTypes),
12
+ template: '<mail-to v-bind="$props"></mail-to>',
13
+ });
14
+
15
15
  export const AMailTo = Template.bind({});