adata-ui 0.1.25 → 0.1.26
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 +61 -24
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.umd.js +61 -24
- 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/Header/Header.vue +1 -3
- package/src/components/SearchTextField/SearchTextField.vue +40 -2
- package/src/configs/profileDropDown.js +5 -5
- package/src/assets/logo.png +0 -0
package/dist/adata-ui.common.js
CHANGED
|
@@ -8469,14 +8469,14 @@ var Alert_component = normalizeComponent(
|
|
|
8469
8469
|
)
|
|
8470
8470
|
|
|
8471
8471
|
/* 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
|
|
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=709a0e50&
|
|
8473
|
+
var Headervue_type_template_id_709a0e50_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: _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){
|
|
8474
8474
|
var animationClass = ref.animationClass;
|
|
8475
|
-
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)]}}]
|
|
8476
|
-
var
|
|
8475
|
+
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)}
|
|
8476
|
+
var Headervue_type_template_id_709a0e50_staticRenderFns = []
|
|
8477
8477
|
|
|
8478
8478
|
|
|
8479
|
-
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=
|
|
8479
|
+
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=709a0e50&
|
|
8480
8480
|
|
|
8481
8481
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
8482
8482
|
var es_number_constructor = __webpack_require__("a9e3");
|
|
@@ -9288,11 +9288,12 @@ var profileDropDown = [{
|
|
|
9288
9288
|
id: 10,
|
|
9289
9289
|
name: "Профиль",
|
|
9290
9290
|
url: "https://work.adata.kz/profile/account"
|
|
9291
|
-
}, {
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
},
|
|
9291
|
+
}, // {
|
|
9292
|
+
// id: 11,
|
|
9293
|
+
// name: "Создать резюме",
|
|
9294
|
+
// url: "https://work.adata.kz/user/create"
|
|
9295
|
+
// },
|
|
9296
|
+
{
|
|
9296
9297
|
id: 12,
|
|
9297
9298
|
name: "Отклики",
|
|
9298
9299
|
url: "https://work.adata.kz/profile/application"
|
|
@@ -9462,7 +9463,6 @@ var profileDropDown = [{
|
|
|
9462
9463
|
data: function data() {
|
|
9463
9464
|
return {
|
|
9464
9465
|
profileDropDown: profileDropDown,
|
|
9465
|
-
windowOpen: false,
|
|
9466
9466
|
subheaderItems: [{
|
|
9467
9467
|
id: 1,
|
|
9468
9468
|
name: "Контрагенты",
|
|
@@ -9484,7 +9484,6 @@ var profileDropDown = [{
|
|
|
9484
9484
|
};
|
|
9485
9485
|
},
|
|
9486
9486
|
mounted: function mounted() {
|
|
9487
|
-
this.windowOpen = true;
|
|
9488
9487
|
this.setBalance(this.balance);
|
|
9489
9488
|
},
|
|
9490
9489
|
computed: {
|
|
@@ -9531,8 +9530,8 @@ var Headervue_type_style_index_0_lang_scss_ = __webpack_require__("52f3");
|
|
|
9531
9530
|
|
|
9532
9531
|
var Header_component = normalizeComponent(
|
|
9533
9532
|
Header_Headervue_type_script_lang_js_,
|
|
9534
|
-
|
|
9535
|
-
|
|
9533
|
+
Headervue_type_template_id_709a0e50_render,
|
|
9534
|
+
Headervue_type_template_id_709a0e50_staticRenderFns,
|
|
9536
9535
|
false,
|
|
9537
9536
|
null,
|
|
9538
9537
|
null,
|
|
@@ -9639,20 +9638,20 @@ var Footer_component = normalizeComponent(
|
|
|
9639
9638
|
)
|
|
9640
9639
|
|
|
9641
9640
|
/* harmony default export */ var Footer = (Footer_component.exports);
|
|
9642
|
-
// 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=
|
|
9643
|
-
var
|
|
9641
|
+
// 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=127a4f66&
|
|
9642
|
+
var SearchTextFieldvue_type_template_id_127a4f66_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:[
|
|
9644
9643
|
{'adt-text-block__input-mob-search' : _vm.magnifierMob},
|
|
9645
9644
|
{'adt-text-block__input-mob-filter' : _vm.forMobileFilter},
|
|
9646
9645
|
{'adt-text-block__input': !_vm.forMobileFilter}
|
|
9647
|
-
],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:{
|
|
9646
|
+
],attrs:{"type":_vm.type,"placeholder":_vm.placeholder,"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('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:{
|
|
9648
9647
|
'adt-text-block__label-red' : !_vm.forMobileFilter && _vm.getIsError,
|
|
9649
9648
|
'adt-text-block__label' : !_vm.forMobileFilter && !_vm.getIsError,
|
|
9650
9649
|
'adt-text-block__label-mob-filter' : _vm.forMobileFilter,
|
|
9651
|
-
}},[_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)])}
|
|
9652
|
-
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()],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)])}
|
|
9651
|
+
var SearchTextFieldvue_type_template_id_127a4f66_staticRenderFns = []
|
|
9653
9652
|
|
|
9654
9653
|
|
|
9655
|
-
// CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue?vue&type=template&id=
|
|
9654
|
+
// CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue?vue&type=template&id=127a4f66&
|
|
9656
9655
|
|
|
9657
9656
|
// EXTERNAL MODULE: ./node_modules/vue2-perfect-scrollbar/dist/vue2-perfect-scrollbar.umd.js
|
|
9658
9657
|
var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
@@ -9730,6 +9729,25 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9730
9729
|
//
|
|
9731
9730
|
//
|
|
9732
9731
|
//
|
|
9732
|
+
//
|
|
9733
|
+
//
|
|
9734
|
+
//
|
|
9735
|
+
//
|
|
9736
|
+
//
|
|
9737
|
+
//
|
|
9738
|
+
//
|
|
9739
|
+
//
|
|
9740
|
+
//
|
|
9741
|
+
//
|
|
9742
|
+
//
|
|
9743
|
+
//
|
|
9744
|
+
//
|
|
9745
|
+
//
|
|
9746
|
+
//
|
|
9747
|
+
//
|
|
9748
|
+
//
|
|
9749
|
+
//
|
|
9750
|
+
|
|
9733
9751
|
|
|
9734
9752
|
|
|
9735
9753
|
|
|
@@ -9739,6 +9757,18 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9739
9757
|
clickOutside: v_click_outside_umd_default.a.directive
|
|
9740
9758
|
},
|
|
9741
9759
|
props: {
|
|
9760
|
+
errorText: {
|
|
9761
|
+
type: String,
|
|
9762
|
+
default: ""
|
|
9763
|
+
},
|
|
9764
|
+
placeholder: {
|
|
9765
|
+
type: String,
|
|
9766
|
+
default: ""
|
|
9767
|
+
},
|
|
9768
|
+
mask: {
|
|
9769
|
+
type: String,
|
|
9770
|
+
default: ""
|
|
9771
|
+
},
|
|
9742
9772
|
label: {
|
|
9743
9773
|
type: String,
|
|
9744
9774
|
required: true
|
|
@@ -9792,13 +9822,20 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9792
9822
|
}
|
|
9793
9823
|
},
|
|
9794
9824
|
components: {
|
|
9795
|
-
PerfectScrollbar: vue2_perfect_scrollbar_umd["PerfectScrollbar"]
|
|
9825
|
+
PerfectScrollbar: vue2_perfect_scrollbar_umd["PerfectScrollbar"],
|
|
9826
|
+
TheMask: vue_the_mask["TheMask"]
|
|
9796
9827
|
},
|
|
9797
9828
|
data: function data() {
|
|
9798
9829
|
return {
|
|
9799
|
-
showAutocomplete: false
|
|
9830
|
+
showAutocomplete: false,
|
|
9831
|
+
showPlaceholder: false
|
|
9800
9832
|
};
|
|
9801
9833
|
},
|
|
9834
|
+
computed: {
|
|
9835
|
+
inputPlaceholder: function inputPlaceholder() {
|
|
9836
|
+
return this.showPlaceholder ? this.placeholder : "";
|
|
9837
|
+
}
|
|
9838
|
+
},
|
|
9802
9839
|
methods: {
|
|
9803
9840
|
onOutsideClick: function onOutsideClick() {
|
|
9804
9841
|
if (!this.isMobile) this.showAutocomplete = false;
|
|
@@ -9876,8 +9913,8 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9876
9913
|
|
|
9877
9914
|
var SearchTextField_component = normalizeComponent(
|
|
9878
9915
|
SearchTextField_SearchTextFieldvue_type_script_lang_js_,
|
|
9879
|
-
|
|
9880
|
-
|
|
9916
|
+
SearchTextFieldvue_type_template_id_127a4f66_render,
|
|
9917
|
+
SearchTextFieldvue_type_template_id_127a4f66_staticRenderFns,
|
|
9881
9918
|
false,
|
|
9882
9919
|
null,
|
|
9883
9920
|
null,
|