adata-ui 0.1.38 → 0.1.41
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 +120 -71
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +120 -71
- 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-lock.json +1 -1
- package/package.json +1 -1
- package/src/App.vue +27 -14
- package/src/assets/_text_field.scss +4 -114
- package/src/components/Header/Header.vue +30 -15
- package/src/components/Header/Profile.vue +9 -9
- package/src/components/SearchTextField/SearchTextField.vue +106 -66
package/dist/adata-ui.umd.js
CHANGED
|
@@ -7962,7 +7962,7 @@ var es_object_keys = __webpack_require__("b64b");
|
|
|
7962
7962
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
7963
7963
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
7964
7964
|
|
|
7965
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7965
|
+
// 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=6e56f244&
|
|
7966
7966
|
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:[
|
|
7967
7967
|
'btn',
|
|
7968
7968
|
("btn_" + _vm.variant),
|
|
@@ -8151,7 +8151,7 @@ var component = normalizeComponent(
|
|
|
8151
8151
|
)
|
|
8152
8152
|
|
|
8153
8153
|
/* harmony default export */ var AButton = (component.exports);
|
|
8154
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8154
|
+
// 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=1b41aec5&
|
|
8155
8155
|
var TextFieldvue_type_template_id_1b41aec5_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 }]},[((_vm.type)==='checkbox')?_c('input',{directives:[{name:"mask",rawName:"v-mask",value:(_vm.mask),expression:"mask"},{name:"model",rawName:"v-model",value:(_vm.value),expression:"value"}],ref:"input",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"placeholder":_vm.placeholder,"required":"","type":"checkbox"},domProps:{"checked":Array.isArray(_vm.value)?_vm._i(_vm.value,null)>-1:(_vm.value)},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.pressedEnter.apply(null, arguments)},"input":function () {_vm.$emit('input', _vm.value)},"change":function($event){var $$a=_vm.value,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.value=$$a.concat([$$v]))}else{$$i>-1&&(_vm.value=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.value=$$c}}}}):((_vm.type)==='radio')?_c('input',{directives:[{name:"mask",rawName:"v-mask",value:(_vm.mask),expression:"mask"},{name:"model",rawName:"v-model",value:(_vm.value),expression:"value"}],ref:"input",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"placeholder":_vm.placeholder,"required":"","type":"radio"},domProps:{"checked":_vm._q(_vm.value,null)},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.pressedEnter.apply(null, arguments)},"input":function () {_vm.$emit('input', _vm.value)},"change":function($event){_vm.value=null}}}):_c('input',{directives:[{name:"mask",rawName:"v-mask",value:(_vm.mask),expression:"mask"},{name:"model",rawName:"v-model",value:(_vm.value),expression:"value"}],ref:"input",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"placeholder":_vm.placeholder,"required":"","type":_vm.type},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.pressedEnter.apply(null, arguments)},"input":[function($event){if($event.target.composing){ return; }_vm.value=$event.target.value},function () {_vm.$emit('input', _vm.value)}]}}),_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()])}
|
|
8156
8156
|
var TextFieldvue_type_template_id_1b41aec5_staticRenderFns = []
|
|
8157
8157
|
|
|
@@ -8795,7 +8795,7 @@ var TextField_component = normalizeComponent(
|
|
|
8795
8795
|
)
|
|
8796
8796
|
|
|
8797
8797
|
/* harmony default export */ var TextField = (TextField_component.exports);
|
|
8798
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8798
|
+
// 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/PasswordField/PasswordField.vue?vue&type=template&id=19736e8c&
|
|
8799
8799
|
var PasswordFieldvue_type_template_id_19736e8c_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"},[_c('input',{ref:"input",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"type":_vm.type,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.target.value)}}}),_c('label',{staticClass:"adt-text-block__label"},[_vm._v(_vm._s(_vm.label))]),(_vm.showPassword)?_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){_vm.showPassword = false}}},[_c('svg',{attrs:{"width":"12","height":"12","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 511.992 511.992","id":"openedEye"}},[_c('path',{attrs:{"d":"M510.096 249.937c-4.032-5.867-100.928-143.275-254.101-143.275-131.435 0-248.555 136.619-253.483 142.443-3.349 3.968-3.349 9.792 0 13.781C7.44 268.71 124.56 405.329 255.995 405.329S504.549 268.71 509.477 262.886c3.094-3.669 3.371-8.981.619-12.949zM255.995 383.996c-105.365 0-205.547-100.48-230.997-128 25.408-27.541 125.483-128 230.997-128 123.285 0 210.304 100.331 231.552 127.424-24.534 26.645-125.291 128.576-231.552 128.576z"}}),_c('path',{attrs:{"d":"M255.995 170.662c-47.061 0-85.333 38.272-85.333 85.333s38.272 85.333 85.333 85.333 85.333-38.272 85.333-85.333-38.272-85.333-85.333-85.333zm0 149.334c-35.285 0-64-28.715-64-64s28.715-64 64-64 64 28.715 64 64-28.715 64-64 64z"}})])]):_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){_vm.showPassword = true}}},[_c('svg',{attrs:{"width":"12","height":"12","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 512.001 512.001","id":"closedEye"}},[_c('path',{attrs:{"d":"M316.332 195.662c-4.16-4.16-10.923-4.16-15.083 0s-4.16 10.944 0 15.083c12.075 12.075 18.752 28.139 18.752 45.248 0 35.285-28.715 64-64 64-17.109 0-33.173-6.656-45.248-18.752-4.16-4.16-10.923-4.16-15.083 0-4.16 4.139-4.16 10.923 0 15.083 16.085 16.128 37.525 25.003 60.331 25.003 47.061 0 85.333-38.272 85.333-85.333 0-22.807-8.874-44.247-25.002-60.332zm-45.462-23.531c-4.843-.853-9.792-1.472-14.869-1.472-47.061 0-85.333 38.272-85.333 85.333 0 5.077.619 10.027 1.493 14.869.917 5.163 5.419 8.811 10.475 8.811.619 0 1.237-.043 1.877-.171 5.781-1.024 9.664-6.571 8.64-12.352-.661-3.627-1.152-7.317-1.152-11.157 0-35.285 28.715-64 64-64 3.84 0 7.531.491 11.157 1.131 5.675 1.152 11.328-2.859 12.352-8.64 1.024-5.781-2.858-11.328-8.64-12.352z"}}),_c('path',{attrs:{"d":"M509.462 249.102c-2.411-2.859-60.117-70.208-139.712-111.445-5.163-2.709-11.669-.661-14.379 4.587-2.709 5.227-.661 11.669 4.587 14.379 61.312 31.744 110.293 81.28 127.04 99.371-25.429 27.541-125.504 128-230.997 128-35.797 0-71.872-8.64-107.264-25.707-5.248-2.581-11.669-.341-14.229 4.971-2.581 5.291-.341 11.669 4.971 14.229 38.293 18.496 77.504 27.84 116.523 27.84 131.435 0 248.555-136.619 253.483-142.443 3.369-3.969 3.348-9.793-.023-13.782zM325.996 118.947c-24.277-8.171-47.829-12.288-69.995-12.288-131.435 0-248.555 136.619-253.483 142.443-3.115 3.669-3.371 9.003-.597 12.992 1.472 2.112 36.736 52.181 97.856 92.779a10.48 10.48 0 005.888 1.792c3.435 0 6.827-1.664 8.875-4.8 3.264-4.885 1.92-11.52-2.987-14.763-44.885-29.845-75.605-65.877-87.104-80.533 24.555-26.667 125.291-128.576 231.552-128.576 19.861 0 41.131 3.755 63.189 11.157 5.589 2.005 11.648-1.088 13.504-6.699 1.878-5.589-1.109-11.626-6.698-13.504z"}}),_c('path',{attrs:{"d":"M444.865 67.128c-4.16-4.16-10.923-4.16-15.083 0L67.116 429.795c-4.16 4.16-4.16 10.923 0 15.083a10.716 10.716 0 007.552 3.115c2.731 0 5.461-1.045 7.531-3.115L444.865 82.211c4.16-4.16 4.16-10.923 0-15.083z"}})])])]),(!!_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()])}
|
|
8800
8800
|
var PasswordFieldvue_type_template_id_19736e8c_staticRenderFns = []
|
|
8801
8801
|
|
|
@@ -8896,7 +8896,7 @@ var PasswordField_component = normalizeComponent(
|
|
|
8896
8896
|
)
|
|
8897
8897
|
|
|
8898
8898
|
/* harmony default export */ var PasswordField = (PasswordField_component.exports);
|
|
8899
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8899
|
+
// 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/Alert/Alert.vue?vue&type=template&id=e7aa4870&
|
|
8900
8900
|
var Alertvue_type_template_id_e7aa4870_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['note', {'note--error': _vm.error}]},[_c('div',{staticClass:"note-svg"},[(!_vm.error)?_c('svg',{attrs:{"fill":"none","width":"14","height":"14","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('circle',{attrs:{"cx":"8","cy":"8","r":"6.5","stroke":"#007AFF"}}),_c('path',{attrs:{"d":"M9.661 11.137l-.111.457c-.336.132-.604.233-.803.302-.2.07-.432.104-.696.104-.406 0-.722-.1-.947-.297a.961.961 0 01-.338-.755c0-.117.008-.239.025-.363.017-.123.045-.263.082-.419l.419-1.483c.037-.142.069-.277.094-.404.026-.126.038-.243.038-.348 0-.189-.039-.321-.117-.396-.078-.074-.227-.112-.448-.112-.108 0-.22.017-.333.051a4.649 4.649 0 00-.294.096l.112-.457c.275-.112.537-.207.788-.287.251-.08.489-.12.713-.12.403 0 .714.098.933.293a.97.97 0 01.327.76c0 .064-.007.177-.022.34a2.277 2.277 0 01-.084.447l-.417 1.478a3.921 3.921 0 00-.133.752c0 .196.044.33.132.401.088.071.24.107.456.107.102 0 .217-.018.345-.054.128-.035.221-.066.28-.093zm.106-6.203a.865.865 0 01-.292.658.994.994 0 01-.703.272 1 1 0 01-.706-.272.863.863 0 01-.295-.658c0-.257.098-.477.295-.66A1 1 0 018.772 4a.99.99 0 01.703.274.873.873 0 01.292.66z","fill":"#007AFF"}})]):_c('svg',{attrs:{"width":"14","height":"14","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"note-error-svg"}},[_c('circle',{attrs:{"cx":"8","cy":"8","r":"6.5","stroke":"#e60000"}}),_c('path',{attrs:{"d":"M9.661 11.137l-.111.457c-.336.132-.604.233-.803.302-.2.07-.432.104-.696.104-.406 0-.722-.1-.947-.297a.961.961 0 01-.338-.755c0-.117.008-.239.025-.363.017-.123.045-.263.082-.419l.419-1.483c.037-.142.069-.277.094-.404.026-.126.038-.243.038-.348 0-.189-.039-.321-.117-.396-.078-.074-.227-.112-.448-.112-.108 0-.22.017-.333.051a4.649 4.649 0 00-.294.096l.112-.457c.275-.112.537-.207.788-.287.251-.08.489-.12.713-.12.403 0 .714.098.933.293a.97.97 0 01.327.76c0 .064-.007.177-.022.34a2.277 2.277 0 01-.084.447l-.417 1.478a3.921 3.921 0 00-.133.752c0 .196.044.33.132.401.088.071.24.107.456.107.102 0 .217-.018.345-.054.128-.035.221-.066.28-.093zm.106-6.203a.865.865 0 01-.292.658.994.994 0 01-.703.272 1 1 0 01-.706-.272.863.863 0 01-.295-.658c0-.257.098-.477.295-.66A1 1 0 018.772 4a.99.99 0 01.703.274.873.873 0 01.292.66z","fill":"#e60000"}})])]),_vm._t("default")],2)}
|
|
8901
8901
|
var Alertvue_type_template_id_e7aa4870_staticRenderFns = []
|
|
8902
8902
|
|
|
@@ -8959,32 +8959,32 @@ var Alert_component = normalizeComponent(
|
|
|
8959
8959
|
)
|
|
8960
8960
|
|
|
8961
8961
|
/* harmony default export */ var Alert = (Alert_component.exports);
|
|
8962
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8963
|
-
var
|
|
8962
|
+
// 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/Header.vue?vue&type=template&id=2f3f105a&
|
|
8963
|
+
var Headervue_type_template_id_2f3f105a_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.main[_vm.mode]}},[_c('svg',{staticClass:"adata-logo",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 166 48"}},[_c('path',{attrs:{"d":"M62.926 38.22v-28h10.316c10.342 0 15.511 4.55 15.508 13.652 0 4.36-1.41 7.843-4.232 10.448-2.822 2.605-6.58 3.907-11.276 3.904l-10.316-.004zm6.56-22.868v17.752h3.248c2.839 0 5.069-.82 6.69-2.46 1.622-1.64 2.43-3.873 2.424-6.7 0-2.667-.8-4.767-2.403-6.3-1.602-1.533-3.853-2.297-6.752-2.292h-3.206zM118.5 38.22h-7.131l-2.079-6.228H98.958l-2.079 6.228h-7.093l10.598-28h7.775l10.341 28zm-10.723-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.162c-.07.83-.24 1.649-.508 2.44l-3.168 9.492h7.451zm31.833-11.796h-8.316V38.22h-6.557V15.352h-8.274v-5.136h23.147v5.136zM166 38.22h-7.143l-2.079-6.228h-10.349l-2.05 6.228h-7.106l10.598-28h7.776l10.353 28zm-10.719-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.163c-.069.83-.239 1.649-.507 2.44l-3.168 9.492h7.451zM24.553 15.252h-.163c-.069.83-.24 1.649-.507 2.44L20.715 27.2h7.45l-3.126-9.412a12.02 12.02 0 01-.486-2.536z"}}),_c('path',{attrs:{"d":"M44.905 0H4.99a5.091 5.091 0 00-3.528 1.406A4.71 4.71 0 000 4.8v38.4a4.71 4.71 0 001.461 3.394A5.091 5.091 0 004.99 48h39.916a5.091 5.091 0 003.528-1.406 4.71 4.71 0 001.462-3.394V4.8a4.71 4.71 0 00-1.462-3.394A5.091 5.091 0 0044.905 0zM31.737 38.26l-2.079-6.232H19.305l-2.05 6.232h-7.097l10.598-28h7.776l10.353 28h-7.148z"}})])]),(_vm.subheaderItems.length > 0)?_c('div',{staticClass:"menu"},_vm._l((_vm.subheaderItems),function(item,index){return _c('a',{key:index,staticClass:"menu__wrapper menu__items",class:{active: item.key === _vm.activeTabKey},attrs:{"href":item[_vm.mode]}},[_vm._v(" "+_vm._s(item.name)+" ")])}),0):_vm._e()]),_c('div',{staticClass:"a-header__right"},[_vm._t("chooseCountry"),_c('Profile',{attrs:{"profileDropDown":_vm.profileDropDown,"mode":_vm.mode,"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){
|
|
8964
8964
|
var animationClass = ref.animationClass;
|
|
8965
|
-
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.
|
|
8966
|
-
var
|
|
8965
|
+
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.subheaderItems.length > 0 && _vm.isOpen),expression:"subheaderItems.length > 0 && isOpen"}],staticClass:"menu_mobile",class:animationClass},[_c('div',{staticClass:"mobile-table-head",on:{"click":function($event){$event.stopPropagation();return _vm.changeValue.apply(null, arguments)}}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z","fill":"#2C3E50"}})])]),_vm._l((_vm.subheaderItems),function(item,index){return _c('a',{key:index,staticClass:"menu_mobile-wrapper",class:{'active-burger-tab': item.key === _vm.activeTabKey},attrs:{"href":item[_vm.mode]}},[_vm._v(" "+_vm._s(item.name)+" ")])})],2)]}}])})],1)}
|
|
8966
|
+
var Headervue_type_template_id_2f3f105a_staticRenderFns = []
|
|
8967
8967
|
|
|
8968
8968
|
|
|
8969
|
-
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=
|
|
8969
|
+
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=2f3f105a&
|
|
8970
8970
|
|
|
8971
8971
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
8972
8972
|
var es_number_constructor = __webpack_require__("a9e3");
|
|
8973
8973
|
|
|
8974
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
8975
|
+
var es_function_name = __webpack_require__("b0c0");
|
|
8976
|
+
|
|
8974
8977
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
8975
8978
|
var es_regexp_exec = __webpack_require__("ac1f");
|
|
8976
8979
|
|
|
8977
8980
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
8978
8981
|
var es_string_replace = __webpack_require__("5319");
|
|
8979
8982
|
|
|
8980
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
8981
|
-
var es_function_name = __webpack_require__("b0c0");
|
|
8982
|
-
|
|
8983
8983
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
8984
8984
|
var es_regexp_to_string = __webpack_require__("25f0");
|
|
8985
8985
|
|
|
8986
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8987
|
-
var
|
|
8986
|
+
// 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=7bef64d9&
|
|
8987
|
+
var Profilevue_type_template_id_7bef64d9_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){
|
|
8988
8988
|
var animationClass = ref.animationClass;
|
|
8989
8989
|
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){
|
|
8990
8990
|
var animationClass = ref.animationClass;
|
|
@@ -8993,10 +8993,10 @@ var animationClass = ref.animationClass;
|
|
|
8993
8993
|
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',{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){
|
|
8994
8994
|
var animationClass = ref.animationClass;
|
|
8995
8995
|
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)])}
|
|
8996
|
-
var
|
|
8996
|
+
var Profilevue_type_template_id_7bef64d9_staticRenderFns = []
|
|
8997
8997
|
|
|
8998
8998
|
|
|
8999
|
-
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=
|
|
8999
|
+
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=7bef64d9&
|
|
9000
9000
|
|
|
9001
9001
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
9002
9002
|
var es_promise = __webpack_require__("e6cf");
|
|
@@ -9139,7 +9139,7 @@ var es_array_filter = __webpack_require__("4de4");
|
|
|
9139
9139
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
9140
9140
|
var es_string_includes = __webpack_require__("2532");
|
|
9141
9141
|
|
|
9142
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9142
|
+
// 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/transitions/SlideToggle.vue?vue&type=template&id=6ddd4cf0&
|
|
9143
9143
|
var SlideTogglevue_type_template_id_6ddd4cf0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{on:{"before-enter":_vm.beforeEnter,"enter":_vm.enter,"after-enter":_vm.afterEnter,"before-leave":_vm.beforeLeave,"leave":_vm.leave,"after-leave":_vm.afterLeave}},[_vm._t("default",null,{"animationClass":'slideToggleAnimation',"compareNotificationClass":'compareNotification',"fastAnimation":'fastAnimation'})],2)}
|
|
9144
9144
|
var SlideTogglevue_type_template_id_6ddd4cf0_staticRenderFns = []
|
|
9145
9145
|
|
|
@@ -9217,7 +9217,7 @@ var SlideToggle_component = normalizeComponent(
|
|
|
9217
9217
|
var v_click_outside_umd = __webpack_require__("c28b");
|
|
9218
9218
|
var v_click_outside_umd_default = /*#__PURE__*/__webpack_require__.n(v_click_outside_umd);
|
|
9219
9219
|
|
|
9220
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9220
|
+
// 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/transitions/VerticalMobileToggle.vue?vue&type=template&id=0eccf0ba&
|
|
9221
9221
|
var VerticalMobileTogglevue_type_template_id_0eccf0ba_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{on:{"before-enter":_vm.beforeEnter,"after-enter":_vm.afterEnter,"before-leave":_vm.beforeLeave,"leave":_vm.leave,"after-leave":_vm.afterLeave}},[_vm._t("default",null,{"animationClass":'slideToggleAnimation',"compareNotificationClass":'compareNotification'})],2)}
|
|
9222
9222
|
var VerticalMobileTogglevue_type_template_id_0eccf0ba_staticRenderFns = []
|
|
9223
9223
|
|
|
@@ -9329,8 +9329,6 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
9329
9329
|
|
|
9330
9330
|
|
|
9331
9331
|
|
|
9332
|
-
|
|
9333
|
-
|
|
9334
9332
|
//
|
|
9335
9333
|
//
|
|
9336
9334
|
//
|
|
@@ -9572,9 +9570,12 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
9572
9570
|
clickOutside: v_click_outside_umd_default.a.directive
|
|
9573
9571
|
},
|
|
9574
9572
|
props: {
|
|
9575
|
-
|
|
9576
|
-
type:
|
|
9577
|
-
|
|
9573
|
+
mode: {
|
|
9574
|
+
type: String,
|
|
9575
|
+
required: true,
|
|
9576
|
+
validator: function validator(value) {
|
|
9577
|
+
return ['prod', 'dev', 'staging'].indexOf(value) !== -1;
|
|
9578
|
+
}
|
|
9578
9579
|
},
|
|
9579
9580
|
profileDropDown: {
|
|
9580
9581
|
type: Array,
|
|
@@ -9668,7 +9669,7 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
9668
9669
|
break;
|
|
9669
9670
|
}
|
|
9670
9671
|
|
|
9671
|
-
if (!window.location.href.includes(
|
|
9672
|
+
if (!window.location.href.includes(url)) {
|
|
9672
9673
|
_context.next = 6;
|
|
9673
9674
|
break;
|
|
9674
9675
|
}
|
|
@@ -9682,7 +9683,7 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
9682
9683
|
|
|
9683
9684
|
case 6:
|
|
9684
9685
|
_context.next = 8;
|
|
9685
|
-
return window.open(
|
|
9686
|
+
return window.open(url + "&modal=show", "_self");
|
|
9686
9687
|
|
|
9687
9688
|
case 8:
|
|
9688
9689
|
case "end":
|
|
@@ -9694,7 +9695,7 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
9694
9695
|
},
|
|
9695
9696
|
handleClick: function handleClick(url, name) {
|
|
9696
9697
|
if (!name.includes('Текущий')) {
|
|
9697
|
-
window.open(
|
|
9698
|
+
window.open(url, "_self");
|
|
9698
9699
|
this.active = false;
|
|
9699
9700
|
if (this.chosenElem) this.chosenElem.opened = false;
|
|
9700
9701
|
}
|
|
@@ -9702,9 +9703,6 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
9702
9703
|
rotateItem: function rotateItem(index) {
|
|
9703
9704
|
this.chosenElem = this.listDropDown[index];
|
|
9704
9705
|
this.$set(this.listDropDown[index], 'opened', !this.listDropDown[index].opened);
|
|
9705
|
-
},
|
|
9706
|
-
toAdtdev: function toAdtdev(url) {
|
|
9707
|
-
return this.isDev ? url.replace("adata", "adtdev") : url;
|
|
9708
9706
|
}
|
|
9709
9707
|
}
|
|
9710
9708
|
});
|
|
@@ -9724,8 +9722,8 @@ var Profilevue_type_style_index_0_lang_scss_ = __webpack_require__("ee80");
|
|
|
9724
9722
|
|
|
9725
9723
|
var Profile_component = normalizeComponent(
|
|
9726
9724
|
Header_Profilevue_type_script_lang_js_,
|
|
9727
|
-
|
|
9728
|
-
|
|
9725
|
+
Profilevue_type_template_id_7bef64d9_render,
|
|
9726
|
+
Profilevue_type_template_id_7bef64d9_staticRenderFns,
|
|
9729
9727
|
false,
|
|
9730
9728
|
null,
|
|
9731
9729
|
null,
|
|
@@ -9915,9 +9913,12 @@ var profileDropDown = [{
|
|
|
9915
9913
|
MobileToggle: VerticalMobileToggle
|
|
9916
9914
|
},
|
|
9917
9915
|
props: {
|
|
9918
|
-
|
|
9919
|
-
type:
|
|
9920
|
-
|
|
9916
|
+
mode: {
|
|
9917
|
+
type: String,
|
|
9918
|
+
required: true,
|
|
9919
|
+
validator: function validator(value) {
|
|
9920
|
+
return ['prod', 'dev', 'staging'].indexOf(value) !== -1;
|
|
9921
|
+
}
|
|
9921
9922
|
},
|
|
9922
9923
|
isAuthenticated: {
|
|
9923
9924
|
type: Boolean,
|
|
@@ -9961,30 +9962,45 @@ var profileDropDown = [{
|
|
|
9961
9962
|
data: function data() {
|
|
9962
9963
|
return {
|
|
9963
9964
|
profileDropDown: profileDropDown,
|
|
9965
|
+
main: {
|
|
9966
|
+
dev: 'https://adtdev.kz',
|
|
9967
|
+
prod: 'https://adata.kz',
|
|
9968
|
+
staging: 'https://adada.kz'
|
|
9969
|
+
},
|
|
9964
9970
|
subheaderItems: [{
|
|
9965
9971
|
id: 1,
|
|
9966
9972
|
name: "Контрагенты",
|
|
9967
|
-
|
|
9973
|
+
dev: 'https://pk.adtdev.kz',
|
|
9974
|
+
prod: 'https://pk.adata.kz',
|
|
9975
|
+
staging: 'https://pk.adada.kz',
|
|
9968
9976
|
key: 'counterparty'
|
|
9969
9977
|
}, {
|
|
9970
9978
|
id: 2,
|
|
9971
9979
|
name: "Тендеры",
|
|
9972
|
-
|
|
9980
|
+
dev: 'https://tender.adtdev.kz',
|
|
9981
|
+
prod: 'https://tender.adata.kz',
|
|
9982
|
+
staging: 'https://tender.adada.kz',
|
|
9973
9983
|
key: 'tenders'
|
|
9974
9984
|
}, {
|
|
9975
9985
|
id: 3,
|
|
9976
9986
|
name: "Работа",
|
|
9977
|
-
|
|
9987
|
+
dev: 'https://work.adtdev.kz',
|
|
9988
|
+
prod: 'https://work.adata.kz',
|
|
9989
|
+
staging: 'https://work.adada.kz',
|
|
9978
9990
|
key: 'work'
|
|
9979
9991
|
}, {
|
|
9980
9992
|
id: 4,
|
|
9981
9993
|
name: "Штрафы",
|
|
9982
|
-
|
|
9994
|
+
dev: 'https://avto.adtdev.kz',
|
|
9995
|
+
prod: 'https://avto.adata.kz',
|
|
9996
|
+
staging: 'https://avto.adada.kz',
|
|
9983
9997
|
key: 'fines'
|
|
9984
9998
|
}, {
|
|
9985
9999
|
id: 5,
|
|
9986
10000
|
name: "Маркетинг",
|
|
9987
|
-
|
|
10001
|
+
dev: 'https://marketing.adtdev.kz',
|
|
10002
|
+
prod: 'https://marketing.adata.kz',
|
|
10003
|
+
staging: 'https://marketing.adada.kz',
|
|
9988
10004
|
key: 'marketing'
|
|
9989
10005
|
}],
|
|
9990
10006
|
isOpen: false
|
|
@@ -9998,9 +10014,6 @@ var profileDropDown = [{
|
|
|
9998
10014
|
this.isOpen = !this.isOpen;
|
|
9999
10015
|
this.$emit('menuOpen', this.isOpen);
|
|
10000
10016
|
},
|
|
10001
|
-
toAdtdev: function toAdtdev(url) {
|
|
10002
|
-
return this.isDev ? url.replace("adata", "adtdev") : url;
|
|
10003
|
-
},
|
|
10004
10017
|
setBalance: function setBalance(balance) {
|
|
10005
10018
|
if (balance !== 0) {
|
|
10006
10019
|
this.profileDropDown[2].name = 'Текущий баланс: ' + this.thousandSeparator(balance) + ' ₸';
|
|
@@ -10032,8 +10045,8 @@ var Headervue_type_style_index_0_lang_scss_ = __webpack_require__("52f3");
|
|
|
10032
10045
|
|
|
10033
10046
|
var Header_component = normalizeComponent(
|
|
10034
10047
|
Header_Headervue_type_script_lang_js_,
|
|
10035
|
-
|
|
10036
|
-
|
|
10048
|
+
Headervue_type_template_id_2f3f105a_render,
|
|
10049
|
+
Headervue_type_template_id_2f3f105a_staticRenderFns,
|
|
10037
10050
|
false,
|
|
10038
10051
|
null,
|
|
10039
10052
|
null,
|
|
@@ -10042,7 +10055,7 @@ var Header_component = normalizeComponent(
|
|
|
10042
10055
|
)
|
|
10043
10056
|
|
|
10044
10057
|
/* harmony default export */ var Header = (Header_component.exports);
|
|
10045
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10058
|
+
// 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/Footer/Footer.vue?vue&type=template&id=9fb22084&
|
|
10046
10059
|
var Footervue_type_template_id_9fb22084_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","version":"1.1"}},[_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)])}
|
|
10047
10060
|
var Footervue_type_template_id_9fb22084_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\"")])])}]
|
|
10048
10061
|
|
|
@@ -10160,12 +10173,12 @@ var Footer_component = normalizeComponent(
|
|
|
10160
10173
|
)
|
|
10161
10174
|
|
|
10162
10175
|
/* harmony default export */ var Footer = (Footer_component.exports);
|
|
10163
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10164
|
-
var
|
|
10165
|
-
var
|
|
10176
|
+
// 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/SearchTextField/SearchTextField.vue?vue&type=template&id=6af63cba&
|
|
10177
|
+
var SearchTextFieldvue_type_template_id_6af63cba_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')}}}),_c('label',{staticClass:"adt-text-block__label"},[_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)])}
|
|
10178
|
+
var SearchTextFieldvue_type_template_id_6af63cba_staticRenderFns = []
|
|
10166
10179
|
|
|
10167
10180
|
|
|
10168
|
-
// CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue?vue&type=template&id=
|
|
10181
|
+
// CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue?vue&type=template&id=6af63cba&
|
|
10169
10182
|
|
|
10170
10183
|
// EXTERNAL MODULE: ./node_modules/vue2-perfect-scrollbar/dist/vue2-perfect-scrollbar.umd.js
|
|
10171
10184
|
var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
@@ -10229,15 +10242,47 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
10229
10242
|
//
|
|
10230
10243
|
//
|
|
10231
10244
|
//
|
|
10232
|
-
|
|
10245
|
+
//
|
|
10246
|
+
//
|
|
10247
|
+
//
|
|
10248
|
+
//
|
|
10249
|
+
//
|
|
10250
|
+
//
|
|
10251
|
+
//
|
|
10252
|
+
//
|
|
10253
|
+
//
|
|
10254
|
+
//
|
|
10255
|
+
//
|
|
10256
|
+
//
|
|
10257
|
+
//
|
|
10258
|
+
//
|
|
10259
|
+
//
|
|
10260
|
+
//
|
|
10261
|
+
//
|
|
10262
|
+
//
|
|
10263
|
+
//
|
|
10264
|
+
//
|
|
10265
|
+
//
|
|
10266
|
+
//
|
|
10267
|
+
//
|
|
10268
|
+
//
|
|
10269
|
+
//
|
|
10270
|
+
//
|
|
10271
|
+
//
|
|
10272
|
+
//
|
|
10273
|
+
//
|
|
10274
|
+
//
|
|
10275
|
+
//
|
|
10276
|
+
//
|
|
10277
|
+
//
|
|
10278
|
+
//
|
|
10233
10279
|
|
|
10234
10280
|
|
|
10235
10281
|
|
|
10236
10282
|
/* harmony default export */ var SearchTextFieldvue_type_script_lang_js_ = ({
|
|
10237
10283
|
name: "SearchTextField",
|
|
10238
10284
|
directives: {
|
|
10239
|
-
clickOutside: v_click_outside_umd_default.a.directive
|
|
10240
|
-
mask: directive
|
|
10285
|
+
clickOutside: v_click_outside_umd_default.a.directive
|
|
10241
10286
|
},
|
|
10242
10287
|
props: {
|
|
10243
10288
|
errorText: {
|
|
@@ -10252,6 +10297,11 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
10252
10297
|
type: String,
|
|
10253
10298
|
default: ""
|
|
10254
10299
|
},
|
|
10300
|
+
value: {
|
|
10301
|
+
type: String,
|
|
10302
|
+
required: true,
|
|
10303
|
+
default: ""
|
|
10304
|
+
},
|
|
10255
10305
|
label: {
|
|
10256
10306
|
type: String,
|
|
10257
10307
|
required: true
|
|
@@ -10293,8 +10343,7 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
10293
10343
|
data: function data() {
|
|
10294
10344
|
return {
|
|
10295
10345
|
showAutocomplete: false,
|
|
10296
|
-
showPlaceholder: false
|
|
10297
|
-
value: ""
|
|
10346
|
+
showPlaceholder: false
|
|
10298
10347
|
};
|
|
10299
10348
|
},
|
|
10300
10349
|
computed: {
|
|
@@ -10303,8 +10352,8 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
10303
10352
|
}
|
|
10304
10353
|
},
|
|
10305
10354
|
methods: {
|
|
10306
|
-
|
|
10307
|
-
this.$emit(
|
|
10355
|
+
enterPressed: function enterPressed() {
|
|
10356
|
+
this.$emit("enterPressed", this.showAutocomplete);
|
|
10308
10357
|
},
|
|
10309
10358
|
onOutsideClick: function onOutsideClick() {
|
|
10310
10359
|
if (!this.isMobile) this.showAutocomplete = false;
|
|
@@ -10316,27 +10365,27 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
10316
10365
|
if (length > 0) {
|
|
10317
10366
|
switch (e.which) {
|
|
10318
10367
|
case 40:
|
|
10319
|
-
this.moveOption(autoCompleteOptions,
|
|
10368
|
+
this.moveOption(autoCompleteOptions, "nextElementSibling");
|
|
10320
10369
|
break;
|
|
10321
10370
|
|
|
10322
10371
|
case 38:
|
|
10323
|
-
this.moveOption(autoCompleteOptions,
|
|
10372
|
+
this.moveOption(autoCompleteOptions, "previousElementSibling");
|
|
10324
10373
|
break;
|
|
10325
10374
|
}
|
|
10326
10375
|
}
|
|
10327
10376
|
},
|
|
10328
10377
|
moveOption: function moveOption(autoCompleteOptions, elementType) {
|
|
10329
10378
|
var selectedOption = autoCompleteOptions.find(function (option) {
|
|
10330
|
-
return option.hasAttribute(
|
|
10379
|
+
return option.hasAttribute("id");
|
|
10331
10380
|
});
|
|
10332
10381
|
|
|
10333
10382
|
if (selectedOption) {
|
|
10334
10383
|
var siblingElement = selectedOption[elementType];
|
|
10335
|
-
this.$emit(
|
|
10384
|
+
this.$emit("castOption", (siblingElement === null || siblingElement === void 0 ? void 0 : siblingElement.innerText) || "");
|
|
10336
10385
|
|
|
10337
|
-
if (siblingElement !== null && siblingElement !== void 0 && siblingElement.classList.contains(
|
|
10386
|
+
if (siblingElement !== null && siblingElement !== void 0 && siblingElement.classList.contains("search-options__item")) {
|
|
10338
10387
|
selectedOption.removeAttribute("id");
|
|
10339
|
-
siblingElement.setAttribute("id",
|
|
10388
|
+
siblingElement.setAttribute("id", "searchVariant");
|
|
10340
10389
|
return;
|
|
10341
10390
|
}
|
|
10342
10391
|
|
|
@@ -10345,20 +10394,20 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
10345
10394
|
}
|
|
10346
10395
|
|
|
10347
10396
|
var innerText = "";
|
|
10348
|
-
if (elementType ===
|
|
10349
|
-
if (elementType ===
|
|
10350
|
-
this.$emit(
|
|
10397
|
+
if (elementType === "nextElementSibling") innerText = this.getAutocompleteOptionText(autoCompleteOptions === null || autoCompleteOptions === void 0 ? void 0 : autoCompleteOptions[0]);
|
|
10398
|
+
if (elementType === "previousElementSibling") innerText = this.getAutocompleteOptionText(autoCompleteOptions === null || autoCompleteOptions === void 0 ? void 0 : autoCompleteOptions[autoCompleteOptions.length - 1]);
|
|
10399
|
+
this.$emit("castOption", innerText);
|
|
10351
10400
|
},
|
|
10352
10401
|
getAutocompleteOptionText: function getAutocompleteOptionText(autocompleteOption) {
|
|
10353
|
-
autocompleteOption.setAttribute("id",
|
|
10402
|
+
autocompleteOption.setAttribute("id", "searchVariant");
|
|
10354
10403
|
return autocompleteOption.innerText;
|
|
10355
10404
|
},
|
|
10356
|
-
inputHandler: function inputHandler() {
|
|
10357
|
-
this.$emit(
|
|
10405
|
+
inputHandler: function inputHandler(e) {
|
|
10406
|
+
this.$emit("input", e.target.value);
|
|
10358
10407
|
this.showAutocomplete = true;
|
|
10359
10408
|
},
|
|
10360
10409
|
onAutocompleteOptionClick: function onAutocompleteOptionClick(option) {
|
|
10361
|
-
this.$emit(
|
|
10410
|
+
this.$emit("click", option);
|
|
10362
10411
|
this.showAutocomplete = false;
|
|
10363
10412
|
},
|
|
10364
10413
|
textByOption: function textByOption(obj) {
|
|
@@ -10382,8 +10431,8 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
10382
10431
|
|
|
10383
10432
|
var SearchTextField_component = normalizeComponent(
|
|
10384
10433
|
SearchTextField_SearchTextFieldvue_type_script_lang_js_,
|
|
10385
|
-
|
|
10386
|
-
|
|
10434
|
+
SearchTextFieldvue_type_template_id_6af63cba_render,
|
|
10435
|
+
SearchTextFieldvue_type_template_id_6af63cba_staticRenderFns,
|
|
10387
10436
|
false,
|
|
10388
10437
|
null,
|
|
10389
10438
|
null,
|