@weni/unnnic-system 1.16.39-develop.0 → 1.16.40-develop.0
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.umd.js
CHANGED
|
@@ -55048,8 +55048,8 @@ var Alert_component = normalizeComponent(
|
|
|
55048
55048
|
document.body.appendChild(instance.$el);
|
|
55049
55049
|
}
|
|
55050
55050
|
});
|
|
55051
|
-
// 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=
|
|
55052
|
-
var
|
|
55051
|
+
// 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&
|
|
55052
|
+
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:{
|
|
55053
55053
|
'unnnic-select-smart__options': true,
|
|
55054
55054
|
active: _vm.active,
|
|
55055
55055
|
inactive: !_vm.active,
|
|
@@ -55059,10 +55059,10 @@ var SelectSmartvue_type_template_id_0cfc5147_render = function () {var _vm=this;
|
|
|
55059
55059
|
{
|
|
55060
55060
|
'with-descriptions': _vm.hasDescriptionOptions,
|
|
55061
55061
|
} ]},[_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)}
|
|
55062
|
-
var
|
|
55062
|
+
var SelectSmartvue_type_template_id_1c863543_staticRenderFns = []
|
|
55063
55063
|
|
|
55064
55064
|
|
|
55065
|
-
// CONCATENATED MODULE: ./src/components/SelectSmart/SelectSmart.vue?vue&type=template&id=
|
|
55065
|
+
// CONCATENATED MODULE: ./src/components/SelectSmart/SelectSmart.vue?vue&type=template&id=1c863543&
|
|
55066
55066
|
|
|
55067
55067
|
// 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&
|
|
55068
55068
|
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:{
|
|
@@ -55685,7 +55685,7 @@ var DropdownSkeleton_component = normalizeComponent(
|
|
|
55685
55685
|
this.searchValue = this.selectedLabel;
|
|
55686
55686
|
});
|
|
55687
55687
|
}
|
|
55688
|
-
} else if (this.options[0].value) {
|
|
55688
|
+
} else if (this.options[0] && this.options[0].value) {
|
|
55689
55689
|
this.selectOption(this.options[0]);
|
|
55690
55690
|
}
|
|
55691
55691
|
},
|
|
@@ -55951,8 +55951,8 @@ var SelectSmartvue_type_style_index_0_lang_scss_ = __webpack_require__("1f90");
|
|
|
55951
55951
|
|
|
55952
55952
|
var SelectSmart_component = normalizeComponent(
|
|
55953
55953
|
SelectSmart_SelectSmartvue_type_script_lang_js_,
|
|
55954
|
-
|
|
55955
|
-
|
|
55954
|
+
SelectSmartvue_type_template_id_1c863543_render,
|
|
55955
|
+
SelectSmartvue_type_template_id_1c863543_staticRenderFns,
|
|
55956
55956
|
false,
|
|
55957
55957
|
null,
|
|
55958
55958
|
null,
|