adata-ui 0.1.42 → 0.1.45
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 +137 -31
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +137 -31
- 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/dist/img/mail.45723285.png +0 -0
- package/package.json +1 -1
- package/src/assets/images/mail.png +0 -0
- package/src/components/Button/AButton.vue +2 -0
- package/src/components/Header/Profile.vue +9 -9
- package/src/components/MailTo/MailTo.stories.js +14 -0
- package/src/components/MailTo/MailTo.vue +66 -0
- package/src/components/TextField/TextField.vue +0 -1
- package/src/components/index.js +19 -17
- package/src/configs/profileDropDown.js +33 -11
package/dist/adata-ui.common.js
CHANGED
|
@@ -639,6 +639,17 @@ module.exports = function (METHOD_NAME) {
|
|
|
639
639
|
};
|
|
640
640
|
|
|
641
641
|
|
|
642
|
+
/***/ }),
|
|
643
|
+
|
|
644
|
+
/***/ "1f7b":
|
|
645
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
646
|
+
|
|
647
|
+
"use strict";
|
|
648
|
+
/* 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_36dee40c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9c92");
|
|
649
|
+
/* 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_36dee40c_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_36dee40c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
650
|
+
/* unused harmony reexport * */
|
|
651
|
+
|
|
652
|
+
|
|
642
653
|
/***/ }),
|
|
643
654
|
|
|
644
655
|
/***/ "2266":
|
|
@@ -3857,6 +3868,13 @@ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P
|
|
|
3857
3868
|
};
|
|
3858
3869
|
|
|
3859
3870
|
|
|
3871
|
+
/***/ }),
|
|
3872
|
+
|
|
3873
|
+
/***/ "9c92":
|
|
3874
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3875
|
+
|
|
3876
|
+
// extracted by mini-css-extract-plugin
|
|
3877
|
+
|
|
3860
3878
|
/***/ }),
|
|
3861
3879
|
|
|
3862
3880
|
/***/ "9ed3":
|
|
@@ -7807,6 +7825,13 @@ module.exports = function (it) {
|
|
|
7807
7825
|
};
|
|
7808
7826
|
|
|
7809
7827
|
|
|
7828
|
+
/***/ }),
|
|
7829
|
+
|
|
7830
|
+
/***/ "e9ce":
|
|
7831
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7832
|
+
|
|
7833
|
+
module.exports = __webpack_require__.p + "img/mail.45723285.png";
|
|
7834
|
+
|
|
7810
7835
|
/***/ }),
|
|
7811
7836
|
|
|
7812
7837
|
/***/ "ee80":
|
|
@@ -7953,7 +7978,7 @@ var es_object_keys = __webpack_require__("b64b");
|
|
|
7953
7978
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
7954
7979
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
7955
7980
|
|
|
7956
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8c19676a-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/Button/AButton.vue?vue&type=template&id=
|
|
7981
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8c19676a-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/Button/AButton.vue?vue&type=template&id=4fa0b10a&
|
|
7957
7982
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.url ? 'a' : 'button',_vm._g(_vm._b({tag:"component",class:[
|
|
7958
7983
|
'btn',
|
|
7959
7984
|
("btn_" + _vm.variant),
|
|
@@ -7961,7 +7986,7 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
|
|
|
7961
7986
|
var staticRenderFns = []
|
|
7962
7987
|
|
|
7963
7988
|
|
|
7964
|
-
// CONCATENATED MODULE: ./src/components/Button/AButton.vue?vue&type=template&id=
|
|
7989
|
+
// CONCATENATED MODULE: ./src/components/Button/AButton.vue?vue&type=template&id=4fa0b10a&
|
|
7965
7990
|
|
|
7966
7991
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
7967
7992
|
var es_array_includes = __webpack_require__("caad");
|
|
@@ -8142,12 +8167,12 @@ var component = normalizeComponent(
|
|
|
8142
8167
|
)
|
|
8143
8168
|
|
|
8144
8169
|
/* harmony default export */ var AButton = (component.exports);
|
|
8145
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8c19676a-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/TextField/TextField.vue?vue&type=template&id=
|
|
8146
|
-
var
|
|
8147
|
-
var
|
|
8170
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8c19676a-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/TextField/TextField.vue?vue&type=template&id=068cf2f4&
|
|
8171
|
+
var TextFieldvue_type_template_id_068cf2f4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"adt-text-block"},[_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:{"input":function($event){return _vm.$emit('input', $event.target.value)},"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)}}}),_c('label',{staticClass:"adt-text-block__label"},[_vm._v(" "+_vm._s(_vm.label)+" "),(_vm.required)?_c('span',{staticClass:"adt-text-block__required"},[_vm._v("*")]):_vm._e()]),(_vm.clearable && _vm.value && _vm.value.length > 0)?_c('div',{staticClass:"adt-text-block__icon desktop",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()])}
|
|
8172
|
+
var TextFieldvue_type_template_id_068cf2f4_staticRenderFns = []
|
|
8148
8173
|
|
|
8149
8174
|
|
|
8150
|
-
// CONCATENATED MODULE: ./src/components/TextField/TextField.vue?vue&type=template&id=
|
|
8175
|
+
// CONCATENATED MODULE: ./src/components/TextField/TextField.vue?vue&type=template&id=068cf2f4&
|
|
8151
8176
|
|
|
8152
8177
|
// EXTERNAL MODULE: ./src/assets/style.scss
|
|
8153
8178
|
var style = __webpack_require__("73ec");
|
|
@@ -8234,7 +8259,6 @@ var style = __webpack_require__("73ec");
|
|
|
8234
8259
|
},
|
|
8235
8260
|
value: {
|
|
8236
8261
|
type: String,
|
|
8237
|
-
required: true,
|
|
8238
8262
|
default: ""
|
|
8239
8263
|
},
|
|
8240
8264
|
placeholder: {
|
|
@@ -8282,8 +8306,8 @@ var style = __webpack_require__("73ec");
|
|
|
8282
8306
|
|
|
8283
8307
|
var TextField_component = normalizeComponent(
|
|
8284
8308
|
TextField_TextFieldvue_type_script_lang_js_,
|
|
8285
|
-
|
|
8286
|
-
|
|
8309
|
+
TextFieldvue_type_template_id_068cf2f4_render,
|
|
8310
|
+
TextFieldvue_type_template_id_068cf2f4_staticRenderFns,
|
|
8287
8311
|
false,
|
|
8288
8312
|
null,
|
|
8289
8313
|
null,
|
|
@@ -8480,20 +8504,20 @@ var es_string_replace = __webpack_require__("5319");
|
|
|
8480
8504
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
8481
8505
|
var es_regexp_to_string = __webpack_require__("25f0");
|
|
8482
8506
|
|
|
8483
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8c19676a-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=
|
|
8484
|
-
var
|
|
8507
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8c19676a-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=de1784de&
|
|
8508
|
+
var Profilevue_type_template_id_de1784de_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"},[(_vm.requestCount !== null && _vm.isAuthenticated)?_c('div',{staticClass:"requests__link"},[_vm._v(" Суточный лимит запросов: "),_c('span',[_vm._v(" "+_vm._s(_vm.requestCount)+" "+_vm._s((_vm.daysRemaining === null || _vm.daysRemaining === '-') ? '' : ("(" + _vm.daysRemaining + ")"))+" ")])]):_vm._e(),_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){
|
|
8485
8509
|
var animationClass = ref.animationClass;
|
|
8486
|
-
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.
|
|
8510
|
+
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){
|
|
8487
8511
|
var animationClass = ref.animationClass;
|
|
8488
|
-
return [(elem.opened)?_c('div',[_vm._l((elem.children),function(child,idx){return [(child.
|
|
8512
|
+
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){
|
|
8489
8513
|
var animationClass = ref.animationClass;
|
|
8490
|
-
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.
|
|
8514
|
+
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){
|
|
8491
8515
|
var animationClass = ref.animationClass;
|
|
8492
|
-
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.
|
|
8493
|
-
var
|
|
8516
|
+
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)])}
|
|
8517
|
+
var Profilevue_type_template_id_de1784de_staticRenderFns = []
|
|
8494
8518
|
|
|
8495
8519
|
|
|
8496
|
-
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=
|
|
8520
|
+
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=de1784de&
|
|
8497
8521
|
|
|
8498
8522
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
8499
8523
|
var es_promise = __webpack_require__("e6cf");
|
|
@@ -9218,8 +9242,8 @@ var Profilevue_type_style_index_0_lang_scss_ = __webpack_require__("ee80");
|
|
|
9218
9242
|
|
|
9219
9243
|
var Profile_component = normalizeComponent(
|
|
9220
9244
|
Header_Profilevue_type_script_lang_js_,
|
|
9221
|
-
|
|
9222
|
-
|
|
9245
|
+
Profilevue_type_template_id_de1784de_render,
|
|
9246
|
+
Profilevue_type_template_id_de1784de_staticRenderFns,
|
|
9223
9247
|
false,
|
|
9224
9248
|
null,
|
|
9225
9249
|
null,
|
|
@@ -9232,26 +9256,34 @@ var Profile_component = normalizeComponent(
|
|
|
9232
9256
|
var profileDropDown = [{
|
|
9233
9257
|
id: 1,
|
|
9234
9258
|
name: "Общие настройки",
|
|
9235
|
-
|
|
9259
|
+
dev: "https://adtdev.kz/profile?tab=general",
|
|
9260
|
+
staging: "https://adada.kz/profile?tab=general",
|
|
9261
|
+
prod: "https://adata.kz/profile?tab=general",
|
|
9236
9262
|
disabled: false,
|
|
9237
9263
|
withoutArray: true
|
|
9238
9264
|
}, {
|
|
9239
9265
|
id: 2,
|
|
9240
9266
|
name: "Увеличить лимит запросов",
|
|
9241
|
-
|
|
9267
|
+
dev: "https://adtdev.kz/profile?tab=tariffs",
|
|
9268
|
+
staging: "https://adada.kz/profile?tab=tariffs",
|
|
9269
|
+
prod: "https://adata.kz/profile?tab=tariffs",
|
|
9242
9270
|
disabled: false,
|
|
9243
9271
|
withoutArray: true
|
|
9244
9272
|
}, {
|
|
9245
9273
|
id: 3,
|
|
9246
9274
|
name: "Текущий баланс: 0 ₸",
|
|
9247
|
-
|
|
9275
|
+
dev: "https://adtdev.kz/profile?tab=tariffs",
|
|
9276
|
+
staging: "https://adada.kz/profile?tab=tariffs",
|
|
9277
|
+
prod: "https://adata.kz/profile?tab=tariffs",
|
|
9248
9278
|
link: "Пополнить",
|
|
9249
9279
|
disabled: true,
|
|
9250
9280
|
withoutArray: true
|
|
9251
9281
|
}, {
|
|
9252
9282
|
id: 4,
|
|
9253
9283
|
name: "Историй платежей",
|
|
9254
|
-
|
|
9284
|
+
dev: "https://adtdev.kz/profile?tab=payments",
|
|
9285
|
+
staging: "https://adada.kz/profile?tab=payments",
|
|
9286
|
+
prod: "https://adata.kz/profile?tab=payments",
|
|
9255
9287
|
disabled: false,
|
|
9256
9288
|
withoutArray: true
|
|
9257
9289
|
}, {
|
|
@@ -9261,11 +9293,15 @@ var profileDropDown = [{
|
|
|
9261
9293
|
children: [{
|
|
9262
9294
|
id: 8,
|
|
9263
9295
|
name: "Избранные",
|
|
9264
|
-
|
|
9296
|
+
dev: "https://pk.adtdev.kz/profile/favorites",
|
|
9297
|
+
staging: "https://pk.adada.kz/profile/favorites",
|
|
9298
|
+
prod: "https://pk.adata.kz/profile/favorites"
|
|
9265
9299
|
}, {
|
|
9266
9300
|
id: 9,
|
|
9267
9301
|
name: "История просмотров",
|
|
9268
|
-
|
|
9302
|
+
dev: "https://pk.adtdev.kz/profile/browsing-history",
|
|
9303
|
+
staging: "https://pk.adada.kz/profile/browsing-history",
|
|
9304
|
+
prod: "https://pk.adata.kz/profile/browsing-history"
|
|
9269
9305
|
}],
|
|
9270
9306
|
disabled: false
|
|
9271
9307
|
}, {
|
|
@@ -9275,7 +9311,9 @@ var profileDropDown = [{
|
|
|
9275
9311
|
children: [{
|
|
9276
9312
|
id: 10,
|
|
9277
9313
|
name: "Профиль",
|
|
9278
|
-
|
|
9314
|
+
dev: "https://work.adtdev.kz/profile/account",
|
|
9315
|
+
staging: "https://work.adada.kz/profile/account",
|
|
9316
|
+
prod: "https://work.adata.kz/profile/account"
|
|
9279
9317
|
}, // {
|
|
9280
9318
|
// id: 11,
|
|
9281
9319
|
// name: "Создать резюме",
|
|
@@ -9284,11 +9322,15 @@ var profileDropDown = [{
|
|
|
9284
9322
|
{
|
|
9285
9323
|
id: 12,
|
|
9286
9324
|
name: "Отклики",
|
|
9287
|
-
|
|
9325
|
+
dev: "https://work.adtdev.kz/profile/application",
|
|
9326
|
+
staging: "https://work.adada.kz/profile/application",
|
|
9327
|
+
prod: "https://work.adata.kz/profile/application"
|
|
9288
9328
|
}, {
|
|
9289
9329
|
id: 13,
|
|
9290
9330
|
name: "Предложения",
|
|
9291
|
-
|
|
9331
|
+
dev: "https://work.adtdev.kz/profile/offer",
|
|
9332
|
+
staging: "https://work.adada.kz/profile/offer",
|
|
9333
|
+
prod: "https://work.adata.kz/profile/offer"
|
|
9292
9334
|
}],
|
|
9293
9335
|
disabled: false
|
|
9294
9336
|
}, {
|
|
@@ -9298,11 +9340,15 @@ var profileDropDown = [{
|
|
|
9298
9340
|
children: [{
|
|
9299
9341
|
id: 17,
|
|
9300
9342
|
name: "Шаблоны поиска",
|
|
9301
|
-
|
|
9343
|
+
dev: "https://tender.adtdev.kz/profile/search-profile",
|
|
9344
|
+
staging: "https://tender.adada.kz/profile/search-profile",
|
|
9345
|
+
prod: "https://tender.adata.kz/profile/search-profile"
|
|
9302
9346
|
}, {
|
|
9303
9347
|
id: 17,
|
|
9304
9348
|
name: "Избранные",
|
|
9305
|
-
|
|
9349
|
+
dev: "https://tender.adtdev.kz/profile/favourites",
|
|
9350
|
+
staging: "https://tender.adada.kz/profile/favourites",
|
|
9351
|
+
prod: "https://tender.adata.kz/profile/favourites"
|
|
9306
9352
|
}],
|
|
9307
9353
|
disabled: false
|
|
9308
9354
|
} // {
|
|
@@ -9937,6 +9983,64 @@ var SearchTextField_component = normalizeComponent(
|
|
|
9937
9983
|
)
|
|
9938
9984
|
|
|
9939
9985
|
/* harmony default export */ var SearchTextField = (SearchTextField_component.exports);
|
|
9986
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"8c19676a-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=36dee40c&scoped=true&
|
|
9987
|
+
var MailTovue_type_template_id_36dee40c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"mail"},[_c('h2',{staticClass:"mail__title"},[_vm._v("Интересует больше данных?")]),_vm._m(0),_c('div',{staticClass:"mail__img-wrapper"},[_c('img',{staticClass:"mail__img",attrs:{"src":__webpack_require__("e9ce"),"alt":"mail"}})]),_vm._m(1)])}
|
|
9988
|
+
var MailTovue_type_template_id_36dee40c_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticClass:"mail__subtitle"},[_vm._v(" Отправьте ваш запрос на "),_c('a',{staticClass:"mail__link",attrs:{"href":"mailto:info@adata.kz"}},[_vm._v("info@adata.kz")])])},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(" в кратчайшие сроки. ")])}]
|
|
9989
|
+
|
|
9990
|
+
|
|
9991
|
+
// CONCATENATED MODULE: ./src/components/MailTo/MailTo.vue?vue&type=template&id=36dee40c&scoped=true&
|
|
9992
|
+
|
|
9993
|
+
// 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&
|
|
9994
|
+
//
|
|
9995
|
+
//
|
|
9996
|
+
//
|
|
9997
|
+
//
|
|
9998
|
+
//
|
|
9999
|
+
//
|
|
10000
|
+
//
|
|
10001
|
+
//
|
|
10002
|
+
//
|
|
10003
|
+
//
|
|
10004
|
+
//
|
|
10005
|
+
//
|
|
10006
|
+
//
|
|
10007
|
+
//
|
|
10008
|
+
//
|
|
10009
|
+
//
|
|
10010
|
+
//
|
|
10011
|
+
//
|
|
10012
|
+
//
|
|
10013
|
+
//
|
|
10014
|
+
//
|
|
10015
|
+
/* harmony default export */ var MailTovue_type_script_lang_js_ = ({
|
|
10016
|
+
name: "MailTo"
|
|
10017
|
+
});
|
|
10018
|
+
// CONCATENATED MODULE: ./src/components/MailTo/MailTo.vue?vue&type=script&lang=js&
|
|
10019
|
+
/* harmony default export */ var MailTo_MailTovue_type_script_lang_js_ = (MailTovue_type_script_lang_js_);
|
|
10020
|
+
// EXTERNAL MODULE: ./src/components/MailTo/MailTo.vue?vue&type=style&index=0&id=36dee40c&lang=scss&scoped=true&
|
|
10021
|
+
var MailTovue_type_style_index_0_id_36dee40c_lang_scss_scoped_true_ = __webpack_require__("1f7b");
|
|
10022
|
+
|
|
10023
|
+
// CONCATENATED MODULE: ./src/components/MailTo/MailTo.vue
|
|
10024
|
+
|
|
10025
|
+
|
|
10026
|
+
|
|
10027
|
+
|
|
10028
|
+
|
|
10029
|
+
|
|
10030
|
+
/* normalize component */
|
|
10031
|
+
|
|
10032
|
+
var MailTo_component = normalizeComponent(
|
|
10033
|
+
MailTo_MailTovue_type_script_lang_js_,
|
|
10034
|
+
MailTovue_type_template_id_36dee40c_scoped_true_render,
|
|
10035
|
+
MailTovue_type_template_id_36dee40c_scoped_true_staticRenderFns,
|
|
10036
|
+
false,
|
|
10037
|
+
null,
|
|
10038
|
+
"36dee40c",
|
|
10039
|
+
null
|
|
10040
|
+
|
|
10041
|
+
)
|
|
10042
|
+
|
|
10043
|
+
/* harmony default export */ var MailTo = (MailTo_component.exports);
|
|
9940
10044
|
// CONCATENATED MODULE: ./src/components/index.js
|
|
9941
10045
|
|
|
9942
10046
|
|
|
@@ -9949,6 +10053,7 @@ var SearchTextField_component = normalizeComponent(
|
|
|
9949
10053
|
|
|
9950
10054
|
|
|
9951
10055
|
|
|
10056
|
+
|
|
9952
10057
|
var Components = {
|
|
9953
10058
|
AButton: AButton,
|
|
9954
10059
|
ATextField: TextField,
|
|
@@ -9956,7 +10061,8 @@ var Components = {
|
|
|
9956
10061
|
AAlert: Alert,
|
|
9957
10062
|
AHeader: Header,
|
|
9958
10063
|
AFooter: Footer,
|
|
9959
|
-
ASearchTextField: SearchTextField
|
|
10064
|
+
ASearchTextField: SearchTextField,
|
|
10065
|
+
AMailTo: MailTo
|
|
9960
10066
|
};
|
|
9961
10067
|
Object.keys(Components).forEach(function (name) {
|
|
9962
10068
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.component(name, Components[name]);
|