adata-ui 0.1.72 → 0.1.75
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 +560 -79
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +560 -79
- 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 +1 -2
- package/src/components/Header/Profile.vue +415 -158
- package/src/components/Loader/Loader.stories.js +25 -0
- package/src/components/Loader/Loader.vue +325 -0
- package/src/components/MailTo/MailTo.vue +107 -53
- package/src/components/SearchTextField/SearchTextField.vue +1 -0
package/dist/adata-ui.umd.js
CHANGED
|
@@ -306,6 +306,17 @@ module.exports = function (originalArray) {
|
|
|
306
306
|
};
|
|
307
307
|
|
|
308
308
|
|
|
309
|
+
/***/ }),
|
|
310
|
+
|
|
311
|
+
/***/ "0b73":
|
|
312
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
313
|
+
|
|
314
|
+
"use strict";
|
|
315
|
+
/* 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_MailTo_vue_vue_type_style_index_0_id_6c0f199c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("80cf");
|
|
316
|
+
/* 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_MailTo_vue_vue_type_style_index_0_id_6c0f199c_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_MailTo_vue_vue_type_style_index_0_id_6c0f199c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
317
|
+
/* unused harmony reexport * */
|
|
318
|
+
|
|
319
|
+
|
|
309
320
|
/***/ }),
|
|
310
321
|
|
|
311
322
|
/***/ "0c9a":
|
|
@@ -991,13 +1002,6 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
991
1002
|
};
|
|
992
1003
|
|
|
993
1004
|
|
|
994
|
-
/***/ }),
|
|
995
|
-
|
|
996
|
-
/***/ "2495":
|
|
997
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
998
|
-
|
|
999
|
-
// extracted by mini-css-extract-plugin
|
|
1000
|
-
|
|
1001
1005
|
/***/ }),
|
|
1002
1006
|
|
|
1003
1007
|
/***/ "2532":
|
|
@@ -1340,6 +1344,17 @@ if (!version && userAgent) {
|
|
|
1340
1344
|
module.exports = version;
|
|
1341
1345
|
|
|
1342
1346
|
|
|
1347
|
+
/***/ }),
|
|
1348
|
+
|
|
1349
|
+
/***/ "3407":
|
|
1350
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1351
|
+
|
|
1352
|
+
"use strict";
|
|
1353
|
+
/* 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_Loader_vue_vue_type_style_index_0_id_25a1e885_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ba0e");
|
|
1354
|
+
/* 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_Loader_vue_vue_type_style_index_0_id_25a1e885_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_Loader_vue_vue_type_style_index_0_id_25a1e885_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1355
|
+
/* unused harmony reexport * */
|
|
1356
|
+
|
|
1357
|
+
|
|
1343
1358
|
/***/ }),
|
|
1344
1359
|
|
|
1345
1360
|
/***/ "342f":
|
|
@@ -1369,17 +1384,6 @@ module.exports = function (it) {
|
|
|
1369
1384
|
};
|
|
1370
1385
|
|
|
1371
1386
|
|
|
1372
|
-
/***/ }),
|
|
1373
|
-
|
|
1374
|
-
/***/ "35cf":
|
|
1375
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1376
|
-
|
|
1377
|
-
"use strict";
|
|
1378
|
-
/* 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_MailTo_vue_vue_type_style_index_0_id_5adee5e0_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2495");
|
|
1379
|
-
/* 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_MailTo_vue_vue_type_style_index_0_id_5adee5e0_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_MailTo_vue_vue_type_style_index_0_id_5adee5e0_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1380
|
-
/* unused harmony reexport * */
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
1387
|
/***/ }),
|
|
1384
1388
|
|
|
1385
1389
|
/***/ "37e8":
|
|
@@ -3076,6 +3080,13 @@ module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap
|
|
|
3076
3080
|
/* unused harmony reexport * */
|
|
3077
3081
|
|
|
3078
3082
|
|
|
3083
|
+
/***/ }),
|
|
3084
|
+
|
|
3085
|
+
/***/ "80cf":
|
|
3086
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3087
|
+
|
|
3088
|
+
// extracted by mini-css-extract-plugin
|
|
3089
|
+
|
|
3079
3090
|
/***/ }),
|
|
3080
3091
|
|
|
3081
3092
|
/***/ "825a":
|
|
@@ -6923,6 +6934,13 @@ module.exports = !fails(function () {
|
|
|
6923
6934
|
});
|
|
6924
6935
|
|
|
6925
6936
|
|
|
6937
|
+
/***/ }),
|
|
6938
|
+
|
|
6939
|
+
/***/ "ba0e":
|
|
6940
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6941
|
+
|
|
6942
|
+
// extracted by mini-css-extract-plugin
|
|
6943
|
+
|
|
6926
6944
|
/***/ }),
|
|
6927
6945
|
|
|
6928
6946
|
/***/ "bea9":
|
|
@@ -9767,20 +9785,34 @@ var profileDropDown = [{
|
|
|
9767
9785
|
// key: 'marketing'
|
|
9768
9786
|
// }
|
|
9769
9787
|
];
|
|
9770
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"23ef8cfe-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=
|
|
9771
|
-
var
|
|
9772
|
-
|
|
9773
|
-
|
|
9774
|
-
|
|
9788
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"23ef8cfe-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=67e27faa&
|
|
9789
|
+
var Profilevue_type_template_id_67e27faa_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:(
|
|
9790
|
+
function () {
|
|
9791
|
+
_vm.active = false;
|
|
9792
|
+
}
|
|
9793
|
+
),expression:"\n () => {\n active = false;\n }\n "}]},[_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('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('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){
|
|
9794
|
+
var animationClass = ref.animationClass;
|
|
9795
|
+
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('a',{staticClass:"gray-text",class:elem.link
|
|
9796
|
+
? 'profile-menu__balance-link'
|
|
9797
|
+
: 'profile-menu__links',attrs:{"href":elem[_vm.mode],"onclick":"`return false`"},on:{"click":function($event){return _vm.preventLink(elem.disabled, $event)}}},[_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){
|
|
9798
|
+
var animationClass = ref.animationClass;
|
|
9775
9799
|
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',[_c('svg',{attrs:{"width":"4","height":"4","viewBox":"0 0 4 4","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('circle',{attrs:{"cx":"2","cy":"2","r":"2","fill":"#2C3E50"}})]),_vm._v(" "+_vm._s(child.name)+" ")])]):_vm._e()]})],2):_vm._e()]}}],null,true)})],1):_vm._e()])}),0):_vm._e(),_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()]}}])}),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
9776
|
-
var animationClass = ref.animationClass;
|
|
9777
|
-
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
|
|
9778
|
-
|
|
9779
|
-
|
|
9780
|
-
var
|
|
9781
|
-
|
|
9782
|
-
|
|
9783
|
-
|
|
9800
|
+
var animationClass = ref.animationClass;
|
|
9801
|
+
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
|
|
9802
|
+
? 'profile-menu-mobile__balance-link'
|
|
9803
|
+
: '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){
|
|
9804
|
+
var animationClass = ref.animationClass;
|
|
9805
|
+
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(
|
|
9806
|
+
_vm.someMobileOpened.length > 0 &&
|
|
9807
|
+
_vm.chosenElem &&
|
|
9808
|
+
_vm.chosenElem.children.length > 0
|
|
9809
|
+
),expression:"\n someMobileOpened.length > 0 &&\n chosenElem &&\n chosenElem.children.length > 0\n "}],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
|
|
9810
|
+
? 'profile-menu-mobile__balance-link'
|
|
9811
|
+
: '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)])}
|
|
9812
|
+
var Profilevue_type_template_id_67e27faa_staticRenderFns = []
|
|
9813
|
+
|
|
9814
|
+
|
|
9815
|
+
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=67e27faa&
|
|
9784
9816
|
|
|
9785
9817
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
9786
9818
|
function _arrayLikeToArray(arr, len) {
|
|
@@ -10297,6 +10329,242 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
10297
10329
|
//
|
|
10298
10330
|
//
|
|
10299
10331
|
//
|
|
10332
|
+
//
|
|
10333
|
+
//
|
|
10334
|
+
//
|
|
10335
|
+
//
|
|
10336
|
+
//
|
|
10337
|
+
//
|
|
10338
|
+
//
|
|
10339
|
+
//
|
|
10340
|
+
//
|
|
10341
|
+
//
|
|
10342
|
+
//
|
|
10343
|
+
//
|
|
10344
|
+
//
|
|
10345
|
+
//
|
|
10346
|
+
//
|
|
10347
|
+
//
|
|
10348
|
+
//
|
|
10349
|
+
//
|
|
10350
|
+
//
|
|
10351
|
+
//
|
|
10352
|
+
//
|
|
10353
|
+
//
|
|
10354
|
+
//
|
|
10355
|
+
//
|
|
10356
|
+
//
|
|
10357
|
+
//
|
|
10358
|
+
//
|
|
10359
|
+
//
|
|
10360
|
+
//
|
|
10361
|
+
//
|
|
10362
|
+
//
|
|
10363
|
+
//
|
|
10364
|
+
//
|
|
10365
|
+
//
|
|
10366
|
+
//
|
|
10367
|
+
//
|
|
10368
|
+
//
|
|
10369
|
+
//
|
|
10370
|
+
//
|
|
10371
|
+
//
|
|
10372
|
+
//
|
|
10373
|
+
//
|
|
10374
|
+
//
|
|
10375
|
+
//
|
|
10376
|
+
//
|
|
10377
|
+
//
|
|
10378
|
+
//
|
|
10379
|
+
//
|
|
10380
|
+
//
|
|
10381
|
+
//
|
|
10382
|
+
//
|
|
10383
|
+
//
|
|
10384
|
+
//
|
|
10385
|
+
//
|
|
10386
|
+
//
|
|
10387
|
+
//
|
|
10388
|
+
//
|
|
10389
|
+
//
|
|
10390
|
+
//
|
|
10391
|
+
//
|
|
10392
|
+
//
|
|
10393
|
+
//
|
|
10394
|
+
//
|
|
10395
|
+
//
|
|
10396
|
+
//
|
|
10397
|
+
//
|
|
10398
|
+
//
|
|
10399
|
+
//
|
|
10400
|
+
//
|
|
10401
|
+
//
|
|
10402
|
+
//
|
|
10403
|
+
//
|
|
10404
|
+
//
|
|
10405
|
+
//
|
|
10406
|
+
//
|
|
10407
|
+
//
|
|
10408
|
+
//
|
|
10409
|
+
//
|
|
10410
|
+
//
|
|
10411
|
+
//
|
|
10412
|
+
//
|
|
10413
|
+
//
|
|
10414
|
+
//
|
|
10415
|
+
//
|
|
10416
|
+
//
|
|
10417
|
+
//
|
|
10418
|
+
//
|
|
10419
|
+
//
|
|
10420
|
+
//
|
|
10421
|
+
//
|
|
10422
|
+
//
|
|
10423
|
+
//
|
|
10424
|
+
//
|
|
10425
|
+
//
|
|
10426
|
+
//
|
|
10427
|
+
//
|
|
10428
|
+
//
|
|
10429
|
+
//
|
|
10430
|
+
//
|
|
10431
|
+
//
|
|
10432
|
+
//
|
|
10433
|
+
//
|
|
10434
|
+
//
|
|
10435
|
+
//
|
|
10436
|
+
//
|
|
10437
|
+
//
|
|
10438
|
+
//
|
|
10439
|
+
//
|
|
10440
|
+
//
|
|
10441
|
+
//
|
|
10442
|
+
//
|
|
10443
|
+
//
|
|
10444
|
+
//
|
|
10445
|
+
//
|
|
10446
|
+
//
|
|
10447
|
+
//
|
|
10448
|
+
//
|
|
10449
|
+
//
|
|
10450
|
+
//
|
|
10451
|
+
//
|
|
10452
|
+
//
|
|
10453
|
+
//
|
|
10454
|
+
//
|
|
10455
|
+
//
|
|
10456
|
+
//
|
|
10457
|
+
//
|
|
10458
|
+
//
|
|
10459
|
+
//
|
|
10460
|
+
//
|
|
10461
|
+
//
|
|
10462
|
+
//
|
|
10463
|
+
//
|
|
10464
|
+
//
|
|
10465
|
+
//
|
|
10466
|
+
//
|
|
10467
|
+
//
|
|
10468
|
+
//
|
|
10469
|
+
//
|
|
10470
|
+
//
|
|
10471
|
+
//
|
|
10472
|
+
//
|
|
10473
|
+
//
|
|
10474
|
+
//
|
|
10475
|
+
//
|
|
10476
|
+
//
|
|
10477
|
+
//
|
|
10478
|
+
//
|
|
10479
|
+
//
|
|
10480
|
+
//
|
|
10481
|
+
//
|
|
10482
|
+
//
|
|
10483
|
+
//
|
|
10484
|
+
//
|
|
10485
|
+
//
|
|
10486
|
+
//
|
|
10487
|
+
//
|
|
10488
|
+
//
|
|
10489
|
+
//
|
|
10490
|
+
//
|
|
10491
|
+
//
|
|
10492
|
+
//
|
|
10493
|
+
//
|
|
10494
|
+
//
|
|
10495
|
+
//
|
|
10496
|
+
//
|
|
10497
|
+
//
|
|
10498
|
+
//
|
|
10499
|
+
//
|
|
10500
|
+
//
|
|
10501
|
+
//
|
|
10502
|
+
//
|
|
10503
|
+
//
|
|
10504
|
+
//
|
|
10505
|
+
//
|
|
10506
|
+
//
|
|
10507
|
+
//
|
|
10508
|
+
//
|
|
10509
|
+
//
|
|
10510
|
+
//
|
|
10511
|
+
//
|
|
10512
|
+
//
|
|
10513
|
+
//
|
|
10514
|
+
//
|
|
10515
|
+
//
|
|
10516
|
+
//
|
|
10517
|
+
//
|
|
10518
|
+
//
|
|
10519
|
+
//
|
|
10520
|
+
//
|
|
10521
|
+
//
|
|
10522
|
+
//
|
|
10523
|
+
//
|
|
10524
|
+
//
|
|
10525
|
+
//
|
|
10526
|
+
//
|
|
10527
|
+
//
|
|
10528
|
+
//
|
|
10529
|
+
//
|
|
10530
|
+
//
|
|
10531
|
+
//
|
|
10532
|
+
//
|
|
10533
|
+
//
|
|
10534
|
+
//
|
|
10535
|
+
//
|
|
10536
|
+
//
|
|
10537
|
+
//
|
|
10538
|
+
//
|
|
10539
|
+
//
|
|
10540
|
+
//
|
|
10541
|
+
//
|
|
10542
|
+
//
|
|
10543
|
+
//
|
|
10544
|
+
//
|
|
10545
|
+
//
|
|
10546
|
+
//
|
|
10547
|
+
//
|
|
10548
|
+
//
|
|
10549
|
+
//
|
|
10550
|
+
//
|
|
10551
|
+
//
|
|
10552
|
+
//
|
|
10553
|
+
//
|
|
10554
|
+
//
|
|
10555
|
+
//
|
|
10556
|
+
//
|
|
10557
|
+
//
|
|
10558
|
+
//
|
|
10559
|
+
//
|
|
10560
|
+
//
|
|
10561
|
+
//
|
|
10562
|
+
//
|
|
10563
|
+
//
|
|
10564
|
+
//
|
|
10565
|
+
//
|
|
10566
|
+
//
|
|
10567
|
+
//
|
|
10300
10568
|
|
|
10301
10569
|
|
|
10302
10570
|
|
|
@@ -10309,7 +10577,7 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
10309
10577
|
type: String,
|
|
10310
10578
|
required: true,
|
|
10311
10579
|
validator: function validator(value) {
|
|
10312
|
-
return [
|
|
10580
|
+
return ["prod", "dev", "staging"].indexOf(value) !== -1;
|
|
10313
10581
|
}
|
|
10314
10582
|
},
|
|
10315
10583
|
profileDropDown: {
|
|
@@ -10353,17 +10621,17 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
10353
10621
|
this.listDropDown = _toConsumableArray(this.profileDropDown);
|
|
10354
10622
|
}
|
|
10355
10623
|
|
|
10356
|
-
if (this.activeTabKey ===
|
|
10624
|
+
if (this.activeTabKey === "counterparty" && window && window.innerWidth > 850) {
|
|
10357
10625
|
this.chosenElem = this.listDropDown.find(function (el) {
|
|
10358
|
-
return el.name ===
|
|
10626
|
+
return el.name === "Контрагенты";
|
|
10359
10627
|
});
|
|
10360
|
-
} else if (this.activeTabKey ===
|
|
10628
|
+
} else if (this.activeTabKey === "tenders" && window && window.innerWidth > 850) {
|
|
10361
10629
|
this.chosenElem = this.listDropDown.find(function (el) {
|
|
10362
|
-
return el.name ===
|
|
10630
|
+
return el.name === "Тендеры";
|
|
10363
10631
|
});
|
|
10364
|
-
} else if (this.activeTabKey ===
|
|
10632
|
+
} else if (this.activeTabKey === "work" && window && window.innerWidth > 850) {
|
|
10365
10633
|
this.chosenElem = this.listDropDown.find(function (el) {
|
|
10366
|
-
return el.name ===
|
|
10634
|
+
return el.name === "Работа";
|
|
10367
10635
|
});
|
|
10368
10636
|
}
|
|
10369
10637
|
|
|
@@ -10396,7 +10664,7 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
10396
10664
|
while (1) {
|
|
10397
10665
|
switch (_context.prev = _context.next) {
|
|
10398
10666
|
case 0:
|
|
10399
|
-
if (!name.includes(
|
|
10667
|
+
if (!name.includes("Текущий")) {
|
|
10400
10668
|
_context.next = 8;
|
|
10401
10669
|
break;
|
|
10402
10670
|
}
|
|
@@ -10426,14 +10694,14 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
10426
10694
|
}))();
|
|
10427
10695
|
},
|
|
10428
10696
|
handleClick: function handleClick(url, name) {
|
|
10429
|
-
if (!name.includes(
|
|
10697
|
+
if (!name.includes("Текущий")) {
|
|
10430
10698
|
window.open(url, "_self"); // this.active = false;
|
|
10431
10699
|
// if (this.chosenElem) this.chosenElem.opened = false;
|
|
10432
10700
|
}
|
|
10433
10701
|
},
|
|
10434
10702
|
rotateItem: function rotateItem(index) {
|
|
10435
10703
|
this.chosenElem = this.listDropDown[index];
|
|
10436
|
-
this.$set(this.listDropDown[index],
|
|
10704
|
+
this.$set(this.listDropDown[index], "opened", !this.listDropDown[index].opened);
|
|
10437
10705
|
},
|
|
10438
10706
|
goAuth: function goAuth() {
|
|
10439
10707
|
var fullPath = encodeURIComponent(window.location.toString());
|
|
@@ -10460,8 +10728,8 @@ var Profilevue_type_style_index_0_lang_scss_ = __webpack_require__("ee80");
|
|
|
10460
10728
|
|
|
10461
10729
|
var Profile_component = normalizeComponent(
|
|
10462
10730
|
Header_Profilevue_type_script_lang_js_,
|
|
10463
|
-
|
|
10464
|
-
|
|
10731
|
+
Profilevue_type_template_id_67e27faa_render,
|
|
10732
|
+
Profilevue_type_template_id_67e27faa_staticRenderFns,
|
|
10465
10733
|
false,
|
|
10466
10734
|
null,
|
|
10467
10735
|
null,
|
|
@@ -11426,12 +11694,12 @@ var Footer_component = normalizeComponent(
|
|
|
11426
11694
|
)
|
|
11427
11695
|
|
|
11428
11696
|
/* harmony default export */ var Footer = (Footer_component.exports);
|
|
11429
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"23ef8cfe-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/SearchTextField/SearchTextField.vue?vue&type=template&id=
|
|
11430
|
-
var
|
|
11431
|
-
var
|
|
11697
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"23ef8cfe-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/SearchTextField/SearchTextField.vue?vue&type=template&id=6e4ef6a1&
|
|
11698
|
+
var SearchTextFieldvue_type_template_id_6e4ef6a1_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.onOutsideClick),expression:"onOutsideClick"}],staticClass:"adt-text-block",on:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }$event.preventDefault();return _vm.onUpOrDownClicked.apply(null, arguments)}}},[_c('div',{class:['adt-text-block__field', { error: !!_vm.errorText }]},[_c('input',{ref:"input",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"type":_vm.type,"placeholder":_vm.placeholder,"required":""},domProps:{"value":_vm.value},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.enterPressed.apply(null, arguments)},"input":function($event){return _vm.$emit('input', $event.target.value)},"focus":function($event){_vm.showAutocomplete = true},"click":function($event){return _vm.$emit('showVTour')},"search":function($event){return _vm.$emit('onSearch')}}}),_c('label',{staticClass:"adt-text-block__label",class:{ 'adt-text-block--ellipsis': _vm.isEllipsis }},[_vm._v(" "+_vm._s(_vm.label)+" ")]),(_vm.clearable && _vm.value)?_c('div',{staticClass:"adt-text-block__icon",on:{"click":function($event){return _vm.$emit('input', '')}}},[_c('svg',{attrs:{"width":"12","height":"12","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"clearIcon"}},[_c('path',{attrs:{"d":"M2 2l12 12m0-12L2 14","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()]),(!!_vm.errorText)?_c('div',{staticClass:"adt-text-block__error"},[_c('svg',{attrs:{"width":"14","height":"14","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg","id":"icon__attention"}},[_c('path',{attrs:{"d":"M8.5 4C8.5 3.72386 8.27614 3.5 8 3.5C7.72386 3.5 7.5 3.72386 7.5 4H8.5ZM7.5 9C7.5 9.27614 7.72386 9.5 8 9.5C8.27614 9.5 8.5 9.27614 8.5 9H7.5ZM7.5 4V9H8.5V4H7.5Z","fill":"#FF2E43"}}),_c('path',{attrs:{"d":"M8.5 11C8.5 10.7239 8.27614 10.5 8 10.5C7.72386 10.5 7.5 10.7239 7.5 11H8.5ZM7.5 11.5C7.5 11.7761 7.72386 12 8 12C8.27614 12 8.5 11.7761 8.5 11.5H7.5ZM7.5 11V11.5H8.5V11H7.5Z","fill":"#FF2E43"}}),_c('circle',{attrs:{"cx":"8","cy":"8","r":"7","stroke":"#FF2E43"}})]),_vm._v(" "+_vm._s(_vm.errorText)+" ")]):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.options && _vm.options.length > 0 && _vm.showAutocomplete),expression:"options && options.length > 0 && showAutocomplete"}],staticClass:"adt-text-block__options search-options"},[_c('PerfectScrollbar',[_c('div',{staticClass:"search-options__wrapper"},_vm._l((_vm.options),function(option,index){return _c('div',{key:index,ref:"searchOptions",refInFor:true,staticClass:"search-options__item",on:{"click":function($event){return _vm.onAutocompleteOptionClick(option)}}},[_vm._v(" "+_vm._s(!!_vm.optionFields.length ? _vm.textByOption(option) : option)+" "),(option.type && _vm.isTypeRequired)?_c('div',{staticClass:"hiddenOne"},[_vm._v(" $"+_vm._s(option.type)+"$ ")]):_vm._e()])}),0)])],1)])}
|
|
11699
|
+
var SearchTextFieldvue_type_template_id_6e4ef6a1_staticRenderFns = []
|
|
11432
11700
|
|
|
11433
11701
|
|
|
11434
|
-
// CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue?vue&type=template&id=
|
|
11702
|
+
// CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue?vue&type=template&id=6e4ef6a1&
|
|
11435
11703
|
|
|
11436
11704
|
// EXTERNAL MODULE: ./node_modules/vue2-perfect-scrollbar/dist/vue2-perfect-scrollbar.umd.js
|
|
11437
11705
|
var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
@@ -11529,6 +11797,7 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
11529
11797
|
//
|
|
11530
11798
|
//
|
|
11531
11799
|
//
|
|
11800
|
+
//
|
|
11532
11801
|
|
|
11533
11802
|
|
|
11534
11803
|
|
|
@@ -11688,8 +11957,8 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
11688
11957
|
|
|
11689
11958
|
var SearchTextField_component = normalizeComponent(
|
|
11690
11959
|
SearchTextField_SearchTextFieldvue_type_script_lang_js_,
|
|
11691
|
-
|
|
11692
|
-
|
|
11960
|
+
SearchTextFieldvue_type_template_id_6e4ef6a1_render,
|
|
11961
|
+
SearchTextFieldvue_type_template_id_6e4ef6a1_staticRenderFns,
|
|
11693
11962
|
false,
|
|
11694
11963
|
null,
|
|
11695
11964
|
null,
|
|
@@ -11698,12 +11967,12 @@ var SearchTextField_component = normalizeComponent(
|
|
|
11698
11967
|
)
|
|
11699
11968
|
|
|
11700
11969
|
/* harmony default export */ var SearchTextField = (SearchTextField_component.exports);
|
|
11701
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"23ef8cfe-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/MailTo/MailTo.vue?vue&type=template&id=
|
|
11702
|
-
var
|
|
11703
|
-
var
|
|
11970
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"23ef8cfe-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/MailTo/MailTo.vue?vue&type=template&id=6c0f199c&scoped=true&
|
|
11971
|
+
var MailTovue_type_template_id_6c0f199c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"mail"},[_c('div',{staticClass:"mail__img-wrapper"},[_c('svg',{staticClass:"mail__img",attrs:{"width":"100","height":"85","viewBox":"0 0 100 85","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('g',{attrs:{"clip-path":"url(#clip0_518_22722)"}},[_c('path',{attrs:{"d":"M82.8046 8.94045L4.49388 25.7383C1.69026 26.3397 -0.0932329 29.0916 0.510373 31.8849L11.0206 80.5231C11.6242 83.3164 14.3863 85.0933 17.1899 84.4919L95.5007 67.6941C98.3043 67.0927 100.088 64.3408 99.4842 61.5475L88.974 12.9093C88.3704 10.116 85.6083 8.33906 82.8046 8.94045Z","fill":"white","stroke":"#9DA3AC","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"opacity":"0.6","d":"M49.0286 56.5055C44.9588 57.3783 41.6457 53.0141 34.6371 48.6815C20.4367 39.9133 7.646 31.4705 7.646 31.4705L9.48575 40.199L39.0732 58.9098C43.8518 61.3776 51.8161 60.1 55.9974 54.7677C55.0656 54.5138 53.9187 55.458 49.0286 56.5055Z","fill":"#BDC7CE","fill-opacity":"0.4"}}),_c('path',{attrs:{"opacity":"0.6","d":"M22.9133 72.2794C22.1016 72.4542 21.2633 72.4679 20.4463 72.3196C19.6294 72.1713 18.8498 71.8639 18.1522 71.415C17.4546 70.9662 16.8527 70.3847 16.3809 69.7038C15.9092 69.0229 15.5768 68.256 15.4029 67.447L7.49433 30.8586L2.6122 28.2003C1.92726 28.3511 0.0158305 29.581 0.748548 32.9613L10.7916 79.405C10.9655 80.2132 11.2976 80.9794 11.7689 81.6596C12.2401 82.3399 12.8412 82.9211 13.5379 83.3698C14.2346 83.8186 15.0132 84.1262 15.8293 84.275C16.6454 84.4239 17.4828 84.4112 18.2939 84.2375L94.401 67.9151C96.0335 67.5519 97.4571 66.5636 98.3645 65.1636C99.272 63.7637 99.5905 62.0643 99.2513 60.4324L98.3115 56.0919L22.9133 72.2794Z","fill":"#BDC7CE","fill-opacity":"0.4"}}),_c('path',{attrs:{"d":"M1.9668 27.7336L44.0343 54.8397C45.1788 55.5767 46.4581 56.0814 47.7988 56.3248C49.1396 56.5682 50.5153 56.5455 51.8471 56.258C53.179 55.9704 54.4408 55.4238 55.5602 54.6494C56.6796 53.8749 57.6344 52.888 58.3701 51.745L85.3692 9.68939","stroke":"#9DA3AC","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M65.7535 40.3973L97.7063 65.5276","stroke":"#9DA3AC","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M31.2595 46.9918L13.8813 83.5087","stroke":"#9DA3AC","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M85.7678 19.6789C91.222 19.6789 95.6435 15.2736 95.6435 9.83943C95.6435 4.40526 91.222 0 85.7678 0C80.3135 0 75.892 4.40526 75.892 9.83943C75.892 15.2736 80.3135 19.6789 85.7678 19.6789Z","fill":"#E83949"}}),_c('path',{attrs:{"d":"M88.1413 14.433L86.4927 14.7901L85.075 8.20403C84.8998 7.41053 84.7883 6.7916 84.7246 6.32343C84.637 6.45833 84.5335 6.60909 84.406 6.77572C84.2786 6.94236 83.8485 7.48987 83.1158 8.36273L82.0645 7.49781L84.5653 4.49837L85.9352 4.19684L88.1413 14.433Z","fill":"white"}})]),_c('defs',[_c('clipPath',{attrs:{"id":"clip0_518_22722"}},[_c('rect',{attrs:{"width":"100","height":"85","fill":"white"}})])])])]),_c('h2',{staticClass:"mail__title"},[_vm._v("Интересует больше данных?")]),_vm._m(0),_c('form',{staticClass:"mail__form",attrs:{"novalidate":""}},[_c('a-text-field',{staticClass:"mail__form-input",attrs:{"label":"Введите email","error-text":_vm.emailError,"required":""},on:{"input":_vm.setEmail},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:"email"}}),_c('a-text-field',{directives:[{name:"mask",rawName:"v-mask",value:('8 (###) ###-##-##'),expression:"'8 (###) ###-##-##'"}],staticClass:"mail__form-input",attrs:{"label":"Введите номер телефона"},model:{value:(_vm.phoneNumber),callback:function ($$v) {_vm.phoneNumber=$$v},expression:"phoneNumber"}}),_c('a-text-area',{staticClass:"mail__form-input",attrs:{"label":"Ваш комментарий","error-text":_vm.messageError,"required":""},model:{value:(_vm.message),callback:function ($$v) {_vm.message=$$v},expression:"message"}}),_c('a-button',{staticClass:"mail__form-btn",on:{"click":function($event){$event.preventDefault();return _vm.onSubmitForm.apply(null, arguments)}}},[(_vm.isLoading)?_c('loader',{attrs:{"small":""}}):_vm._e(),_vm._v(" "+_vm._s(_vm.isLoading ? "" : "Отправить")+" ")],1)],1)])}
|
|
11972
|
+
var MailTovue_type_template_id_6c0f199c_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticClass:"mail__text"},[_vm._v(" Мы обязательно ответим вам "),_c('br'),_vm._v(" в кратчайшие сроки. ")])}]
|
|
11704
11973
|
|
|
11705
11974
|
|
|
11706
|
-
// CONCATENATED MODULE: ./src/components/MailTo/MailTo.vue?vue&type=template&id=
|
|
11975
|
+
// CONCATENATED MODULE: ./src/components/MailTo/MailTo.vue?vue&type=template&id=6c0f199c&scoped=true&
|
|
11707
11976
|
|
|
11708
11977
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.constructor.js
|
|
11709
11978
|
var es_regexp_constructor = __webpack_require__("4d63");
|
|
@@ -11714,6 +11983,166 @@ var es_regexp_dot_all = __webpack_require__("c607");
|
|
|
11714
11983
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.sticky.js
|
|
11715
11984
|
var es_regexp_sticky = __webpack_require__("2c3e");
|
|
11716
11985
|
|
|
11986
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"23ef8cfe-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/Loader/Loader.vue?vue&type=template&id=25a1e885&scoped=true&
|
|
11987
|
+
var Loadervue_type_template_id_25a1e885_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"loader",class:{
|
|
11988
|
+
'loader--global': _vm.global,
|
|
11989
|
+
small: _vm.small || _vm.smallYellow,
|
|
11990
|
+
'very-small': _vm.verySmall,
|
|
11991
|
+
unloadData: _vm.unloadData,
|
|
11992
|
+
}},[_c('div',{staticClass:"loader__wrapper"},[(!_vm.timerCenter)?_c('div',{staticClass:"loader__element"},[(_vm.timer)?_c('p',{staticClass:"loader__number"},[_vm._v(" "+_vm._s(_vm.ownSeconds)+" ")]):_vm._e(),_c('div',{staticClass:"loader__base",class:[
|
|
11993
|
+
{
|
|
11994
|
+
small: _vm.small,
|
|
11995
|
+
'very-small': _vm.verySmall,
|
|
11996
|
+
'small-yellow': _vm.smallYellow,
|
|
11997
|
+
} ]})]):_vm._e(),(_vm.timerCenter)?_c('div',{staticClass:"loader__element-stable"},[_c('p',{staticClass:"loader__number-stable"},[_vm._v(" "+_vm._s(_vm.ownSeconds)+" ")]),_c('div',{staticClass:"loader__base",class:[
|
|
11998
|
+
{
|
|
11999
|
+
small: _vm.small,
|
|
12000
|
+
'very-small': _vm.verySmall,
|
|
12001
|
+
'small-yellow': _vm.smallYellow,
|
|
12002
|
+
} ]})]):_vm._e(),(_vm.global)?_c('div',{staticClass:"loader__subtitle"},[_vm._t("default")],2):_vm._e()])])}
|
|
12003
|
+
var Loadervue_type_template_id_25a1e885_scoped_true_staticRenderFns = []
|
|
12004
|
+
|
|
12005
|
+
|
|
12006
|
+
// CONCATENATED MODULE: ./src/components/Loader/Loader.vue?vue&type=template&id=25a1e885&scoped=true&
|
|
12007
|
+
|
|
12008
|
+
// 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/Loader/Loader.vue?vue&type=script&lang=js&
|
|
12009
|
+
|
|
12010
|
+
//
|
|
12011
|
+
//
|
|
12012
|
+
//
|
|
12013
|
+
//
|
|
12014
|
+
//
|
|
12015
|
+
//
|
|
12016
|
+
//
|
|
12017
|
+
//
|
|
12018
|
+
//
|
|
12019
|
+
//
|
|
12020
|
+
//
|
|
12021
|
+
//
|
|
12022
|
+
//
|
|
12023
|
+
//
|
|
12024
|
+
//
|
|
12025
|
+
//
|
|
12026
|
+
//
|
|
12027
|
+
//
|
|
12028
|
+
//
|
|
12029
|
+
//
|
|
12030
|
+
//
|
|
12031
|
+
//
|
|
12032
|
+
//
|
|
12033
|
+
//
|
|
12034
|
+
//
|
|
12035
|
+
//
|
|
12036
|
+
//
|
|
12037
|
+
//
|
|
12038
|
+
//
|
|
12039
|
+
//
|
|
12040
|
+
//
|
|
12041
|
+
//
|
|
12042
|
+
//
|
|
12043
|
+
//
|
|
12044
|
+
//
|
|
12045
|
+
//
|
|
12046
|
+
//
|
|
12047
|
+
//
|
|
12048
|
+
//
|
|
12049
|
+
//
|
|
12050
|
+
//
|
|
12051
|
+
//
|
|
12052
|
+
//
|
|
12053
|
+
//
|
|
12054
|
+
//
|
|
12055
|
+
//
|
|
12056
|
+
//
|
|
12057
|
+
//
|
|
12058
|
+
//
|
|
12059
|
+
//
|
|
12060
|
+
/* harmony default export */ var Loadervue_type_script_lang_js_ = ({
|
|
12061
|
+
name: "BaseLoader",
|
|
12062
|
+
props: {
|
|
12063
|
+
timer: {
|
|
12064
|
+
type: Boolean,
|
|
12065
|
+
default: false
|
|
12066
|
+
},
|
|
12067
|
+
timerCenter: {
|
|
12068
|
+
type: Boolean,
|
|
12069
|
+
default: false
|
|
12070
|
+
},
|
|
12071
|
+
global: {
|
|
12072
|
+
type: Boolean,
|
|
12073
|
+
default: false
|
|
12074
|
+
},
|
|
12075
|
+
small: {
|
|
12076
|
+
type: Boolean,
|
|
12077
|
+
default: false
|
|
12078
|
+
},
|
|
12079
|
+
smallYellow: {
|
|
12080
|
+
type: Boolean,
|
|
12081
|
+
default: false
|
|
12082
|
+
},
|
|
12083
|
+
verySmall: {
|
|
12084
|
+
type: Boolean,
|
|
12085
|
+
default: false
|
|
12086
|
+
},
|
|
12087
|
+
seconds: {
|
|
12088
|
+
type: [Number, String],
|
|
12089
|
+
default: 0
|
|
12090
|
+
},
|
|
12091
|
+
unloadData: {
|
|
12092
|
+
type: Boolean,
|
|
12093
|
+
default: false
|
|
12094
|
+
}
|
|
12095
|
+
},
|
|
12096
|
+
data: function data() {
|
|
12097
|
+
return {
|
|
12098
|
+
timerStore: null,
|
|
12099
|
+
ownSeconds: this.seconds
|
|
12100
|
+
};
|
|
12101
|
+
},
|
|
12102
|
+
mounted: function mounted() {
|
|
12103
|
+
var _this = this;
|
|
12104
|
+
|
|
12105
|
+
(this.timer || this.timerCenter) && (this.timerStore = setInterval(function () {
|
|
12106
|
+
if (_this.ownSeconds > 0) {
|
|
12107
|
+
_this.ownSeconds--;
|
|
12108
|
+
return;
|
|
12109
|
+
}
|
|
12110
|
+
|
|
12111
|
+
clearInterval(_this.timerStore);
|
|
12112
|
+
|
|
12113
|
+
_this.$emit("completed");
|
|
12114
|
+
}, 1000));
|
|
12115
|
+
},
|
|
12116
|
+
beforeDestroy: function beforeDestroy() {
|
|
12117
|
+
clearInterval(this.timerStore);
|
|
12118
|
+
}
|
|
12119
|
+
});
|
|
12120
|
+
// CONCATENATED MODULE: ./src/components/Loader/Loader.vue?vue&type=script&lang=js&
|
|
12121
|
+
/* harmony default export */ var Loader_Loadervue_type_script_lang_js_ = (Loadervue_type_script_lang_js_);
|
|
12122
|
+
// EXTERNAL MODULE: ./src/components/Loader/Loader.vue?vue&type=style&index=0&id=25a1e885&lang=scss&scoped=true&
|
|
12123
|
+
var Loadervue_type_style_index_0_id_25a1e885_lang_scss_scoped_true_ = __webpack_require__("3407");
|
|
12124
|
+
|
|
12125
|
+
// CONCATENATED MODULE: ./src/components/Loader/Loader.vue
|
|
12126
|
+
|
|
12127
|
+
|
|
12128
|
+
|
|
12129
|
+
|
|
12130
|
+
|
|
12131
|
+
|
|
12132
|
+
/* normalize component */
|
|
12133
|
+
|
|
12134
|
+
var Loader_component = normalizeComponent(
|
|
12135
|
+
Loader_Loadervue_type_script_lang_js_,
|
|
12136
|
+
Loadervue_type_template_id_25a1e885_scoped_true_render,
|
|
12137
|
+
Loadervue_type_template_id_25a1e885_scoped_true_staticRenderFns,
|
|
12138
|
+
false,
|
|
12139
|
+
null,
|
|
12140
|
+
"25a1e885",
|
|
12141
|
+
null
|
|
12142
|
+
|
|
12143
|
+
)
|
|
12144
|
+
|
|
12145
|
+
/* harmony default export */ var Loader = (Loader_component.exports);
|
|
11717
12146
|
// 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/MailTo/MailTo.vue?vue&type=script&lang=js&
|
|
11718
12147
|
|
|
11719
12148
|
|
|
@@ -11783,21 +12212,69 @@ var es_regexp_sticky = __webpack_require__("2c3e");
|
|
|
11783
12212
|
//
|
|
11784
12213
|
//
|
|
11785
12214
|
//
|
|
12215
|
+
//
|
|
12216
|
+
//
|
|
12217
|
+
//
|
|
12218
|
+
//
|
|
12219
|
+
//
|
|
12220
|
+
//
|
|
12221
|
+
//
|
|
12222
|
+
//
|
|
12223
|
+
//
|
|
12224
|
+
//
|
|
12225
|
+
//
|
|
12226
|
+
//
|
|
12227
|
+
//
|
|
12228
|
+
//
|
|
12229
|
+
//
|
|
12230
|
+
//
|
|
12231
|
+
//
|
|
12232
|
+
//
|
|
12233
|
+
//
|
|
12234
|
+
//
|
|
12235
|
+
//
|
|
12236
|
+
//
|
|
12237
|
+
//
|
|
12238
|
+
//
|
|
12239
|
+
//
|
|
12240
|
+
//
|
|
12241
|
+
//
|
|
12242
|
+
//
|
|
12243
|
+
//
|
|
12244
|
+
//
|
|
12245
|
+
//
|
|
12246
|
+
//
|
|
12247
|
+
//
|
|
12248
|
+
//
|
|
12249
|
+
//
|
|
12250
|
+
//
|
|
12251
|
+
//
|
|
12252
|
+
//
|
|
12253
|
+
//
|
|
12254
|
+
//
|
|
12255
|
+
//
|
|
12256
|
+
//
|
|
12257
|
+
//
|
|
12258
|
+
|
|
11786
12259
|
/* harmony default export */ var MailTovue_type_script_lang_js_ = ({
|
|
11787
12260
|
name: "MailToTemplate",
|
|
12261
|
+
components: {
|
|
12262
|
+
Loader: Loader
|
|
12263
|
+
},
|
|
11788
12264
|
props: {
|
|
11789
12265
|
userEmail: {
|
|
11790
12266
|
type: String,
|
|
11791
|
-
default:
|
|
12267
|
+
default: ""
|
|
11792
12268
|
}
|
|
11793
12269
|
},
|
|
11794
12270
|
data: function data() {
|
|
11795
12271
|
return {
|
|
11796
|
-
email:
|
|
11797
|
-
phoneNumber:
|
|
11798
|
-
message:
|
|
11799
|
-
emailError:
|
|
11800
|
-
messageError:
|
|
12272
|
+
email: this.userEmail || "",
|
|
12273
|
+
phoneNumber: "",
|
|
12274
|
+
message: "",
|
|
12275
|
+
emailError: "",
|
|
12276
|
+
messageError: "",
|
|
12277
|
+
isLoading: false
|
|
11801
12278
|
};
|
|
11802
12279
|
},
|
|
11803
12280
|
methods: {
|
|
@@ -11805,21 +12282,23 @@ var es_regexp_sticky = __webpack_require__("2c3e");
|
|
|
11805
12282
|
this.email = data;
|
|
11806
12283
|
},
|
|
11807
12284
|
onSubmitForm: function onSubmitForm() {
|
|
11808
|
-
|
|
11809
|
-
|
|
12285
|
+
this.isLoading = true;
|
|
12286
|
+
var regex = new RegExp("^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}$");
|
|
11810
12287
|
|
|
11811
12288
|
if (!this.email.length || !regex.test(this.email)) {
|
|
11812
|
-
this.emailError =
|
|
12289
|
+
this.emailError = "Введите валидный email";
|
|
12290
|
+
this.isLoading = false;
|
|
11813
12291
|
return;
|
|
11814
12292
|
} else {
|
|
11815
|
-
this.emailError =
|
|
12293
|
+
this.emailError = "";
|
|
11816
12294
|
}
|
|
11817
12295
|
|
|
11818
12296
|
if (this.message.length < 20) {
|
|
11819
|
-
this.messageError =
|
|
12297
|
+
this.messageError = "Введите больше чем 20 символов";
|
|
12298
|
+
this.isLoading = false;
|
|
11820
12299
|
return;
|
|
11821
12300
|
} else {
|
|
11822
|
-
this.messageError =
|
|
12301
|
+
this.messageError = "";
|
|
11823
12302
|
}
|
|
11824
12303
|
|
|
11825
12304
|
this.requestSupport();
|
|
@@ -11841,10 +12320,10 @@ var es_regexp_sticky = __webpack_require__("2c3e");
|
|
|
11841
12320
|
};
|
|
11842
12321
|
_context.prev = 1;
|
|
11843
12322
|
_context.next = 4;
|
|
11844
|
-
return fetch(
|
|
12323
|
+
return fetch("https://users.adtdev.kz/api/v1/message/regards", {
|
|
11845
12324
|
method: "POST",
|
|
11846
12325
|
headers: {
|
|
11847
|
-
|
|
12326
|
+
"Content-Type": "application/json"
|
|
11848
12327
|
},
|
|
11849
12328
|
body: JSON.stringify(requestBody)
|
|
11850
12329
|
});
|
|
@@ -11856,34 +12335,36 @@ var es_regexp_sticky = __webpack_require__("2c3e");
|
|
|
11856
12335
|
|
|
11857
12336
|
case 7:
|
|
11858
12337
|
result = _context.sent;
|
|
12338
|
+
_this.isLoading = false;
|
|
11859
12339
|
|
|
11860
12340
|
if (result.success) {
|
|
11861
|
-
_this.$emit(
|
|
12341
|
+
_this.$emit("success", result);
|
|
11862
12342
|
}
|
|
11863
12343
|
|
|
11864
|
-
_context.next =
|
|
12344
|
+
_context.next = 16;
|
|
11865
12345
|
break;
|
|
11866
12346
|
|
|
11867
|
-
case
|
|
11868
|
-
_context.prev =
|
|
12347
|
+
case 12:
|
|
12348
|
+
_context.prev = 12;
|
|
11869
12349
|
_context.t0 = _context["catch"](1);
|
|
12350
|
+
_this.isLoading = false;
|
|
11870
12351
|
|
|
11871
|
-
_this.$emit(
|
|
12352
|
+
_this.$emit("error", _context.t0);
|
|
11872
12353
|
|
|
11873
|
-
case
|
|
12354
|
+
case 16:
|
|
11874
12355
|
case "end":
|
|
11875
12356
|
return _context.stop();
|
|
11876
12357
|
}
|
|
11877
12358
|
}
|
|
11878
|
-
}, _callee, null, [[1,
|
|
12359
|
+
}, _callee, null, [[1, 12]]);
|
|
11879
12360
|
}))();
|
|
11880
12361
|
}
|
|
11881
12362
|
}
|
|
11882
12363
|
});
|
|
11883
12364
|
// CONCATENATED MODULE: ./src/components/MailTo/MailTo.vue?vue&type=script&lang=js&
|
|
11884
12365
|
/* harmony default export */ var MailTo_MailTovue_type_script_lang_js_ = (MailTovue_type_script_lang_js_);
|
|
11885
|
-
// EXTERNAL MODULE: ./src/components/MailTo/MailTo.vue?vue&type=style&index=0&id=
|
|
11886
|
-
var
|
|
12366
|
+
// EXTERNAL MODULE: ./src/components/MailTo/MailTo.vue?vue&type=style&index=0&id=6c0f199c&lang=scss&scoped=true&
|
|
12367
|
+
var MailTovue_type_style_index_0_id_6c0f199c_lang_scss_scoped_true_ = __webpack_require__("0b73");
|
|
11887
12368
|
|
|
11888
12369
|
// CONCATENATED MODULE: ./src/components/MailTo/MailTo.vue
|
|
11889
12370
|
|
|
@@ -11896,11 +12377,11 @@ var MailTovue_type_style_index_0_id_5adee5e0_lang_scss_scoped_true_ = __webpack_
|
|
|
11896
12377
|
|
|
11897
12378
|
var MailTo_component = normalizeComponent(
|
|
11898
12379
|
MailTo_MailTovue_type_script_lang_js_,
|
|
11899
|
-
|
|
11900
|
-
|
|
12380
|
+
MailTovue_type_template_id_6c0f199c_scoped_true_render,
|
|
12381
|
+
MailTovue_type_template_id_6c0f199c_scoped_true_staticRenderFns,
|
|
11901
12382
|
false,
|
|
11902
12383
|
null,
|
|
11903
|
-
"
|
|
12384
|
+
"6c0f199c",
|
|
11904
12385
|
null
|
|
11905
12386
|
|
|
11906
12387
|
)
|