adata-ui 0.1.19 → 0.1.23
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 +42 -37
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +42 -37
- 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/assets/_text_field.scss +12 -12
- package/src/components/Header/Header.vue +7 -2
- package/src/components/PasswordField/PasswordField.vue +5 -0
- package/src/components/SearchTextField/SearchTextField.stories.js +3 -8
- package/src/components/SearchTextField/SearchTextField.vue +3 -10
- package/src/components/TextField/TextField.vue +5 -0
- package/src/components/index.js +1 -0
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":"af5d69b8-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":"af5d69b8-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=095289f0&
|
|
8172
|
+
var TextFieldvue_type_template_id_095289f0_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)}}}):_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_095289f0_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=095289f0&
|
|
8177
8177
|
|
|
8178
8178
|
// EXTERNAL MODULE: ./src/assets/style.scss
|
|
8179
8179
|
var style = __webpack_require__("73ec");
|
|
@@ -8225,6 +8225,11 @@ var vue_the_mask = __webpack_require__("3a60");
|
|
|
8225
8225
|
//
|
|
8226
8226
|
//
|
|
8227
8227
|
//
|
|
8228
|
+
//
|
|
8229
|
+
//
|
|
8230
|
+
//
|
|
8231
|
+
//
|
|
8232
|
+
//
|
|
8228
8233
|
|
|
8229
8234
|
|
|
8230
8235
|
/* harmony default export */ var TextFieldvue_type_script_lang_js_ = ({
|
|
@@ -8289,8 +8294,8 @@ var vue_the_mask = __webpack_require__("3a60");
|
|
|
8289
8294
|
|
|
8290
8295
|
var TextField_component = normalizeComponent(
|
|
8291
8296
|
TextField_TextFieldvue_type_script_lang_js_,
|
|
8292
|
-
|
|
8293
|
-
|
|
8297
|
+
TextFieldvue_type_template_id_095289f0_render,
|
|
8298
|
+
TextFieldvue_type_template_id_095289f0_staticRenderFns,
|
|
8294
8299
|
false,
|
|
8295
8300
|
null,
|
|
8296
8301
|
null,
|
|
@@ -8299,12 +8304,12 @@ var TextField_component = normalizeComponent(
|
|
|
8299
8304
|
)
|
|
8300
8305
|
|
|
8301
8306
|
/* harmony default export */ var TextField = (TextField_component.exports);
|
|
8302
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-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=
|
|
8303
|
-
var
|
|
8304
|
-
var
|
|
8307
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-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&
|
|
8308
|
+
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()])}
|
|
8309
|
+
var PasswordFieldvue_type_template_id_19736e8c_staticRenderFns = []
|
|
8305
8310
|
|
|
8306
8311
|
|
|
8307
|
-
// CONCATENATED MODULE: ./src/components/PasswordField/PasswordField.vue?vue&type=template&id=
|
|
8312
|
+
// CONCATENATED MODULE: ./src/components/PasswordField/PasswordField.vue?vue&type=template&id=19736e8c&
|
|
8308
8313
|
|
|
8309
8314
|
// 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/PasswordField/PasswordField.vue?vue&type=script&lang=js&
|
|
8310
8315
|
//
|
|
@@ -8345,6 +8350,11 @@ var PasswordFieldvue_type_template_id_bac050aa_staticRenderFns = []
|
|
|
8345
8350
|
//
|
|
8346
8351
|
//
|
|
8347
8352
|
//
|
|
8353
|
+
//
|
|
8354
|
+
//
|
|
8355
|
+
//
|
|
8356
|
+
//
|
|
8357
|
+
//
|
|
8348
8358
|
|
|
8349
8359
|
/* harmony default export */ var PasswordFieldvue_type_script_lang_js_ = ({
|
|
8350
8360
|
name: "PasswordField",
|
|
@@ -8385,8 +8395,8 @@ var PasswordFieldvue_type_template_id_bac050aa_staticRenderFns = []
|
|
|
8385
8395
|
|
|
8386
8396
|
var PasswordField_component = normalizeComponent(
|
|
8387
8397
|
PasswordField_PasswordFieldvue_type_script_lang_js_,
|
|
8388
|
-
|
|
8389
|
-
|
|
8398
|
+
PasswordFieldvue_type_template_id_19736e8c_render,
|
|
8399
|
+
PasswordFieldvue_type_template_id_19736e8c_staticRenderFns,
|
|
8390
8400
|
false,
|
|
8391
8401
|
null,
|
|
8392
8402
|
null,
|
|
@@ -8458,14 +8468,14 @@ var Alert_component = normalizeComponent(
|
|
|
8458
8468
|
)
|
|
8459
8469
|
|
|
8460
8470
|
/* harmony default export */ var Alert = (Alert_component.exports);
|
|
8461
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-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=
|
|
8462
|
-
var
|
|
8471
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-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=00fd3250&
|
|
8472
|
+
var Headervue_type_template_id_00fd3250_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.windowOpen)?_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: _vm.locationUrl.includes(_vm.toAdtdev(item.url))},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){
|
|
8463
8473
|
var animationClass = ref.animationClass;
|
|
8464
|
-
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': _vm.locationUrl.includes(_vm.toAdtdev(item.url))},attrs:{"href":_vm.toAdtdev(item.url)}},[_vm._v(" "+_vm._s(item.name)+" ")])})],2)]}}])})],1)}
|
|
8465
|
-
var
|
|
8474
|
+
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': _vm.locationUrl.includes(_vm.toAdtdev(item.url))},attrs:{"href":_vm.toAdtdev(item.url)}},[_vm._v(" "+_vm._s(item.name)+" ")])})],2)]}}],null,false,950415542)})],1):_vm._e()}
|
|
8475
|
+
var Headervue_type_template_id_00fd3250_staticRenderFns = []
|
|
8466
8476
|
|
|
8467
8477
|
|
|
8468
|
-
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=
|
|
8478
|
+
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=00fd3250&
|
|
8469
8479
|
|
|
8470
8480
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
8471
8481
|
var es_number_constructor = __webpack_require__("a9e3");
|
|
@@ -9451,6 +9461,7 @@ var profileDropDown = [{
|
|
|
9451
9461
|
data: function data() {
|
|
9452
9462
|
return {
|
|
9453
9463
|
profileDropDown: profileDropDown,
|
|
9464
|
+
windowOpen: false,
|
|
9454
9465
|
subheaderItems: [{
|
|
9455
9466
|
id: 1,
|
|
9456
9467
|
name: "Контрагенты",
|
|
@@ -9472,11 +9483,12 @@ var profileDropDown = [{
|
|
|
9472
9483
|
};
|
|
9473
9484
|
},
|
|
9474
9485
|
mounted: function mounted() {
|
|
9486
|
+
this.windowOpen = true;
|
|
9475
9487
|
this.setBalance(this.balance);
|
|
9476
9488
|
},
|
|
9477
9489
|
computed: {
|
|
9478
9490
|
locationUrl: function locationUrl() {
|
|
9479
|
-
return window.location.href;
|
|
9491
|
+
if (window) return window.location.href;else return '';
|
|
9480
9492
|
}
|
|
9481
9493
|
},
|
|
9482
9494
|
methods: {
|
|
@@ -9518,8 +9530,8 @@ var Headervue_type_style_index_0_lang_scss_ = __webpack_require__("52f3");
|
|
|
9518
9530
|
|
|
9519
9531
|
var Header_component = normalizeComponent(
|
|
9520
9532
|
Header_Headervue_type_script_lang_js_,
|
|
9521
|
-
|
|
9522
|
-
|
|
9533
|
+
Headervue_type_template_id_00fd3250_render,
|
|
9534
|
+
Headervue_type_template_id_00fd3250_staticRenderFns,
|
|
9523
9535
|
false,
|
|
9524
9536
|
null,
|
|
9525
9537
|
null,
|
|
@@ -9626,20 +9638,20 @@ var Footer_component = normalizeComponent(
|
|
|
9626
9638
|
)
|
|
9627
9639
|
|
|
9628
9640
|
/* harmony default export */ var Footer = (Footer_component.exports);
|
|
9629
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-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=
|
|
9630
|
-
var
|
|
9641
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-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=5bfc642a&
|
|
9642
|
+
var SearchTextFieldvue_type_template_id_5bfc642a_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"},[_c('input',{ref:"input",class:[
|
|
9631
9643
|
{'adt-text-block__input-mob-search' : _vm.magnifierMob},
|
|
9632
9644
|
{'adt-text-block__input-mob-filter' : _vm.forMobileFilter},
|
|
9633
9645
|
{'adt-text-block__input': !_vm.forMobileFilter}
|
|
9634
|
-
],attrs:{"type":_vm.type,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm
|
|
9646
|
+
],attrs:{"type":_vm.type,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.target.value)},"keypress":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.$emit('enterPressed')},"focus":function($event){_vm.showAutocomplete = true},"click":function($event){return _vm.$emit('showVTour')}}}),_c('label',{class:{
|
|
9635
9647
|
'adt-text-block__label-red' : !_vm.forMobileFilter && _vm.getIsError,
|
|
9636
9648
|
'adt-text-block__label' : !_vm.forMobileFilter && !_vm.getIsError,
|
|
9637
9649
|
'adt-text-block__label-mob-filter' : _vm.forMobileFilter,
|
|
9638
|
-
}},[_vm._v(" "+_vm._s(_vm.label)+" ")]),(_vm.magnifierMob)?_c('div',{staticClass:"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()]),_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)])}
|
|
9639
|
-
var
|
|
9650
|
+
}},[_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()]),_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)])}
|
|
9651
|
+
var SearchTextFieldvue_type_template_id_5bfc642a_staticRenderFns = []
|
|
9640
9652
|
|
|
9641
9653
|
|
|
9642
|
-
// CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue?vue&type=template&id=
|
|
9654
|
+
// CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue?vue&type=template&id=5bfc642a&
|
|
9643
9655
|
|
|
9644
9656
|
// EXTERNAL MODULE: ./node_modules/vue2-perfect-scrollbar/dist/vue2-perfect-scrollbar.umd.js
|
|
9645
9657
|
var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
@@ -9717,7 +9729,6 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9717
9729
|
//
|
|
9718
9730
|
//
|
|
9719
9731
|
//
|
|
9720
|
-
//
|
|
9721
9732
|
|
|
9722
9733
|
|
|
9723
9734
|
|
|
@@ -9737,7 +9748,8 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9737
9748
|
},
|
|
9738
9749
|
value: {
|
|
9739
9750
|
type: String,
|
|
9740
|
-
required: true
|
|
9751
|
+
required: true,
|
|
9752
|
+
default: ""
|
|
9741
9753
|
},
|
|
9742
9754
|
clearable: {
|
|
9743
9755
|
type: Boolean,
|
|
@@ -9834,13 +9846,6 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9834
9846
|
autocompleteOption.setAttribute("id", 'searchVariant');
|
|
9835
9847
|
return autocompleteOption.innerText;
|
|
9836
9848
|
},
|
|
9837
|
-
handleKeyDown: function handleKeyDown(e) {
|
|
9838
|
-
if (+e.keyCode === 9) this.showAutocomplete = false;
|
|
9839
|
-
var specialKeys = [8, 188, 190, 110]; // 8 - Backspace, 188 - ",", 190 and 110 - "."
|
|
9840
|
-
|
|
9841
|
-
var charCode = e.keyCode;
|
|
9842
|
-
if (charCode >= 48 && charCode <= 57 || charCode >= 96 && charCode <= 105 || specialKeys.indexOf(charCode) !== -1) return;else e.preventDefault();
|
|
9843
|
-
},
|
|
9844
9849
|
inputHandler: function inputHandler(e) {
|
|
9845
9850
|
this.$emit('input', e.target.value);
|
|
9846
9851
|
this.showAutocomplete = true;
|
|
@@ -9870,8 +9875,8 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9870
9875
|
|
|
9871
9876
|
var SearchTextField_component = normalizeComponent(
|
|
9872
9877
|
SearchTextField_SearchTextFieldvue_type_script_lang_js_,
|
|
9873
|
-
|
|
9874
|
-
|
|
9878
|
+
SearchTextFieldvue_type_template_id_5bfc642a_render,
|
|
9879
|
+
SearchTextFieldvue_type_template_id_5bfc642a_staticRenderFns,
|
|
9875
9880
|
false,
|
|
9876
9881
|
null,
|
|
9877
9882
|
null,
|