@weni/unnnic-system 1.16.39 → 1.16.40
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 +7 -7
- package/dist/unnnic.common.js.map +1 -1
- package/dist/unnnic.umd.js +7 -7
- package/dist/unnnic.umd.js.map +1 -1
- package/dist/unnnic.umd.min.js +1 -1
- package/dist/unnnic.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/SelectSmart/SelectSmart.vue +1 -1
- package/src/stories/SelectSmart.stories.mdx +291 -0
- package/src/stories/SelectSmart.stories.js +0 -140
package/dist/unnnic.common.js
CHANGED
|
@@ -55039,8 +55039,8 @@ var Alert_component = normalizeComponent(
|
|
|
55039
55039
|
document.body.appendChild(instance.$el);
|
|
55040
55040
|
}
|
|
55041
55041
|
});
|
|
55042
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4012d057-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/SelectSmart/SelectSmart.vue?vue&type=template&id=
|
|
55043
|
-
var
|
|
55042
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4012d057-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/SelectSmart/SelectSmart.vue?vue&type=template&id=1c863543&
|
|
55043
|
+
var SelectSmartvue_type_template_id_1c863543_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-select-smart",on:{"keydown":_vm.onKeyDownSelect}},[_c('dropdown-skeleton',{ref:"dropdown-skeleton",attrs:{"type":"manual","value":_vm.active,"position":"bottom"},scopedSlots:_vm._u([{key:"inside",fn:function(props){return [(_vm.active)?_c('div',{class:{
|
|
55044
55044
|
'unnnic-select-smart__options': true,
|
|
55045
55045
|
active: _vm.active,
|
|
55046
55046
|
inactive: !_vm.active,
|
|
@@ -55050,10 +55050,10 @@ var SelectSmartvue_type_template_id_0cfc5147_render = function () {var _vm=this;
|
|
|
55050
55050
|
{
|
|
55051
55051
|
'with-descriptions': _vm.hasDescriptionOptions,
|
|
55052
55052
|
} ]},[_vm._l((_vm.filterOptions(_vm.options)),function(option,index){return _c('select-smart-option',{key:option.value,attrs:{"label":option.label,"description":option.description,"tabindex":index,"size":_vm.size,"active":option.value === _vm.value || _vm.optionIsSelected(option),"focused":_vm.focusedOption && _vm.focusedOption.value === option.value,"allowCheckbox":!!_vm.multiple},on:{"click":function($event){return _vm.handleSelect(option)}}})}),(_vm.filterOptions(_vm.options).length === 0)?_c('p',{staticClass:"unnnic-select-smart__options--no-results"},[_vm._v(" "+_vm._s(_vm.i18n('without_results'))+" ")]):_vm._e()],2)],1)]):_vm._e()]}}])},[_c('text-input',{ref:"selectSmartInput",staticClass:"unnnic-select-smart__input",attrs:{"value":_vm.inputValue,"placeholder":_vm.autocompletePlaceholder || _vm.selectedLabel,"type":_vm.type,"size":_vm.size,"disabled":_vm.disabled,"readonly":!_vm.isAutocompleteAllowed,"icon-left":_vm.isAutocompleteAllowed && _vm.autocompleteIconLeft ? 'search-1' : '',"icon-right":_vm.active ? 'arrow-button-up-1' : 'arrow-button-down-1',"icon-right-clickable":!_vm.disabled},on:{"icon-right-click":_vm.handleClickInput,"click":_vm.handleClickInput,"input":function($event){_vm.searchValue = $event}}})],1)],1)}
|
|
55053
|
-
var
|
|
55053
|
+
var SelectSmartvue_type_template_id_1c863543_staticRenderFns = []
|
|
55054
55054
|
|
|
55055
55055
|
|
|
55056
|
-
// CONCATENATED MODULE: ./src/components/SelectSmart/SelectSmart.vue?vue&type=template&id=
|
|
55056
|
+
// CONCATENATED MODULE: ./src/components/SelectSmart/SelectSmart.vue?vue&type=template&id=1c863543&
|
|
55057
55057
|
|
|
55058
55058
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4012d057-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/SelectSmart/SelectSmartOption.vue?vue&type=template&id=7963bbce&
|
|
55059
55059
|
var SelectSmartOptionvue_type_template_id_7963bbce_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:{
|
|
@@ -55676,7 +55676,7 @@ var DropdownSkeleton_component = normalizeComponent(
|
|
|
55676
55676
|
this.searchValue = this.selectedLabel;
|
|
55677
55677
|
});
|
|
55678
55678
|
}
|
|
55679
|
-
} else if (this.options[0].value) {
|
|
55679
|
+
} else if (this.options[0] && this.options[0].value) {
|
|
55680
55680
|
this.selectOption(this.options[0]);
|
|
55681
55681
|
}
|
|
55682
55682
|
},
|
|
@@ -55942,8 +55942,8 @@ var SelectSmartvue_type_style_index_0_lang_scss_ = __webpack_require__("1f90");
|
|
|
55942
55942
|
|
|
55943
55943
|
var SelectSmart_component = normalizeComponent(
|
|
55944
55944
|
SelectSmart_SelectSmartvue_type_script_lang_js_,
|
|
55945
|
-
|
|
55946
|
-
|
|
55945
|
+
SelectSmartvue_type_template_id_1c863543_render,
|
|
55946
|
+
SelectSmartvue_type_template_id_1c863543_staticRenderFns,
|
|
55947
55947
|
false,
|
|
55948
55948
|
null,
|
|
55949
55949
|
null,
|