adata-ui 0.1.31 → 0.1.34
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 +597 -177
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +597 -177
- 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 +11 -1
- package/package.json +3 -1
- package/src/App.vue +24 -1
- package/src/assets/_text_field.scss +8 -6
- package/src/components/Alert/Alert.vue +1 -1
- package/src/components/Button/{BaseButton.vue → AButton.vue} +40 -74
- package/src/components/Button/Button.stories.js +1 -1
- package/src/components/SearchTextField/SearchTextField.stories.js +1 -6
- package/src/components/SearchTextField/SearchTextField.vue +26 -74
- package/src/components/TextField/TextField.stories.js +1 -6
- package/src/components/TextField/TextField.vue +19 -36
- package/src/components/index.js +1 -1
- package/src/main.js +12 -9
package/dist/adata-ui.common.js
CHANGED
|
@@ -1169,13 +1169,6 @@ exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties :
|
|
|
1169
1169
|
};
|
|
1170
1170
|
|
|
1171
1171
|
|
|
1172
|
-
/***/ }),
|
|
1173
|
-
|
|
1174
|
-
/***/ "3a60":
|
|
1175
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1176
|
-
|
|
1177
|
-
(function(e,t){ true?module.exports=t():undefined})(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p=".",t(t.s=10)}([function(e,t){e.exports={"#":{pattern:/\d/},X:{pattern:/[0-9a-zA-Z]/},S:{pattern:/[a-zA-Z]/},A:{pattern:/[a-zA-Z]/,transform:function(e){return e.toLocaleUpperCase()}},a:{pattern:/[a-zA-Z]/,transform:function(e){return e.toLocaleLowerCase()}},"!":{escape:!0}}},function(e,t,n){"use strict";function r(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}var a=n(2),o=n(0),i=n.n(o);t.a=function(e,t){var o=t.value;if((Array.isArray(o)||"string"==typeof o)&&(o={mask:o,tokens:i.a}),"INPUT"!==e.tagName.toLocaleUpperCase()){var u=e.getElementsByTagName("input");if(1!==u.length)throw new Error("v-mask directive requires 1 input, found "+u.length);e=u[0]}e.oninput=function(t){if(t.isTrusted){var i=e.selectionEnd,u=e.value[i-1];for(e.value=n.i(a.a)(e.value,o.mask,!0,o.tokens);i<e.value.length&&e.value.charAt(i-1)!==u;)i++;e===document.activeElement&&(e.setSelectionRange(i,i),setTimeout(function(){e.setSelectionRange(i,i)},0)),e.dispatchEvent(r("input"))}};var s=n.i(a.a)(e.value,o.mask,!0,o.tokens);s!==e.value&&(e.value=s,e.dispatchEvent(r("input")))}},function(e,t,n){"use strict";var r=n(6),a=n(5);t.a=function(e,t){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments[3];return Array.isArray(t)?n.i(a.a)(r.a,t,i)(e,t,o,i):n.i(r.a)(e,t,o,i)}},function(e,t,n){"use strict";function r(e){e.component(s.a.name,s.a),e.directive("mask",i.a)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=n.n(a),i=n(1),u=n(7),s=n.n(u);n.d(t,"TheMask",function(){return s.a}),n.d(t,"mask",function(){return i.a}),n.d(t,"tokens",function(){return o.a}),n.d(t,"version",function(){return c});var c="0.11.1";t.default=r,"undefined"!=typeof window&&window.Vue&&window.Vue.use(r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=n(0),o=n.n(a),i=n(2);t.default={name:"TheMask",props:{value:[String,Number],mask:{type:[String,Array],required:!0},masked:{type:Boolean,default:!1},tokens:{type:Object,default:function(){return o.a}}},directives:{mask:r.a},data:function(){return{lastValue:null,display:this.value}},watch:{value:function(e){e!==this.lastValue&&(this.display=e)},masked:function(){this.refresh(this.display)}},computed:{config:function(){return{mask:this.mask,tokens:this.tokens,masked:this.masked}}},methods:{onInput:function(e){e.isTrusted||this.refresh(e.target.value)},refresh:function(e){this.display=e;var e=n.i(i.a)(e,this.mask,this.masked,this.tokens);e!==this.lastValue&&(this.lastValue=e,this.$emit("input",e))}}}},function(e,t,n){"use strict";function r(e,t,n){return t=t.sort(function(e,t){return e.length-t.length}),function(r,a){for(var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=0;i<t.length;){var u=t[i];i++;var s=t[i];if(!(s&&e(r,s,!0,n).length>u.length))return e(r,u,o,n)}return""}}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments[3];e=e||"",t=t||"";for(var a=0,o=0,i="";a<t.length&&o<e.length;){var u=t[a],s=r[u],c=e[o];s&&!s.escape?(s.pattern.test(c)&&(i+=s.transform?s.transform(c):c,a++),o++):(s&&s.escape&&(a++,u=t[a]),n&&(i+=u),c===u&&o++,a++)}for(var f="";a<t.length&&n;){var u=t[a];if(r[u]){f="";break}f+=u,a++}return i+f}t.a=r},function(e,t,n){var r=n(8)(n(4),n(9),null,null);e.exports=r.exports},function(e,t){e.exports=function(e,t,n,r){var a,o=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(a=e,o=e.default);var u="function"==typeof o?o.options:o;if(t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns),n&&(u._scopeId=n),r){var s=u.computed||(u.computed={});Object.keys(r).forEach(function(e){var t=r[e];s[e]=function(){return t}})}return{esModule:a,exports:o,options:u}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("input",{directives:[{name:"mask",rawName:"v-mask",value:e.config,expression:"config"}],attrs:{type:"text"},domProps:{value:e.display},on:{input:e.onInput}})},staticRenderFns:[]}},function(e,t,n){e.exports=n(3)}])});
|
|
1178
|
-
|
|
1179
1172
|
/***/ }),
|
|
1180
1173
|
|
|
1181
1174
|
/***/ "3a9b":
|
|
@@ -2635,6 +2628,13 @@ module.exports = function (argument) {
|
|
|
2635
2628
|
};
|
|
2636
2629
|
|
|
2637
2630
|
|
|
2631
|
+
/***/ }),
|
|
2632
|
+
|
|
2633
|
+
/***/ "825d":
|
|
2634
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2635
|
+
|
|
2636
|
+
// extracted by mini-css-extract-plugin
|
|
2637
|
+
|
|
2638
2638
|
/***/ }),
|
|
2639
2639
|
|
|
2640
2640
|
/***/ "83ab":
|
|
@@ -2808,6 +2808,17 @@ module.exports = function (S, index, unicode) {
|
|
|
2808
2808
|
|
|
2809
2809
|
module.exports = require("vue");
|
|
2810
2810
|
|
|
2811
|
+
/***/ }),
|
|
2812
|
+
|
|
2813
|
+
/***/ "8dca":
|
|
2814
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2815
|
+
|
|
2816
|
+
"use strict";
|
|
2817
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AButton_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("825d");
|
|
2818
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AButton_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AButton_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
2819
|
+
/* unused harmony reexport * */
|
|
2820
|
+
|
|
2821
|
+
|
|
2811
2822
|
/***/ }),
|
|
2812
2823
|
|
|
2813
2824
|
/***/ "90e3":
|
|
@@ -5789,17 +5800,6 @@ module.exports = function (METHOD_NAME, argument) {
|
|
|
5789
5800
|
};
|
|
5790
5801
|
|
|
5791
5802
|
|
|
5792
|
-
/***/ }),
|
|
5793
|
-
|
|
5794
|
-
/***/ "a8c6":
|
|
5795
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5796
|
-
|
|
5797
|
-
"use strict";
|
|
5798
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BaseButton_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c50a");
|
|
5799
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BaseButton_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BaseButton_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
5800
|
-
/* unused harmony reexport * */
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
5803
|
/***/ }),
|
|
5804
5804
|
|
|
5805
5805
|
/***/ "a9e3":
|
|
@@ -6402,13 +6402,6 @@ module.exports = function (input, pref) {
|
|
|
6402
6402
|
module.exports = false;
|
|
6403
6403
|
|
|
6404
6404
|
|
|
6405
|
-
/***/ }),
|
|
6406
|
-
|
|
6407
|
-
/***/ "c50a":
|
|
6408
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6409
|
-
|
|
6410
|
-
// extracted by mini-css-extract-plugin
|
|
6411
|
-
|
|
6412
6405
|
/***/ }),
|
|
6413
6406
|
|
|
6414
6407
|
/***/ "c65b":
|
|
@@ -7960,22 +7953,20 @@ var es_object_keys = __webpack_require__("b64b");
|
|
|
7960
7953
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
7961
7954
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
7962
7955
|
|
|
7963
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7964
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.url ? '
|
|
7956
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3c01c32b-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=f4d92998&
|
|
7957
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.url ? 'button' : 'button',_vm._g(_vm._b({tag:"component",class:[
|
|
7965
7958
|
'btn',
|
|
7966
|
-
|
|
7967
|
-
("
|
|
7968
|
-
("size size-" + _vm.size),
|
|
7969
|
-
("size-fz-" + _vm.fontSize) ],attrs:{"to":_vm.url,"event":_vm.event ? 'click' : ''}},'component',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2)}
|
|
7959
|
+
("btn_" + _vm.variant),
|
|
7960
|
+
("size_" + _vm.size) ],attrs:{"href":_vm.url,"event":_vm.event ? 'click' : ''}},'component',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2)}
|
|
7970
7961
|
var staticRenderFns = []
|
|
7971
7962
|
|
|
7972
7963
|
|
|
7973
|
-
// CONCATENATED MODULE: ./src/components/Button/
|
|
7964
|
+
// CONCATENATED MODULE: ./src/components/Button/AButton.vue?vue&type=template&id=f4d92998&
|
|
7974
7965
|
|
|
7975
7966
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
7976
7967
|
var es_array_includes = __webpack_require__("caad");
|
|
7977
7968
|
|
|
7978
|
-
// 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/Button/
|
|
7969
|
+
// 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/Button/AButton.vue?vue&type=script&lang=js&
|
|
7979
7970
|
|
|
7980
7971
|
//
|
|
7981
7972
|
//
|
|
@@ -7995,57 +7986,40 @@ var es_array_includes = __webpack_require__("caad");
|
|
|
7995
7986
|
//
|
|
7996
7987
|
//
|
|
7997
7988
|
//
|
|
7998
|
-
|
|
7999
|
-
|
|
8000
|
-
/* harmony default export */ var BaseButtonvue_type_script_lang_js_ = ({
|
|
8001
|
-
name: "BaseButton",
|
|
7989
|
+
/* harmony default export */ var AButtonvue_type_script_lang_js_ = ({
|
|
7990
|
+
name: "AButton",
|
|
8002
7991
|
props: {
|
|
8003
7992
|
variant: {
|
|
8004
7993
|
type: String,
|
|
8005
7994
|
default: "yellow",
|
|
8006
7995
|
validator: function validator(value) {
|
|
8007
|
-
return ['white', 'grey', 'yellow', '
|
|
8008
|
-
}
|
|
8009
|
-
},
|
|
8010
|
-
fontSize: {
|
|
8011
|
-
type: String,
|
|
8012
|
-
validator: function validator(value) {
|
|
8013
|
-
return ['sm'].includes(value);
|
|
7996
|
+
return ['white', 'grey', 'yellow', 'red', 'green', 'blue_outlined', 'blue'].includes(value);
|
|
8014
7997
|
}
|
|
8015
7998
|
},
|
|
8016
7999
|
size: {
|
|
8017
8000
|
type: String,
|
|
8018
8001
|
default: "md",
|
|
8019
8002
|
validator: function validator(value) {
|
|
8020
|
-
return ['sm', 'md', '
|
|
8003
|
+
return ['sm', 'md', 'extra_sm'].includes(value);
|
|
8021
8004
|
}
|
|
8022
8005
|
},
|
|
8023
|
-
tag: {
|
|
8024
|
-
type: String,
|
|
8025
|
-
default: "button"
|
|
8026
|
-
},
|
|
8027
8006
|
url: {
|
|
8028
|
-
type:
|
|
8029
|
-
default: false
|
|
8007
|
+
type: String
|
|
8030
8008
|
},
|
|
8031
8009
|
event: {
|
|
8032
8010
|
type: Boolean,
|
|
8033
8011
|
default: true
|
|
8034
8012
|
},
|
|
8035
|
-
fullwidth: {
|
|
8036
|
-
type: Boolean,
|
|
8037
|
-
default: false
|
|
8038
|
-
},
|
|
8039
8013
|
disabled: {
|
|
8040
8014
|
type: Boolean,
|
|
8041
8015
|
default: false
|
|
8042
8016
|
}
|
|
8043
8017
|
}
|
|
8044
8018
|
});
|
|
8045
|
-
// CONCATENATED MODULE: ./src/components/Button/
|
|
8046
|
-
/* harmony default export */ var
|
|
8047
|
-
// EXTERNAL MODULE: ./src/components/Button/
|
|
8048
|
-
var
|
|
8019
|
+
// CONCATENATED MODULE: ./src/components/Button/AButton.vue?vue&type=script&lang=js&
|
|
8020
|
+
/* harmony default export */ var Button_AButtonvue_type_script_lang_js_ = (AButtonvue_type_script_lang_js_);
|
|
8021
|
+
// EXTERNAL MODULE: ./src/components/Button/AButton.vue?vue&type=style&index=0&lang=scss&
|
|
8022
|
+
var AButtonvue_type_style_index_0_lang_scss_ = __webpack_require__("8dca");
|
|
8049
8023
|
|
|
8050
8024
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
8051
8025
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -8147,7 +8121,7 @@ function normalizeComponent (
|
|
|
8147
8121
|
}
|
|
8148
8122
|
}
|
|
8149
8123
|
|
|
8150
|
-
// CONCATENATED MODULE: ./src/components/Button/
|
|
8124
|
+
// CONCATENATED MODULE: ./src/components/Button/AButton.vue
|
|
8151
8125
|
|
|
8152
8126
|
|
|
8153
8127
|
|
|
@@ -8157,7 +8131,7 @@ function normalizeComponent (
|
|
|
8157
8131
|
/* normalize component */
|
|
8158
8132
|
|
|
8159
8133
|
var component = normalizeComponent(
|
|
8160
|
-
|
|
8134
|
+
Button_AButtonvue_type_script_lang_js_,
|
|
8161
8135
|
render,
|
|
8162
8136
|
staticRenderFns,
|
|
8163
8137
|
false,
|
|
@@ -8167,19 +8141,537 @@ var component = normalizeComponent(
|
|
|
8167
8141
|
|
|
8168
8142
|
)
|
|
8169
8143
|
|
|
8170
|
-
/* harmony default export */ var
|
|
8171
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8172
|
-
var
|
|
8173
|
-
var
|
|
8144
|
+
/* harmony default export */ var AButton = (component.exports);
|
|
8145
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3c01c32b-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&
|
|
8146
|
+
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()])}
|
|
8147
|
+
var TextFieldvue_type_template_id_1b41aec5_staticRenderFns = []
|
|
8174
8148
|
|
|
8175
8149
|
|
|
8176
|
-
// CONCATENATED MODULE: ./src/components/TextField/TextField.vue?vue&type=template&id=
|
|
8150
|
+
// CONCATENATED MODULE: ./src/components/TextField/TextField.vue?vue&type=template&id=1b41aec5&
|
|
8177
8151
|
|
|
8178
8152
|
// EXTERNAL MODULE: ./src/assets/style.scss
|
|
8179
8153
|
var style = __webpack_require__("73ec");
|
|
8180
8154
|
|
|
8181
|
-
//
|
|
8182
|
-
|
|
8155
|
+
// CONCATENATED MODULE: ./node_modules/v-mask/dist/v-mask.esm.js
|
|
8156
|
+
function ownKeys(object, enumerableOnly) {
|
|
8157
|
+
var keys = Object.keys(object);
|
|
8158
|
+
|
|
8159
|
+
if (Object.getOwnPropertySymbols) {
|
|
8160
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
8161
|
+
|
|
8162
|
+
if (enumerableOnly) {
|
|
8163
|
+
symbols = symbols.filter(function (sym) {
|
|
8164
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
8165
|
+
});
|
|
8166
|
+
}
|
|
8167
|
+
|
|
8168
|
+
keys.push.apply(keys, symbols);
|
|
8169
|
+
}
|
|
8170
|
+
|
|
8171
|
+
return keys;
|
|
8172
|
+
}
|
|
8173
|
+
|
|
8174
|
+
function _objectSpread2(target) {
|
|
8175
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
8176
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
8177
|
+
|
|
8178
|
+
if (i % 2) {
|
|
8179
|
+
ownKeys(Object(source), true).forEach(function (key) {
|
|
8180
|
+
_defineProperty(target, key, source[key]);
|
|
8181
|
+
});
|
|
8182
|
+
} else if (Object.getOwnPropertyDescriptors) {
|
|
8183
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
8184
|
+
} else {
|
|
8185
|
+
ownKeys(Object(source)).forEach(function (key) {
|
|
8186
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
8187
|
+
});
|
|
8188
|
+
}
|
|
8189
|
+
}
|
|
8190
|
+
|
|
8191
|
+
return target;
|
|
8192
|
+
}
|
|
8193
|
+
|
|
8194
|
+
function _typeof(obj) {
|
|
8195
|
+
"@babel/helpers - typeof";
|
|
8196
|
+
|
|
8197
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
8198
|
+
_typeof = function (obj) {
|
|
8199
|
+
return typeof obj;
|
|
8200
|
+
};
|
|
8201
|
+
} else {
|
|
8202
|
+
_typeof = function (obj) {
|
|
8203
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
8204
|
+
};
|
|
8205
|
+
}
|
|
8206
|
+
|
|
8207
|
+
return _typeof(obj);
|
|
8208
|
+
}
|
|
8209
|
+
|
|
8210
|
+
function _defineProperty(obj, key, value) {
|
|
8211
|
+
if (key in obj) {
|
|
8212
|
+
Object.defineProperty(obj, key, {
|
|
8213
|
+
value: value,
|
|
8214
|
+
enumerable: true,
|
|
8215
|
+
configurable: true,
|
|
8216
|
+
writable: true
|
|
8217
|
+
});
|
|
8218
|
+
} else {
|
|
8219
|
+
obj[key] = value;
|
|
8220
|
+
}
|
|
8221
|
+
|
|
8222
|
+
return obj;
|
|
8223
|
+
}
|
|
8224
|
+
|
|
8225
|
+
var placeholderChar = '_';
|
|
8226
|
+
var strFunction = 'function';
|
|
8227
|
+
|
|
8228
|
+
var emptyArray$1 = [];
|
|
8229
|
+
function convertMaskToPlaceholder() {
|
|
8230
|
+
var mask = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : emptyArray$1;
|
|
8231
|
+
var placeholderChar$1 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : placeholderChar;
|
|
8232
|
+
|
|
8233
|
+
if (!isArray(mask)) {
|
|
8234
|
+
throw new Error('Text-mask:convertMaskToPlaceholder; The mask property must be an array.');
|
|
8235
|
+
}
|
|
8236
|
+
|
|
8237
|
+
if (mask.indexOf(placeholderChar$1) !== -1) {
|
|
8238
|
+
throw new Error('Placeholder character must not be used as part of the mask. Please specify a character ' + 'that is not present in your mask as your placeholder character.\n\n' + "The placeholder character that was received is: ".concat(JSON.stringify(placeholderChar$1), "\n\n") + "The mask that was received is: ".concat(JSON.stringify(mask)));
|
|
8239
|
+
}
|
|
8240
|
+
|
|
8241
|
+
return mask.map(function (char) {
|
|
8242
|
+
return char instanceof RegExp ? placeholderChar$1 : char;
|
|
8243
|
+
}).join('');
|
|
8244
|
+
}
|
|
8245
|
+
function isArray(value) {
|
|
8246
|
+
return Array.isArray && Array.isArray(value) || value instanceof Array;
|
|
8247
|
+
}
|
|
8248
|
+
var strCaretTrap = '[]';
|
|
8249
|
+
function processCaretTraps(mask) {
|
|
8250
|
+
var indexes = [];
|
|
8251
|
+
var indexOfCaretTrap;
|
|
8252
|
+
|
|
8253
|
+
while (indexOfCaretTrap = mask.indexOf(strCaretTrap), indexOfCaretTrap !== -1) {
|
|
8254
|
+
indexes.push(indexOfCaretTrap);
|
|
8255
|
+
mask.splice(indexOfCaretTrap, 1);
|
|
8256
|
+
}
|
|
8257
|
+
|
|
8258
|
+
return {
|
|
8259
|
+
maskWithoutCaretTraps: mask,
|
|
8260
|
+
indexes: indexes
|
|
8261
|
+
};
|
|
8262
|
+
}
|
|
8263
|
+
|
|
8264
|
+
var emptyArray = [];
|
|
8265
|
+
var emptyString = '';
|
|
8266
|
+
function conformToMask() {
|
|
8267
|
+
var rawValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : emptyString;
|
|
8268
|
+
var mask = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : emptyArray;
|
|
8269
|
+
var config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
8270
|
+
|
|
8271
|
+
if (!isArray(mask)) {
|
|
8272
|
+
if (_typeof(mask) === strFunction) {
|
|
8273
|
+
mask = mask(rawValue, config);
|
|
8274
|
+
mask = processCaretTraps(mask).maskWithoutCaretTraps;
|
|
8275
|
+
} else {
|
|
8276
|
+
throw new Error('Text-mask:conformToMask; The mask property must be an array.');
|
|
8277
|
+
}
|
|
8278
|
+
}
|
|
8279
|
+
|
|
8280
|
+
var _config$guide = config.guide,
|
|
8281
|
+
guide = _config$guide === void 0 ? true : _config$guide,
|
|
8282
|
+
_config$previousConfo = config.previousConformedValue,
|
|
8283
|
+
previousConformedValue = _config$previousConfo === void 0 ? emptyString : _config$previousConfo,
|
|
8284
|
+
_config$placeholderCh = config.placeholderChar,
|
|
8285
|
+
placeholderChar$1 = _config$placeholderCh === void 0 ? placeholderChar : _config$placeholderCh,
|
|
8286
|
+
_config$placeholder = config.placeholder,
|
|
8287
|
+
placeholder = _config$placeholder === void 0 ? convertMaskToPlaceholder(mask, placeholderChar$1) : _config$placeholder,
|
|
8288
|
+
currentCaretPosition = config.currentCaretPosition,
|
|
8289
|
+
keepCharPositions = config.keepCharPositions;
|
|
8290
|
+
var suppressGuide = guide === false && previousConformedValue !== undefined;
|
|
8291
|
+
var rawValueLength = rawValue.length;
|
|
8292
|
+
var previousConformedValueLength = previousConformedValue.length;
|
|
8293
|
+
var placeholderLength = placeholder.length;
|
|
8294
|
+
var maskLength = mask.length;
|
|
8295
|
+
var editDistance = rawValueLength - previousConformedValueLength;
|
|
8296
|
+
var isAddition = editDistance > 0;
|
|
8297
|
+
var indexOfFirstChange = currentCaretPosition + (isAddition ? -editDistance : 0);
|
|
8298
|
+
var indexOfLastChange = indexOfFirstChange + Math.abs(editDistance);
|
|
8299
|
+
|
|
8300
|
+
if (keepCharPositions === true && !isAddition) {
|
|
8301
|
+
var compensatingPlaceholderChars = emptyString;
|
|
8302
|
+
|
|
8303
|
+
for (var i = indexOfFirstChange; i < indexOfLastChange; i++) {
|
|
8304
|
+
if (placeholder[i] === placeholderChar$1) {
|
|
8305
|
+
compensatingPlaceholderChars += placeholderChar$1;
|
|
8306
|
+
}
|
|
8307
|
+
}
|
|
8308
|
+
|
|
8309
|
+
rawValue = rawValue.slice(0, indexOfFirstChange) + compensatingPlaceholderChars + rawValue.slice(indexOfFirstChange, rawValueLength);
|
|
8310
|
+
}
|
|
8311
|
+
|
|
8312
|
+
var rawValueArr = rawValue.split(emptyString).map(function (char, i) {
|
|
8313
|
+
return {
|
|
8314
|
+
char: char,
|
|
8315
|
+
isNew: i >= indexOfFirstChange && i < indexOfLastChange
|
|
8316
|
+
};
|
|
8317
|
+
});
|
|
8318
|
+
|
|
8319
|
+
for (var _i = rawValueLength - 1; _i >= 0; _i--) {
|
|
8320
|
+
var char = rawValueArr[_i].char;
|
|
8321
|
+
|
|
8322
|
+
if (char !== placeholderChar$1) {
|
|
8323
|
+
var shouldOffset = _i >= indexOfFirstChange && previousConformedValueLength === maskLength;
|
|
8324
|
+
|
|
8325
|
+
if (char === placeholder[shouldOffset ? _i - editDistance : _i]) {
|
|
8326
|
+
rawValueArr.splice(_i, 1);
|
|
8327
|
+
}
|
|
8328
|
+
}
|
|
8329
|
+
}
|
|
8330
|
+
|
|
8331
|
+
var conformedValue = emptyString;
|
|
8332
|
+
var someCharsRejected = false;
|
|
8333
|
+
|
|
8334
|
+
placeholderLoop: for (var _i2 = 0; _i2 < placeholderLength; _i2++) {
|
|
8335
|
+
var charInPlaceholder = placeholder[_i2];
|
|
8336
|
+
|
|
8337
|
+
if (charInPlaceholder === placeholderChar$1) {
|
|
8338
|
+
if (rawValueArr.length > 0) {
|
|
8339
|
+
while (rawValueArr.length > 0) {
|
|
8340
|
+
var _rawValueArr$shift = rawValueArr.shift(),
|
|
8341
|
+
rawValueChar = _rawValueArr$shift.char,
|
|
8342
|
+
isNew = _rawValueArr$shift.isNew;
|
|
8343
|
+
|
|
8344
|
+
if (rawValueChar === placeholderChar$1 && suppressGuide !== true) {
|
|
8345
|
+
conformedValue += placeholderChar$1;
|
|
8346
|
+
continue placeholderLoop;
|
|
8347
|
+
} else if (mask[_i2].test(rawValueChar)) {
|
|
8348
|
+
if (keepCharPositions !== true || isNew === false || previousConformedValue === emptyString || guide === false || !isAddition) {
|
|
8349
|
+
conformedValue += rawValueChar;
|
|
8350
|
+
} else {
|
|
8351
|
+
var rawValueArrLength = rawValueArr.length;
|
|
8352
|
+
var indexOfNextAvailablePlaceholderChar = null;
|
|
8353
|
+
|
|
8354
|
+
for (var _i3 = 0; _i3 < rawValueArrLength; _i3++) {
|
|
8355
|
+
var charData = rawValueArr[_i3];
|
|
8356
|
+
|
|
8357
|
+
if (charData.char !== placeholderChar$1 && charData.isNew === false) {
|
|
8358
|
+
break;
|
|
8359
|
+
}
|
|
8360
|
+
|
|
8361
|
+
if (charData.char === placeholderChar$1) {
|
|
8362
|
+
indexOfNextAvailablePlaceholderChar = _i3;
|
|
8363
|
+
break;
|
|
8364
|
+
}
|
|
8365
|
+
}
|
|
8366
|
+
|
|
8367
|
+
if (indexOfNextAvailablePlaceholderChar !== null) {
|
|
8368
|
+
conformedValue += rawValueChar;
|
|
8369
|
+
rawValueArr.splice(indexOfNextAvailablePlaceholderChar, 1);
|
|
8370
|
+
} else {
|
|
8371
|
+
_i2--;
|
|
8372
|
+
}
|
|
8373
|
+
}
|
|
8374
|
+
|
|
8375
|
+
continue placeholderLoop;
|
|
8376
|
+
} else {
|
|
8377
|
+
someCharsRejected = true;
|
|
8378
|
+
}
|
|
8379
|
+
}
|
|
8380
|
+
}
|
|
8381
|
+
|
|
8382
|
+
if (suppressGuide === false) {
|
|
8383
|
+
conformedValue += placeholder.substr(_i2, placeholderLength);
|
|
8384
|
+
}
|
|
8385
|
+
|
|
8386
|
+
break;
|
|
8387
|
+
} else {
|
|
8388
|
+
conformedValue += charInPlaceholder;
|
|
8389
|
+
}
|
|
8390
|
+
}
|
|
8391
|
+
|
|
8392
|
+
if (suppressGuide && isAddition === false) {
|
|
8393
|
+
var indexOfLastFilledPlaceholderChar = null;
|
|
8394
|
+
|
|
8395
|
+
for (var _i4 = 0; _i4 < conformedValue.length; _i4++) {
|
|
8396
|
+
if (placeholder[_i4] === placeholderChar$1) {
|
|
8397
|
+
indexOfLastFilledPlaceholderChar = _i4;
|
|
8398
|
+
}
|
|
8399
|
+
}
|
|
8400
|
+
|
|
8401
|
+
if (indexOfLastFilledPlaceholderChar !== null) {
|
|
8402
|
+
conformedValue = conformedValue.substr(0, indexOfLastFilledPlaceholderChar + 1);
|
|
8403
|
+
} else {
|
|
8404
|
+
conformedValue = emptyString;
|
|
8405
|
+
}
|
|
8406
|
+
}
|
|
8407
|
+
|
|
8408
|
+
return {
|
|
8409
|
+
conformedValue: conformedValue,
|
|
8410
|
+
meta: {
|
|
8411
|
+
someCharsRejected: someCharsRejected
|
|
8412
|
+
}
|
|
8413
|
+
};
|
|
8414
|
+
}
|
|
8415
|
+
|
|
8416
|
+
var NEXT_CHAR_OPTIONAL = {
|
|
8417
|
+
__nextCharOptional__: true
|
|
8418
|
+
};
|
|
8419
|
+
var defaultMaskReplacers = {
|
|
8420
|
+
'#': /\d/,
|
|
8421
|
+
A: /[a-z]/i,
|
|
8422
|
+
N: /[a-z0-9]/i,
|
|
8423
|
+
'?': NEXT_CHAR_OPTIONAL,
|
|
8424
|
+
X: /./
|
|
8425
|
+
};
|
|
8426
|
+
|
|
8427
|
+
var stringToRegexp = function stringToRegexp(str) {
|
|
8428
|
+
var lastSlash = str.lastIndexOf('/');
|
|
8429
|
+
return new RegExp(str.slice(1, lastSlash), str.slice(lastSlash + 1));
|
|
8430
|
+
};
|
|
8431
|
+
|
|
8432
|
+
var makeRegexpOptional = function makeRegexpOptional(charRegexp) {
|
|
8433
|
+
return stringToRegexp(charRegexp.toString().replace(/.(\/)[gmiyus]{0,6}$/, function (match) {
|
|
8434
|
+
return match.replace('/', '?/');
|
|
8435
|
+
}));
|
|
8436
|
+
};
|
|
8437
|
+
|
|
8438
|
+
var escapeIfNeeded = function escapeIfNeeded(char) {
|
|
8439
|
+
return '[\\^$.|?*+()'.indexOf(char) > -1 ? "\\".concat(char) : char;
|
|
8440
|
+
};
|
|
8441
|
+
|
|
8442
|
+
var charRegexp = function charRegexp(char) {
|
|
8443
|
+
return new RegExp("/[".concat(escapeIfNeeded(char), "]/"));
|
|
8444
|
+
};
|
|
8445
|
+
|
|
8446
|
+
var isRegexp$1 = function isRegexp(entity) {
|
|
8447
|
+
return entity instanceof RegExp;
|
|
8448
|
+
};
|
|
8449
|
+
|
|
8450
|
+
var castToRegexp = function castToRegexp(char) {
|
|
8451
|
+
return isRegexp$1(char) ? char : charRegexp(char);
|
|
8452
|
+
};
|
|
8453
|
+
|
|
8454
|
+
function maskToRegExpMask(mask) {
|
|
8455
|
+
var maskReplacers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultMaskReplacers;
|
|
8456
|
+
return mask.map(function (char, index, array) {
|
|
8457
|
+
var maskChar = maskReplacers[char] || char;
|
|
8458
|
+
var previousChar = array[index - 1];
|
|
8459
|
+
var previousMaskChar = maskReplacers[previousChar] || previousChar;
|
|
8460
|
+
|
|
8461
|
+
if (maskChar === NEXT_CHAR_OPTIONAL) {
|
|
8462
|
+
return null;
|
|
8463
|
+
}
|
|
8464
|
+
|
|
8465
|
+
if (previousMaskChar === NEXT_CHAR_OPTIONAL) {
|
|
8466
|
+
return makeRegexpOptional(castToRegexp(maskChar));
|
|
8467
|
+
}
|
|
8468
|
+
|
|
8469
|
+
return maskChar;
|
|
8470
|
+
}).filter(Boolean);
|
|
8471
|
+
}
|
|
8472
|
+
|
|
8473
|
+
function stringMaskToRegExpMask(stringMask) {
|
|
8474
|
+
var maskReplacers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultMaskReplacers;
|
|
8475
|
+
return maskToRegExpMask(stringMask.split(''), maskReplacers);
|
|
8476
|
+
}
|
|
8477
|
+
function arrayMaskToRegExpMask(arrayMask) {
|
|
8478
|
+
var maskReplacers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultMaskReplacers;
|
|
8479
|
+
var flattenedMask = arrayMask.map(function (part) {
|
|
8480
|
+
if (part instanceof RegExp) {
|
|
8481
|
+
return part;
|
|
8482
|
+
}
|
|
8483
|
+
|
|
8484
|
+
if (typeof part === 'string') {
|
|
8485
|
+
return part.split('');
|
|
8486
|
+
}
|
|
8487
|
+
|
|
8488
|
+
return null;
|
|
8489
|
+
}).filter(Boolean).reduce(function (mask, part) {
|
|
8490
|
+
return mask.concat(part);
|
|
8491
|
+
}, []);
|
|
8492
|
+
return maskToRegExpMask(flattenedMask, maskReplacers);
|
|
8493
|
+
}
|
|
8494
|
+
|
|
8495
|
+
var trigger = function trigger(el, type) {
|
|
8496
|
+
var e = document.createEvent('HTMLEvents');
|
|
8497
|
+
e.initEvent(type, true, true);
|
|
8498
|
+
el.dispatchEvent(e);
|
|
8499
|
+
};
|
|
8500
|
+
var queryInputElementInside = function queryInputElementInside(el) {
|
|
8501
|
+
return el instanceof HTMLInputElement ? el : el.querySelector('input') || el;
|
|
8502
|
+
};
|
|
8503
|
+
var isFunction = function isFunction(val) {
|
|
8504
|
+
return typeof val === 'function';
|
|
8505
|
+
};
|
|
8506
|
+
var isString = function isString(val) {
|
|
8507
|
+
return typeof val === 'string';
|
|
8508
|
+
};
|
|
8509
|
+
var isRegexp = function isRegexp(val) {
|
|
8510
|
+
return val instanceof RegExp;
|
|
8511
|
+
};
|
|
8512
|
+
|
|
8513
|
+
function parseMask(inputMask, maskReplacers) {
|
|
8514
|
+
if (Array.isArray(inputMask)) {
|
|
8515
|
+
return arrayMaskToRegExpMask(inputMask, maskReplacers);
|
|
8516
|
+
}
|
|
8517
|
+
|
|
8518
|
+
if (isFunction(inputMask)) {
|
|
8519
|
+
return inputMask;
|
|
8520
|
+
}
|
|
8521
|
+
|
|
8522
|
+
if (isString(inputMask) && inputMask.length > 0) {
|
|
8523
|
+
return stringMaskToRegExpMask(inputMask, maskReplacers);
|
|
8524
|
+
}
|
|
8525
|
+
|
|
8526
|
+
return inputMask;
|
|
8527
|
+
}
|
|
8528
|
+
|
|
8529
|
+
function createOptions() {
|
|
8530
|
+
var elementOptions = new Map();
|
|
8531
|
+
var defaultOptions = {
|
|
8532
|
+
previousValue: '',
|
|
8533
|
+
mask: []
|
|
8534
|
+
};
|
|
8535
|
+
|
|
8536
|
+
function get(el) {
|
|
8537
|
+
return elementOptions.get(el) || _objectSpread2({}, defaultOptions);
|
|
8538
|
+
}
|
|
8539
|
+
|
|
8540
|
+
function partiallyUpdate(el, newOptions) {
|
|
8541
|
+
elementOptions.set(el, _objectSpread2(_objectSpread2({}, get(el)), newOptions));
|
|
8542
|
+
}
|
|
8543
|
+
|
|
8544
|
+
function remove(el) {
|
|
8545
|
+
elementOptions.delete(el);
|
|
8546
|
+
}
|
|
8547
|
+
|
|
8548
|
+
return {
|
|
8549
|
+
partiallyUpdate: partiallyUpdate,
|
|
8550
|
+
remove: remove,
|
|
8551
|
+
get: get
|
|
8552
|
+
};
|
|
8553
|
+
}
|
|
8554
|
+
|
|
8555
|
+
function extendMaskReplacers(maskReplacers) {
|
|
8556
|
+
var baseMaskReplacers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultMaskReplacers;
|
|
8557
|
+
|
|
8558
|
+
if (maskReplacers === null || Array.isArray(maskReplacers) || _typeof(maskReplacers) !== 'object') {
|
|
8559
|
+
return baseMaskReplacers;
|
|
8560
|
+
}
|
|
8561
|
+
|
|
8562
|
+
return Object.keys(maskReplacers).reduce(function (extendedMaskReplacers, key) {
|
|
8563
|
+
var value = maskReplacers[key];
|
|
8564
|
+
|
|
8565
|
+
if (value !== null && !(value instanceof RegExp)) {
|
|
8566
|
+
return extendedMaskReplacers;
|
|
8567
|
+
}
|
|
8568
|
+
|
|
8569
|
+
return _objectSpread2(_objectSpread2({}, extendedMaskReplacers), {}, _defineProperty({}, key, value));
|
|
8570
|
+
}, baseMaskReplacers);
|
|
8571
|
+
}
|
|
8572
|
+
|
|
8573
|
+
var options = createOptions();
|
|
8574
|
+
|
|
8575
|
+
function triggerInputUpdate(el) {
|
|
8576
|
+
trigger(el, 'input');
|
|
8577
|
+
}
|
|
8578
|
+
|
|
8579
|
+
function updateValue(el) {
|
|
8580
|
+
var force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
8581
|
+
var value = el.value;
|
|
8582
|
+
|
|
8583
|
+
var _options$get = options.get(el),
|
|
8584
|
+
previousValue = _options$get.previousValue,
|
|
8585
|
+
mask = _options$get.mask;
|
|
8586
|
+
|
|
8587
|
+
var isValueChanged = value !== previousValue;
|
|
8588
|
+
var isLengthIncreased = value.length > previousValue.length;
|
|
8589
|
+
var isUpdateNeeded = value && isValueChanged && isLengthIncreased;
|
|
8590
|
+
|
|
8591
|
+
if ((force || isUpdateNeeded) && mask) {
|
|
8592
|
+
var _conformToMask = conformToMask(value, mask, {
|
|
8593
|
+
guide: false
|
|
8594
|
+
}),
|
|
8595
|
+
conformedValue = _conformToMask.conformedValue;
|
|
8596
|
+
|
|
8597
|
+
el.value = conformedValue;
|
|
8598
|
+
triggerInputUpdate(el);
|
|
8599
|
+
}
|
|
8600
|
+
|
|
8601
|
+
options.partiallyUpdate(el, {
|
|
8602
|
+
previousValue: value
|
|
8603
|
+
});
|
|
8604
|
+
}
|
|
8605
|
+
|
|
8606
|
+
function updateMask(el, inputMask, maskReplacers) {
|
|
8607
|
+
var mask = parseMask(inputMask, maskReplacers);
|
|
8608
|
+
options.partiallyUpdate(el, {
|
|
8609
|
+
mask: mask
|
|
8610
|
+
});
|
|
8611
|
+
}
|
|
8612
|
+
|
|
8613
|
+
function maskToString(mask) {
|
|
8614
|
+
var maskArray = Array.isArray(mask) ? mask : [mask];
|
|
8615
|
+
var filteredMaskArray = maskArray.filter(function (part) {
|
|
8616
|
+
return isString(part) || isRegexp(part);
|
|
8617
|
+
});
|
|
8618
|
+
return filteredMaskArray.toString();
|
|
8619
|
+
}
|
|
8620
|
+
|
|
8621
|
+
function createDirective() {
|
|
8622
|
+
var directiveOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
8623
|
+
var instanceMaskReplacers = extendMaskReplacers(directiveOptions && directiveOptions.placeholders);
|
|
8624
|
+
return {
|
|
8625
|
+
bind: function bind(el, _ref) {
|
|
8626
|
+
var value = _ref.value;
|
|
8627
|
+
el = queryInputElementInside(el);
|
|
8628
|
+
updateMask(el, value, instanceMaskReplacers);
|
|
8629
|
+
updateValue(el);
|
|
8630
|
+
},
|
|
8631
|
+
componentUpdated: function componentUpdated(el, _ref2) {
|
|
8632
|
+
var value = _ref2.value,
|
|
8633
|
+
oldValue = _ref2.oldValue;
|
|
8634
|
+
el = queryInputElementInside(el);
|
|
8635
|
+
var isMaskChanged = isFunction(value) || maskToString(oldValue) !== maskToString(value);
|
|
8636
|
+
|
|
8637
|
+
if (isMaskChanged) {
|
|
8638
|
+
updateMask(el, value, instanceMaskReplacers);
|
|
8639
|
+
}
|
|
8640
|
+
|
|
8641
|
+
updateValue(el, isMaskChanged);
|
|
8642
|
+
},
|
|
8643
|
+
unbind: function unbind(el) {
|
|
8644
|
+
el = queryInputElementInside(el);
|
|
8645
|
+
options.remove(el);
|
|
8646
|
+
}
|
|
8647
|
+
};
|
|
8648
|
+
}
|
|
8649
|
+
var directive = createDirective();
|
|
8650
|
+
|
|
8651
|
+
function createFilter() {
|
|
8652
|
+
var filterOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
8653
|
+
var instanceMaskReplacers = extendMaskReplacers(filterOptions && filterOptions.placeholders);
|
|
8654
|
+
return function (value, inputMask) {
|
|
8655
|
+
if (!isString(value) && !Number.isFinite(value)) return value;
|
|
8656
|
+
var mask = parseMask(inputMask, instanceMaskReplacers);
|
|
8657
|
+
|
|
8658
|
+
var _conformToMask = conformToMask("".concat(value), mask, {
|
|
8659
|
+
guide: false
|
|
8660
|
+
}),
|
|
8661
|
+
conformedValue = _conformToMask.conformedValue;
|
|
8662
|
+
|
|
8663
|
+
return conformedValue;
|
|
8664
|
+
};
|
|
8665
|
+
}
|
|
8666
|
+
var filter = createFilter();
|
|
8667
|
+
|
|
8668
|
+
var v_mask_esm_plugin = (function (Vue) {
|
|
8669
|
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
8670
|
+
Vue.directive('mask', createDirective(options));
|
|
8671
|
+
Vue.filter('VMask', createFilter(options));
|
|
8672
|
+
});
|
|
8673
|
+
|
|
8674
|
+
|
|
8183
8675
|
|
|
8184
8676
|
// 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/TextField/TextField.vue?vue&type=script&lang=js&
|
|
8185
8677
|
//
|
|
@@ -8218,23 +8710,13 @@ var vue_the_mask = __webpack_require__("3a60");
|
|
|
8218
8710
|
//
|
|
8219
8711
|
//
|
|
8220
8712
|
//
|
|
8221
|
-
//
|
|
8222
|
-
//
|
|
8223
|
-
//
|
|
8224
|
-
//
|
|
8225
|
-
//
|
|
8226
|
-
//
|
|
8227
|
-
//
|
|
8228
|
-
//
|
|
8229
|
-
//
|
|
8230
|
-
//
|
|
8231
|
-
//
|
|
8232
|
-
//
|
|
8233
|
-
//
|
|
8234
8713
|
|
|
8235
8714
|
|
|
8236
8715
|
/* harmony default export */ var TextFieldvue_type_script_lang_js_ = ({
|
|
8237
8716
|
name: "TextField",
|
|
8717
|
+
directives: {
|
|
8718
|
+
mask: directive
|
|
8719
|
+
},
|
|
8238
8720
|
props: {
|
|
8239
8721
|
errorText: {
|
|
8240
8722
|
type: String,
|
|
@@ -8252,10 +8734,6 @@ var vue_the_mask = __webpack_require__("3a60");
|
|
|
8252
8734
|
type: String,
|
|
8253
8735
|
default: ""
|
|
8254
8736
|
},
|
|
8255
|
-
value: {
|
|
8256
|
-
type: String,
|
|
8257
|
-
required: true
|
|
8258
|
-
},
|
|
8259
8737
|
placeholder: {
|
|
8260
8738
|
type: String,
|
|
8261
8739
|
default: ""
|
|
@@ -8269,12 +8747,10 @@ var vue_the_mask = __webpack_require__("3a60");
|
|
|
8269
8747
|
default: false
|
|
8270
8748
|
}
|
|
8271
8749
|
},
|
|
8272
|
-
components: {
|
|
8273
|
-
TheMask: vue_the_mask["TheMask"]
|
|
8274
|
-
},
|
|
8275
8750
|
data: function data() {
|
|
8276
8751
|
return {
|
|
8277
|
-
showPlaceholder: false
|
|
8752
|
+
showPlaceholder: false,
|
|
8753
|
+
value: ""
|
|
8278
8754
|
};
|
|
8279
8755
|
},
|
|
8280
8756
|
computed: {
|
|
@@ -8283,8 +8759,8 @@ var vue_the_mask = __webpack_require__("3a60");
|
|
|
8283
8759
|
}
|
|
8284
8760
|
},
|
|
8285
8761
|
methods: {
|
|
8286
|
-
|
|
8287
|
-
this.$emit('enterPressed');
|
|
8762
|
+
pressedEnter: function pressedEnter() {
|
|
8763
|
+
this.$emit('enterPressed', this.value);
|
|
8288
8764
|
}
|
|
8289
8765
|
}
|
|
8290
8766
|
});
|
|
@@ -8300,8 +8776,8 @@ var vue_the_mask = __webpack_require__("3a60");
|
|
|
8300
8776
|
|
|
8301
8777
|
var TextField_component = normalizeComponent(
|
|
8302
8778
|
TextField_TextFieldvue_type_script_lang_js_,
|
|
8303
|
-
|
|
8304
|
-
|
|
8779
|
+
TextFieldvue_type_template_id_1b41aec5_render,
|
|
8780
|
+
TextFieldvue_type_template_id_1b41aec5_staticRenderFns,
|
|
8305
8781
|
false,
|
|
8306
8782
|
null,
|
|
8307
8783
|
null,
|
|
@@ -8310,7 +8786,7 @@ var TextField_component = normalizeComponent(
|
|
|
8310
8786
|
)
|
|
8311
8787
|
|
|
8312
8788
|
/* harmony default export */ var TextField = (TextField_component.exports);
|
|
8313
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8789
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3c01c32b-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&
|
|
8314
8790
|
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()])}
|
|
8315
8791
|
var PasswordFieldvue_type_template_id_19736e8c_staticRenderFns = []
|
|
8316
8792
|
|
|
@@ -8411,12 +8887,12 @@ var PasswordField_component = normalizeComponent(
|
|
|
8411
8887
|
)
|
|
8412
8888
|
|
|
8413
8889
|
/* harmony default export */ var PasswordField = (PasswordField_component.exports);
|
|
8414
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8415
|
-
var
|
|
8416
|
-
var
|
|
8890
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3c01c32b-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&
|
|
8891
|
+
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)}
|
|
8892
|
+
var Alertvue_type_template_id_e7aa4870_staticRenderFns = []
|
|
8417
8893
|
|
|
8418
8894
|
|
|
8419
|
-
// CONCATENATED MODULE: ./src/components/Alert/Alert.vue?vue&type=template&id=
|
|
8895
|
+
// CONCATENATED MODULE: ./src/components/Alert/Alert.vue?vue&type=template&id=e7aa4870&
|
|
8420
8896
|
|
|
8421
8897
|
// 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/Alert/Alert.vue?vue&type=script&lang=js&
|
|
8422
8898
|
//
|
|
@@ -8464,8 +8940,8 @@ var Alertvue_type_style_index_0_lang_scss_ = __webpack_require__("7b57");
|
|
|
8464
8940
|
|
|
8465
8941
|
var Alert_component = normalizeComponent(
|
|
8466
8942
|
Alert_Alertvue_type_script_lang_js_,
|
|
8467
|
-
|
|
8468
|
-
|
|
8943
|
+
Alertvue_type_template_id_e7aa4870_render,
|
|
8944
|
+
Alertvue_type_template_id_e7aa4870_staticRenderFns,
|
|
8469
8945
|
false,
|
|
8470
8946
|
null,
|
|
8471
8947
|
null,
|
|
@@ -8474,7 +8950,7 @@ var Alert_component = normalizeComponent(
|
|
|
8474
8950
|
)
|
|
8475
8951
|
|
|
8476
8952
|
/* harmony default export */ var Alert = (Alert_component.exports);
|
|
8477
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8953
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3c01c32b-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=852863b8&
|
|
8478
8954
|
var Headervue_type_template_id_852863b8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:"a-header",class:[{'bordered': _vm.isBordered}, {'fixed': _vm.isFixed}]},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"a-header__left"},[_c('a',{staticClass:"logo",attrs:{"href":_vm.toAdtdev('https://adata.kz')}},[_c('svg',{staticClass:"adata-logo",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 166 48"}},[_c('path',{attrs:{"d":"M62.926 38.22v-28h10.316c10.342 0 15.511 4.55 15.508 13.652 0 4.36-1.41 7.843-4.232 10.448-2.822 2.605-6.58 3.907-11.276 3.904l-10.316-.004zm6.56-22.868v17.752h3.248c2.839 0 5.069-.82 6.69-2.46 1.622-1.64 2.43-3.873 2.424-6.7 0-2.667-.8-4.767-2.403-6.3-1.602-1.533-3.853-2.297-6.752-2.292h-3.206zM118.5 38.22h-7.131l-2.079-6.228H98.958l-2.079 6.228h-7.093l10.598-28h7.775l10.341 28zm-10.723-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.162c-.07.83-.24 1.649-.508 2.44l-3.168 9.492h7.451zm31.833-11.796h-8.316V38.22h-6.557V15.352h-8.274v-5.136h23.147v5.136zM166 38.22h-7.143l-2.079-6.228h-10.349l-2.05 6.228h-7.106l10.598-28h7.776l10.353 28zm-10.719-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.163c-.069.83-.239 1.649-.507 2.44l-3.168 9.492h7.451zM24.553 15.252h-.163c-.069.83-.24 1.649-.507 2.44L20.715 27.2h7.45l-3.126-9.412a12.02 12.02 0 01-.486-2.536z"}}),_c('path',{attrs:{"d":"M44.905 0H4.99a5.091 5.091 0 00-3.528 1.406A4.71 4.71 0 000 4.8v38.4a4.71 4.71 0 001.461 3.394A5.091 5.091 0 004.99 48h39.916a5.091 5.091 0 003.528-1.406 4.71 4.71 0 001.462-3.394V4.8a4.71 4.71 0 00-1.462-3.394A5.091 5.091 0 0044.905 0zM31.737 38.26l-2.079-6.232H19.305l-2.05 6.232h-7.097l10.598-28h7.776l10.353 28h-7.148z"}})])]),(_vm.subheaderItems.length > 0)?_c('div',{staticClass:"menu"},_vm._l((_vm.subheaderItems),function(item,index){return _c('a',{key:index,staticClass:"menu__wrapper menu__items",class:{active: item.key === _vm.activeTabKey},attrs:{"href":_vm.toAdtdev(item.url)}},[_vm._v(" "+_vm._s(item.name)+" ")])}),0):_vm._e()]),_c('div',{staticClass:"a-header__right"},[_vm._t("chooseCountry"),_c('Profile',{attrs:{"profileDropDown":_vm.profileDropDown,"isDev":_vm.isDev,"isAuthenticated":_vm.isAuthenticated,"requestCount":_vm.requestCount,"daysRemaining":_vm.daysRemaining,"email":_vm.email,"loginUrl":_vm.loginUrl,"activeTabKey":_vm.activeTabKey},on:{"showBalanceModal":function (val) { _vm.$emit('showBalanceModal', val) },"setShowModal":function (val) { _vm.$emit('setShowModal', val) },"logout":function($event){return _vm.$emit('logout')},"setIsReplenishModal":function (val) { _vm.$emit('setIsReplenishModal', val) }}}),_c('div',{staticClass:"menu_mobile--switcher",on:{"click":_vm.changeValue}},[_c('svg',{attrs:{"width":"24","height":"24","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2 4h20v2H2V4zm0 14h20v2H2v-2zm0-7h20v2H2v-2z","fill":"#2C3E50"}})])])],2)]),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8479
8955
|
var animationClass = ref.animationClass;
|
|
8480
8956
|
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.subheaderItems.length > 0 && _vm.isOpen),expression:"subheaderItems.length > 0 && isOpen"}],staticClass:"menu_mobile",class:animationClass},[_c('div',{staticClass:"mobile-table-head",on:{"click":function($event){$event.stopPropagation();return _vm.changeValue.apply(null, arguments)}}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z","fill":"#2C3E50"}})])]),_vm._l((_vm.subheaderItems),function(item,index){return _c('a',{key:index,staticClass:"menu_mobile-wrapper",class:{'active-burger-tab': item.key === _vm.activeTabKey},attrs:{"href":_vm.toAdtdev(item.url)}},[_vm._v(" "+_vm._s(item.name)+" ")])})],2)]}}])})],1)}
|
|
@@ -8498,7 +8974,7 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
8498
8974
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
8499
8975
|
var es_regexp_to_string = __webpack_require__("25f0");
|
|
8500
8976
|
|
|
8501
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8977
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3c01c32b-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=04debd66&
|
|
8502
8978
|
var Profilevue_type_template_id_04debd66_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){
|
|
8503
8979
|
var animationClass = ref.animationClass;
|
|
8504
8980
|
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){
|
|
@@ -8654,7 +9130,7 @@ var es_array_filter = __webpack_require__("4de4");
|
|
|
8654
9130
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
8655
9131
|
var es_string_includes = __webpack_require__("2532");
|
|
8656
9132
|
|
|
8657
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9133
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3c01c32b-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&
|
|
8658
9134
|
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)}
|
|
8659
9135
|
var SlideTogglevue_type_template_id_6ddd4cf0_staticRenderFns = []
|
|
8660
9136
|
|
|
@@ -8732,7 +9208,7 @@ var SlideToggle_component = normalizeComponent(
|
|
|
8732
9208
|
var v_click_outside_umd = __webpack_require__("c28b");
|
|
8733
9209
|
var v_click_outside_umd_default = /*#__PURE__*/__webpack_require__.n(v_click_outside_umd);
|
|
8734
9210
|
|
|
8735
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9211
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3c01c32b-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&
|
|
8736
9212
|
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)}
|
|
8737
9213
|
var VerticalMobileTogglevue_type_template_id_0eccf0ba_staticRenderFns = []
|
|
8738
9214
|
|
|
@@ -9557,7 +10033,7 @@ var Header_component = normalizeComponent(
|
|
|
9557
10033
|
)
|
|
9558
10034
|
|
|
9559
10035
|
/* harmony default export */ var Header = (Header_component.exports);
|
|
9560
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10036
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3c01c32b-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&
|
|
9561
10037
|
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)])}
|
|
9562
10038
|
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\"")])])}]
|
|
9563
10039
|
|
|
@@ -9675,20 +10151,12 @@ var Footer_component = normalizeComponent(
|
|
|
9675
10151
|
)
|
|
9676
10152
|
|
|
9677
10153
|
/* harmony default export */ var Footer = (Footer_component.exports);
|
|
9678
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9679
|
-
var
|
|
9680
|
-
|
|
9681
|
-
{'adt-text-block__input-mob-filter' : _vm.forMobileFilter},
|
|
9682
|
-
{'adt-text-block__input': !_vm.forMobileFilter}
|
|
9683
|
-
],attrs:{"type":_vm.type,"placeholder":_vm.placeholder,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.target.value)},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.enterPressed.apply(null, arguments)},"focus":function($event){_vm.showAutocomplete = true},"click":function($event){return _vm.$emit('showVTour')}}}):_c('TheMask',{ref:"maskInput",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"value":_vm.value,"mask":_vm.mask,"type":_vm.type,"masked":false,"placeholder":_vm.inputPlaceholder,"required":""},nativeOn:{"input":function($event){return _vm.$emit('input', $event.target.value)},"focus":function($event){_vm.showPlaceholder = true},"blur":function($event){_vm.showPlaceholder = false}}}),_c('label',{class:{
|
|
9684
|
-
'adt-text-block__label-red' : !_vm.forMobileFilter && _vm.getIsError,
|
|
9685
|
-
'adt-text-block__label' : !_vm.forMobileFilter && !_vm.getIsError,
|
|
9686
|
-
'adt-text-block__label-mob-filter' : _vm.forMobileFilter,
|
|
9687
|
-
}},[_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)])}
|
|
9688
|
-
var SearchTextFieldvue_type_template_id_26b4dd64_staticRenderFns = []
|
|
10154
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3c01c32b-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=3027178a&
|
|
10155
|
+
var SearchTextFieldvue_type_template_id_3027178a_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 }]},[((_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":_vm.inputHandler,"focus":function($event){_vm.showAutocomplete = true},"click":function($event){return _vm.$emit('showVTour')},"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":_vm.inputHandler,"focus":function($event){_vm.showAutocomplete = true},"click":function($event){return _vm.$emit('showVTour')},"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},_vm.inputHandler],"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)])}
|
|
10156
|
+
var SearchTextFieldvue_type_template_id_3027178a_staticRenderFns = []
|
|
9689
10157
|
|
|
9690
10158
|
|
|
9691
|
-
// CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue?vue&type=template&id=
|
|
10159
|
+
// CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue?vue&type=template&id=3027178a&
|
|
9692
10160
|
|
|
9693
10161
|
// EXTERNAL MODULE: ./node_modules/vue2-perfect-scrollbar/dist/vue2-perfect-scrollbar.umd.js
|
|
9694
10162
|
var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
@@ -9752,38 +10220,6 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9752
10220
|
//
|
|
9753
10221
|
//
|
|
9754
10222
|
//
|
|
9755
|
-
//
|
|
9756
|
-
//
|
|
9757
|
-
//
|
|
9758
|
-
//
|
|
9759
|
-
//
|
|
9760
|
-
//
|
|
9761
|
-
//
|
|
9762
|
-
//
|
|
9763
|
-
//
|
|
9764
|
-
//
|
|
9765
|
-
//
|
|
9766
|
-
//
|
|
9767
|
-
//
|
|
9768
|
-
//
|
|
9769
|
-
//
|
|
9770
|
-
//
|
|
9771
|
-
//
|
|
9772
|
-
//
|
|
9773
|
-
//
|
|
9774
|
-
//
|
|
9775
|
-
//
|
|
9776
|
-
//
|
|
9777
|
-
//
|
|
9778
|
-
//
|
|
9779
|
-
//
|
|
9780
|
-
//
|
|
9781
|
-
//
|
|
9782
|
-
//
|
|
9783
|
-
//
|
|
9784
|
-
//
|
|
9785
|
-
//
|
|
9786
|
-
//
|
|
9787
10223
|
|
|
9788
10224
|
|
|
9789
10225
|
|
|
@@ -9791,7 +10227,8 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9791
10227
|
/* harmony default export */ var SearchTextFieldvue_type_script_lang_js_ = ({
|
|
9792
10228
|
name: "SearchTextField",
|
|
9793
10229
|
directives: {
|
|
9794
|
-
clickOutside: v_click_outside_umd_default.a.directive
|
|
10230
|
+
clickOutside: v_click_outside_umd_default.a.directive,
|
|
10231
|
+
mask: directive
|
|
9795
10232
|
},
|
|
9796
10233
|
props: {
|
|
9797
10234
|
errorText: {
|
|
@@ -9814,11 +10251,6 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9814
10251
|
type: String,
|
|
9815
10252
|
default: "text"
|
|
9816
10253
|
},
|
|
9817
|
-
value: {
|
|
9818
|
-
type: String,
|
|
9819
|
-
required: true,
|
|
9820
|
-
default: ""
|
|
9821
|
-
},
|
|
9822
10254
|
clearable: {
|
|
9823
10255
|
type: Boolean,
|
|
9824
10256
|
default: false
|
|
@@ -9827,14 +10259,6 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9827
10259
|
type: Boolean,
|
|
9828
10260
|
default: false
|
|
9829
10261
|
},
|
|
9830
|
-
magnifierMob: {
|
|
9831
|
-
type: Boolean,
|
|
9832
|
-
default: false
|
|
9833
|
-
},
|
|
9834
|
-
forMobileFilter: {
|
|
9835
|
-
type: Boolean,
|
|
9836
|
-
default: false
|
|
9837
|
-
},
|
|
9838
10262
|
isTypeRequired: {
|
|
9839
10263
|
type: Boolean,
|
|
9840
10264
|
default: false
|
|
@@ -9852,20 +10276,16 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9852
10276
|
isMobile: {
|
|
9853
10277
|
type: Boolean,
|
|
9854
10278
|
default: false
|
|
9855
|
-
},
|
|
9856
|
-
getIsError: {
|
|
9857
|
-
type: Boolean,
|
|
9858
|
-
default: false
|
|
9859
10279
|
}
|
|
9860
10280
|
},
|
|
9861
10281
|
components: {
|
|
9862
|
-
PerfectScrollbar: vue2_perfect_scrollbar_umd["PerfectScrollbar"]
|
|
9863
|
-
TheMask: vue_the_mask["TheMask"]
|
|
10282
|
+
PerfectScrollbar: vue2_perfect_scrollbar_umd["PerfectScrollbar"]
|
|
9864
10283
|
},
|
|
9865
10284
|
data: function data() {
|
|
9866
10285
|
return {
|
|
9867
10286
|
showAutocomplete: false,
|
|
9868
|
-
showPlaceholder: false
|
|
10287
|
+
showPlaceholder: false,
|
|
10288
|
+
value: ""
|
|
9869
10289
|
};
|
|
9870
10290
|
},
|
|
9871
10291
|
computed: {
|
|
@@ -9874,8 +10294,8 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9874
10294
|
}
|
|
9875
10295
|
},
|
|
9876
10296
|
methods: {
|
|
9877
|
-
|
|
9878
|
-
this.$emit('
|
|
10297
|
+
pressedEnter: function pressedEnter() {
|
|
10298
|
+
this.$emit('enter', this.showAutocomplete, this.value);
|
|
9879
10299
|
},
|
|
9880
10300
|
onOutsideClick: function onOutsideClick() {
|
|
9881
10301
|
if (!this.isMobile) this.showAutocomplete = false;
|
|
@@ -9924,8 +10344,8 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9924
10344
|
autocompleteOption.setAttribute("id", 'searchVariant');
|
|
9925
10345
|
return autocompleteOption.innerText;
|
|
9926
10346
|
},
|
|
9927
|
-
inputHandler: function inputHandler(
|
|
9928
|
-
this.$emit('input',
|
|
10347
|
+
inputHandler: function inputHandler() {
|
|
10348
|
+
this.$emit('input', this.value);
|
|
9929
10349
|
this.showAutocomplete = true;
|
|
9930
10350
|
},
|
|
9931
10351
|
onAutocompleteOptionClick: function onAutocompleteOptionClick(option) {
|
|
@@ -9953,8 +10373,8 @@ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
|
|
|
9953
10373
|
|
|
9954
10374
|
var SearchTextField_component = normalizeComponent(
|
|
9955
10375
|
SearchTextField_SearchTextFieldvue_type_script_lang_js_,
|
|
9956
|
-
|
|
9957
|
-
|
|
10376
|
+
SearchTextFieldvue_type_template_id_3027178a_render,
|
|
10377
|
+
SearchTextFieldvue_type_template_id_3027178a_staticRenderFns,
|
|
9958
10378
|
false,
|
|
9959
10379
|
null,
|
|
9960
10380
|
null,
|
|
@@ -9976,7 +10396,7 @@ var SearchTextField_component = normalizeComponent(
|
|
|
9976
10396
|
|
|
9977
10397
|
|
|
9978
10398
|
var Components = {
|
|
9979
|
-
AButton:
|
|
10399
|
+
AButton: AButton,
|
|
9980
10400
|
ATextField: TextField,
|
|
9981
10401
|
APasswordField: PasswordField,
|
|
9982
10402
|
AAlert: Alert,
|