adata-ui 0.3.0 → 0.3.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 +7 -7
- package/babel.config.js +5 -5
- package/dist/adata-ui.common.js +69 -40
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +69 -40
- 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.json +1 -1
- package/public/index.html +17 -17
- package/src/components/Header/Header.vue +97 -14
- package/src/components/Header/Profile.vue +1 -1
- package/src/components/Header/ProfileMobile.vue +7 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# Welcome to Adata-UI
|
|
2
|
-
### here we develop UI components to our projects
|
|
3
|
-
## Project setup
|
|
4
|
-
```
|
|
5
|
-
npm install
|
|
6
|
-
npm run storybook
|
|
7
|
-
```
|
|
1
|
+
# Welcome to Adata-UI
|
|
2
|
+
### here we develop UI components to our projects
|
|
3
|
+
## Project setup
|
|
4
|
+
```
|
|
5
|
+
npm install
|
|
6
|
+
npm run storybook
|
|
7
|
+
```
|
package/babel.config.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
presets: [
|
|
3
|
-
'@vue/cli-plugin-babel/preset'
|
|
4
|
-
]
|
|
5
|
-
}
|
|
1
|
+
module.exports = {
|
|
2
|
+
presets: [
|
|
3
|
+
'@vue/cli-plugin-babel/preset'
|
|
4
|
+
]
|
|
5
|
+
}
|
package/dist/adata-ui.common.js
CHANGED
|
@@ -1077,6 +1077,13 @@ module.exports = function (CONSTRUCTOR_NAME) {
|
|
|
1077
1077
|
|
|
1078
1078
|
/***/ }),
|
|
1079
1079
|
|
|
1080
|
+
/***/ "27fd":
|
|
1081
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1082
|
+
|
|
1083
|
+
// extracted by mini-css-extract-plugin
|
|
1084
|
+
|
|
1085
|
+
/***/ }),
|
|
1086
|
+
|
|
1080
1087
|
/***/ "2a09":
|
|
1081
1088
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1082
1089
|
|
|
@@ -1356,6 +1363,17 @@ module.exports = function (it) {
|
|
|
1356
1363
|
};
|
|
1357
1364
|
|
|
1358
1365
|
|
|
1366
|
+
/***/ }),
|
|
1367
|
+
|
|
1368
|
+
/***/ "3714":
|
|
1369
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1370
|
+
|
|
1371
|
+
"use strict";
|
|
1372
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ProfileMobile_vue_vue_type_style_index_0_id_56d590ce_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("27fd");
|
|
1373
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ProfileMobile_vue_vue_type_style_index_0_id_56d590ce_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ProfileMobile_vue_vue_type_style_index_0_id_56d590ce_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1374
|
+
/* unused harmony reexport * */
|
|
1375
|
+
|
|
1376
|
+
|
|
1359
1377
|
/***/ }),
|
|
1360
1378
|
|
|
1361
1379
|
/***/ "37e8":
|
|
@@ -6264,17 +6282,6 @@ module.exports = function (input, pref) {
|
|
|
6264
6282
|
module.exports = false;
|
|
6265
6283
|
|
|
6266
6284
|
|
|
6267
|
-
/***/ }),
|
|
6268
|
-
|
|
6269
|
-
/***/ "c5cc":
|
|
6270
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6271
|
-
|
|
6272
|
-
"use strict";
|
|
6273
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ProfileMobile_vue_vue_type_style_index_0_id_3252c910_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("efc6");
|
|
6274
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ProfileMobile_vue_vue_type_style_index_0_id_3252c910_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ProfileMobile_vue_vue_type_style_index_0_id_3252c910_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
6275
|
-
/* unused harmony reexport * */
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
6285
|
/***/ }),
|
|
6279
6286
|
|
|
6280
6287
|
/***/ "c607":
|
|
@@ -7462,13 +7469,6 @@ if ($stringify) {
|
|
|
7462
7469
|
/* unused harmony reexport * */
|
|
7463
7470
|
|
|
7464
7471
|
|
|
7465
|
-
/***/ }),
|
|
7466
|
-
|
|
7467
|
-
/***/ "efc6":
|
|
7468
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
7469
|
-
|
|
7470
|
-
// extracted by mini-css-extract-plugin
|
|
7471
|
-
|
|
7472
7472
|
/***/ }),
|
|
7473
7473
|
|
|
7474
7474
|
/***/ "f069":
|
|
@@ -8528,8 +8528,8 @@ var Alert_component = normalizeComponent(
|
|
|
8528
8528
|
)
|
|
8529
8529
|
|
|
8530
8530
|
/* harmony default export */ var Alert = (Alert_component.exports);
|
|
8531
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a6bfc6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/Header.vue?vue&type=template&id=
|
|
8532
|
-
var
|
|
8531
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a6bfc6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/Header.vue?vue&type=template&id=2b7cd542&
|
|
8532
|
+
var Headervue_type_template_id_2b7cd542_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{class:{ sticky: _vm.isSticky }},[_c('InfoHeader',{attrs:{"weather":_vm.weather,"currencies":_vm.currencies,"system-message":_vm.systemMessage,"requestCount":_vm.requestCount,"daysRemaining":_vm.daysRemaining,"is-open-notification":_vm.isOpenNotification,"is-authenticated":_vm.isAuthenticated},on:{"closeNotification":_vm.closeNotification}}),_c('div',{staticClass:"header",class:{ bordered: _vm.isBordered }},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"header__left"},[_c('a',{staticClass:"logo",attrs:{"href":_vm.main[_vm.mode],"onclick":"return false;"},on:{"click":function($event){return _vm.goToAnotherModule(_vm.main[_vm.mode])}}},[_c('svg',{staticClass:"adata-logo desktop",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 166 48"}},[_c('path',{attrs:{"d":"M62.926 38.22v-28h10.316c10.342 0 15.511 4.55 15.508 13.652 0 4.36-1.41 7.843-4.232 10.448-2.822 2.605-6.58 3.907-11.276 3.904l-10.316-.004zm6.56-22.868v17.752h3.248c2.839 0 5.069-.82 6.69-2.46 1.622-1.64 2.43-3.873 2.424-6.7 0-2.667-.8-4.767-2.403-6.3-1.602-1.533-3.853-2.297-6.752-2.292h-3.206zM118.5 38.22h-7.131l-2.079-6.228H98.958l-2.079 6.228h-7.093l10.598-28h7.775l10.341 28zm-10.723-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.162c-.07.83-.24 1.649-.508 2.44l-3.168 9.492h7.451zm31.833-11.796h-8.316V38.22h-6.557V15.352h-8.274v-5.136h23.147v5.136zM166 38.22h-7.143l-2.079-6.228h-10.349l-2.05 6.228h-7.106l10.598-28h7.776l10.353 28zm-10.719-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.163c-.069.83-.239 1.649-.507 2.44l-3.168 9.492h7.451zM24.553 15.252h-.163c-.069.83-.24 1.649-.507 2.44L20.715 27.2h7.45l-3.126-9.412a12.02 12.02 0 01-.486-2.536z"}}),_c('path',{attrs:{"d":"M44.905 0H4.99a5.091 5.091 0 00-3.528 1.406A4.71 4.71 0 000 4.8v38.4a4.71 4.71 0 001.461 3.394A5.091 5.091 0 004.99 48h39.916a5.091 5.091 0 003.528-1.406 4.71 4.71 0 001.462-3.394V4.8a4.71 4.71 0 00-1.462-3.394A5.091 5.091 0 0044.905 0zM31.737 38.26l-2.079-6.232H19.305l-2.05 6.232h-7.097l10.598-28h7.776l10.353 28h-7.148z"}})]),_c('svg',{staticClass:"adata-logo mobile",attrs:{"viewBox":"0 0 23 22","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M11.3883 7.06335H11.3145C11.2829 7.43668 11.2054 7.80519 11.0836 8.16135L9.64099 12.44H13.0335L11.6098 8.20455C11.4947 7.83247 11.4204 7.45002 11.3883 7.06335Z","fill":"#2C3E50"}}),_c('path',{attrs:{"d":"M20.6552 0.200012H2.48111C1.8786 0.200012 1.30077 0.427581 0.874734 0.83266C0.448697 1.23774 0.209351 1.78714 0.209351 2.36001V19.64C0.209351 20.2129 0.448697 20.7623 0.874734 21.1674C1.30077 21.5724 1.8786 21.8 2.48111 21.8H20.6552C21.2577 21.8 21.8355 21.5724 22.2616 21.1674C22.6876 20.7623 22.9269 20.2129 22.9269 19.64V2.36001C22.9269 1.78714 22.6876 1.23774 22.2616 0.83266C21.8355 0.427581 21.2577 0.200012 20.6552 0.200012ZM14.6596 17.417L13.7131 14.6126H8.99916L8.06585 17.417H4.83427L9.65987 4.81702H13.2L17.9139 17.417H14.6596Z","fill":"#2C3E50"}})])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.headerItems.length > 0),expression:"headerItems.length > 0"}],staticClass:"menu"},_vm._l((_vm.headerItems),function(item,index){return _c('a',{key:index,staticClass:"menu__wrapper menu__items",class:{ active: item.key === _vm.activeTabKey },attrs:{"href":item[_vm.mode],"onclick":"return false;"},on:{"click":function($event){return _vm.goToAnotherModule(item[_vm.mode])}}},[_vm._v(" "+_vm._s(item.name)+" ")])}),0),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.hasSearchField),expression:"hasSearchField"}],staticClass:"mobile-search"},[_c('div',{staticClass:"search-input",on:{"click":function($event){return _vm.$emit('search')}}},[_c('svg',{attrs:{"width":"16","height":"16","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M14 13.9995L10.5967 10.596","stroke":"#2C3E50","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('circle',{attrs:{"cx":"7","cy":"7","r":"5","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})]),_vm._v(" Найти ")]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(_vm.hasFavourites),expression:"hasFavourites"}],attrs:{"href":_vm.favouriteUrl,"target":"_blank"}},[_c('div',{staticClass:"favorite-btn",on:{"click":function($event){return _vm.$emit('')}}},[_c('svg',{attrs:{"width":"16","height":"16","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M3 2.5V14.0057C3 14.4167 3.46826 14.6521 3.79816 14.4071L7.70184 11.5072C7.87886 11.3757 8.12114 11.3757 8.29816 11.5072L12.2018 14.4071C12.5317 14.6521 13 14.4167 13 14.0057V2.5C13 2.22386 12.7761 2 12.5 2H3.5C3.22386 2 3 2.22386 3 2.5Z","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])])])])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.noAuth),expression:"!noAuth"}],staticClass:"header__right"},[_c('Profile',{attrs:{"mode":_vm.mode,"activeTabKey":_vm.activeTabKey,"isAuthenticated":_vm.isAuthenticated,"email":_vm.email,"loginUrl":_vm.loginUrl,"rate":_vm.rate,"balance":this.thousandSeparator(_vm.balance)},on:{"showBalanceModal":function (val) {
|
|
8533
8533
|
_vm.$emit('showBalanceModal', val);
|
|
8534
8534
|
},"setShowModal":function (val) {
|
|
8535
8535
|
_vm.$emit('setShowModal', val);
|
|
@@ -8540,10 +8540,10 @@ var Headervue_type_template_id_6c5e966a_render = function () {var _vm=this;var _
|
|
|
8540
8540
|
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.headerItems.length > 0 && _vm.isOpen),expression:"headerItems.length > 0 && isOpen"}],staticClass:"menu_mobile",class:animationClass},[_c('div',{staticClass:"empty-space",on:{"click":_vm.changeValue}}),_c('div',{staticClass:"menu-wrapper"},[_c('div',{staticClass:"menu-wrapper__top"},[_c('div',{staticClass:"mobile-table-head"},[(!_vm.isAuthenticated)?_c('button',{staticClass:"sign",on:{"click":function($event){$event.preventDefault();return _vm.goAuth.apply(null, arguments)}}},[_c('svg',{attrs:{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M13.5 15L16.5 11.9189L13.6154 9","stroke":"#007AFF","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M9 7.125V4.5H19.5V19.5H9V17.4375","stroke":"#007AFF","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M16 12H4","stroke":"#007AFF","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_c('span',[_vm._v("Войти")])]):_c('div',{staticClass:"menu-wrapper__top-left"},[_c('div',{staticClass:"text-wrapper"},[_c('p',[_vm._v(_vm._s(_vm.email)+" "),_c('span',{on:{"click":function($event){$event.stopPropagation();return _vm.changeValue.apply(null, arguments)}}},[_c('svg',{attrs:{"width":"16","height":"16","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M1.99902 1.99957L13.9996 14.0002","stroke":"#2C3E50","stroke-linecap":"round"}}),_c('path',{attrs:{"d":"M14 1.99957L1.9994 14.0002","stroke":"#2C3E50","stroke-linecap":"round"}})])])]),_c('p',[_vm._v("Тариф "+_vm._s(_vm.rate)+" "),_c('span',{on:{"click":function($event){$event.stopPropagation();$event.preventDefault();_vm.isActiveMenu = true}}},[_vm._v(" Перейти "),_c('svg',{attrs:{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('rect',{attrs:{"width":"24","height":"24","rx":"12","transform":"matrix(-1 0 0 1 24 0)","fill":"#007AFF","fill-opacity":"0.12"}}),_c('path',{attrs:{"d":"M14.0005 8.00311L18.0005 12.0096L14.0005 16.0031","stroke":"#007AFF","stroke-width":"1.2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M18 12L6 12","stroke":"#007AFF","stroke-width":"1.2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})])])])])]),(!_vm.isAuthenticated)?_c('div',{staticClass:"menu-wrapper__top-right",on:{"click":function($event){$event.stopPropagation();return _vm.changeValue.apply(null, arguments)}}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z","fill":"#2C3E50"}})])]):_vm._e()]),_c('div',{staticClass:"menu__link"},_vm._l((_vm.headerItems),function(item,index){return _c('a',{key:index,staticClass:"menu_mobile-wrapper",class:{ 'active-burger-tab': item.key === _vm.activeTabKey },attrs:{"href":item[_vm.mode]}},[_vm._v(" "+_vm._s(item.name)+" ")])}),0)]),_c('div',{staticClass:"menu-wrapper__bottom"},[_c('div',{staticClass:"menu-wrapper__bottom-header"},[_c('span',[_vm._v("Валюта")]),_c('span',[_vm._v("Покупка")]),_c('span',[_vm._v("Продажа")])]),_c('div',{staticClass:"menu-wrapper__bottom-body"},_vm._l((_vm.currencies),function(currency,index){return _c('div',{key:index,staticClass:"menu-wrapper__bottom-row"},[_c('div',{staticClass:"menu-wrapper__bottom-column"},[(currency.currency === 'USD')?_c('svg',{attrs:{"width":"16","height":"17","viewBox":"0 0 16 17","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"clip-path":"url(#clip0_179_1917)"}},[_c('path',{attrs:{"d":"M26.4 0.5H-4V16.5H26.4V0.5Z","fill":"white"}}),_c('path',{attrs:{"d":"M26.4 0.5H-4V1.732H26.4V0.5Z","fill":"#B22234"}}),_c('path',{attrs:{"d":"M26.4 2.95996H-4V4.19196H26.4V2.95996Z","fill":"#B22234"}}),_c('path',{attrs:{"d":"M26.4 5.42407H-4V6.65607H26.4V5.42407Z","fill":"#B22234"}}),_c('path',{attrs:{"d":"M26.4 7.88403H-4V9.11603H26.4V7.88403Z","fill":"#B22234"}}),_c('path',{attrs:{"d":"M26.4 10.3479H-4V11.5799H26.4V10.3479Z","fill":"#B22234"}}),_c('path',{attrs:{"d":"M26.4 12.8081H-4V14.0401H26.4V12.8081Z","fill":"#B22234"}}),_c('path',{attrs:{"d":"M26.4 15.2681H-4V16.5001H26.4V15.2681Z","fill":"#B22234"}}),_c('path',{attrs:{"d":"M8.16 0.5H-4V9.116H8.16V0.5Z","fill":"#3C3B6E"}}),_c('path',{attrs:{"d":"M0.603882 1.20011L0.891882 1.40811L0.783882 1.75211L1.07188 1.54011L1.35988 1.75211L1.25188 1.40811L1.53988 1.20011H1.18388L1.07188 0.860107L0.959882 1.20011H0.603882Z","fill":"white"}}),_c('path',{attrs:{"d":"M2.61987 1.20011L2.90787 1.40811L2.79987 1.75211L3.08787 1.54011L3.37587 1.75211L3.26787 1.40811L3.55587 1.20011H3.19987L3.08787 0.860107L2.97587 1.20011H2.61987Z","fill":"white"}}),_c('path',{attrs:{"d":"M4.63599 1.20011L4.92399 1.40811L4.81599 1.75211L5.10399 1.54011L5.39199 1.75211L5.28399 1.40811L5.57199 1.20011H5.21599L5.10399 0.860107L4.99199 1.20011H4.63599Z","fill":"white"}}),_c('path',{attrs:{"d":"M6.65198 1.20011L6.93998 1.40811L6.83198 1.75211L7.11998 1.54011L7.40798 1.75211L7.29998 1.40811L7.58798 1.20011H7.23198L7.11998 0.860107L7.00798 1.20011H6.65198Z","fill":"white"}}),_c('path',{attrs:{"d":"M-0.403931 2.06412L-0.115931 2.27212L-0.223931 2.61612L0.0640694 2.40412L0.352069 2.61612L0.244069 2.27212L0.532069 2.06412H0.176069L0.0640694 1.72412L-0.0479305 2.06412H-0.403931Z","fill":"white"}}),_c('path',{attrs:{"d":"M1.61206 2.06412L1.90006 2.27212L1.79206 2.61612L2.08006 2.40412L2.36806 2.61612L2.26006 2.27212L2.54806 2.06412H2.19206L2.08006 1.72412L1.96806 2.06412H1.61206Z","fill":"white"}}),_c('path',{attrs:{"d":"M3.62817 2.06412L3.91617 2.27212L3.80817 2.61612L4.09617 2.40412L4.38417 2.61612L4.27617 2.27212L4.56417 2.06412H4.20817L4.09617 1.72412L3.98417 2.06412H3.62817Z","fill":"white"}}),_c('path',{attrs:{"d":"M5.64417 2.06412L5.93216 2.27212L5.82416 2.61612L6.11216 2.40412L6.40016 2.61612L6.29216 2.27212L6.58016 2.06412H6.22416L6.11216 1.72412L6.00016 2.06412H5.64417Z","fill":"white"}}),_c('path',{attrs:{"d":"M0.603882 2.92789L0.891882 3.13589L0.783882 3.47989L1.07188 3.26789L1.35988 3.47989L1.25188 3.13589L1.53988 2.92789H1.18388L1.07188 2.58789L0.959882 2.92789H0.603882Z","fill":"white"}}),_c('path',{attrs:{"d":"M2.61987 2.92789L2.90787 3.13589L2.79987 3.47989L3.08787 3.26789L3.37587 3.47989L3.26787 3.13589L3.55587 2.92789H3.19987L3.08787 2.58789L2.97587 2.92789H2.61987Z","fill":"white"}}),_c('path',{attrs:{"d":"M4.63599 2.92789L4.92399 3.13589L4.81599 3.47989L5.10399 3.26789L5.39199 3.47989L5.28399 3.13589L5.57199 2.92789H5.21599L5.10399 2.58789L4.99199 2.92789H4.63599Z","fill":"white"}}),_c('path',{attrs:{"d":"M6.65198 2.92789L6.93998 3.13589L6.83198 3.47989L7.11998 3.26789L7.40798 3.47989L7.29998 3.13589L7.58798 2.92789H7.23198L7.11998 2.58789L7.00798 2.92789H6.65198Z","fill":"white"}}),_c('path',{attrs:{"d":"M-0.380127 3.7959L-0.0881271 4.0039L-0.200127 4.3439L0.0878731 4.1359L0.379873 4.3439L0.267873 4.0039L0.555873 3.7959H0.199873L0.0878731 3.4519L-0.0201271 3.7959H-0.380127Z","fill":"white"}}),_c('path',{attrs:{"d":"M1.63599 3.7959L1.92399 4.0039L1.81599 4.3439L2.10399 4.1359L2.39599 4.3439L2.28399 4.0039L2.57199 3.7959H2.21599L2.10399 3.4519L1.99599 3.7959H1.63599Z","fill":"white"}}),_c('path',{attrs:{"d":"M3.65198 3.7959L3.94398 4.0039L3.83198 4.3439L4.11998 4.1359L4.41198 4.3439L4.29998 4.0039L4.58798 3.7959H4.23198L4.11998 3.4519L4.01198 3.7959H3.65198Z","fill":"white"}}),_c('path',{attrs:{"d":"M5.66797 3.7959L5.95597 4.0039L5.84797 4.3439L6.13597 4.1359L6.42797 4.3439L6.31597 4.0039L6.60397 3.7959H6.24797L6.13597 3.4519L6.02797 3.7959H5.66797Z","fill":"white"}}),_c('path',{attrs:{"d":"M0.635986 4.65201L0.923986 4.86001L0.811986 5.20401L1.10399 4.99201L1.39199 5.20401L1.27999 4.86001L1.57199 4.65201H1.21199L1.10399 4.31201L0.991986 4.65201H0.635986Z","fill":"white"}}),_c('path',{attrs:{"d":"M2.65198 4.65201L2.93998 4.86001L2.82798 5.20401L3.11998 4.99201L3.40798 5.20401L3.29598 4.86001L3.58798 4.65201H3.22798L3.11998 4.31201L3.00798 4.65201H2.65198Z","fill":"white"}}),_c('path',{attrs:{"d":"M4.66406 4.65201L4.95606 4.86001L4.84406 5.20401L5.13606 4.99201L5.42406 5.20401L5.31206 4.86001L5.60406 4.65201H5.24406L5.13606 4.31201L5.02406 4.65201H4.66406Z","fill":"white"}}),_c('path',{attrs:{"d":"M6.40002 4.84L6.69202 5.048L6.58002 5.392L6.87202 5.18L7.16002 5.392L7.04802 5.048L7.34002 4.84H6.98002L6.87202 4.5L6.76002 4.84H6.40002Z","fill":"white"}}),_c('path',{attrs:{"d":"M0.651978 6.35196L0.943977 6.55996L0.831978 6.90396L1.11998 6.69196L1.41198 6.90396L1.29998 6.55996L1.58798 6.35196H1.23198L1.11998 6.01196L1.01198 6.35196H0.651978Z","fill":"white"}}),_c('path',{attrs:{"d":"M2.66797 6.35196L2.95997 6.55996L2.84797 6.90396L3.13597 6.69196L3.42797 6.90396L3.31597 6.55996L3.60797 6.35196H3.24797L3.13597 6.01196L3.02797 6.35196H2.66797Z","fill":"white"}}),_c('path',{attrs:{"d":"M4.68396 6.35196L4.97596 6.55996L4.86396 6.90396L5.15196 6.69196L5.44396 6.90396L5.33196 6.55996L5.61996 6.35196H5.26396L5.15196 6.01196L5.04396 6.35196H4.68396Z","fill":"white"}}),_c('path',{attrs:{"d":"M6.69995 6.35196L6.99195 6.55996L6.87995 6.90396L7.16795 6.69196L7.45995 6.90396L7.34795 6.55996L7.63595 6.35196H7.27995L7.16795 6.01196L7.05995 6.35196H6.69995Z","fill":"white"}}),_c('path',{attrs:{"d":"M0.628174 8.07193L0.916174 8.28393L0.808174 8.62393L1.09617 8.41193L1.38817 8.62393L1.27617 8.28393L1.56417 8.07193H1.20817L1.09617 7.73193L0.988174 8.07193H0.628174Z","fill":"white"}}),_c('path',{attrs:{"d":"M2.64417 8.07193L2.93616 8.28393L2.82416 8.62393L3.11216 8.41193L3.40416 8.62393L3.29216 8.28393L3.58016 8.07193H3.22416L3.11216 7.73193L3.00416 8.07193H2.64417Z","fill":"white"}}),_c('path',{attrs:{"d":"M4.66016 8.07193L4.95216 8.28393L4.84016 8.62393L5.12816 8.41193L5.42016 8.62393L5.30816 8.28393L5.59616 8.07193H5.24016L5.12816 7.73193L5.02016 8.07193H4.66016Z","fill":"white"}}),_c('path',{attrs:{"d":"M6.67615 8.07193L6.96415 8.28393L6.85615 8.62393L7.14415 8.41193L7.43615 8.62393L7.32415 8.28393L7.61215 8.07193H7.25615L7.14415 7.73193L7.03615 8.07193H6.67615Z","fill":"white"}}),_c('path',{attrs:{"d":"M-0.376221 5.4921L-0.0842209 5.7041L-0.196221 6.0441L0.095779 5.8321L0.383779 6.0441L0.275779 5.7041L0.563779 5.4921H0.203779L0.095779 5.1521L-0.0162209 5.4921H-0.376221Z","fill":"white"}}),_c('path',{attrs:{"d":"M1.64417 5.4921L1.93217 5.7041L1.82017 6.0441L2.11217 5.8321L2.40017 6.0441L2.28817 5.7041L2.58017 5.4921H2.22017L2.11217 5.1521L2.00017 5.4921H1.64417Z","fill":"white"}}),_c('path',{attrs:{"d":"M3.65588 5.4921L3.94788 5.7041L3.83588 6.0441L4.12788 5.8321L4.41588 6.0441L4.30788 5.7041L4.59588 5.4921H4.23588L4.12788 5.1521L4.01588 5.4921H3.65588Z","fill":"white"}}),_c('path',{attrs:{"d":"M5.67188 5.4921L5.96387 5.7041L5.85187 6.0441L6.14387 5.8321L6.43187 6.0441L6.31987 5.7041L6.61187 5.4921H6.25187L6.14387 5.1521L6.03187 5.4921H5.67188Z","fill":"white"}}),_c('path',{attrs:{"d":"M-0.380127 7.21207L-0.0881271 7.42007L-0.200127 7.76007L0.0878731 7.55207L0.379873 7.76007L0.267873 7.42007L0.555873 7.21207H0.199873L0.0878731 6.87207L-0.0201271 7.21207H-0.380127Z","fill":"white"}}),_c('path',{attrs:{"d":"M1.63599 7.21207L1.92399 7.42007L1.81599 7.76007L2.10399 7.55207L2.39599 7.76007L2.28399 7.42007L2.57199 7.21207H2.21599L2.10399 6.87207L1.99599 7.21207H1.63599Z","fill":"white"}}),_c('path',{attrs:{"d":"M3.65198 7.21207L3.94398 7.42007L3.83198 7.76007L4.11998 7.55207L4.41198 7.76007L4.29998 7.42007L4.58798 7.21207H4.23198L4.11998 6.87207L4.01198 7.21207H3.65198Z","fill":"white"}}),_c('path',{attrs:{"d":"M5.66797 7.21207L5.95597 7.42007L5.84797 7.76007L6.13597 7.55207L6.42797 7.76007L6.31597 7.42007L6.60397 7.21207H6.24797L6.13597 6.87207L6.02797 7.21207H5.66797Z","fill":"white"}})]),_c('defs',[_c('clipPath',{attrs:{"id":"clip0_179_1917"}},[_c('path',{attrs:{"d":"M0 2.5C0 1.39543 0.895431 0.5 2 0.5H14C15.1046 0.5 16 1.39543 16 2.5V14.5C16 15.6046 15.1046 16.5 14 16.5H2C0.895431 16.5 0 15.6046 0 14.5V2.5Z","fill":"white"}})])])]):_vm._e(),(currency.currency === 'EUR')?_c('svg',{attrs:{"width":"16","height":"17","viewBox":"0 0 16 17","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M0 2.5C0 1.39543 0.895431 0.5 2 0.5H14C15.1046 0.5 16 1.39543 16 2.5V14.5C16 15.6046 15.1046 16.5 14 16.5H2C0.895431 16.5 0 15.6046 0 14.5V2.5Z","fill":"#314199"}}),_c('path',{attrs:{"d":"M7.99479 12.5967L8.18355 13.1573L8.75857 13.1568L8.35044 13.4667L8.46265 14.0686L7.99479 13.7271L7.52542 14.0594L7.639 13.4667L7.23511 13.1549H7.80958L7.99479 12.5967Z","fill":"#F8EC26"}}),_c('path',{attrs:{"d":"M7.99479 2.85718L8.18355 3.41796L8.75857 3.41727L8.35044 3.72735L8.46265 4.32913L7.99479 3.98765L7.52542 4.31994L7.639 3.72735L7.23511 3.41535H7.80958L7.99479 2.85718Z","fill":"#F8EC26"}}),_c('path',{attrs:{"d":"M10.333 3.48364L10.5218 4.04428L11.097 4.04373L10.6888 4.35368L10.8009 4.95546L10.333 4.61411L9.86366 4.94641L9.97739 4.35368L9.57349 4.04181H10.148L10.333 3.48364Z","fill":"#F8EC26"}}),_c('path',{attrs:{"d":"M5.54397 3.48364L5.73273 4.04428L6.3079 4.04373L5.89976 4.35368L6.01184 4.95546L5.54397 4.61411L5.0746 4.94641L5.18832 4.35368L4.78442 4.04181H5.35877L5.54397 3.48364Z","fill":"#F8EC26"}}),_c('path',{attrs:{"d":"M10.333 11.9387L10.5218 12.4995L11.097 12.4989L10.6888 12.8089L10.8009 13.4107L10.333 13.0693L9.86366 13.4016L9.97739 12.8089L9.57349 12.4969H10.148L10.333 11.9387Z","fill":"#F8EC26"}}),_c('path',{attrs:{"d":"M5.54397 11.9387L5.73273 12.4995L6.3079 12.4989L5.89976 12.8089L6.01184 13.4107L5.54397 13.0693L5.0746 13.4016L5.18832 12.8089L4.78442 12.4969H5.35877L5.54397 11.9387Z","fill":"#F8EC26"}}),_c('path',{attrs:{"d":"M3.75309 5.32153L3.94185 5.88231L4.51688 5.88162L4.10888 6.1917L4.22082 6.79349L3.75309 6.45214L3.28372 6.7843L3.39731 6.1917L2.99341 5.8797H3.56789L3.75309 5.32153Z","fill":"#F8EC26"}}),_c('path',{attrs:{"d":"M12.1823 5.32153L12.3711 5.88231L12.9462 5.88162L12.5381 6.1917L12.6502 6.79349L12.1823 6.45214L11.7129 6.7843L11.8265 6.1917L11.4226 5.8797H11.9971L12.1823 5.32153Z","fill":"#F8EC26"}}),_c('path',{attrs:{"d":"M3.75309 10.1826L3.94185 10.7434L4.51688 10.7427L4.10888 11.0528L4.22082 11.6546L3.75309 11.3131L3.28372 11.6454L3.39731 11.0528L2.99341 10.7408H3.56789L3.75309 10.1826Z","fill":"#F8EC26"}}),_c('path',{attrs:{"d":"M12.1823 10.1826L12.3711 10.7434L12.9462 10.7427L12.5381 11.0528L12.6502 11.6546L12.1823 11.3131L11.7129 11.6454L11.8265 11.0528L11.4226 10.7408H11.9971L12.1823 10.1826Z","fill":"#F8EC26"}}),_c('path',{attrs:{"d":"M3.19682 7.73389L3.38558 8.29466L3.96074 8.29398L3.55261 8.60406L3.66469 9.20584L3.19682 8.86436L2.72745 9.19665L2.84103 8.60406L2.43713 8.29206H3.01161L3.19682 7.73389Z","fill":"#F8EC26"}}),_c('path',{attrs:{"d":"M12.799 7.73389L12.9877 8.29466L13.5629 8.29398L13.1548 8.60406L13.2668 9.20584L12.799 8.86436L12.3296 9.19665L12.4433 8.60406L12.0394 8.29206H12.6138L12.799 7.73389Z","fill":"#F8EC26"}})]):_vm._e(),(currency.currency === 'RUB')?_c('svg',{attrs:{"width":"16","height":"17","viewBox":"0 0 16 17","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"clip-path":"url(#clip0_179_2012)"}},[_c('path',{attrs:{"d":"M0 0.5C0 -0.60457 0.895431 -1.5 2 -1.5H18C19.1046 -1.5 20 -0.604569 20 0.5V5.5H0V0.5Z","fill":"#F0F0F0"}}),_c('rect',{attrs:{"y":"5.5","width":"20","height":"7","fill":"#0039A6"}}),_c('path',{attrs:{"d":"M0 11.5H20V16.5C20 17.6046 19.1046 18.5 18 18.5H2C0.895431 18.5 0 17.6046 0 16.5V11.5Z","fill":"#D52B1E"}})]),_c('defs',[_c('clipPath',{attrs:{"id":"clip0_179_2012"}},[_c('rect',{attrs:{"y":"0.5","width":"16","height":"16","rx":"2","fill":"white"}})])])]):_vm._e(),(currency.currency === 'CNY')?_c('svg',{attrs:{"width":"16","height":"16","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M0 2C0 0.895431 0.895431 0 2 0H14C15.1046 0 16 0.895431 16 2V14C16 15.1046 15.1046 16 14 16H2C0.895431 16 0 15.1046 0 14V2Z","fill":"#DE2910"}}),_c('path',{attrs:{"d":"M4.00115 1.60043L5.41155 5.94203L1.71875 3.25883H6.28355L2.59075 5.94203L4.00115 1.60043Z","fill":"#FFDE00"}}),_c('path',{attrs:{"d":"M7.3125 2.01103L8.3117 0.863831L8.1781 2.37983L7.3957 1.07503L8.7957 1.67023L7.3125 2.01103Z","fill":"#FFDE00"}}),_c('path',{attrs:{"d":"M8.80803 3.31335L10.1744 2.64375L9.46323 3.98855L9.24803 2.48215L10.3072 3.57415L8.80803 3.31335Z","fill":"#FFDE00"}}),_c('path',{attrs:{"d":"M8.82968 5.38077L10.3497 5.32637L9.15208 6.26477L9.56968 4.80157L10.0913 6.23037L8.82968 5.38077Z","fill":"#FFDE00"}}),_c('path',{attrs:{"d":"M7.3758 6.6997L8.7998 7.2365L7.3326 7.6397L8.283 6.4509L8.2118 7.9709L7.3758 6.6997Z","fill":"#FFDE00"}})]):_vm._e(),_c('span',[_vm._v(_vm._s(currency.currency))])]),_c('div',{staticClass:"menu-wrapper__bottom-column"},[_c('span',[_vm._v(_vm._s(currency.buy))]),(currency.buy_state === 'DOWN')?_c('svg',{attrs:{"width":"16","height":"17","viewBox":"0 0 16 17","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M8 12.5249L12.3301 4.52507H3.66987L8 12.5249Z","fill":"#FF2E43"}})]):_c('svg',{attrs:{"width":"16","height":"17","viewBox":"0 0 16 17","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M8 4.47461L12.3301 12.4702H3.66987L8 4.47461Z","fill":"#00B92D"}})])]),_c('div',{staticClass:"menu-wrapper__bottom-column"},[_c('span',[_vm._v(_vm._s(currency.sell))]),(currency.sell_state === 'DOWN')?_c('svg',{attrs:{"width":"16","height":"17","viewBox":"0 0 16 17","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M8 12.5249L12.3301 4.52507H3.66987L8 12.5249Z","fill":"#FF2E43"}})]):_c('svg',{attrs:{"width":"16","height":"17","viewBox":"0 0 16 17","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M8 4.47461L12.3301 12.4702H3.66987L8 4.47461Z","fill":"#00B92D"}})])])])}),0),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"menu_mobile-footer"},[_c('button',{staticClass:"sign",on:{"click":function($event){return _vm.$emit('logout')}}},[_c('svg',{attrs:{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M16.5 15L19.5 12L16.5 9","stroke":"white","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M15 16.875L15 19.5L4.5 19.5L4.5 4.5L15 4.5L15 6.5625","stroke":"white","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M19 12H8","stroke":"white","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_c('span',[_vm._v("Выход")])])])])])])]}}])}),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8541
8541
|
var animationClass = ref.animationClass;
|
|
8542
8542
|
return [_c('ProfileMobile',{directives:[{name:"show",rawName:"v-show",value:(_vm.isActiveMenu),expression:"isActiveMenu"}],class:animationClass,attrs:{"rate":_vm.rate,"email":_vm.email,"mode":_vm.mode,"balance":_vm.thousandSeparator(_vm.balance),"activeTabKey":_vm.activeTabKey,"daysLeft":_vm.daysRemaining},on:{"changeValue":_vm.changeValue,"close":function($event){_vm.isActiveMenu = false},"logout":function($event){return _vm.$emit('logout')}}})]}}])})],1)],1)}
|
|
8543
|
-
var
|
|
8543
|
+
var Headervue_type_template_id_2b7cd542_staticRenderFns = []
|
|
8544
8544
|
|
|
8545
8545
|
|
|
8546
|
-
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=
|
|
8546
|
+
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=2b7cd542&
|
|
8547
8547
|
|
|
8548
8548
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
8549
8549
|
var es_promise = __webpack_require__("e6cf");
|
|
@@ -8602,12 +8602,12 @@ var es_json_stringify = __webpack_require__("e9c4");
|
|
|
8602
8602
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
8603
8603
|
var es_string_replace = __webpack_require__("5319");
|
|
8604
8604
|
|
|
8605
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a6bfc6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/ProfileMobile.vue?vue&type=template&id=
|
|
8606
|
-
var
|
|
8607
|
-
var
|
|
8605
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a6bfc6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/ProfileMobile.vue?vue&type=template&id=56d590ce&scoped=true&
|
|
8606
|
+
var ProfileMobilevue_type_template_id_56d590ce_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"menu_mobile"},[_c('div',{staticClass:"empty-space",on:{"click":function($event){return _vm.$emit('changeValue')}}}),_c('div',{staticClass:"menu-wrapper"},[_c('div',{staticClass:"mobile-table-head"},[_c('div',{staticClass:"mobile-table-head-left",on:{"click":function($event){$event.stopPropagation();return _vm.$emit('close')}}},[_c('svg',{attrs:{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M9.9996 8.00317L5.9996 12.0097L9.99958 16.0032","stroke":"#007AFF","stroke-width":"1.2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M6 12L18 12","stroke":"#007AFF","stroke-width":"1.2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_c('span',[_vm._v(_vm._s(_vm.email))])])]),_c('div',{staticClass:"mobile-table-body"},[_c('p',[_vm._v("Тариф "+_vm._s(_vm.rate))]),_c('p',[_vm._v("Суточный лимит запросов: "),_c('span',[_vm._v(_vm._s(+_vm.limitRemaining))])]),_c('p',[_vm._v("Остаток дней по тарифу: "),_c('span',[_vm._v(_vm._s(_vm.daysLeft))])]),_c('a',{staticClass:"button",attrs:{"href":_vm.profileDropDown[0][_vm.mode] || '/'}},[_vm._v("Увеличить лимит запросов")])]),_c('div',{staticClass:"mobile-table-item"},[_c('p',{staticClass:"mobile-table-item__title"},[_vm._v(" Платежи ")]),_c('div',{staticClass:"mobile-table-item__text"},[_c('p',[_vm._v("Текущий баланс: "),_c('span',[_vm._v(_vm._s(_vm.balance + " ₸"))])]),_c('a',{staticClass:"button",attrs:{"href":_vm.profileDropDown[1][_vm.mode],"onclick":"return false"},on:{"click":function($event){return _vm.showModal(_vm.profileDropDown[1][_vm.mode])}}},[_vm._v(" Пополнить ")])]),_c('a',{staticClass:"p",attrs:{"href":_vm.profileDropDown[2][_vm.mode]}},[_vm._v("История платежей")])]),_c('div',{staticClass:"mobile-table-item"},[_c('p',{staticClass:"mobile-table-item__title"},[_vm._v(" Профиль пользователя ")]),_vm._l((_vm.profileDropDown.filter(function (el) { return el.children; })),function(item,id){return _c('div',{key:'child' + id,staticClass:"mobile-table-item__text wrapped"},[_c('div',{staticClass:"wrapped__text",class:{'active': item.opened},on:{"click":function($event){return _vm.openOneCloseOthers(id)}}},[_c('p',[_vm._v(_vm._s(item.name))]),_c('div',{staticClass:"svg-wrapper",class:{'rotated': item.opened}},[_c('svg',{attrs:{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M4.5 9L12 15L19.5 9","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])])]),_c('SlideToggle',[_c('div',{directives:[{name:"show",rawName:"v-show",value:(item.opened),expression:"item.opened"}],staticClass:"mobile-table-item__children"},_vm._l((item.children),function(elem,id){return _c('a',{key:'elem' + id,attrs:{"href":elem[_vm.mode],"target":elem.name === 'Избранные' ? '_blank' : '_self'}},[_vm._v(" "+_vm._s(elem.name)+" ")])}),0)])],1)})],2),_c('div',{staticClass:"mobile-table-item"},[_c('p',{staticClass:"mobile-table-item__title"},[_vm._v(" Общие настройки ")]),_c('a',{staticClass:"p",attrs:{"href":_vm.profileDropDown[3][_vm.mode]}},[_vm._v("Личная информация")])]),_c('div',{staticClass:"menu_mobile-footer"},[_c('button',{staticClass:"sign",on:{"click":function($event){return _vm.$emit('logout')}}},[_c('svg',{attrs:{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M16.5 15L19.5 12L16.5 9","stroke":"white","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M15 16.875L15 19.5L4.5 19.5L4.5 4.5L15 4.5L15 6.5625","stroke":"white","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M19 12H8","stroke":"white","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_c('span',[_vm._v("Выход")])])])])])}
|
|
8607
|
+
var ProfileMobilevue_type_template_id_56d590ce_scoped_true_staticRenderFns = []
|
|
8608
8608
|
|
|
8609
8609
|
|
|
8610
|
-
// CONCATENATED MODULE: ./src/components/Header/ProfileMobile.vue?vue&type=template&id=
|
|
8610
|
+
// CONCATENATED MODULE: ./src/components/Header/ProfileMobile.vue?vue&type=template&id=56d590ce&scoped=true&
|
|
8611
8611
|
|
|
8612
8612
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
8613
8613
|
var es_array_find = __webpack_require__("7db0");
|
|
@@ -8908,6 +8908,12 @@ var SlideToggle_component = normalizeComponent(
|
|
|
8908
8908
|
//
|
|
8909
8909
|
//
|
|
8910
8910
|
//
|
|
8911
|
+
//
|
|
8912
|
+
//
|
|
8913
|
+
//
|
|
8914
|
+
//
|
|
8915
|
+
//
|
|
8916
|
+
//
|
|
8911
8917
|
|
|
8912
8918
|
|
|
8913
8919
|
/* harmony default export */ var ProfileMobilevue_type_script_lang_js_ = ({
|
|
@@ -9005,8 +9011,8 @@ var SlideToggle_component = normalizeComponent(
|
|
|
9005
9011
|
});
|
|
9006
9012
|
// CONCATENATED MODULE: ./src/components/Header/ProfileMobile.vue?vue&type=script&lang=js&
|
|
9007
9013
|
/* harmony default export */ var Header_ProfileMobilevue_type_script_lang_js_ = (ProfileMobilevue_type_script_lang_js_);
|
|
9008
|
-
// EXTERNAL MODULE: ./src/components/Header/ProfileMobile.vue?vue&type=style&index=0&id=
|
|
9009
|
-
var
|
|
9014
|
+
// EXTERNAL MODULE: ./src/components/Header/ProfileMobile.vue?vue&type=style&index=0&id=56d590ce&lang=scss&scoped=true&
|
|
9015
|
+
var ProfileMobilevue_type_style_index_0_id_56d590ce_lang_scss_scoped_true_ = __webpack_require__("3714");
|
|
9010
9016
|
|
|
9011
9017
|
// CONCATENATED MODULE: ./src/components/Header/ProfileMobile.vue
|
|
9012
9018
|
|
|
@@ -9019,28 +9025,28 @@ var ProfileMobilevue_type_style_index_0_id_3252c910_lang_scss_scoped_true_ = __w
|
|
|
9019
9025
|
|
|
9020
9026
|
var ProfileMobile_component = normalizeComponent(
|
|
9021
9027
|
Header_ProfileMobilevue_type_script_lang_js_,
|
|
9022
|
-
|
|
9023
|
-
|
|
9028
|
+
ProfileMobilevue_type_template_id_56d590ce_scoped_true_render,
|
|
9029
|
+
ProfileMobilevue_type_template_id_56d590ce_scoped_true_staticRenderFns,
|
|
9024
9030
|
false,
|
|
9025
9031
|
null,
|
|
9026
|
-
"
|
|
9032
|
+
"56d590ce",
|
|
9027
9033
|
null
|
|
9028
9034
|
|
|
9029
9035
|
)
|
|
9030
9036
|
|
|
9031
9037
|
/* harmony default export */ var ProfileMobile = (ProfileMobile_component.exports);
|
|
9032
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a6bfc6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/Profile.vue?vue&type=template&id=
|
|
9033
|
-
var
|
|
9038
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"21a6bfc6-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/Profile.vue?vue&type=template&id=5e3911d4&
|
|
9039
|
+
var Profilevue_type_template_id_5e3911d4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"profile",class:{ active: _vm.active }},[_c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () { _vm.active = false; }),expression:"() => { active = false; }"}]},[_c('div',{staticClass:"profile__inner"},[_c('div',{staticClass:"profile__item",on:{"click":function($event){_vm.active = !_vm.active}}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"profile__item-link"},[_c('span',{staticClass:"desktop"},[_vm._v(_vm._s(_vm.email))]),_c('svg',{staticClass:"desktop arrow-svg",class:{ rotate: _vm.active },attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill":"none","d":"M0 0h16v16H0z"}}),_c('path',{attrs:{"fill":"none","d":"M3 6.5L8 10l5-3.5","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]),_c('button',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isAuthenticated),expression:"!isAuthenticated"}],staticClass:"sign",on:{"click":function($event){$event.preventDefault();return _vm.goAuth.apply(null, arguments)}}},[_c('svg',{staticClass:"desktop",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill":"#fff","d":"M0 0h16v16H0z","stroke":"none"}}),_c('path',{attrs:{"d":"M8 10l2-2.054L8.077 6","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M6 4.1V2h8v12H6v-1.65M9 8H2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_c('span',{staticClass:"sign_text"},[_vm._v("Вход")])])])]),_c('SlideToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
9034
9040
|
var animationClass = ref.animationClass;
|
|
9035
9041
|
return [(_vm.isAuthenticated)?_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.active),expression:"active"}],staticClass:"profile-menu",class:animationClass},[_c('div',{staticClass:"profile-menu__inner"},[_c('div',{staticClass:"profile-menu__items"},_vm._l((_vm.profileDropDown),function(elem,index){return _c('div',{key:index},[(elem[_vm.mode])?_c('a',{staticClass:"gray-text",class:elem.link
|
|
9036
9042
|
? 'profile-menu__balance-link'
|
|
9037
9043
|
: 'profile-menu__links',attrs:{"href":elem[_vm.mode],"onclick":"`return false`"},on:{"click":function($event){return _vm.preventLink(elem.disabled, $event)}}},[_c('div',{class:{'rate-item': index === 0}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(index === 0),expression:"index === 0"}],staticClass:"rate"},[_vm._v(" Тариф "+_vm._s(_vm.rate)+" ")]),_vm._v(" "+_vm._s(elem.name)+" "),_c('span',{directives:[{name:"show",rawName:"v-show",value:(index === 1),expression:"index === 1"}],staticClass:"balance"},[_vm._v(_vm._s(_vm.balance || 0)+" ₸")])]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(elem.link),expression:"elem.link"}],staticClass:"profile-menu__balance",on:{"click":function($event){return _vm.showModal(elem[_vm.mode], elem.name)}}},[_vm._v(" "+_vm._s(elem.link)+" ")])]):_vm._e(),(elem.children)?_c('div',{staticClass:"gray-text profile-menu__item",on:{"click":function($event){return _vm.rotateItem(index)}}},[_c('div',{staticClass:"profile-menu__item__children",class:{ active: elem.opened }},[_vm._v(" "+_vm._s(elem.name)+" "),(elem.children.length > 0)?_c('span',[_c('svg',{class:{ rotated: elem.opened },attrs:{"width":"12","height":"8","viewBox":"0 0 12 8","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M1 1.5L6 6.5L11 1.5","stroke":"#69797D","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()]),_c('SlideToggle',{class:animationClass,scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
9038
9044
|
var animationClass = ref.animationClass;
|
|
9039
9045
|
return [(elem.opened)?_c('div',[_vm._l((elem.children),function(child,idx){return [(child[_vm.mode])?_c('div',{key:idx + 'link',staticClass:"profile-menu__item__child",on:{"click":function($event){return _vm.handleClick(child[_vm.mode], child.name)}}},[_c('span',[_vm._v(" "+_vm._s(child.name)+" ")])]):_vm._e()]})],2):_vm._e()]}}],null,true)})],1):_vm._e()])}),0),_c('div',{staticClass:"exit",on:{"click":_vm.logout}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"d":"M11 10l2-2.054L11.077 6M10 11.9V14H2V2h8v1.65M12 8H5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_vm._v(" Выход ")])])]):_vm._e()]}}])})],1)])}
|
|
9040
|
-
var
|
|
9046
|
+
var Profilevue_type_template_id_5e3911d4_staticRenderFns = []
|
|
9041
9047
|
|
|
9042
9048
|
|
|
9043
|
-
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=
|
|
9049
|
+
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=5e3911d4&
|
|
9044
9050
|
|
|
9045
9051
|
// EXTERNAL MODULE: ./node_modules/v-click-outside/dist/v-click-outside.umd.js
|
|
9046
9052
|
var v_click_outside_umd = __webpack_require__("c28b");
|
|
@@ -9346,7 +9352,7 @@ var v_click_outside_umd_default = /*#__PURE__*/__webpack_require__.n(v_click_out
|
|
|
9346
9352
|
},
|
|
9347
9353
|
handleClick: function handleClick(url, name) {
|
|
9348
9354
|
if (!name.includes("Текущий")) {
|
|
9349
|
-
window.open(url,
|
|
9355
|
+
window.open(url, name === 'Избранные' ? '_blank' : '_self');
|
|
9350
9356
|
}
|
|
9351
9357
|
},
|
|
9352
9358
|
rotateItem: function rotateItem(index) {
|
|
@@ -9385,8 +9391,8 @@ var Profilevue_type_style_index_0_lang_scss_ = __webpack_require__("ee80");
|
|
|
9385
9391
|
|
|
9386
9392
|
var Profile_component = normalizeComponent(
|
|
9387
9393
|
Header_Profilevue_type_script_lang_js_,
|
|
9388
|
-
|
|
9389
|
-
|
|
9394
|
+
Profilevue_type_template_id_5e3911d4_render,
|
|
9395
|
+
Profilevue_type_template_id_5e3911d4_staticRenderFns,
|
|
9390
9396
|
false,
|
|
9391
9397
|
null,
|
|
9392
9398
|
null,
|
|
@@ -10204,6 +10210,20 @@ var InfoHeader_component = normalizeComponent(
|
|
|
10204
10210
|
//
|
|
10205
10211
|
//
|
|
10206
10212
|
//
|
|
10213
|
+
//
|
|
10214
|
+
//
|
|
10215
|
+
//
|
|
10216
|
+
//
|
|
10217
|
+
//
|
|
10218
|
+
//
|
|
10219
|
+
//
|
|
10220
|
+
//
|
|
10221
|
+
//
|
|
10222
|
+
//
|
|
10223
|
+
//
|
|
10224
|
+
//
|
|
10225
|
+
//
|
|
10226
|
+
//
|
|
10207
10227
|
|
|
10208
10228
|
|
|
10209
10229
|
|
|
@@ -10268,11 +10288,20 @@ var InfoHeader_component = normalizeComponent(
|
|
|
10268
10288
|
balance: {
|
|
10269
10289
|
type: Number,
|
|
10270
10290
|
default: 0
|
|
10291
|
+
},
|
|
10292
|
+
hasFavourites: {
|
|
10293
|
+
type: Boolean,
|
|
10294
|
+
default: false
|
|
10295
|
+
},
|
|
10296
|
+
hasSearchField: {
|
|
10297
|
+
type: Boolean,
|
|
10298
|
+
default: false
|
|
10271
10299
|
}
|
|
10272
10300
|
},
|
|
10273
10301
|
data: function data() {
|
|
10274
10302
|
return {
|
|
10275
10303
|
isActiveMenu: false,
|
|
10304
|
+
favouriteUrl: "/profile/favorites",
|
|
10276
10305
|
main: {
|
|
10277
10306
|
dev: "https://adtdev.kz",
|
|
10278
10307
|
prod: "https://adata.kz",
|
|
@@ -10531,8 +10560,8 @@ var Headervue_type_style_index_0_lang_scss_ = __webpack_require__("52f3");
|
|
|
10531
10560
|
|
|
10532
10561
|
var Header_component = normalizeComponent(
|
|
10533
10562
|
Header_Headervue_type_script_lang_js_,
|
|
10534
|
-
|
|
10535
|
-
|
|
10563
|
+
Headervue_type_template_id_2b7cd542_render,
|
|
10564
|
+
Headervue_type_template_id_2b7cd542_staticRenderFns,
|
|
10536
10565
|
false,
|
|
10537
10566
|
null,
|
|
10538
10567
|
null,
|