@mozaic-ds/vue 0.34.0 → 0.34.1
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/mozaic-vue.adeo.umd.js +30 -25
- package/dist/mozaic-vue.common.js +30 -25
- package/dist/mozaic-vue.common.js.map +1 -1
- package/dist/mozaic-vue.umd.js +30 -25
- package/dist/mozaic-vue.umd.js.map +1 -1
- package/dist/mozaic-vue.umd.min.js +1 -1
- package/dist/mozaic-vue.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/autocomplete/MAutocomplete.vue +23 -17
package/dist/mozaic-vue.umd.js
CHANGED
|
@@ -16606,8 +16606,8 @@ MAccordion.install = function (Vue) {
|
|
|
16606
16606
|
Vue.component(MAccordion.name, MAccordion);
|
|
16607
16607
|
};
|
|
16608
16608
|
|
|
16609
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/autocomplete/MAutocomplete.vue?vue&type=template&id=
|
|
16610
|
-
var
|
|
16609
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/autocomplete/MAutocomplete.vue?vue&type=template&id=6011a65e&
|
|
16610
|
+
var MAutocompletevue_type_template_id_6011a65e_render = function render() {
|
|
16611
16611
|
var _vm = this,
|
|
16612
16612
|
_c = _vm._self._c;
|
|
16613
16613
|
return _c('div', {
|
|
@@ -16717,7 +16717,7 @@ var MAutocompletevue_type_template_id_36fdc82e_render = function render() {
|
|
|
16717
16717
|
}
|
|
16718
16718
|
})], 1);
|
|
16719
16719
|
};
|
|
16720
|
-
var
|
|
16720
|
+
var MAutocompletevue_type_template_id_6011a65e_staticRenderFns = [];
|
|
16721
16721
|
|
|
16722
16722
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
16723
16723
|
var es_regexp_to_string = __webpack_require__(9714);
|
|
@@ -17822,9 +17822,11 @@ var MListBox_component = normalizeComponent(
|
|
|
17822
17822
|
openState: this.open,
|
|
17823
17823
|
tagWidth: '0px',
|
|
17824
17824
|
tagValue: null,
|
|
17825
|
+
inputValue: null,
|
|
17825
17826
|
localItems: null,
|
|
17826
17827
|
sortedListItems: null,
|
|
17827
|
-
isFiltered: null
|
|
17828
|
+
isFiltered: null,
|
|
17829
|
+
listboxValue: null
|
|
17828
17830
|
};
|
|
17829
17831
|
},
|
|
17830
17832
|
computed: {
|
|
@@ -17840,22 +17842,6 @@ var MListBox_component = normalizeComponent(
|
|
|
17840
17842
|
hasValues: function hasValues() {
|
|
17841
17843
|
var _this$inputValue;
|
|
17842
17844
|
return ((_this$inputValue = this.inputValue) === null || _this$inputValue === void 0 ? void 0 : _this$inputValue.length) > 0;
|
|
17843
|
-
},
|
|
17844
|
-
inputValue: {
|
|
17845
|
-
get: function get() {
|
|
17846
|
-
return this.input;
|
|
17847
|
-
},
|
|
17848
|
-
set: function set(newValue) {
|
|
17849
|
-
return this.$emit('update:input', newValue);
|
|
17850
|
-
}
|
|
17851
|
-
},
|
|
17852
|
-
listboxValue: {
|
|
17853
|
-
get: function get() {
|
|
17854
|
-
return !this.value && this.multiple ? [] : this.value;
|
|
17855
|
-
},
|
|
17856
|
-
set: function set(newValue) {
|
|
17857
|
-
return this.$emit('change', newValue);
|
|
17858
|
-
}
|
|
17859
17845
|
}
|
|
17860
17846
|
},
|
|
17861
17847
|
watch: {
|
|
@@ -17865,6 +17851,22 @@ var MListBox_component = normalizeComponent(
|
|
|
17865
17851
|
},
|
|
17866
17852
|
immediate: true
|
|
17867
17853
|
},
|
|
17854
|
+
input: {
|
|
17855
|
+
handler: function handler(val) {
|
|
17856
|
+
this.inputValue = val;
|
|
17857
|
+
},
|
|
17858
|
+
immediate: true
|
|
17859
|
+
},
|
|
17860
|
+
value: {
|
|
17861
|
+
handler: function handler(val) {
|
|
17862
|
+
if (!val && this.multiple) {
|
|
17863
|
+
this.listboxValue = [];
|
|
17864
|
+
} else {
|
|
17865
|
+
this.listboxValue = val;
|
|
17866
|
+
}
|
|
17867
|
+
},
|
|
17868
|
+
immediate: true
|
|
17869
|
+
},
|
|
17868
17870
|
listboxValue: function listboxValue(val) {
|
|
17869
17871
|
var _this = this;
|
|
17870
17872
|
if (!this.multiple) {
|
|
@@ -17873,6 +17875,7 @@ var MListBox_component = normalizeComponent(
|
|
|
17873
17875
|
return item[_this.dataTextExpr];
|
|
17874
17876
|
});
|
|
17875
17877
|
this.inputValue = seletedLabels.join(', ');
|
|
17878
|
+
this.$emit('update:input', this.inputValue);
|
|
17876
17879
|
} else {
|
|
17877
17880
|
this.tagValue = val;
|
|
17878
17881
|
}
|
|
@@ -17936,7 +17939,8 @@ var MListBox_component = normalizeComponent(
|
|
|
17936
17939
|
this.localItems = this.items;
|
|
17937
17940
|
}
|
|
17938
17941
|
},
|
|
17939
|
-
onChangeListbox: function onChangeListbox() {
|
|
17942
|
+
onChangeListbox: function onChangeListbox(value) {
|
|
17943
|
+
this.$emit('change', value);
|
|
17940
17944
|
if (!this.multiple) {
|
|
17941
17945
|
this.closeListBox();
|
|
17942
17946
|
}
|
|
@@ -17970,16 +17974,17 @@ var MListBox_component = normalizeComponent(
|
|
|
17970
17974
|
if (value.length === 0) {
|
|
17971
17975
|
this.$emit('clear-input');
|
|
17972
17976
|
}
|
|
17977
|
+
this.$emit('update:input', value);
|
|
17973
17978
|
this.filterList(value);
|
|
17974
17979
|
}
|
|
17975
17980
|
}
|
|
17976
17981
|
});
|
|
17977
17982
|
;// CONCATENATED MODULE: ./src/components/autocomplete/MAutocomplete.vue?vue&type=script&lang=js&
|
|
17978
17983
|
/* harmony default export */ var autocomplete_MAutocompletevue_type_script_lang_js_ = (MAutocompletevue_type_script_lang_js_);
|
|
17979
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-84.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/autocomplete/MAutocomplete.vue?vue&type=style&index=0&id=
|
|
17984
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-84.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/autocomplete/MAutocomplete.vue?vue&type=style&index=0&id=6011a65e&prod&lang=scss&
|
|
17980
17985
|
// extracted by mini-css-extract-plugin
|
|
17981
17986
|
|
|
17982
|
-
;// CONCATENATED MODULE: ./src/components/autocomplete/MAutocomplete.vue?vue&type=style&index=0&id=
|
|
17987
|
+
;// CONCATENATED MODULE: ./src/components/autocomplete/MAutocomplete.vue?vue&type=style&index=0&id=6011a65e&prod&lang=scss&
|
|
17983
17988
|
|
|
17984
17989
|
;// CONCATENATED MODULE: ./src/components/autocomplete/MAutocomplete.vue
|
|
17985
17990
|
|
|
@@ -17992,8 +17997,8 @@ var MListBox_component = normalizeComponent(
|
|
|
17992
17997
|
|
|
17993
17998
|
var MAutocomplete_component = normalizeComponent(
|
|
17994
17999
|
autocomplete_MAutocompletevue_type_script_lang_js_,
|
|
17995
|
-
|
|
17996
|
-
|
|
18000
|
+
MAutocompletevue_type_template_id_6011a65e_render,
|
|
18001
|
+
MAutocompletevue_type_template_id_6011a65e_staticRenderFns,
|
|
17997
18002
|
false,
|
|
17998
18003
|
null,
|
|
17999
18004
|
null,
|