adata-ui 0.1.27 → 0.1.28
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 +45 -32
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.umd.js +45 -32
- 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/components/Footer/Footer.vue +24 -24
- package/src/components/Header/Header.stories.js +1 -1
- package/src/components/Header/Header.vue +6 -0
- package/src/components/Header/Profile.vue +1 -1
- package/src/components/SearchTextField/SearchTextField.stories.js +6 -1
- package/src/components/SearchTextField/SearchTextField.vue +4 -1
- package/src/components/TextField/TextField.stories.js +6 -1
- package/src/components/TextField/TextField.vue +7 -1
package/dist/adata-ui.common.js
CHANGED
|
@@ -8168,12 +8168,12 @@ var component = normalizeComponent(
|
|
|
8168
8168
|
)
|
|
8169
8169
|
|
|
8170
8170
|
/* harmony default export */ var BaseButton = (component.exports);
|
|
8171
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3461635a-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=
|
|
8172
|
-
var
|
|
8173
|
-
var
|
|
8171
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3461635a-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=6f9422b4&
|
|
8172
|
+
var TextFieldvue_type_template_id_6f9422b4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"adt-text-block"},[_c('div',{staticClass:"adt-text-block__field"},[(!_vm.mask)?_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('TheMask',{ref:"maskInput",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"value":_vm.value,"mask":_vm.mask,"type":_vm.type,"masked":false,"placeholder":_vm.inputPlaceholder,"required":""},nativeOn:{"input":function($event){return _vm.$emit('input', $event.target.value)},"focus":function($event){_vm.showPlaceholder = true},"blur":function($event){_vm.showPlaceholder = false}}}),_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()],1),(!!_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()])}
|
|
8173
|
+
var TextFieldvue_type_template_id_6f9422b4_staticRenderFns = []
|
|
8174
8174
|
|
|
8175
8175
|
|
|
8176
|
-
// CONCATENATED MODULE: ./src/components/TextField/TextField.vue?vue&type=template&id=
|
|
8176
|
+
// CONCATENATED MODULE: ./src/components/TextField/TextField.vue?vue&type=template&id=6f9422b4&
|
|
8177
8177
|
|
|
8178
8178
|
// EXTERNAL MODULE: ./src/assets/style.scss
|
|
8179
8179
|
var style = __webpack_require__("73ec");
|
|
@@ -8281,6 +8281,11 @@ var vue_the_mask = __webpack_require__("3a60");
|
|
|
8281
8281
|
inputPlaceholder: function inputPlaceholder() {
|
|
8282
8282
|
return this.showPlaceholder ? this.placeholder : "";
|
|
8283
8283
|
}
|
|
8284
|
+
},
|
|
8285
|
+
methods: {
|
|
8286
|
+
enterPressed: function enterPressed() {
|
|
8287
|
+
this.$emit('enterPressed');
|
|
8288
|
+
}
|
|
8284
8289
|
}
|
|
8285
8290
|
});
|
|
8286
8291
|
// CONCATENATED MODULE: ./src/components/TextField/TextField.vue?vue&type=script&lang=js&
|
|
@@ -8295,8 +8300,8 @@ var vue_the_mask = __webpack_require__("3a60");
|
|
|
8295
8300
|
|
|
8296
8301
|
var TextField_component = normalizeComponent(
|
|
8297
8302
|
TextField_TextFieldvue_type_script_lang_js_,
|
|
8298
|
-
|
|
8299
|
-
|
|
8303
|
+
TextFieldvue_type_template_id_6f9422b4_render,
|
|
8304
|
+
TextFieldvue_type_template_id_6f9422b4_staticRenderFns,
|
|
8300
8305
|
false,
|
|
8301
8306
|
null,
|
|
8302
8307
|
null,
|
|
@@ -8469,14 +8474,14 @@ var Alert_component = normalizeComponent(
|
|
|
8469
8474
|
)
|
|
8470
8475
|
|
|
8471
8476
|
/* harmony default export */ var Alert = (Alert_component.exports);
|
|
8472
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3461635a-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=
|
|
8473
|
-
var
|
|
8477
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3461635a-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=44d59a31&
|
|
8478
|
+
var Headervue_type_template_id_44d59a31_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:"a-header",class:[{'bordered': _vm.isBordered}, {'fixed': _vm.isFixed}]},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"a-header__left"},[_c('a',{staticClass:"logo",attrs:{"href":_vm.toAdtdev('https://adata.kz')}},[_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":_vm.toAdtdev(item.url)}},[_vm._v(" "+_vm._s(item.name)+" ")])}),0):_vm._e()]),_c('div',{staticClass:"a-header__right"},[_vm._t("chooseCountry"),_c('Profile',{attrs:{"profileDropDown":_vm.profileDropDown,"isDev":_vm.isDev,"isAuthenticated":_vm.isAuthenticated,"requestCount":_vm.requestCount,"daysRemaining":_vm.daysRemaining,"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){
|
|
8474
8479
|
var animationClass = ref.animationClass;
|
|
8475
8480
|
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":_vm.toAdtdev(item.url)}},[_vm._v(" "+_vm._s(item.name)+" ")])})],2)]}}])})],1)}
|
|
8476
|
-
var
|
|
8481
|
+
var Headervue_type_template_id_44d59a31_staticRenderFns = []
|
|
8477
8482
|
|
|
8478
8483
|
|
|
8479
|
-
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=
|
|
8484
|
+
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=44d59a31&
|
|
8480
8485
|
|
|
8481
8486
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
8482
8487
|
var es_number_constructor = __webpack_require__("a9e3");
|
|
@@ -8493,8 +8498,8 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
8493
8498
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
8494
8499
|
var es_regexp_to_string = __webpack_require__("25f0");
|
|
8495
8500
|
|
|
8496
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3461635a-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=
|
|
8497
|
-
var
|
|
8501
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3461635a-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=28cb8618&
|
|
8502
|
+
var Profilevue_type_template_id_28cb8618_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){
|
|
8498
8503
|
var animationClass = ref.animationClass;
|
|
8499
8504
|
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.url)?_c('div',{staticClass:"gray-text",class:elem.link ? 'profile-menu__balance-link': 'profile-menu__links',on:{"click":function($event){return _vm.handleClick(elem.url, 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.url, 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){
|
|
8500
8505
|
var animationClass = ref.animationClass;
|
|
@@ -8503,10 +8508,10 @@ var animationClass = ref.animationClass;
|
|
|
8503
8508
|
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.url)?_c('div',{class:elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links',on:{"click":function($event){return _vm.handleClick(elem.url, elem.name)}}},[(!elem.link)?_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(),(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){
|
|
8504
8509
|
var animationClass = ref.animationClass;
|
|
8505
8510
|
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.url)?_c('div',{class:elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links',on:{"click":function($event){return _vm.handleClick(elem.url, 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)])}
|
|
8506
|
-
var
|
|
8511
|
+
var Profilevue_type_template_id_28cb8618_staticRenderFns = []
|
|
8507
8512
|
|
|
8508
8513
|
|
|
8509
|
-
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=
|
|
8514
|
+
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=28cb8618&
|
|
8510
8515
|
|
|
8511
8516
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
8512
8517
|
var es_promise = __webpack_require__("e6cf");
|
|
@@ -9135,7 +9140,7 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
9135
9140
|
this.listDropDown = _toConsumableArray(this.profileDropDown);
|
|
9136
9141
|
}
|
|
9137
9142
|
|
|
9138
|
-
if (this.activeTabKey === 'counterparty') {
|
|
9143
|
+
if (this.activeTabKey === 'counterparty' && window && window.innerWidth > 850) {
|
|
9139
9144
|
this.chosenElem = this.listDropDown.find(function (el) {
|
|
9140
9145
|
return el.name === 'Контрагенты';
|
|
9141
9146
|
});
|
|
@@ -9234,8 +9239,8 @@ var Profilevue_type_style_index_0_lang_scss_ = __webpack_require__("ee80");
|
|
|
9234
9239
|
|
|
9235
9240
|
var Profile_component = normalizeComponent(
|
|
9236
9241
|
Header_Profilevue_type_script_lang_js_,
|
|
9237
|
-
|
|
9238
|
-
|
|
9242
|
+
Profilevue_type_template_id_28cb8618_render,
|
|
9243
|
+
Profilevue_type_template_id_28cb8618_staticRenderFns,
|
|
9239
9244
|
false,
|
|
9240
9245
|
null,
|
|
9241
9246
|
null,
|
|
@@ -9483,6 +9488,11 @@ var profileDropDown = [{
|
|
|
9483
9488
|
name: "Штрафы",
|
|
9484
9489
|
url: 'https://avto.adata.kz',
|
|
9485
9490
|
key: 'fines'
|
|
9491
|
+
}, {
|
|
9492
|
+
id: 5,
|
|
9493
|
+
name: "Маркетинг",
|
|
9494
|
+
url: 'https://marketing.adata.kz',
|
|
9495
|
+
key: 'fines'
|
|
9486
9496
|
}],
|
|
9487
9497
|
isOpen: false
|
|
9488
9498
|
};
|
|
@@ -9529,8 +9539,8 @@ var Headervue_type_style_index_0_lang_scss_ = __webpack_require__("52f3");
|
|
|
9529
9539
|
|
|
9530
9540
|
var Header_component = normalizeComponent(
|
|
9531
9541
|
Header_Headervue_type_script_lang_js_,
|
|
9532
|
-
|
|
9533
|
-
|
|
9542
|
+
Headervue_type_template_id_44d59a31_render,
|
|
9543
|
+
Headervue_type_template_id_44d59a31_staticRenderFns,
|
|
9534
9544
|
false,
|
|
9535
9545
|
null,
|
|
9536
9546
|
null,
|
|
@@ -9539,12 +9549,12 @@ var Header_component = normalizeComponent(
|
|
|
9539
9549
|
)
|
|
9540
9550
|
|
|
9541
9551
|
/* harmony default export */ var Header = (Header_component.exports);
|
|
9542
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3461635a-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/Footer/Footer.vue?vue&type=template&id=
|
|
9543
|
-
var
|
|
9544
|
-
var
|
|
9552
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3461635a-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/Footer/Footer.vue?vue&type=template&id=45b958f7&
|
|
9553
|
+
var Footervue_type_template_id_45b958f7_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',{staticClass:"a-footer",class:[{'paddinged': _vm.hasBottomMenu}]},[_c('div',{staticClass:"a-footer__top"},[_c('div',{staticClass:"nav"},[_c('a',{staticClass:"logo adata-logo",attrs:{"href":"https://adata.kz"}},[_c('svg',{attrs:{"fill":"#2C3E50","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 166 48"}},[_c('path',{attrs:{"d":"M62.926 38.22v-28h10.316c10.342 0 15.511 4.55 15.508 13.652 0 4.36-1.41 7.843-4.232 10.448-2.822 2.605-6.58 3.907-11.276 3.904l-10.316-.004zm6.56-22.868v17.752h3.248c2.839 0 5.069-.82 6.69-2.46 1.622-1.64 2.43-3.873 2.424-6.7 0-2.667-.8-4.767-2.403-6.3-1.602-1.533-3.853-2.297-6.752-2.292h-3.206zM118.5 38.22h-7.131l-2.079-6.228H98.958l-2.079 6.228h-7.093l10.598-28h7.775l10.341 28zm-10.723-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.162c-.07.83-.24 1.649-.508 2.44l-3.168 9.492h7.451zm31.833-11.796h-8.316V38.22h-6.557V15.352h-8.274v-5.136h23.147v5.136zM166 38.22h-7.143l-2.079-6.228h-10.349l-2.05 6.228h-7.106l10.598-28h7.776l10.353 28zm-10.719-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.163c-.069.83-.239 1.649-.507 2.44l-3.168 9.492h7.451zM24.553 15.252h-.163c-.069.83-.24 1.649-.507 2.44L20.715 27.2h7.45l-3.126-9.412a12.02 12.02 0 01-.486-2.536z"}}),_c('path',{attrs:{"d":"M44.905 0H4.99a5.091 5.091 0 00-3.528 1.406A4.71 4.71 0 000 4.8v38.4a4.71 4.71 0 001.461 3.394A5.091 5.091 0 004.99 48h39.916a5.091 5.091 0 003.528-1.406 4.71 4.71 0 001.462-3.394V4.8a4.71 4.71 0 00-1.462-3.394A5.091 5.091 0 0044.905 0zM31.737 38.26l-2.079-6.232H19.305l-2.05 6.232h-7.097l10.598-28h7.776l10.353 28h-7.148z"}})])]),_c('div',{staticClass:"social"},[_c('a',{attrs:{"target":"_blank","rel":"nofollow","href":"https://www.facebook.com/adata.kz"}},[_c('svg',{staticClass:"social__icon",attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"d":"M13.6562 0H2.34375C1.05151 0 0 1.05151 0 2.34375V13.6562C0 14.9485 1.05151 16 2.34375 16H7.0625V10.3438H5.1875V7.53125H7.0625V5.625C7.0625 4.0741 8.3241 2.8125 9.875 2.8125H12.7188V5.625H9.875V7.53125H12.7188L12.25 10.3438H9.875V16H13.6562C14.9485 16 16 14.9485 16 13.6562V2.34375C16 1.05151 14.9485 0 13.6562 0Z","fill":"#2C3E50"}})])]),_c('a',{attrs:{"target":"_blank","rel":"nofollow","href":"https://www.instagram.com/adata.kz/?igshid=253i4qxg3els"}},[_c('svg',{staticClass:"social__icon",attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M3.01562 0.0166016C1.35877 0.0166016 0.015625 1.35975 0.015625 3.0166V13.001C0.015625 14.6578 1.35877 16.001 3.01562 16.001H13C14.6569 16.001 16 14.6578 16 13.001V3.0166C16 1.35975 14.6569 0.0166016 13 0.0166016H3.01562ZM14.3891 3.20021C14.3891 3.6416 14.0313 3.99943 13.5899 3.99943C13.1485 3.99943 12.7906 3.6416 12.7906 3.20021C12.7906 2.75881 13.1485 2.40099 13.5899 2.40099C14.0313 2.40099 14.3891 2.75881 14.3891 3.20021ZM8.01132 11.5982C9.99761 11.5982 11.6078 9.98805 11.6078 8.00176C11.6078 6.01548 9.99761 4.40528 8.01132 4.40528C6.02504 4.40528 4.41484 6.01548 4.41484 8.00176C4.41484 9.98805 6.02504 11.5982 8.01132 11.5982ZM8.01132 12.7971C10.6597 12.7971 12.8066 10.6501 12.8066 8.00176C12.8066 5.35339 10.6597 3.20645 8.01132 3.20645C5.36295 3.20645 3.21601 5.35339 3.21601 8.00176C3.21601 10.6501 5.36295 12.7971 8.01132 12.7971Z","fill":"#2C3E50"}})])]),_c('a',{attrs:{"target":"_blank","rel":"nofollow","href":"https://www.youtube.com/channel/UCPkbtgwgTZbMJXjmTi3R8Uw/about"}},[_c('svg',{staticClass:"social__icon",attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2 0C0.895431 0 0 0.895431 0 2V14C0 15.1046 0.895431 16 2 16H14C15.1046 16 16 15.1046 16 14V2C16 0.895431 15.1046 0 14 0H2ZM13.7528 4.98132C13.6144 4.46732 13.2092 4.06205 12.6952 3.92367C11.7561 3.66667 7.99997 3.66667 7.99997 3.66667C7.99997 3.66667 4.24381 3.66667 3.30477 3.91378C2.80066 4.05217 2.3855 4.46732 2.24712 4.98132C2 5.92036 2 7.86764 2 7.86764C2 7.86764 2 9.82479 2.24712 10.7539C2.3855 11.268 2.79077 11.6732 3.30477 11.8116C4.2537 12.0686 7.99997 12.0686 7.99997 12.0686C7.99997 12.0686 11.7561 12.0686 12.6952 11.8215C13.2092 11.6831 13.6144 11.2778 13.7528 10.7638C13.9999 9.82479 13.9999 7.87752 13.9999 7.87752C13.9999 7.87752 14.0098 5.92036 13.7528 4.98132ZM6.80392 9.59801L9.92747 7.799L6.80392 6V9.59801Z","fill":"#2C3E50"}})])]),_c('a',{attrs:{"target":"_blank","rel":"nofollow","href":"https://www.tiktok.com/@adata.kz?lang=ru-RU"}},[_c('svg',{staticClass:"social__icon",attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2 0C0.895431 0 0 0.895431 0 2V14C0 15.1046 0.895431 16 2 16H14C15.1046 16 16 15.1046 16 14V2C16 0.895431 15.1046 0 14 0H2ZM8.27136 9.89447C8.27136 10.8688 7.54987 11.506 6.65988 11.506C5.76988 11.506 5.04839 10.7845 5.04839 9.89447C5.04839 9.0988 5.7895 8.37096 6.68689 8.40404C6.86305 8.40404 7.06987 8.44599 7.15006 8.47436V6.62331C5.55588 6.30091 3.14893 7.62001 3.14893 9.89447C3.14893 11.506 4.38899 13.3333 6.65988 13.3333C8.93076 13.3333 10.1985 11.506 10.1985 9.89447V6.23373C10.5643 6.52374 11.6152 7.04631 12.8511 7.04631V5.229C11.406 5.25812 10.0956 3.98482 10.204 2.66667H8.27136V9.89447Z","fill":"#2C3E50"}})])])]),_c('a',{staticClass:"nav__item nav__link",attrs:{"href":"https://adata.kz/tariffs"}},[_vm._v(" Тарифы ")]),_c('a',{staticClass:"nav__item nav__link",attrs:{"href":"https://adata.kz/about"}},[_vm._v(" О сервисе ")]),_c('a',{staticClass:"nav__item nav__link",attrs:{"href":"https://adata.kz/apiInfo"}},[_vm._v(" Описание API ")]),_c('a',{staticClass:"nav__item nav__link",attrs:{"href":"https://adata.kz/user-agreements"}},[_vm._v(" Пользовательское соглашение ")]),_c('a',{staticClass:"nav__item nav__link",attrs:{"href":"https://adata.kz/vacancy"}},[_vm._v(" Вакансии ")]),_c('a',{staticClass:"nav__item nav__link",attrs:{"href":"https://adata.kz/contacts"}},[_vm._v(" Контакты ")])])]),_vm._m(0)])}
|
|
9554
|
+
var Footervue_type_template_id_45b958f7_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"a-footer__bottom"},[_c('span',[_vm._v("2022 © ТОО \"Alldata\"")])])}]
|
|
9545
9555
|
|
|
9546
9556
|
|
|
9547
|
-
// CONCATENATED MODULE: ./src/components/Footer/Footer.vue?vue&type=template&id=
|
|
9557
|
+
// CONCATENATED MODULE: ./src/components/Footer/Footer.vue?vue&type=template&id=45b958f7&
|
|
9548
9558
|
|
|
9549
9559
|
// 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/Footer/Footer.vue?vue&type=script&lang=js&
|
|
9550
9560
|
//
|
|
@@ -9627,8 +9637,8 @@ var Footervue_type_style_index_0_lang_scss_ = __webpack_require__("7433");
|
|
|
9627
9637
|
|
|
9628
9638
|
var Footer_component = normalizeComponent(
|
|
9629
9639
|
Footer_Footervue_type_script_lang_js_,
|
|
9630
|
-
|
|
9631
|
-
|
|
9640
|
+
Footervue_type_template_id_45b958f7_render,
|
|
9641
|
+
Footervue_type_template_id_45b958f7_staticRenderFns,
|
|
9632
9642
|
false,
|
|
9633
9643
|
null,
|
|
9634
9644
|
null,
|
|
@@ -9637,20 +9647,20 @@ var Footer_component = normalizeComponent(
|
|
|
9637
9647
|
)
|
|
9638
9648
|
|
|
9639
9649
|
/* harmony default export */ var Footer = (Footer_component.exports);
|
|
9640
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3461635a-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=
|
|
9641
|
-
var
|
|
9650
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3461635a-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=26b4dd64&
|
|
9651
|
+
var SearchTextFieldvue_type_template_id_26b4dd64_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",class:[{magnifier: _vm.isWithIcon},{'magnifier-mobile': _vm.magnifierMob}],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',{staticClass:"adt-text-block__field"},[(!_vm.mask)?_c('input',{ref:"input",class:[
|
|
9642
9652
|
{'adt-text-block__input-mob-search' : _vm.magnifierMob},
|
|
9643
9653
|
{'adt-text-block__input-mob-filter' : _vm.forMobileFilter},
|
|
9644
9654
|
{'adt-text-block__input': !_vm.forMobileFilter}
|
|
9645
|
-
],attrs:{"type":_vm.type,"placeholder":_vm.placeholder,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.target.value)},"
|
|
9655
|
+
],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)},"focus":function($event){_vm.showAutocomplete = true},"click":function($event){return _vm.$emit('showVTour')}}}):_c('TheMask',{ref:"maskInput",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"value":_vm.value,"mask":_vm.mask,"type":_vm.type,"masked":false,"placeholder":_vm.inputPlaceholder,"required":""},nativeOn:{"input":function($event){return _vm.$emit('input', $event.target.value)},"focus":function($event){_vm.showPlaceholder = true},"blur":function($event){_vm.showPlaceholder = false}}}),_c('label',{class:{
|
|
9646
9656
|
'adt-text-block__label-red' : !_vm.forMobileFilter && _vm.getIsError,
|
|
9647
9657
|
'adt-text-block__label' : !_vm.forMobileFilter && !_vm.getIsError,
|
|
9648
9658
|
'adt-text-block__label-mob-filter' : _vm.forMobileFilter,
|
|
9649
9659
|
}},[_vm._v(" "+_vm._s(_vm.label)+" ")]),(_vm.magnifierMob)?_c('div',{staticClass:"mobile mobile-magnifier",on:{"click":function($event){return _vm.$emit('onMagnifierClick')}}},[_c('svg',{attrs:{"width":"24","height":"24","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"magnifier"}},[_c('path',{attrs:{"d":"M13.95 13.95L10 10","stroke":"#2C3E50","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('circle',{attrs:{"cx":"6.5","cy":"6.5","r":"4.5","stroke":"#2C3E50"}})])]):_vm._e(),(_vm.isWithIcon)?_c('div',{staticClass:"adt-text-block__icon adt-text-block__magnifier",on:{"click":function($event){return _vm.$emit('input', '')}}},[_c('svg',{attrs:{"width":"24","height":"24","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"magnifier"}},[_c('path',{attrs:{"d":"M13.95 13.95L10 10","stroke":"#2C3E50","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('circle',{attrs:{"cx":"6.5","cy":"6.5","r":"4.5","stroke":"#2C3E50"}})])]):_vm._e(),(_vm.clearable && _vm.value && _vm.value.length > 0)?_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()],1),_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)])}
|
|
9650
|
-
var
|
|
9660
|
+
var SearchTextFieldvue_type_template_id_26b4dd64_staticRenderFns = []
|
|
9651
9661
|
|
|
9652
9662
|
|
|
9653
|
-
// CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue?vue&type=template&id=
|
|
9663
|
+
// CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue?vue&type=template&id=26b4dd64&
|
|
9654
9664
|
|
|
9655
9665
|
// EXTERNAL MODULE: ./node_modules/vue2-perfect-scrollbar/dist/vue2-perfect-scrollbar.umd.js
|
|
9656
9666
|
var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
@@ -9836,6 +9846,9 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9836
9846
|
}
|
|
9837
9847
|
},
|
|
9838
9848
|
methods: {
|
|
9849
|
+
enterPressed: function enterPressed() {
|
|
9850
|
+
this.$emit('enterPressed', this.showAutocomplete);
|
|
9851
|
+
},
|
|
9839
9852
|
onOutsideClick: function onOutsideClick() {
|
|
9840
9853
|
if (!this.isMobile) this.showAutocomplete = false;
|
|
9841
9854
|
},
|
|
@@ -9912,8 +9925,8 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9912
9925
|
|
|
9913
9926
|
var SearchTextField_component = normalizeComponent(
|
|
9914
9927
|
SearchTextField_SearchTextFieldvue_type_script_lang_js_,
|
|
9915
|
-
|
|
9916
|
-
|
|
9928
|
+
SearchTextFieldvue_type_template_id_26b4dd64_render,
|
|
9929
|
+
SearchTextFieldvue_type_template_id_26b4dd64_staticRenderFns,
|
|
9917
9930
|
false,
|
|
9918
9931
|
null,
|
|
9919
9932
|
null,
|