@weni/unnnic-system 1.12.2 → 1.12.4
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/unnnic.common.js +45 -36
- package/dist/unnnic.common.js.map +1 -1
- package/dist/unnnic.css +1 -1
- package/dist/unnnic.umd.js +45 -36
- package/dist/unnnic.umd.js.map +1 -1
- package/dist/unnnic.umd.min.js +5 -5
- package/dist/unnnic.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Input/Autocomplete.vue +10 -1
- package/src/components/ModalNext/ModalNext.vue +2 -2
- package/src/stories/Autocomplete.stories.js +15 -1
package/dist/unnnic.common.js
CHANGED
|
@@ -10027,17 +10027,6 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
10027
10027
|
};
|
|
10028
10028
|
|
|
10029
10029
|
|
|
10030
|
-
/***/ }),
|
|
10031
|
-
|
|
10032
|
-
/***/ "5702":
|
|
10033
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10034
|
-
|
|
10035
|
-
"use strict";
|
|
10036
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModalNext_vue_vue_type_style_index_0_id_b28be08e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bf0c");
|
|
10037
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModalNext_vue_vue_type_style_index_0_id_b28be08e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModalNext_vue_vue_type_style_index_0_id_b28be08e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
10038
|
-
/* unused harmony reexport * */
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
10030
|
/***/ }),
|
|
10042
10031
|
|
|
10043
10032
|
/***/ "570c":
|
|
@@ -18931,6 +18920,17 @@ $({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {
|
|
|
18931
18920
|
});
|
|
18932
18921
|
|
|
18933
18922
|
|
|
18923
|
+
/***/ }),
|
|
18924
|
+
|
|
18925
|
+
/***/ "a1d7":
|
|
18926
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
18927
|
+
|
|
18928
|
+
"use strict";
|
|
18929
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModalNext_vue_vue_type_style_index_0_id_30e86d6f_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a7f9");
|
|
18930
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModalNext_vue_vue_type_style_index_0_id_30e86d6f_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ModalNext_vue_vue_type_style_index_0_id_30e86d6f_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
18931
|
+
/* unused harmony reexport * */
|
|
18932
|
+
|
|
18933
|
+
|
|
18934
18934
|
/***/ }),
|
|
18935
18935
|
|
|
18936
18936
|
/***/ "a1f0":
|
|
@@ -19777,6 +19777,13 @@ module.exports = function (argument) {
|
|
|
19777
19777
|
};
|
|
19778
19778
|
|
|
19779
19779
|
|
|
19780
|
+
/***/ }),
|
|
19781
|
+
|
|
19782
|
+
/***/ "a7f9":
|
|
19783
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
19784
|
+
|
|
19785
|
+
// extracted by mini-css-extract-plugin
|
|
19786
|
+
|
|
19780
19787
|
/***/ }),
|
|
19781
19788
|
|
|
19782
19789
|
/***/ "a7fa":
|
|
@@ -22036,13 +22043,6 @@ module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3
|
|
|
22036
22043
|
|
|
22037
22044
|
/***/ }),
|
|
22038
22045
|
|
|
22039
|
-
/***/ "bf0c":
|
|
22040
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
22041
|
-
|
|
22042
|
-
// extracted by mini-css-extract-plugin
|
|
22043
|
-
|
|
22044
|
-
/***/ }),
|
|
22045
|
-
|
|
22046
22046
|
/***/ "bfe9":
|
|
22047
22047
|
/***/ (function(module, exports) {
|
|
22048
22048
|
|
|
@@ -39428,24 +39428,24 @@ var Modal_component = normalizeComponent(
|
|
|
39428
39428
|
)
|
|
39429
39429
|
|
|
39430
39430
|
/* harmony default export */ var Modal = (Modal_component.exports);
|
|
39431
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1cea8ebe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ModalNext/ModalNext.vue?vue&type=template&id=
|
|
39432
|
-
var
|
|
39431
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1cea8ebe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ModalNext/ModalNext.vue?vue&type=template&id=30e86d6f&scoped=true&
|
|
39432
|
+
var ModalNextvue_type_template_id_30e86d6f_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
39433
39433
|
'unnnic-modal', ("type-" + _vm.type),
|
|
39434
39434
|
{
|
|
39435
39435
|
'show-close-button': _vm.showCloseButton,
|
|
39436
39436
|
'show-actions-area': _vm.validate || _vm.actionPrimaryLabel || _vm.actionSecondaryLabel
|
|
39437
39437
|
}
|
|
39438
|
-
],on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeByDarkBackground($event)}}},[_c('div',{staticClass:"container"},[(_vm.type === 'default')?[(_vm.showCloseButton)?_c('div',{staticClass:"header"},[_c('unnnic-icon',{attrs:{"icon":"close-1","size":"sm","clickable":""},on:{"click":function($event){return _vm.$emit('close')}}})],1):_vm._e(),_c('div',{staticClass:"content"},[_vm._t("default")],2)]:(_vm.type === 'video')?_c('div',{staticClass:"content"},[_c('div',{staticClass:"aspect-ratio-box"},[_c('iframe',{staticClass:"aspect-ratio-box-inside",attrs:{"type":"text/html","src":_vm.url,"frameborder":"0","allowfullscreen":""}})])]):(_vm.type === 'alert')?[(_vm.showCloseButton)?_c('div',{staticClass:"header"},[_c('unnnic-icon',{attrs:{"icon":"close-1","size":"sm","clickable":""},on:{"click":function($event){return _vm.$emit('close')}}})],1):_vm._e(),_c('div',{class:['content', { 'with-validation': _vm.validate }]},[_c('div',{staticClass:"icon"},[_c('unnnic-icon',{attrs:{"icon":_vm.icon,"scheme":_vm.scheme,"size":"xl"}})],1),(_vm.$slots.title || _vm.title)?_c('div',{staticClass:"title"},[(_vm.$slots.title)?_vm._t("title"):[_vm._v(_vm._s(_vm.title))]],2):_vm._e(),(_vm.$slots.description || _vm.description)?_c('div',{staticClass:"description"},[(_vm.$slots.description)?_vm._t("description"):[_vm._v(_vm._s(_vm.description))]],2):_vm._e(),(_vm.validate)?_c('div',{staticClass:"confirm-text"},[_c('unnnic-input',{attrs:{"placeholder":_vm.validatePlaceholder},model:{value:(_vm.confirmText),callback:function ($$v) {_vm.confirmText=$$v},expression:"confirmText"}},[_c('span',{attrs:{"slot":"label"},domProps:{"innerHTML":_vm._s(_vm.validateLabel)},slot:"label"})])],1):_vm._e(),(_vm.validate || _vm.actionPrimaryLabel || _vm.actionSecondaryLabel)?_c('div',{staticClass:"actions",style:({ marginTop: _vm.validate ? '0' : undefined })},[(_vm.validate || _vm.actionSecondaryLabel)?_c('unnnic-button',{attrs:{"type":"terciary","disabled":_vm.actionPrimaryLoading},on:{"click":function($event){_vm.$listeners
|
|
39438
|
+
],on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.closeByDarkBackground($event)}}},[_c('div',{staticClass:"container"},[(_vm.type === 'default')?[(_vm.showCloseButton)?_c('div',{staticClass:"header"},[_c('unnnic-icon',{attrs:{"icon":"close-1","size":"sm","clickable":""},on:{"click":function($event){return _vm.$emit('close')}}})],1):_vm._e(),_c('div',{staticClass:"content"},[_vm._t("default")],2)]:(_vm.type === 'video')?_c('div',{staticClass:"content"},[_c('div',{staticClass:"aspect-ratio-box"},[_c('iframe',{staticClass:"aspect-ratio-box-inside",attrs:{"type":"text/html","src":_vm.url,"frameborder":"0","allowfullscreen":""}})])]):(_vm.type === 'alert')?[(_vm.showCloseButton)?_c('div',{staticClass:"header"},[_c('unnnic-icon',{attrs:{"icon":"close-1","size":"sm","clickable":""},on:{"click":function($event){return _vm.$emit('close')}}})],1):_vm._e(),_c('div',{class:['content', { 'with-validation': _vm.validate }]},[_c('div',{staticClass:"icon"},[_c('unnnic-icon',{attrs:{"icon":_vm.icon,"scheme":_vm.scheme,"size":"xl"}})],1),(_vm.$slots.title || _vm.title)?_c('div',{staticClass:"title"},[(_vm.$slots.title)?_vm._t("title"):[_vm._v(_vm._s(_vm.title))]],2):_vm._e(),(_vm.$slots.description || _vm.description)?_c('div',{staticClass:"description"},[(_vm.$slots.description)?_vm._t("description"):[_vm._v(_vm._s(_vm.description))]],2):_vm._e(),(_vm.validate)?_c('div',{staticClass:"confirm-text"},[_c('unnnic-input',{attrs:{"placeholder":_vm.validatePlaceholder},model:{value:(_vm.confirmText),callback:function ($$v) {_vm.confirmText=$$v},expression:"confirmText"}},[_c('span',{attrs:{"slot":"label"},domProps:{"innerHTML":_vm._s(_vm.validateLabel)},slot:"label"})])],1):_vm._e(),(_vm.validate || _vm.actionPrimaryLabel || _vm.actionSecondaryLabel)?_c('div',{staticClass:"actions",style:({ marginTop: _vm.validate ? '0' : undefined })},[(_vm.validate || _vm.actionSecondaryLabel)?_c('unnnic-button',{attrs:{"type":"terciary","disabled":_vm.actionPrimaryLoading},on:{"click":function($event){_vm.$listeners['click-action-secondary']
|
|
39439
39439
|
? _vm.$emit('click-action-secondary', { close: _vm.justClose })
|
|
39440
39440
|
: _vm.$emit('close')}}},[_vm._v(" "+_vm._s(_vm.actionSecondaryLabel)+" ")]):_vm._e(),(_vm.validate || _vm.actionPrimaryLabel)?_c('unnnic-button',{class:_vm.actionPrimaryButtonType === 'primary'
|
|
39441
39441
|
? ['button', _vm.buttonType]
|
|
39442
|
-
: undefined,attrs:{"type":_vm.actionPrimaryButtonType,"disabled":_vm.disabled || _vm.actionPrimaryLoading,"loading":_vm.actionPrimaryLoading},on:{"click":function($event){_vm.$listeners
|
|
39442
|
+
: undefined,attrs:{"type":_vm.actionPrimaryButtonType,"disabled":_vm.disabled || _vm.actionPrimaryLoading,"loading":_vm.actionPrimaryLoading},on:{"click":function($event){_vm.$listeners['click-action-primary']
|
|
39443
39443
|
? _vm.$emit('click-action-primary', { close: _vm.justClose })
|
|
39444
39444
|
: null}}},[_vm._v(" "+_vm._s(_vm.actionPrimaryLabel)+" ")]):_vm._e()],1):_vm._e()])]:_vm._e()],2)])}
|
|
39445
|
-
var
|
|
39445
|
+
var ModalNextvue_type_template_id_30e86d6f_scoped_true_staticRenderFns = []
|
|
39446
39446
|
|
|
39447
39447
|
|
|
39448
|
-
// CONCATENATED MODULE: ./src/components/ModalNext/ModalNext.vue?vue&type=template&id=
|
|
39448
|
+
// CONCATENATED MODULE: ./src/components/ModalNext/ModalNext.vue?vue&type=template&id=30e86d6f&scoped=true&
|
|
39449
39449
|
|
|
39450
39450
|
// 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/lib??vue-loader-options!./src/components/ModalNext/ModalNext.vue?vue&type=script&lang=js&
|
|
39451
39451
|
//
|
|
@@ -39652,8 +39652,8 @@ var ModalNextvue_type_template_id_b28be08e_scoped_true_staticRenderFns = []
|
|
|
39652
39652
|
});
|
|
39653
39653
|
// CONCATENATED MODULE: ./src/components/ModalNext/ModalNext.vue?vue&type=script&lang=js&
|
|
39654
39654
|
/* harmony default export */ var ModalNext_ModalNextvue_type_script_lang_js_ = (ModalNextvue_type_script_lang_js_);
|
|
39655
|
-
// EXTERNAL MODULE: ./src/components/ModalNext/ModalNext.vue?vue&type=style&index=0&id=
|
|
39656
|
-
var
|
|
39655
|
+
// EXTERNAL MODULE: ./src/components/ModalNext/ModalNext.vue?vue&type=style&index=0&id=30e86d6f&lang=scss&scoped=true&
|
|
39656
|
+
var ModalNextvue_type_style_index_0_id_30e86d6f_lang_scss_scoped_true_ = __webpack_require__("a1d7");
|
|
39657
39657
|
|
|
39658
39658
|
// CONCATENATED MODULE: ./src/components/ModalNext/ModalNext.vue
|
|
39659
39659
|
|
|
@@ -39666,11 +39666,11 @@ var ModalNextvue_type_style_index_0_id_b28be08e_lang_scss_scoped_true_ = __webpa
|
|
|
39666
39666
|
|
|
39667
39667
|
var ModalNext_component = normalizeComponent(
|
|
39668
39668
|
ModalNext_ModalNextvue_type_script_lang_js_,
|
|
39669
|
-
|
|
39670
|
-
|
|
39669
|
+
ModalNextvue_type_template_id_30e86d6f_scoped_true_render,
|
|
39670
|
+
ModalNextvue_type_template_id_30e86d6f_scoped_true_staticRenderFns,
|
|
39671
39671
|
false,
|
|
39672
39672
|
null,
|
|
39673
|
-
"
|
|
39673
|
+
"30e86d6f",
|
|
39674
39674
|
null
|
|
39675
39675
|
|
|
39676
39676
|
)
|
|
@@ -41354,14 +41354,14 @@ var MultiSelect_component = normalizeComponent(
|
|
|
41354
41354
|
)
|
|
41355
41355
|
|
|
41356
41356
|
/* harmony default export */ var MultiSelect = (MultiSelect_component.exports);
|
|
41357
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1cea8ebe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Input/Autocomplete.vue?vue&type=template&id=
|
|
41358
|
-
var
|
|
41357
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1cea8ebe-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Input/Autocomplete.vue?vue&type=template&id=3c24ee1b&
|
|
41358
|
+
var Autocompletevue_type_template_id_3c24ee1b_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.onClickOutside),expression:"onClickOutside"}],staticClass:"unnnic-autocomplete"},[(_vm.label)?_c('p',{staticClass:"unnnic-form__label"},[_vm._v(" "+_vm._s(_vm.label)+" ")]):_vm._e(),_c('text-input',_vm._g({attrs:{"v-bind":_vm.$attrs,"icon-left":_vm.iconLeft,"icon-right":_vm.iconRight,"icon-right-clickable":Object.keys(_vm.$listeners).includes('icon-right-click'),"tooltip-icon-right":_vm.tooltipIconRight,"tooltip-side-icon-right":_vm.tooltipSideIconRight,"tooltip-force-open-icon-right":_vm.tooltipForceOpenIconRight,"type":_vm.type,"size":_vm.size,"placeholder":_vm.placeholder},on:{"focus":_vm.onFocus,"blur":_vm.onBlur},model:{value:(_vm.val),callback:function ($$v) {_vm.val=$$v},expression:"val"}},_vm.inputListeners)),_c('div',{directives:[{name:"show",rawName:"v-show",value:((_vm.open || (this.openWithFocus && this.isFocused)) && _vm.data.length),expression:"(open || (this.openWithFocus && this.isFocused)) && data.length"}],staticClass:"unnnic-autocomplete__container-list"},[_c('div',{class:['unnnic-autocomplete__list',
|
|
41359
41359
|
("unnnic-autocomplete__list--size-" + _vm.size),
|
|
41360
41360
|
_vm.message && _vm.message.length > 0 ? 'unnnic-autocomplete__list--with-message' : '']},[_vm._l((_vm.dataParsed),function(option,index){return [(option.type === 'category')?_c('div',{key:index,staticClass:"category",attrs:{"title":option.text}},[_vm._v(" "+_vm._s(option.text)+" ")]):_c('div',{key:index,staticClass:"unnnic--clickable option",on:{"click":function($event){return _vm.onChoose(option)}}},[_c('div',{staticClass:"label",attrs:{"title":option.text},domProps:{"innerHTML":_vm._s(_vm.highlighted(option.text))}})])]})],2)]),(_vm.message)?_c('p',{staticClass:"unnnic-form__message"},[_vm._v(" "+_vm._s(_vm.message)+" ")]):_vm._e()],1)}
|
|
41361
|
-
var
|
|
41361
|
+
var Autocompletevue_type_template_id_3c24ee1b_staticRenderFns = []
|
|
41362
41362
|
|
|
41363
41363
|
|
|
41364
|
-
// CONCATENATED MODULE: ./src/components/Input/Autocomplete.vue?vue&type=template&id=
|
|
41364
|
+
// CONCATENATED MODULE: ./src/components/Input/Autocomplete.vue?vue&type=template&id=3c24ee1b&
|
|
41365
41365
|
|
|
41366
41366
|
// 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/lib??vue-loader-options!./src/components/Input/Autocomplete.vue?vue&type=script&lang=js&
|
|
41367
41367
|
|
|
@@ -41421,6 +41421,10 @@ var Autocompletevue_type_template_id_44a1e94a_staticRenderFns = []
|
|
|
41421
41421
|
//
|
|
41422
41422
|
//
|
|
41423
41423
|
//
|
|
41424
|
+
//
|
|
41425
|
+
//
|
|
41426
|
+
//
|
|
41427
|
+
//
|
|
41424
41428
|
|
|
41425
41429
|
|
|
41426
41430
|
/* harmony default export */ var Autocompletevue_type_script_lang_js_ = ({
|
|
@@ -41495,7 +41499,8 @@ var Autocompletevue_type_template_id_44a1e94a_staticRenderFns = []
|
|
|
41495
41499
|
data: function data() {
|
|
41496
41500
|
return {
|
|
41497
41501
|
val: null,
|
|
41498
|
-
open: false
|
|
41502
|
+
open: false,
|
|
41503
|
+
isFocused: false
|
|
41499
41504
|
};
|
|
41500
41505
|
},
|
|
41501
41506
|
watch: {
|
|
@@ -41516,9 +41521,13 @@ var Autocompletevue_type_template_id_44a1e94a_staticRenderFns = []
|
|
|
41516
41521
|
},
|
|
41517
41522
|
methods: {
|
|
41518
41523
|
onFocus: function onFocus() {
|
|
41524
|
+
this.isFocused = true;
|
|
41519
41525
|
if (!this.val && !this.openWithFocus) return;
|
|
41520
41526
|
this.open = true;
|
|
41521
41527
|
},
|
|
41528
|
+
onBlur: function onBlur() {
|
|
41529
|
+
this.isFocused = false;
|
|
41530
|
+
},
|
|
41522
41531
|
onChoose: function onChoose(option) {
|
|
41523
41532
|
var _this = this;
|
|
41524
41533
|
|
|
@@ -41575,8 +41584,8 @@ var Autocompletevue_type_style_index_0_lang_scss_ = __webpack_require__("bc3b");
|
|
|
41575
41584
|
|
|
41576
41585
|
var Autocomplete_component = normalizeComponent(
|
|
41577
41586
|
Input_Autocompletevue_type_script_lang_js_,
|
|
41578
|
-
|
|
41579
|
-
|
|
41587
|
+
Autocompletevue_type_template_id_3c24ee1b_render,
|
|
41588
|
+
Autocompletevue_type_template_id_3c24ee1b_staticRenderFns,
|
|
41580
41589
|
false,
|
|
41581
41590
|
null,
|
|
41582
41591
|
null,
|