@mozaic-ds/vue 0.21.0 → 0.21.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 +15 -7
- package/dist/mozaic-vue.common.js +15 -7
- package/dist/mozaic-vue.common.js.map +1 -1
- package/dist/mozaic-vue.umd.js +13 -5
- 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/listbox/MListBoxActions.vue +13 -6
|
@@ -23379,7 +23379,7 @@ module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(func
|
|
|
23379
23379
|
|
|
23380
23380
|
/***/ }),
|
|
23381
23381
|
|
|
23382
|
-
/***/
|
|
23382
|
+
/***/ 2153:
|
|
23383
23383
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
23384
23384
|
|
|
23385
23385
|
var defineProperty = (__webpack_require__(3070).f);
|
|
@@ -24412,7 +24412,7 @@ var createNonEnumerableProperty = __webpack_require__(8880);
|
|
|
24412
24412
|
var isPrototypeOf = __webpack_require__(7976);
|
|
24413
24413
|
var setPrototypeOf = __webpack_require__(7674);
|
|
24414
24414
|
var copyConstructorProperties = __webpack_require__(9920);
|
|
24415
|
-
var proxyAccessor = __webpack_require__(
|
|
24415
|
+
var proxyAccessor = __webpack_require__(2153);
|
|
24416
24416
|
var inheritIfRequired = __webpack_require__(9587);
|
|
24417
24417
|
var normalizeStringArgument = __webpack_require__(6277);
|
|
24418
24418
|
var installErrorCause = __webpack_require__(8340);
|
|
@@ -32769,14 +32769,15 @@ MLink.install = function (Vue) {
|
|
|
32769
32769
|
};
|
|
32770
32770
|
|
|
32771
32771
|
|
|
32772
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/listbox/MListBoxActions.vue?vue&type=template&id=
|
|
32773
|
-
var
|
|
32774
|
-
var
|
|
32772
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/listbox/MListBoxActions.vue?vue&type=template&id=54ca0bbc&
|
|
32773
|
+
var MListBoxActionsvue_type_template_id_54ca0bbc_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:"mc-listbox-options"},[_c('button',{staticClass:"mc-listbox-options__trigger",attrs:{"type":"button"},on:{"click":function($event){_vm.isOpen = !_vm.isOpen}}},[_c('m-icon',{attrs:{"name":"DisplayOptions24"}}),_c('span',{staticClass:"mc-listbox-options__trigger-label"},[_vm._v(_vm._s(_vm.triggerLabel))])],1),_c('div',{ref:"listbox",staticClass:"mc-listbox-options__container",class:{ 'is-open': _vm.isOpen, 'align-right': _vm.position == 'right' },attrs:{"role":"listbox","aria-labelledby":"listbox"}},_vm._l((_vm.listItems),function(list,i){return _c('ul',{key:("list" + i),staticClass:"mc-listbox-options__list"},_vm._l((list),function(item,j){return _c('li',{key:("item" + j),staticClass:"mc-listbox-options__tile",class:{ 'is-disabled': item.disabled }},[(item.icon)?_c('m-icon',{staticClass:"mc-listbox-options__icon",attrs:{"name":item.icon,"color":item.danger ? '#C61112' : '#71706B'}}):_vm._e(),_c(item.href ? 'a' : 'button',{tag:"component",staticClass:"mc-listbox-options__item",class:{ 'is-danger': item.danger, 'is-disabled': item.disabled },attrs:{"href":item.href ? item.href : null,"type":item.href ? null : 'button',"disabled":item.disabled ? true : null},on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.onClickItem(item, i, j)}}},[_vm._v(" "+_vm._s(item.text)+" ")])],1)}),0)}),0)])}
|
|
32774
|
+
var MListBoxActionsvue_type_template_id_54ca0bbc_staticRenderFns = []
|
|
32775
32775
|
|
|
32776
32776
|
|
|
32777
32777
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/listbox/MListBoxActions.vue?vue&type=script&lang=js&
|
|
32778
32778
|
|
|
32779
32779
|
|
|
32780
|
+
|
|
32780
32781
|
//
|
|
32781
32782
|
//
|
|
32782
32783
|
//
|
|
@@ -32891,6 +32892,13 @@ var MListBoxActionsvue_type_template_id_58621916_staticRenderFns = []
|
|
|
32891
32892
|
methods: {
|
|
32892
32893
|
onClickOutside: function onClickOutside() {
|
|
32893
32894
|
this.isOpen = false;
|
|
32895
|
+
},
|
|
32896
|
+
onClickItem: function onClickItem(item, listIndex, itemIndex) {
|
|
32897
|
+
var valToEmit = Object.assign({
|
|
32898
|
+
listIndex: listIndex,
|
|
32899
|
+
itemIndex: itemIndex
|
|
32900
|
+
}, item);
|
|
32901
|
+
this.$emit('update:itemSelected', valToEmit);
|
|
32894
32902
|
}
|
|
32895
32903
|
}
|
|
32896
32904
|
});
|
|
@@ -32912,8 +32920,8 @@ var MListBoxActionsvue_type_template_id_58621916_staticRenderFns = []
|
|
|
32912
32920
|
|
|
32913
32921
|
var MListBoxActions_component = normalizeComponent(
|
|
32914
32922
|
listbox_MListBoxActionsvue_type_script_lang_js_,
|
|
32915
|
-
|
|
32916
|
-
|
|
32923
|
+
MListBoxActionsvue_type_template_id_54ca0bbc_render,
|
|
32924
|
+
MListBoxActionsvue_type_template_id_54ca0bbc_staticRenderFns,
|
|
32917
32925
|
false,
|
|
32918
32926
|
null,
|
|
32919
32927
|
null,
|
|
@@ -23369,7 +23369,7 @@ module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(func
|
|
|
23369
23369
|
|
|
23370
23370
|
/***/ }),
|
|
23371
23371
|
|
|
23372
|
-
/***/
|
|
23372
|
+
/***/ 2153:
|
|
23373
23373
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
23374
23374
|
|
|
23375
23375
|
var defineProperty = (__webpack_require__(3070).f);
|
|
@@ -24402,7 +24402,7 @@ var createNonEnumerableProperty = __webpack_require__(8880);
|
|
|
24402
24402
|
var isPrototypeOf = __webpack_require__(7976);
|
|
24403
24403
|
var setPrototypeOf = __webpack_require__(7674);
|
|
24404
24404
|
var copyConstructorProperties = __webpack_require__(9920);
|
|
24405
|
-
var proxyAccessor = __webpack_require__(
|
|
24405
|
+
var proxyAccessor = __webpack_require__(2153);
|
|
24406
24406
|
var inheritIfRequired = __webpack_require__(9587);
|
|
24407
24407
|
var normalizeStringArgument = __webpack_require__(6277);
|
|
24408
24408
|
var installErrorCause = __webpack_require__(8340);
|
|
@@ -32759,14 +32759,15 @@ MLink.install = function (Vue) {
|
|
|
32759
32759
|
};
|
|
32760
32760
|
|
|
32761
32761
|
|
|
32762
|
-
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/listbox/MListBoxActions.vue?vue&type=template&id=
|
|
32763
|
-
var
|
|
32764
|
-
var
|
|
32762
|
+
;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/listbox/MListBoxActions.vue?vue&type=template&id=54ca0bbc&
|
|
32763
|
+
var MListBoxActionsvue_type_template_id_54ca0bbc_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:"mc-listbox-options"},[_c('button',{staticClass:"mc-listbox-options__trigger",attrs:{"type":"button"},on:{"click":function($event){_vm.isOpen = !_vm.isOpen}}},[_c('m-icon',{attrs:{"name":"DisplayOptions24"}}),_c('span',{staticClass:"mc-listbox-options__trigger-label"},[_vm._v(_vm._s(_vm.triggerLabel))])],1),_c('div',{ref:"listbox",staticClass:"mc-listbox-options__container",class:{ 'is-open': _vm.isOpen, 'align-right': _vm.position == 'right' },attrs:{"role":"listbox","aria-labelledby":"listbox"}},_vm._l((_vm.listItems),function(list,i){return _c('ul',{key:("list" + i),staticClass:"mc-listbox-options__list"},_vm._l((list),function(item,j){return _c('li',{key:("item" + j),staticClass:"mc-listbox-options__tile",class:{ 'is-disabled': item.disabled }},[(item.icon)?_c('m-icon',{staticClass:"mc-listbox-options__icon",attrs:{"name":item.icon,"color":item.danger ? '#C61112' : '#71706B'}}):_vm._e(),_c(item.href ? 'a' : 'button',{tag:"component",staticClass:"mc-listbox-options__item",class:{ 'is-danger': item.danger, 'is-disabled': item.disabled },attrs:{"href":item.href ? item.href : null,"type":item.href ? null : 'button',"disabled":item.disabled ? true : null},on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.onClickItem(item, i, j)}}},[_vm._v(" "+_vm._s(item.text)+" ")])],1)}),0)}),0)])}
|
|
32764
|
+
var MListBoxActionsvue_type_template_id_54ca0bbc_staticRenderFns = []
|
|
32765
32765
|
|
|
32766
32766
|
|
|
32767
32767
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/listbox/MListBoxActions.vue?vue&type=script&lang=js&
|
|
32768
32768
|
|
|
32769
32769
|
|
|
32770
|
+
|
|
32770
32771
|
//
|
|
32771
32772
|
//
|
|
32772
32773
|
//
|
|
@@ -32881,6 +32882,13 @@ var MListBoxActionsvue_type_template_id_58621916_staticRenderFns = []
|
|
|
32881
32882
|
methods: {
|
|
32882
32883
|
onClickOutside: function onClickOutside() {
|
|
32883
32884
|
this.isOpen = false;
|
|
32885
|
+
},
|
|
32886
|
+
onClickItem: function onClickItem(item, listIndex, itemIndex) {
|
|
32887
|
+
var valToEmit = Object.assign({
|
|
32888
|
+
listIndex: listIndex,
|
|
32889
|
+
itemIndex: itemIndex
|
|
32890
|
+
}, item);
|
|
32891
|
+
this.$emit('update:itemSelected', valToEmit);
|
|
32884
32892
|
}
|
|
32885
32893
|
}
|
|
32886
32894
|
});
|
|
@@ -32902,8 +32910,8 @@ var MListBoxActionsvue_type_template_id_58621916_staticRenderFns = []
|
|
|
32902
32910
|
|
|
32903
32911
|
var MListBoxActions_component = normalizeComponent(
|
|
32904
32912
|
listbox_MListBoxActionsvue_type_script_lang_js_,
|
|
32905
|
-
|
|
32906
|
-
|
|
32913
|
+
MListBoxActionsvue_type_template_id_54ca0bbc_render,
|
|
32914
|
+
MListBoxActionsvue_type_template_id_54ca0bbc_staticRenderFns,
|
|
32907
32915
|
false,
|
|
32908
32916
|
null,
|
|
32909
32917
|
null,
|