vue-tel-input 6.0.0-beta.4 → 6.0.0-beta.7
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.
|
@@ -439,6 +439,12 @@ var allProps = [{
|
|
|
439
439
|
type: String,
|
|
440
440
|
description: 'Native input <code>name</code> attribute',
|
|
441
441
|
inDemo: false
|
|
442
|
+
}, {
|
|
443
|
+
name: 'inputOptions.showDialCode',
|
|
444
|
+
default: false,
|
|
445
|
+
type: Boolean,
|
|
446
|
+
description: 'Show dial code in input',
|
|
447
|
+
inDemo: false
|
|
442
448
|
}, {
|
|
443
449
|
name: 'inputOptions.placeholder',
|
|
444
450
|
default: 'Enter a phone number',
|
|
@@ -2236,6 +2242,13 @@ module.exports = function (bitmap, value) {
|
|
|
2236
2242
|
};
|
|
2237
2243
|
|
|
2238
2244
|
|
|
2245
|
+
/***/ }),
|
|
2246
|
+
|
|
2247
|
+
/***/ "5ca0":
|
|
2248
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2249
|
+
|
|
2250
|
+
// extracted by mini-css-extract-plugin
|
|
2251
|
+
|
|
2239
2252
|
/***/ }),
|
|
2240
2253
|
|
|
2241
2254
|
/***/ "605d":
|
|
@@ -2458,8 +2471,8 @@ module.exports = {
|
|
|
2458
2471
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2459
2472
|
|
|
2460
2473
|
"use strict";
|
|
2461
|
-
/* harmony import */ var
|
|
2462
|
-
/* harmony import */ var
|
|
2474
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_component_css_vue_type_style_index_1_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9f6a");
|
|
2475
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_component_css_vue_type_style_index_1_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_component_css_vue_type_style_index_1_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
2463
2476
|
/* unused harmony reexport * */
|
|
2464
2477
|
|
|
2465
2478
|
|
|
@@ -2834,13 +2847,6 @@ var WeakMap = global.WeakMap;
|
|
|
2834
2847
|
module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
|
|
2835
2848
|
|
|
2836
2849
|
|
|
2837
|
-
/***/ }),
|
|
2838
|
-
|
|
2839
|
-
/***/ "821a":
|
|
2840
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2841
|
-
|
|
2842
|
-
// extracted by mini-css-extract-plugin
|
|
2843
|
-
|
|
2844
2850
|
/***/ }),
|
|
2845
2851
|
|
|
2846
2852
|
/***/ "825a":
|
|
@@ -3026,13 +3032,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;
|
|
|
3026
3032
|
|
|
3027
3033
|
/***/ }),
|
|
3028
3034
|
|
|
3029
|
-
/***/ "8e3a":
|
|
3030
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3031
|
-
|
|
3032
|
-
// extracted by mini-css-extract-plugin
|
|
3033
|
-
|
|
3034
|
-
/***/ }),
|
|
3035
|
-
|
|
3036
3035
|
/***/ "90e3":
|
|
3037
3036
|
/***/ (function(module, exports) {
|
|
3038
3037
|
|
|
@@ -3324,6 +3323,13 @@ module.exports = function (IteratorConstructor, NAME, next) {
|
|
|
3324
3323
|
};
|
|
3325
3324
|
|
|
3326
3325
|
|
|
3326
|
+
/***/ }),
|
|
3327
|
+
|
|
3328
|
+
/***/ "9f6a":
|
|
3329
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3330
|
+
|
|
3331
|
+
// extracted by mini-css-extract-plugin
|
|
3332
|
+
|
|
3327
3333
|
/***/ }),
|
|
3328
3334
|
|
|
3329
3335
|
/***/ "9f7f":
|
|
@@ -4317,8 +4323,8 @@ module.exports = {
|
|
|
4317
4323
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4318
4324
|
|
|
4319
4325
|
"use strict";
|
|
4320
|
-
/* harmony import */ var
|
|
4321
|
-
/* harmony import */ var
|
|
4326
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_sprite_css_vue_type_style_index_0_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5ca0");
|
|
4327
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_sprite_css_vue_type_style_index_0_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_sprite_css_vue_type_style_index_0_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
4322
4328
|
/* unused harmony reexport * */
|
|
4323
4329
|
|
|
4324
4330
|
|
|
@@ -4869,6 +4875,25 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
|
4869
4875
|
});
|
|
4870
4876
|
|
|
4871
4877
|
|
|
4878
|
+
/***/ }),
|
|
4879
|
+
|
|
4880
|
+
/***/ "d959":
|
|
4881
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4882
|
+
|
|
4883
|
+
"use strict";
|
|
4884
|
+
|
|
4885
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4886
|
+
// runtime helper for setting properties on components
|
|
4887
|
+
// in a tree-shakable way
|
|
4888
|
+
exports.default = (sfc, props) => {
|
|
4889
|
+
const target = sfc.__vccOpts || sfc;
|
|
4890
|
+
for (const [key, val] of props) {
|
|
4891
|
+
target[key] = val;
|
|
4892
|
+
}
|
|
4893
|
+
return target;
|
|
4894
|
+
};
|
|
4895
|
+
|
|
4896
|
+
|
|
4872
4897
|
/***/ }),
|
|
4873
4898
|
|
|
4874
4899
|
/***/ "da84":
|
|
@@ -5163,7 +5188,7 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
5163
5188
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
5164
5189
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
5165
5190
|
|
|
5166
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/vue-tel-input.vue?vue&type=template&id=
|
|
5191
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./src/components/vue-tel-input.vue?vue&type=template&id=69603075
|
|
5167
5192
|
|
|
5168
5193
|
|
|
5169
5194
|
var _hoisted_1 = {
|
|
@@ -5187,20 +5212,28 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5187
5212
|
disabled: $props.disabled
|
|
5188
5213
|
}]
|
|
5189
5214
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", {
|
|
5215
|
+
"aria-label": "Country Code Selector",
|
|
5216
|
+
"aria-haspopup": "listbox",
|
|
5217
|
+
"aria-expanded": $data.open,
|
|
5218
|
+
role: "button",
|
|
5190
5219
|
class: ['vti__dropdown', {
|
|
5191
5220
|
open: $data.open,
|
|
5192
5221
|
disabled: $props.dropdownOptions.disabled
|
|
5193
5222
|
}],
|
|
5194
5223
|
tabindex: $props.dropdownOptions.tabindex,
|
|
5195
|
-
onKeydown: [_cache[
|
|
5224
|
+
onKeydown: [_cache[1] || (_cache[1] = function () {
|
|
5196
5225
|
return $options.keyboardNav && $options.keyboardNav.apply($options, arguments);
|
|
5197
|
-
}), _cache[
|
|
5226
|
+
}), _cache[3] || (_cache[3] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(function () {
|
|
5227
|
+
return $options.toggleDropdown && $options.toggleDropdown.apply($options, arguments);
|
|
5228
|
+
}, ["space"])), _cache[4] || (_cache[4] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(function () {
|
|
5229
|
+
return $options.reset && $options.reset.apply($options, arguments);
|
|
5230
|
+
}, ["esc"])), _cache[5] || (_cache[5] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(function () {
|
|
5198
5231
|
return $options.reset && $options.reset.apply($options, arguments);
|
|
5199
|
-
}, ["
|
|
5200
|
-
onClick: _cache[
|
|
5232
|
+
}, ["tab"]))],
|
|
5233
|
+
onClick: _cache[2] || (_cache[2] = function () {
|
|
5201
5234
|
return $options.toggleDropdown && $options.toggleDropdown.apply($options, arguments);
|
|
5202
5235
|
})
|
|
5203
|
-
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("span", _hoisted_1, [$props.dropdownOptions.showFlags ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("
|
|
5236
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("span", _hoisted_1, [$props.dropdownOptions.showFlags ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", {
|
|
5204
5237
|
key: 0,
|
|
5205
5238
|
class: ['vti__flag', $data.activeCountryCode.toLowerCase()]
|
|
5206
5239
|
}, null, 2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), $props.dropdownOptions.showDialCodeInSelection ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", _hoisted_2, " +" + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($options.activeCountry && $options.activeCountry.dialCode), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, "arrow-icon", {
|
|
@@ -5210,23 +5243,27 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5210
5243
|
})]), $data.open ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("ul", {
|
|
5211
5244
|
key: 0,
|
|
5212
5245
|
ref: "list",
|
|
5213
|
-
class: ["vti__dropdown-list", $data.dropdownOpenDirection]
|
|
5214
|
-
|
|
5246
|
+
class: ["vti__dropdown-list", $data.dropdownOpenDirection],
|
|
5247
|
+
role: "listbox"
|
|
5248
|
+
}, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($options.sortedCountries, function (pb, index) {
|
|
5215
5249
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("li", {
|
|
5250
|
+
role: "option",
|
|
5216
5251
|
class: ['vti__dropdown-item', $options.getItemClass(index, pb.iso2)],
|
|
5217
5252
|
key: pb.iso2 + (pb.preferred ? '-preferred' : ''),
|
|
5253
|
+
tabindex: "-1",
|
|
5218
5254
|
onClick: function onClick($event) {
|
|
5219
5255
|
return $options.choose(pb);
|
|
5220
5256
|
},
|
|
5221
5257
|
onMousemove: function onMousemove($event) {
|
|
5222
5258
|
return $data.selectedIndex = index;
|
|
5223
|
-
}
|
|
5224
|
-
|
|
5259
|
+
},
|
|
5260
|
+
"aria-selected": $data.activeCountryCode === pb.iso2 && !pb.preferred
|
|
5261
|
+
}, [$props.dropdownOptions.showFlags ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", {
|
|
5225
5262
|
key: 0,
|
|
5226
5263
|
class: ['vti__flag', pb.iso2.toLowerCase()]
|
|
5227
|
-
}, null, 2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("strong", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(pb.name), 1), $props.dropdownOptions.showDialCodeInList ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", _hoisted_4, " +" + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(pb.dialCode), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 42, ["onClick", "onMousemove"]);
|
|
5228
|
-
}), 128))
|
|
5229
|
-
"onUpdate:modelValue": _cache[
|
|
5264
|
+
}, null, 2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("strong", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(pb.name), 1), $props.dropdownOptions.showDialCodeInList ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])("span", _hoisted_4, " +" + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(pb.dialCode), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 42, ["onClick", "onMousemove", "aria-selected"]);
|
|
5265
|
+
}), 128))], 2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 42, ["aria-expanded", "tabindex"]), [[_directive_click_outside, $options.clickedOutside]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("input", {
|
|
5266
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = function ($event) {
|
|
5230
5267
|
return $data.phone = $event;
|
|
5231
5268
|
}),
|
|
5232
5269
|
ref: "input",
|
|
@@ -5244,23 +5281,23 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5244
5281
|
tabindex: $props.inputOptions.tabindex,
|
|
5245
5282
|
value: $props.modelValue,
|
|
5246
5283
|
"aria-describedby": $props.inputOptions['aria-describedby'],
|
|
5247
|
-
onBlur: _cache[
|
|
5284
|
+
onBlur: _cache[7] || (_cache[7] = function () {
|
|
5248
5285
|
return $options.onBlur && $options.onBlur.apply($options, arguments);
|
|
5249
5286
|
}),
|
|
5250
|
-
onFocus: _cache[
|
|
5287
|
+
onFocus: _cache[8] || (_cache[8] = function () {
|
|
5251
5288
|
return $options.onFocus && $options.onFocus.apply($options, arguments);
|
|
5252
5289
|
}),
|
|
5253
|
-
onInput: _cache[
|
|
5290
|
+
onInput: _cache[9] || (_cache[9] = function () {
|
|
5254
5291
|
return $options.onInput && $options.onInput.apply($options, arguments);
|
|
5255
5292
|
}),
|
|
5256
|
-
onKeyup: [_cache[
|
|
5293
|
+
onKeyup: [_cache[10] || (_cache[10] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(function () {
|
|
5257
5294
|
return $options.onEnter && $options.onEnter.apply($options, arguments);
|
|
5258
|
-
}, ["enter"])), _cache[
|
|
5295
|
+
}, ["enter"])), _cache[11] || (_cache[11] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])(function () {
|
|
5259
5296
|
return $options.onSpace && $options.onSpace.apply($options, arguments);
|
|
5260
5297
|
}, ["space"]))]
|
|
5261
5298
|
}, null, 42, ["type", "autocomplete", "autofocus", "disabled", "id", "maxlength", "name", "placeholder", "readonly", "required", "tabindex", "value", "aria-describedby"]), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vModelDynamic"], $data.phone]]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, "icon-right")], 2);
|
|
5262
5299
|
}
|
|
5263
|
-
// CONCATENATED MODULE: ./src/components/vue-tel-input.vue?vue&type=template&id=
|
|
5300
|
+
// CONCATENATED MODULE: ./src/components/vue-tel-input.vue?vue&type=template&id=69603075
|
|
5264
5301
|
|
|
5265
5302
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules
|
|
5266
5303
|
var objectWithoutProperties = __webpack_require__("15fd");
|
|
@@ -8335,7 +8372,7 @@ var utils = __webpack_require__("025e");
|
|
|
8335
8372
|
document.body.removeEventListener('click', el.clickOutsideEvent);
|
|
8336
8373
|
}
|
|
8337
8374
|
});
|
|
8338
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/vue-tel-input.vue?vue&type=script&lang=js
|
|
8375
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./src/components/vue-tel-input.vue?vue&type=script&lang=js
|
|
8339
8376
|
|
|
8340
8377
|
|
|
8341
8378
|
|
|
@@ -8633,7 +8670,7 @@ function getDefault(key) {
|
|
|
8633
8670
|
'inputOptions.placeholder': function inputOptionsPlaceholder() {
|
|
8634
8671
|
this.resetPlaceholder();
|
|
8635
8672
|
},
|
|
8636
|
-
|
|
8673
|
+
modelValue: function modelValue(value, oldValue) {
|
|
8637
8674
|
var _this3 = this;
|
|
8638
8675
|
|
|
8639
8676
|
if (!this.testCharacters()) {
|
|
@@ -8643,7 +8680,7 @@ function getDefault(key) {
|
|
|
8643
8680
|
_this3.onInput();
|
|
8644
8681
|
});
|
|
8645
8682
|
} else {
|
|
8646
|
-
this.phone =
|
|
8683
|
+
this.phone = value;
|
|
8647
8684
|
}
|
|
8648
8685
|
},
|
|
8649
8686
|
open: function open(isDropdownOpened) {
|
|
@@ -8815,6 +8852,7 @@ function getDefault(key) {
|
|
|
8815
8852
|
if ((_this$inputOptions = this.inputOptions) !== null && _this$inputOptions !== void 0 && _this$inputOptions.showDialCode && parsedCountry) {
|
|
8816
8853
|
// Reset phone if the showDialCode is set
|
|
8817
8854
|
this.phone = "+".concat(parsedCountry.dialCode);
|
|
8855
|
+
this.activeCountryCode = parsedCountry.iso2 || '';
|
|
8818
8856
|
return;
|
|
8819
8857
|
} // update value, even if international mode is NOT used
|
|
8820
8858
|
|
|
@@ -8910,6 +8948,7 @@ function getDefault(key) {
|
|
|
8910
8948
|
}
|
|
8911
8949
|
|
|
8912
8950
|
var selEle = this.$refs.list.children[this.selectedIndex];
|
|
8951
|
+
selEle.focus();
|
|
8913
8952
|
|
|
8914
8953
|
if (selEle.offsetTop + selEle.clientHeight > this.$refs.list.scrollTop + this.$refs.list.clientHeight) {
|
|
8915
8954
|
this.$refs.list.scrollTop = selEle.offsetTop - this.$refs.list.clientHeight + selEle.clientHeight;
|
|
@@ -8927,6 +8966,8 @@ function getDefault(key) {
|
|
|
8927
8966
|
|
|
8928
8967
|
var _selEle = this.$refs.list.children[this.selectedIndex];
|
|
8929
8968
|
|
|
8969
|
+
_selEle.focus();
|
|
8970
|
+
|
|
8930
8971
|
if (_selEle.offsetTop < this.$refs.list.scrollTop) {
|
|
8931
8972
|
this.$refs.list.scrollTop = _selEle.offsetTop;
|
|
8932
8973
|
}
|
|
@@ -8987,6 +9028,10 @@ var spritevue_type_style_index_0_lang_css = __webpack_require__("bfe1");
|
|
|
8987
9028
|
// EXTERNAL MODULE: ./src/assets/component.css?vue&type=style&index=1&lang=css
|
|
8988
9029
|
var componentvue_type_style_index_1_lang_css = __webpack_require__("6b2d");
|
|
8989
9030
|
|
|
9031
|
+
// EXTERNAL MODULE: ./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js
|
|
9032
|
+
var exportHelper = __webpack_require__("d959");
|
|
9033
|
+
var exportHelper_default = /*#__PURE__*/__webpack_require__.n(exportHelper);
|
|
9034
|
+
|
|
8990
9035
|
// CONCATENATED MODULE: ./src/components/vue-tel-input.vue
|
|
8991
9036
|
|
|
8992
9037
|
|
|
@@ -8994,9 +9039,11 @@ var componentvue_type_style_index_1_lang_css = __webpack_require__("6b2d");
|
|
|
8994
9039
|
|
|
8995
9040
|
|
|
8996
9041
|
|
|
8997
|
-
vue_tel_inputvue_type_script_lang_js.render = render
|
|
8998
9042
|
|
|
8999
|
-
|
|
9043
|
+
|
|
9044
|
+
const __exports__ = /*#__PURE__*/exportHelper_default()(vue_tel_inputvue_type_script_lang_js, [['render',render]])
|
|
9045
|
+
|
|
9046
|
+
/* harmony default export */ var vue_tel_input = __webpack_exports__["a"] = (__exports__);
|
|
9000
9047
|
|
|
9001
9048
|
/***/ }),
|
|
9002
9049
|
|