adata-ui 0.1.50 → 0.1.51
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 +474 -143
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +474 -143
- 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/src/App.vue +0 -1
- package/src/assets/style.scss +1 -1
- package/src/components/Header/Header.vue +91 -85
- package/src/components/Header/InfoHeader.vue +307 -0
- package/src/components/Header/Profile.vue +0 -14
package/dist/adata-ui.common.js
CHANGED
|
@@ -1443,6 +1443,13 @@ module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
|
1443
1443
|
});
|
|
1444
1444
|
|
|
1445
1445
|
|
|
1446
|
+
/***/ }),
|
|
1447
|
+
|
|
1448
|
+
/***/ "4aec":
|
|
1449
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1450
|
+
|
|
1451
|
+
// extracted by mini-css-extract-plugin
|
|
1452
|
+
|
|
1446
1453
|
/***/ }),
|
|
1447
1454
|
|
|
1448
1455
|
/***/ "4d60":
|
|
@@ -8473,14 +8480,14 @@ var Alert_component = normalizeComponent(
|
|
|
8473
8480
|
)
|
|
8474
8481
|
|
|
8475
8482
|
/* harmony default export */ var Alert = (Alert_component.exports);
|
|
8476
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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=
|
|
8477
|
-
var
|
|
8483
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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=5dc00285&
|
|
8484
|
+
var Headervue_type_template_id_5dc00285_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:{"requestCount":_vm.requestCount,"daysRemaining":_vm.daysRemaining,"isAuthenticated":_vm.isAuthenticated}}),_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]}},[_c('svg',{staticClass:"adata-logo",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"}})])]),(_vm.subheaderItems.length > 0)?_c('div',{staticClass:"menu"},_vm._l((_vm.subheaderItems),function(item,index){return _c('a',{key:index,staticClass:"menu__wrapper menu__items",class:{active: item.key === _vm.activeTabKey},attrs:{"href":item[_vm.mode]}},[_vm._v(" "+_vm._s(item.name)+" ")])}),0):_vm._e()]),_c('div',{staticClass:"header__right"},[_vm._t("chooseCountry"),_c('Profile',{attrs:{"profileDropDown":_vm.profileDropDown,"mode":_vm.mode,"isAuthenticated":_vm.isAuthenticated,"email":_vm.email,"loginUrl":_vm.loginUrl,"activeTabKey":_vm.activeTabKey},on:{"showBalanceModal":function (val) { _vm.$emit('showBalanceModal', val) },"setShowModal":function (val) { _vm.$emit('setShowModal', val) },"logout":function($event){return _vm.$emit('logout')},"setIsReplenishModal":function (val) { _vm.$emit('setIsReplenishModal', val) }}}),_c('div',{staticClass:"menu_mobile--switcher",on:{"click":_vm.changeValue}},[_c('svg',{attrs:{"width":"24","height":"24","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2 4h20v2H2V4zm0 14h20v2H2v-2zm0-7h20v2H2v-2z","fill":"#2C3E50"}})])])],2)]),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8478
8485
|
var animationClass = ref.animationClass;
|
|
8479
|
-
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.subheaderItems.length > 0 && _vm.isOpen),expression:"subheaderItems.length > 0 && isOpen"}],staticClass:"menu_mobile",class:animationClass},[_c('div',{staticClass:"mobile-table-head",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._l((_vm.subheaderItems),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)+" ")])})],2)]}}])})],1)}
|
|
8480
|
-
var
|
|
8486
|
+
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.subheaderItems.length > 0 && _vm.isOpen),expression:"subheaderItems.length > 0 && isOpen"}],staticClass:"menu_mobile",class:animationClass},[_c('div',{staticClass:"mobile-table-head",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._l((_vm.subheaderItems),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)+" ")])})],2)]}}])})],1)],1)}
|
|
8487
|
+
var Headervue_type_template_id_5dc00285_staticRenderFns = []
|
|
8481
8488
|
|
|
8482
8489
|
|
|
8483
|
-
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=
|
|
8490
|
+
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=5dc00285&
|
|
8484
8491
|
|
|
8485
8492
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
8486
8493
|
var es_number_constructor = __webpack_require__("a9e3");
|
|
@@ -8497,8 +8504,120 @@ var es_string_replace = __webpack_require__("5319");
|
|
|
8497
8504
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
8498
8505
|
var es_regexp_to_string = __webpack_require__("25f0");
|
|
8499
8506
|
|
|
8500
|
-
// CONCATENATED MODULE: ./
|
|
8501
|
-
var
|
|
8507
|
+
// CONCATENATED MODULE: ./src/configs/profileDropDown.js
|
|
8508
|
+
var profileDropDown = [{
|
|
8509
|
+
id: 1,
|
|
8510
|
+
name: "Общие настройки",
|
|
8511
|
+
dev: "https://adtdev.kz/profile?tab=general",
|
|
8512
|
+
staging: "https://adada.kz/profile?tab=general",
|
|
8513
|
+
prod: "https://adata.kz/profile?tab=general",
|
|
8514
|
+
disabled: false,
|
|
8515
|
+
withoutArray: true
|
|
8516
|
+
}, {
|
|
8517
|
+
id: 2,
|
|
8518
|
+
name: "Увеличить лимит запросов",
|
|
8519
|
+
dev: "https://adtdev.kz/profile?tab=tariffs",
|
|
8520
|
+
staging: "https://adada.kz/profile?tab=tariffs",
|
|
8521
|
+
prod: "https://adata.kz/profile?tab=tariffs",
|
|
8522
|
+
disabled: false,
|
|
8523
|
+
withoutArray: true
|
|
8524
|
+
}, {
|
|
8525
|
+
id: 3,
|
|
8526
|
+
name: "Текущий баланс: 0 ₸",
|
|
8527
|
+
dev: "https://adtdev.kz/profile?tab=tariffs",
|
|
8528
|
+
staging: "https://adada.kz/profile?tab=tariffs",
|
|
8529
|
+
prod: "https://adata.kz/profile?tab=tariffs",
|
|
8530
|
+
link: "Пополнить",
|
|
8531
|
+
disabled: true,
|
|
8532
|
+
withoutArray: true
|
|
8533
|
+
}, {
|
|
8534
|
+
id: 4,
|
|
8535
|
+
name: "Историй платежей",
|
|
8536
|
+
dev: "https://adtdev.kz/profile?tab=payments",
|
|
8537
|
+
staging: "https://adada.kz/profile?tab=payments",
|
|
8538
|
+
prod: "https://adata.kz/profile?tab=payments",
|
|
8539
|
+
disabled: false,
|
|
8540
|
+
withoutArray: true
|
|
8541
|
+
}, {
|
|
8542
|
+
id: 5,
|
|
8543
|
+
name: "Контрагенты",
|
|
8544
|
+
opened: false,
|
|
8545
|
+
children: [{
|
|
8546
|
+
id: 8,
|
|
8547
|
+
name: "Избранные",
|
|
8548
|
+
dev: "https://pk.adtdev.kz/profile/favorites",
|
|
8549
|
+
staging: "https://pk.adada.kz/profile/favorites",
|
|
8550
|
+
prod: "https://pk.adata.kz/profile/favorites"
|
|
8551
|
+
}, {
|
|
8552
|
+
id: 9,
|
|
8553
|
+
name: "История просмотров",
|
|
8554
|
+
dev: "https://pk.adtdev.kz/profile/browsing-history",
|
|
8555
|
+
staging: "https://pk.adada.kz/profile/browsing-history",
|
|
8556
|
+
prod: "https://pk.adata.kz/profile/browsing-history"
|
|
8557
|
+
}],
|
|
8558
|
+
disabled: false
|
|
8559
|
+
}, {
|
|
8560
|
+
id: 6,
|
|
8561
|
+
name: "Работа",
|
|
8562
|
+
opened: false,
|
|
8563
|
+
children: [{
|
|
8564
|
+
id: 10,
|
|
8565
|
+
name: "Профиль",
|
|
8566
|
+
dev: "https://work.adtdev.kz/profile/account",
|
|
8567
|
+
staging: "https://work.adada.kz/profile/account",
|
|
8568
|
+
prod: "https://work.adata.kz/profile/account"
|
|
8569
|
+
}, // {
|
|
8570
|
+
// id: 11,
|
|
8571
|
+
// name: "Создать резюме",
|
|
8572
|
+
// url: "https://work.adata.kz/user/create"
|
|
8573
|
+
// },
|
|
8574
|
+
{
|
|
8575
|
+
id: 12,
|
|
8576
|
+
name: "Отклики",
|
|
8577
|
+
dev: "https://work.adtdev.kz/profile/application",
|
|
8578
|
+
staging: "https://work.adada.kz/profile/application",
|
|
8579
|
+
prod: "https://work.adata.kz/profile/application"
|
|
8580
|
+
}, {
|
|
8581
|
+
id: 13,
|
|
8582
|
+
name: "Предложения",
|
|
8583
|
+
dev: "https://work.adtdev.kz/profile/offer",
|
|
8584
|
+
staging: "https://work.adada.kz/profile/offer",
|
|
8585
|
+
prod: "https://work.adata.kz/profile/offer"
|
|
8586
|
+
}],
|
|
8587
|
+
disabled: false
|
|
8588
|
+
}, {
|
|
8589
|
+
id: 7,
|
|
8590
|
+
name: "Тендеры",
|
|
8591
|
+
opened: false,
|
|
8592
|
+
children: [{
|
|
8593
|
+
id: 17,
|
|
8594
|
+
name: "Шаблоны поиска",
|
|
8595
|
+
dev: "https://tender.adtdev.kz/profile/search-profile",
|
|
8596
|
+
staging: "https://tender.adada.kz/profile/search-profile",
|
|
8597
|
+
prod: "https://tender.adata.kz/profile/search-profile"
|
|
8598
|
+
}, {
|
|
8599
|
+
id: 17,
|
|
8600
|
+
name: "Избранные",
|
|
8601
|
+
dev: "https://tender.adtdev.kz/profile/favourites",
|
|
8602
|
+
staging: "https://tender.adada.kz/profile/favourites",
|
|
8603
|
+
prod: "https://tender.adata.kz/profile/favourites"
|
|
8604
|
+
}],
|
|
8605
|
+
disabled: false
|
|
8606
|
+
} // {
|
|
8607
|
+
// id: 8,
|
|
8608
|
+
// name: "Штрафы",
|
|
8609
|
+
// url: 'https://avto.adata.kz',
|
|
8610
|
+
// key: 'fines'
|
|
8611
|
+
// },
|
|
8612
|
+
// {
|
|
8613
|
+
// id: 9,
|
|
8614
|
+
// name: "Маркетинг",
|
|
8615
|
+
// url: 'https://marketing.adata.kz',
|
|
8616
|
+
// key: 'marketing'
|
|
8617
|
+
// }
|
|
8618
|
+
];
|
|
8619
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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=cad026e6&
|
|
8620
|
+
var Profilevue_type_template_id_cad026e6_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('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"profile__item-link"},[_c('svg',{staticClass:"user",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 8a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm-1.023 4.344a5 5 0 10-4.954 0C5.757 13.417 3 16.874 3 20.974V21h1.543v-.026c0-4.106 3.339-7.435 7.457-7.435 4.119 0 7.457 3.329 7.457 7.435V21H21v-.026c0-4.1-2.757-7.557-6.523-8.63z","fill":"#2C3E50"}})])]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isAuthenticated),expression:"!isAuthenticated"}],staticClass:"sign",attrs:{"href":_vm.loginUrl}},[_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('svg',{staticClass:"user",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M13 7.94L17.06 12 13 16.06 11.94 15l3-3-3-3L13 7.94z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M8.25 2.25h13.5v19.5H8.25v-4.5h1.5v3h10.5V3.75H9.75v3h-1.5v-4.5z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.25 11.25h13.5v1.5H2.25v-1.5z","fill":"#2C3E50"}})]),_c('span',{staticClass:"sign_text"},[_vm._v("Вход")])])])]),_c('SlideToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8502
8621
|
var animationClass = ref.animationClass;
|
|
8503
8622
|
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"},[(_vm.listDropDown.length)?_c('div',{staticClass:"profile-menu__items"},_vm._l((_vm.listDropDown),function(elem,index){return _c('div',{key:index},[(elem[_vm.mode])?_c('div',{staticClass:"gray-text",class:elem.link ? 'profile-menu__balance-link': 'profile-menu__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[_c('div',[_vm._v(" "+_vm._s(elem.name)+" ")]),(elem.link)?_c('span',{staticClass:"profile-menu__balance",on:{"click":function($event){return _vm.showModal(elem[_vm.mode], elem.name)}}},[_vm._v(" "+_vm._s(elem.link)+" ")]):_vm._e()]):_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"},[_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){
|
|
8504
8623
|
var animationClass = ref.animationClass;
|
|
@@ -8507,10 +8626,10 @@ var animationClass = ref.animationClass;
|
|
|
8507
8626
|
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated && _vm.active),expression:"isAuthenticated && active"}],staticClass:"mobile-table",class:animationClass},[_c('div',{staticClass:"mobile-table-head"},[_c('p',[_vm._v("Профиль пользователя")]),_c('svg',{attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","id":"close_hamburger"},on:{"click":function($event){$event.stopPropagation();_vm.active = !_vm.active}}},[_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"}})])]),_c('div',{staticClass:"profile-menu-mobile"},[_c('div',{staticClass:"profile-menu-mobile__inner"},[(_vm.listDropDown.length > 0)?_c('div',{staticClass:"profile-menu-mobile__items"},_vm._l((_vm.listDropDown),function(elem,index){return _c('div',{key:index,staticClass:"bb"},[(elem[_vm.mode])?_c('div',{class:elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[(!elem.link)?_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))]),_c('svg',{directives:[{name:"show",rawName:"v-show",value:(!elem.withoutArray),expression:"!elem.withoutArray"}],attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])]):_vm._e(),(elem.link)?_c('div',{staticClass:"profile-menu-mobile__balance-items"},[_c('div',{staticClass:"profile-menu-mobile__balance-items__upper-text"},[_vm._v(" "+_vm._s(elem.name.substr(0, 15))+" ")]),_c('div',{staticClass:"profile-menu-mobile__balance__bot-text"},[_vm._v(" "+_vm._s(elem.name.substr(15))+" ")])]):_vm._e(),(elem.link)?_c('span',{staticClass:"profile-menu-mobile__balance",on:{"click":function($event){return _vm.$emit('showBalanceModal', true)}}},[_vm._v(" "+_vm._s(elem.link)+" ")]):_vm._e()]):_vm._e(),(elem.children)?_c('div',{staticClass:"profile-menu-mobile__links",on:{"click":function($event){return _vm.rotateItem(index)}}},[_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))]),_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])])]):_vm._e()])}),0):_vm._e()]),_c('div',{staticClass:"exit-mob",on:{"click":_vm.logout}},[_c('svg',{staticClass:"arrow-svg",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M17.7501 7.93933L21.8108 12L17.7501 16.0607L16.6895 15L19.6895 12L16.6895 8.99999L17.7501 7.93933Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 2.25H2V21.75H15.5V17.25H14V20.25H3.5V3.75H14V6.75H15.5V2.25Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M7 11.25L20.5 11.25L20.5 12.75L7 12.75L7 11.25Z","fill":"#2C3E50"}})]),_vm._v(" Выход ")])])])]}}])}),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8508
8627
|
var animationClass = ref.animationClass;
|
|
8509
8628
|
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.someMobileOpened.length > 0 && _vm.chosenElem && _vm.chosenElem.children.length > 0),expression:"someMobileOpened.length > 0 && chosenElem && chosenElem.children.length > 0"}],staticClass:"mobile-table",class:animationClass},[_c('div',{staticClass:"mobile-table-head mobile-table-head-chosen"},[_c('div',{on:{"click":function($event){_vm.chosenElem.opened = false}}},[_c('svg',{staticClass:"rotated",attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])]),_c('p',[_vm._v(_vm._s(_vm.chosenElem.name))])]),_c('div',{staticClass:"profile-menu-mobile"},[_c('div',{staticClass:"profile-menu-mobile__inner"},[(_vm.chosenElem.children.length > 0)?_c('div',{staticClass:"profile-menu-mobile__items"},_vm._l((_vm.chosenElem.children),function(elem,index){return _c('div',{key:index,staticClass:"bb"},[(elem[_vm.mode])?_c('div',{class:elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))])])]):_vm._e()])}),0):_vm._e()]),_c('div',{staticClass:"exit-mob",on:{"click":_vm.logout}},[_c('svg',{staticClass:"arrow-svg",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M17.7501 7.93933L21.8108 12L17.7501 16.0607L16.6895 15L19.6895 12L16.6895 8.99999L17.7501 7.93933Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 2.25H2V21.75H15.5V17.25H14V20.25H3.5V3.75H14V6.75H15.5V2.25Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M7 11.25L20.5 11.25L20.5 12.75L7 12.75L7 11.25Z","fill":"#2C3E50"}})]),_vm._v(" Выход ")])])])]}}])})],1)])}
|
|
8510
|
-
var
|
|
8629
|
+
var Profilevue_type_template_id_cad026e6_staticRenderFns = []
|
|
8511
8630
|
|
|
8512
8631
|
|
|
8513
|
-
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=
|
|
8632
|
+
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=cad026e6&
|
|
8514
8633
|
|
|
8515
8634
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
8516
8635
|
var es_promise = __webpack_require__("e6cf");
|
|
@@ -8842,13 +8961,6 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
8842
8961
|
|
|
8843
8962
|
|
|
8844
8963
|
|
|
8845
|
-
|
|
8846
|
-
//
|
|
8847
|
-
//
|
|
8848
|
-
//
|
|
8849
|
-
//
|
|
8850
|
-
//
|
|
8851
|
-
//
|
|
8852
8964
|
//
|
|
8853
8965
|
//
|
|
8854
8966
|
//
|
|
@@ -9099,14 +9211,6 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
9099
9211
|
type: Boolean,
|
|
9100
9212
|
default: false
|
|
9101
9213
|
},
|
|
9102
|
-
requestCount: {
|
|
9103
|
-
type: Number,
|
|
9104
|
-
default: null
|
|
9105
|
-
},
|
|
9106
|
-
daysRemaining: {
|
|
9107
|
-
type: String,
|
|
9108
|
-
default: null
|
|
9109
|
-
},
|
|
9110
9214
|
email: {
|
|
9111
9215
|
type: String,
|
|
9112
9216
|
default: ""
|
|
@@ -9235,8 +9339,8 @@ var Profilevue_type_style_index_0_lang_scss_ = __webpack_require__("ee80");
|
|
|
9235
9339
|
|
|
9236
9340
|
var Profile_component = normalizeComponent(
|
|
9237
9341
|
Header_Profilevue_type_script_lang_js_,
|
|
9238
|
-
|
|
9239
|
-
|
|
9342
|
+
Profilevue_type_template_id_cad026e6_render,
|
|
9343
|
+
Profilevue_type_template_id_cad026e6_staticRenderFns,
|
|
9240
9344
|
false,
|
|
9241
9345
|
null,
|
|
9242
9346
|
null,
|
|
@@ -9245,118 +9349,327 @@ var Profile_component = normalizeComponent(
|
|
|
9245
9349
|
)
|
|
9246
9350
|
|
|
9247
9351
|
/* harmony default export */ var Profile = (Profile_component.exports);
|
|
9248
|
-
// CONCATENATED MODULE: ./src/
|
|
9249
|
-
var
|
|
9250
|
-
|
|
9251
|
-
|
|
9252
|
-
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
|
|
9259
|
-
|
|
9260
|
-
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
|
|
9264
|
-
|
|
9265
|
-
|
|
9266
|
-
|
|
9267
|
-
|
|
9268
|
-
|
|
9269
|
-
|
|
9270
|
-
|
|
9271
|
-
|
|
9272
|
-
|
|
9273
|
-
|
|
9274
|
-
|
|
9275
|
-
|
|
9276
|
-
|
|
9277
|
-
|
|
9278
|
-
|
|
9279
|
-
|
|
9280
|
-
|
|
9281
|
-
|
|
9282
|
-
|
|
9283
|
-
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
|
|
9301
|
-
|
|
9302
|
-
|
|
9303
|
-
|
|
9304
|
-
|
|
9305
|
-
|
|
9306
|
-
|
|
9307
|
-
|
|
9308
|
-
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
9321
|
-
|
|
9322
|
-
|
|
9323
|
-
|
|
9324
|
-
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
|
|
9328
|
-
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
|
|
9332
|
-
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
//
|
|
9349
|
-
//
|
|
9350
|
-
//
|
|
9351
|
-
//
|
|
9352
|
-
//
|
|
9353
|
-
//
|
|
9354
|
-
//
|
|
9355
|
-
//
|
|
9356
|
-
//
|
|
9357
|
-
//
|
|
9358
|
-
//
|
|
9359
|
-
|
|
9352
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/InfoHeader.vue?vue&type=template&id=72295ab6&scoped=true&
|
|
9353
|
+
var InfoHeadervue_type_template_id_72295ab6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"info"},[_c('transition',{attrs:{"name":"fade"}},[(_vm.showNotification)?_c('div',{staticClass:"info-notification"},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"info-notification__wrapper"},[_c('div',{staticClass:"info-notification__content"},[_c('svg',{attrs:{"id":"note-svg","width":"16","height":"16","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('circle',{attrs:{"cx":"8","cy":"8","r":"6","stroke":"white"}}),_c('path',{attrs:{"d":"M9.6613 11.1367L9.54952 11.5936C9.21418 11.726 8.94631 11.8267 8.74685 11.896C8.54716 11.9654 8.31514 12 8.05079 12C7.64483 12 7.32906 11.9006 7.10386 11.703C6.87865 11.5047 6.76601 11.2534 6.76601 10.9485C6.76601 10.8305 6.77418 10.7091 6.79117 10.5854C6.80831 10.4616 6.83556 10.3222 6.87284 10.1663L7.29192 8.68297C7.32921 8.54094 7.3609 8.40636 7.38628 8.27909C7.41202 8.15261 7.42442 8.03624 7.42442 7.93149C7.42442 7.74206 7.3852 7.60956 7.30712 7.53507C7.22904 7.46079 7.08005 7.42307 6.85886 7.42307C6.75052 7.42307 6.63917 7.44042 6.52567 7.47398C6.41167 7.50768 6.31423 7.54023 6.23242 7.57049L6.34449 7.11319C6.61902 7.00141 6.88144 6.90569 7.13246 6.82625C7.38348 6.74659 7.62066 6.70672 7.84501 6.70672C8.24818 6.70672 8.55928 6.80416 8.77775 6.99904C8.99622 7.19406 9.10542 7.44688 9.10542 7.75841C9.10542 7.82287 9.09825 7.93644 9.08283 8.09877C9.06777 8.26145 9.03974 8.41051 8.99887 8.5461L8.58158 10.0235C8.54738 10.1421 8.51662 10.2778 8.48988 10.4304C8.46227 10.5821 8.44908 10.6979 8.44908 10.7757C8.44908 10.9718 8.49282 11.1058 8.5805 11.177C8.66884 11.2482 8.82098 11.2836 9.03709 11.2836C9.13854 11.2836 9.25398 11.2656 9.38225 11.2302C9.51016 11.1949 9.60344 11.1638 9.6613 11.1367ZM9.76713 4.93424C9.76713 5.19164 9.67012 5.41147 9.47517 5.59223C9.28072 5.77363 9.04641 5.8644 8.7723 5.8644C8.49733 5.8644 8.26245 5.77363 8.06577 5.59223C7.86946 5.4114 7.77109 5.19164 7.77109 4.93424C7.77109 4.67734 7.86946 4.45716 8.06577 4.27411C8.26209 4.09134 8.4974 4 8.7723 4C9.04634 4 9.28072 4.09156 9.47517 4.27411C9.67026 4.45716 9.76713 4.67742 9.76713 4.93424Z","fill":"white"}})]),_c('span',[_vm._v(_vm._s(_vm.systemMessage))])]),_c('div',{staticClass:"info-notification__close",on:{"click":_vm.closeNotification}},[_c('svg',{attrs:{"id":"close-notification","width":"16","height":"16","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M2.99902 2.99951L12.9997 13.0002","stroke":"white","stroke-linecap":"round"}}),_c('path',{attrs:{"d":"M13 2.99951L2.99934 13.0002","stroke":"white","stroke-linecap":"round"}})])])])])]):_vm._e()]),(!_vm.showNotification)?_c('div',{staticClass:"info-header"},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"info-header__list"},[_c('div',{staticClass:"info-header__item"},[_c('div',{staticClass:"info-header__item-elem first-elem"},[_c('svg',{attrs:{"id":"rate","width":"16","height":"16","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('rect',{attrs:{"x":"2","y":"4","width":"12","height":"7.50184","stroke":"#2C3E50","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M7 5.99902H9","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M7 7.50586H9","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M8 9.99902L8 7.50563","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})]),_c('p',[_vm._v("Курс валют")])]),_c('div',{staticClass:"info-header__item-elem"},[_c('div',{staticClass:"info-header__inner-item"},[_c('svg',{attrs:{"id":"dollar","width":"8","height":"14","viewBox":"0 0 8 14","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M5.59863 9.40234C5.59863 9.01497 5.47559 8.69596 5.22949 8.44531C4.9834 8.1901 4.57324 7.96224 3.99902 7.76172C3.4248 7.55664 2.97819 7.36751 2.65918 7.19434C1.59733 6.62467 1.06641 5.78158 1.06641 4.66504C1.06641 3.90853 1.29655 3.28646 1.75684 2.79883C2.21712 2.3112 2.84147 2.02181 3.62988 1.93066V0.44043H4.72363V1.94434C5.5166 2.05827 6.12956 2.39551 6.5625 2.95605C6.99544 3.51204 7.21191 4.23665 7.21191 5.12988H5.55762C5.55762 4.55566 5.42773 4.10449 5.16797 3.77637C4.91276 3.44368 4.56413 3.27734 4.12207 3.27734C3.68457 3.27734 3.34277 3.39583 3.09668 3.63281C2.85059 3.86979 2.72754 4.20931 2.72754 4.65137C2.72754 5.04785 2.84831 5.36686 3.08984 5.6084C3.33594 5.84538 3.75065 6.07096 4.33398 6.28516C4.91732 6.49935 5.37533 6.69759 5.70801 6.87988C6.04069 7.06217 6.32096 7.27181 6.54883 7.50879C6.77669 7.74121 6.95215 8.01009 7.0752 8.31543C7.19824 8.62077 7.25977 8.97852 7.25977 9.38867C7.25977 10.1589 7.02279 10.7832 6.54883 11.2617C6.07943 11.7402 5.42318 12.0228 4.58008 12.1094V13.4424H3.49316V12.1162C2.59082 12.016 1.89583 11.6924 1.4082 11.1455C0.92513 10.5986 0.683594 9.87402 0.683594 8.97168H2.34473C2.34473 9.5459 2.48828 9.99023 2.77539 10.3047C3.06706 10.6191 3.47721 10.7764 4.00586 10.7764C4.52539 10.7764 4.9196 10.651 5.18848 10.4004C5.46191 10.1497 5.59863 9.81706 5.59863 9.40234Z","fill":"#2C3E50"}})]),_c('p',[_vm._v(_vm._s(_vm.currency.sell))])]),_c('div',{staticClass:"info-header__inner-item"},[_c('svg',{attrs:{"id":"dollar","width":"8","height":"14","viewBox":"0 0 8 14","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M5.59863 9.40234C5.59863 9.01497 5.47559 8.69596 5.22949 8.44531C4.9834 8.1901 4.57324 7.96224 3.99902 7.76172C3.4248 7.55664 2.97819 7.36751 2.65918 7.19434C1.59733 6.62467 1.06641 5.78158 1.06641 4.66504C1.06641 3.90853 1.29655 3.28646 1.75684 2.79883C2.21712 2.3112 2.84147 2.02181 3.62988 1.93066V0.44043H4.72363V1.94434C5.5166 2.05827 6.12956 2.39551 6.5625 2.95605C6.99544 3.51204 7.21191 4.23665 7.21191 5.12988H5.55762C5.55762 4.55566 5.42773 4.10449 5.16797 3.77637C4.91276 3.44368 4.56413 3.27734 4.12207 3.27734C3.68457 3.27734 3.34277 3.39583 3.09668 3.63281C2.85059 3.86979 2.72754 4.20931 2.72754 4.65137C2.72754 5.04785 2.84831 5.36686 3.08984 5.6084C3.33594 5.84538 3.75065 6.07096 4.33398 6.28516C4.91732 6.49935 5.37533 6.69759 5.70801 6.87988C6.04069 7.06217 6.32096 7.27181 6.54883 7.50879C6.77669 7.74121 6.95215 8.01009 7.0752 8.31543C7.19824 8.62077 7.25977 8.97852 7.25977 9.38867C7.25977 10.1589 7.02279 10.7832 6.54883 11.2617C6.07943 11.7402 5.42318 12.0228 4.58008 12.1094V13.4424H3.49316V12.1162C2.59082 12.016 1.89583 11.6924 1.4082 11.1455C0.92513 10.5986 0.683594 9.87402 0.683594 8.97168H2.34473C2.34473 9.5459 2.48828 9.99023 2.77539 10.3047C3.06706 10.6191 3.47721 10.7764 4.00586 10.7764C4.52539 10.7764 4.9196 10.651 5.18848 10.4004C5.46191 10.1497 5.59863 9.81706 5.59863 9.40234Z","fill":"#2C3E50"}})]),_c('p',[_vm._v(_vm._s(_vm.currency.buy))])])])]),(_vm.isAuthenticated)?_c('div',{staticClass:"info-header__item last-header-item"},[_c('div',{staticClass:"info-header__item-elem"},[_c('svg',{attrs:{"id":"clock","width":"14","height":"14","viewBox":"0 0 14 14","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M6.93821 13.2567C10.4279 13.2567 13.2568 10.4277 13.2568 6.93809C13.2568 3.44843 10.4279 0.619507 6.93821 0.619507C3.44855 0.619507 0.619629 3.44843 0.619629 6.93809C0.619629 10.4277 3.44855 13.2567 6.93821 13.2567Z","stroke":"#2C3E50","stroke-miterlimit":"100"}}),_c('path',{attrs:{"d":"M6.93799 3.46899V6.93802L11.1504 9.292","stroke":"#2C3E50","stroke-miterlimit":"100","stroke-linecap":"round"}})]),_c('div',{staticClass:"info-header__inner-item"},[_c('p',[_vm._v("Cуточный лимит запросов: "),_c('span',[_vm._v(_vm._s(_vm.requestCount))])])]),_c('div',{staticClass:"info-header__inner-item"},[_c('p',[_vm._v("остаток дней: "),_c('span',[_vm._v(_vm._s(_vm.daysRemaining))])])])])]):_vm._e()])])]):_vm._e()],1)}
|
|
9354
|
+
var InfoHeadervue_type_template_id_72295ab6_scoped_true_staticRenderFns = []
|
|
9355
|
+
|
|
9356
|
+
|
|
9357
|
+
// CONCATENATED MODULE: ./src/components/Header/InfoHeader.vue?vue&type=template&id=72295ab6&scoped=true&
|
|
9358
|
+
|
|
9359
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/InfoHeader.vue?vue&type=script&lang=js&
|
|
9360
|
+
|
|
9361
|
+
|
|
9362
|
+
|
|
9363
|
+
|
|
9364
|
+
|
|
9365
|
+
//
|
|
9366
|
+
//
|
|
9367
|
+
//
|
|
9368
|
+
//
|
|
9369
|
+
//
|
|
9370
|
+
//
|
|
9371
|
+
//
|
|
9372
|
+
//
|
|
9373
|
+
//
|
|
9374
|
+
//
|
|
9375
|
+
//
|
|
9376
|
+
//
|
|
9377
|
+
//
|
|
9378
|
+
//
|
|
9379
|
+
//
|
|
9380
|
+
//
|
|
9381
|
+
//
|
|
9382
|
+
//
|
|
9383
|
+
//
|
|
9384
|
+
//
|
|
9385
|
+
//
|
|
9386
|
+
//
|
|
9387
|
+
//
|
|
9388
|
+
//
|
|
9389
|
+
//
|
|
9390
|
+
//
|
|
9391
|
+
//
|
|
9392
|
+
//
|
|
9393
|
+
//
|
|
9394
|
+
//
|
|
9395
|
+
//
|
|
9396
|
+
//
|
|
9397
|
+
//
|
|
9398
|
+
//
|
|
9399
|
+
//
|
|
9400
|
+
//
|
|
9401
|
+
//
|
|
9402
|
+
//
|
|
9403
|
+
//
|
|
9404
|
+
//
|
|
9405
|
+
//
|
|
9406
|
+
//
|
|
9407
|
+
//
|
|
9408
|
+
//
|
|
9409
|
+
//
|
|
9410
|
+
//
|
|
9411
|
+
//
|
|
9412
|
+
//
|
|
9413
|
+
//
|
|
9414
|
+
//
|
|
9415
|
+
//
|
|
9416
|
+
//
|
|
9417
|
+
//
|
|
9418
|
+
//
|
|
9419
|
+
//
|
|
9420
|
+
//
|
|
9421
|
+
//
|
|
9422
|
+
//
|
|
9423
|
+
//
|
|
9424
|
+
//
|
|
9425
|
+
//
|
|
9426
|
+
//
|
|
9427
|
+
//
|
|
9428
|
+
//
|
|
9429
|
+
//
|
|
9430
|
+
//
|
|
9431
|
+
//
|
|
9432
|
+
//
|
|
9433
|
+
//
|
|
9434
|
+
//
|
|
9435
|
+
//
|
|
9436
|
+
//
|
|
9437
|
+
//
|
|
9438
|
+
//
|
|
9439
|
+
//
|
|
9440
|
+
//
|
|
9441
|
+
//
|
|
9442
|
+
//
|
|
9443
|
+
//
|
|
9444
|
+
//
|
|
9445
|
+
//
|
|
9446
|
+
//
|
|
9447
|
+
//
|
|
9448
|
+
//
|
|
9449
|
+
//
|
|
9450
|
+
//
|
|
9451
|
+
//
|
|
9452
|
+
//
|
|
9453
|
+
//
|
|
9454
|
+
//
|
|
9455
|
+
//
|
|
9456
|
+
//
|
|
9457
|
+
//
|
|
9458
|
+
//
|
|
9459
|
+
//
|
|
9460
|
+
//
|
|
9461
|
+
//
|
|
9462
|
+
//
|
|
9463
|
+
//
|
|
9464
|
+
//
|
|
9465
|
+
//
|
|
9466
|
+
//
|
|
9467
|
+
//
|
|
9468
|
+
//
|
|
9469
|
+
//
|
|
9470
|
+
//
|
|
9471
|
+
//
|
|
9472
|
+
//
|
|
9473
|
+
//
|
|
9474
|
+
//
|
|
9475
|
+
//
|
|
9476
|
+
//
|
|
9477
|
+
//
|
|
9478
|
+
/* harmony default export */ var InfoHeadervue_type_script_lang_js_ = ({
|
|
9479
|
+
name: "InfoHeader",
|
|
9480
|
+
props: {
|
|
9481
|
+
requestCount: {
|
|
9482
|
+
type: [String, Number],
|
|
9483
|
+
default: null
|
|
9484
|
+
},
|
|
9485
|
+
daysRemaining: {
|
|
9486
|
+
type: [String, Number],
|
|
9487
|
+
default: null
|
|
9488
|
+
},
|
|
9489
|
+
isAuthenticated: {
|
|
9490
|
+
type: Boolean,
|
|
9491
|
+
default: false
|
|
9492
|
+
}
|
|
9493
|
+
},
|
|
9494
|
+
data: function data() {
|
|
9495
|
+
return {
|
|
9496
|
+
showNotification: false,
|
|
9497
|
+
systemMessage: null,
|
|
9498
|
+
currency: null,
|
|
9499
|
+
timer: null
|
|
9500
|
+
};
|
|
9501
|
+
},
|
|
9502
|
+
created: function created() {
|
|
9503
|
+
this.fetchCurrency();
|
|
9504
|
+
},
|
|
9505
|
+
mounted: function mounted() {
|
|
9506
|
+
this.timer = setTimeout(this.fetchNotification, 3000);
|
|
9507
|
+
},
|
|
9508
|
+
watch: {
|
|
9509
|
+
showNotification: function showNotification() {
|
|
9510
|
+
if (!this.showNotification) {
|
|
9511
|
+
clearTimeout(this.timer);
|
|
9512
|
+
}
|
|
9513
|
+
}
|
|
9514
|
+
},
|
|
9515
|
+
methods: {
|
|
9516
|
+
fetchNotification: function fetchNotification() {
|
|
9517
|
+
var _this = this;
|
|
9518
|
+
|
|
9519
|
+
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
9520
|
+
var response, _yield$response$json, data;
|
|
9521
|
+
|
|
9522
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
9523
|
+
while (1) {
|
|
9524
|
+
switch (_context.prev = _context.next) {
|
|
9525
|
+
case 0:
|
|
9526
|
+
_context.prev = 0;
|
|
9527
|
+
_context.next = 3;
|
|
9528
|
+
return fetch('https://users.adtdev.kz/api/v1/system-messages/active-list/?module_name=counterparty');
|
|
9529
|
+
|
|
9530
|
+
case 3:
|
|
9531
|
+
response = _context.sent;
|
|
9532
|
+
_context.next = 6;
|
|
9533
|
+
return response.json();
|
|
9534
|
+
|
|
9535
|
+
case 6:
|
|
9536
|
+
_yield$response$json = _context.sent;
|
|
9537
|
+
data = _yield$response$json.data;
|
|
9538
|
+
|
|
9539
|
+
if (data.details.length) {
|
|
9540
|
+
_this.systemMessage = data.details[0].message;
|
|
9541
|
+
_this.showNotification = true;
|
|
9542
|
+
}
|
|
9543
|
+
|
|
9544
|
+
_context.next = 14;
|
|
9545
|
+
break;
|
|
9546
|
+
|
|
9547
|
+
case 11:
|
|
9548
|
+
_context.prev = 11;
|
|
9549
|
+
_context.t0 = _context["catch"](0);
|
|
9550
|
+
console.log(_context.t0.message);
|
|
9551
|
+
|
|
9552
|
+
case 14:
|
|
9553
|
+
case "end":
|
|
9554
|
+
return _context.stop();
|
|
9555
|
+
}
|
|
9556
|
+
}
|
|
9557
|
+
}, _callee, null, [[0, 11]]);
|
|
9558
|
+
}))();
|
|
9559
|
+
},
|
|
9560
|
+
fetchCurrency: function fetchCurrency() {
|
|
9561
|
+
var _this2 = this;
|
|
9562
|
+
|
|
9563
|
+
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
9564
|
+
var response, _yield$response$json2, data;
|
|
9565
|
+
|
|
9566
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
9567
|
+
while (1) {
|
|
9568
|
+
switch (_context2.prev = _context2.next) {
|
|
9569
|
+
case 0:
|
|
9570
|
+
_context2.prev = 0;
|
|
9571
|
+
_context2.next = 3;
|
|
9572
|
+
return fetch('https://users.adtdev.kz/api/v1/information/currency');
|
|
9573
|
+
|
|
9574
|
+
case 3:
|
|
9575
|
+
response = _context2.sent;
|
|
9576
|
+
_context2.next = 6;
|
|
9577
|
+
return response.json();
|
|
9578
|
+
|
|
9579
|
+
case 6:
|
|
9580
|
+
_yield$response$json2 = _context2.sent;
|
|
9581
|
+
data = _yield$response$json2.data;
|
|
9582
|
+
|
|
9583
|
+
if (data.USD) {
|
|
9584
|
+
_this2.currency = data.USD;
|
|
9585
|
+
}
|
|
9586
|
+
|
|
9587
|
+
_context2.next = 14;
|
|
9588
|
+
break;
|
|
9589
|
+
|
|
9590
|
+
case 11:
|
|
9591
|
+
_context2.prev = 11;
|
|
9592
|
+
_context2.t0 = _context2["catch"](0);
|
|
9593
|
+
console.log(_context2.t0.message);
|
|
9594
|
+
|
|
9595
|
+
case 14:
|
|
9596
|
+
case "end":
|
|
9597
|
+
return _context2.stop();
|
|
9598
|
+
}
|
|
9599
|
+
}
|
|
9600
|
+
}, _callee2, null, [[0, 11]]);
|
|
9601
|
+
}))();
|
|
9602
|
+
},
|
|
9603
|
+
fetchWeather: function fetchWeather() {
|
|
9604
|
+
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
9605
|
+
var response, result;
|
|
9606
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
9607
|
+
while (1) {
|
|
9608
|
+
switch (_context3.prev = _context3.next) {
|
|
9609
|
+
case 0:
|
|
9610
|
+
_context3.prev = 0;
|
|
9611
|
+
_context3.next = 3;
|
|
9612
|
+
return fetch('https://users.adtdev.kz/api/v1/information/weather');
|
|
9613
|
+
|
|
9614
|
+
case 3:
|
|
9615
|
+
response = _context3.sent;
|
|
9616
|
+
_context3.next = 6;
|
|
9617
|
+
return response.json();
|
|
9618
|
+
|
|
9619
|
+
case 6:
|
|
9620
|
+
result = _context3.sent;
|
|
9621
|
+
|
|
9622
|
+
if (result) {
|
|
9623
|
+
console.log(result);
|
|
9624
|
+
}
|
|
9625
|
+
|
|
9626
|
+
_context3.next = 13;
|
|
9627
|
+
break;
|
|
9628
|
+
|
|
9629
|
+
case 10:
|
|
9630
|
+
_context3.prev = 10;
|
|
9631
|
+
_context3.t0 = _context3["catch"](0);
|
|
9632
|
+
console.log(_context3.t0.message);
|
|
9633
|
+
|
|
9634
|
+
case 13:
|
|
9635
|
+
case "end":
|
|
9636
|
+
return _context3.stop();
|
|
9637
|
+
}
|
|
9638
|
+
}
|
|
9639
|
+
}, _callee3, null, [[0, 10]]);
|
|
9640
|
+
}))();
|
|
9641
|
+
},
|
|
9642
|
+
closeNotification: function closeNotification() {
|
|
9643
|
+
this.showNotification = !this.showNotification;
|
|
9644
|
+
}
|
|
9645
|
+
}
|
|
9646
|
+
});
|
|
9647
|
+
// CONCATENATED MODULE: ./src/components/Header/InfoHeader.vue?vue&type=script&lang=js&
|
|
9648
|
+
/* harmony default export */ var Header_InfoHeadervue_type_script_lang_js_ = (InfoHeadervue_type_script_lang_js_);
|
|
9649
|
+
// EXTERNAL MODULE: ./src/components/Header/InfoHeader.vue?vue&type=style&index=0&id=72295ab6&scoped=true&lang=scss&
|
|
9650
|
+
var InfoHeadervue_type_style_index_0_id_72295ab6_scoped_true_lang_scss_ = __webpack_require__("fb2d");
|
|
9651
|
+
|
|
9652
|
+
// CONCATENATED MODULE: ./src/components/Header/InfoHeader.vue
|
|
9653
|
+
|
|
9654
|
+
|
|
9655
|
+
|
|
9656
|
+
|
|
9657
|
+
|
|
9658
|
+
|
|
9659
|
+
/* normalize component */
|
|
9660
|
+
|
|
9661
|
+
var InfoHeader_component = normalizeComponent(
|
|
9662
|
+
Header_InfoHeadervue_type_script_lang_js_,
|
|
9663
|
+
InfoHeadervue_type_template_id_72295ab6_scoped_true_render,
|
|
9664
|
+
InfoHeadervue_type_template_id_72295ab6_scoped_true_staticRenderFns,
|
|
9665
|
+
false,
|
|
9666
|
+
null,
|
|
9667
|
+
"72295ab6",
|
|
9668
|
+
null
|
|
9669
|
+
|
|
9670
|
+
)
|
|
9671
|
+
|
|
9672
|
+
/* harmony default export */ var InfoHeader = (InfoHeader_component.exports);
|
|
9360
9673
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./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=script&lang=js&
|
|
9361
9674
|
|
|
9362
9675
|
|
|
@@ -9439,11 +9752,18 @@ var profileDropDown = [{
|
|
|
9439
9752
|
//
|
|
9440
9753
|
//
|
|
9441
9754
|
//
|
|
9755
|
+
//
|
|
9756
|
+
//
|
|
9757
|
+
//
|
|
9758
|
+
//
|
|
9759
|
+
//
|
|
9760
|
+
|
|
9442
9761
|
|
|
9443
9762
|
|
|
9444
9763
|
|
|
9445
9764
|
/* harmony default export */ var Headervue_type_script_lang_js_ = ({
|
|
9446
9765
|
components: {
|
|
9766
|
+
InfoHeader: InfoHeader,
|
|
9447
9767
|
Profile: Profile,
|
|
9448
9768
|
MobileToggle: VerticalMobileToggle
|
|
9449
9769
|
},
|
|
@@ -9463,16 +9783,16 @@ var profileDropDown = [{
|
|
|
9463
9783
|
type: Boolean,
|
|
9464
9784
|
default: false
|
|
9465
9785
|
},
|
|
9466
|
-
|
|
9786
|
+
isSticky: {
|
|
9467
9787
|
type: Boolean,
|
|
9468
9788
|
default: false
|
|
9469
9789
|
},
|
|
9470
9790
|
requestCount: {
|
|
9471
|
-
type: Number,
|
|
9791
|
+
type: [String, Number],
|
|
9472
9792
|
default: null
|
|
9473
9793
|
},
|
|
9474
9794
|
daysRemaining: {
|
|
9475
|
-
type: String,
|
|
9795
|
+
type: [String, Number],
|
|
9476
9796
|
default: null
|
|
9477
9797
|
},
|
|
9478
9798
|
email: {
|
|
@@ -9580,8 +9900,8 @@ var Headervue_type_style_index_0_lang_scss_ = __webpack_require__("52f3");
|
|
|
9580
9900
|
|
|
9581
9901
|
var Header_component = normalizeComponent(
|
|
9582
9902
|
Header_Headervue_type_script_lang_js_,
|
|
9583
|
-
|
|
9584
|
-
|
|
9903
|
+
Headervue_type_template_id_5dc00285_render,
|
|
9904
|
+
Headervue_type_template_id_5dc00285_staticRenderFns,
|
|
9585
9905
|
false,
|
|
9586
9906
|
null,
|
|
9587
9907
|
null,
|
|
@@ -10129,6 +10449,17 @@ Object.keys(Components).forEach(function (name) {
|
|
|
10129
10449
|
|
|
10130
10450
|
|
|
10131
10451
|
|
|
10452
|
+
/***/ }),
|
|
10453
|
+
|
|
10454
|
+
/***/ "fb2d":
|
|
10455
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10456
|
+
|
|
10457
|
+
"use strict";
|
|
10458
|
+
/* 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_InfoHeader_vue_vue_type_style_index_0_id_72295ab6_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4aec");
|
|
10459
|
+
/* 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_InfoHeader_vue_vue_type_style_index_0_id_72295ab6_scoped_true_lang_scss___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_InfoHeader_vue_vue_type_style_index_0_id_72295ab6_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
10460
|
+
/* unused harmony reexport * */
|
|
10461
|
+
|
|
10462
|
+
|
|
10132
10463
|
/***/ }),
|
|
10133
10464
|
|
|
10134
10465
|
/***/ "fb6a":
|