@webitel/ui-sdk 2.1.17 → 2.1.18
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/ui-sdk.common.js +15 -11
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +15 -11
- package/dist/ui-sdk.umd.js.map +1 -1
- package/dist/ui-sdk.umd.min.js +1 -1
- package/dist/ui-sdk.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/wt-select/mixins/multiselectMixin.js +2 -3
- package/src/components/molecules/wt-tags-input/wt-tags-input.vue +3 -1
package/dist/ui-sdk.common.js
CHANGED
|
@@ -21439,7 +21439,6 @@ var isEmpty = function isEmpty(value) {
|
|
|
21439
21439
|
|
|
21440
21440
|
|
|
21441
21441
|
|
|
21442
|
-
|
|
21443
21442
|
/* harmony default export */ var multiselectMixin = ({
|
|
21444
21443
|
mixins: [validationMixin, labelUsageMixin],
|
|
21445
21444
|
directives: {
|
|
@@ -21486,6 +21485,7 @@ var isEmpty = function isEmpty(value) {
|
|
|
21486
21485
|
return {
|
|
21487
21486
|
apiOptions: [],
|
|
21488
21487
|
isLoading: false,
|
|
21488
|
+
defaultOptionLabel: 'name',
|
|
21489
21489
|
searchParams: {
|
|
21490
21490
|
search: '',
|
|
21491
21491
|
page: 1
|
|
@@ -21529,7 +21529,6 @@ var isEmpty = function isEmpty(value) {
|
|
|
21529
21529
|
getOptionLabel: function getOptionLabel(_ref) {
|
|
21530
21530
|
var option = _ref.option,
|
|
21531
21531
|
optionLabel = _ref.optionLabel;
|
|
21532
|
-
var defaultOptionLabel = 'name';
|
|
21533
21532
|
if (optionLabel) return option[optionLabel];
|
|
21534
21533
|
|
|
21535
21534
|
if (option.locale) {
|
|
@@ -21537,7 +21536,7 @@ var isEmpty = function isEmpty(value) {
|
|
|
21537
21536
|
return this.$t(option.locale);
|
|
21538
21537
|
}
|
|
21539
21538
|
|
|
21540
|
-
return option[defaultOptionLabel] || option;
|
|
21539
|
+
return option[this.defaultOptionLabel] || option;
|
|
21541
21540
|
},
|
|
21542
21541
|
handleSearchChange: function handleSearchChange(search) {
|
|
21543
21542
|
if (!this.isApiMode) return;
|
|
@@ -22120,8 +22119,8 @@ var wt_tabs_component = componentNormalizer_normalizeComponent(
|
|
|
22120
22119
|
)
|
|
22121
22120
|
|
|
22122
22121
|
/* harmony default export */ var wt_tabs = (wt_tabs_component.exports);
|
|
22123
|
-
;// 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/molecules/wt-tags-input/wt-tags-input.vue?vue&type=template&id=
|
|
22124
|
-
var
|
|
22122
|
+
;// 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/molecules/wt-tags-input/wt-tags-input.vue?vue&type=template&id=0a8892b0&scoped=true&
|
|
22123
|
+
var wt_tags_inputvue_type_template_id_0a8892b0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"wt-tags-input",class:{
|
|
22125
22124
|
'wt-tags-input--disabled': _vm.disabled,
|
|
22126
22125
|
'wt-tags-input--invalid': _vm.invalid,
|
|
22127
22126
|
'wt-tags-input--loading': _vm.isLoading,
|
|
@@ -22133,7 +22132,7 @@ return [_c('wt-chip',{staticClass:"multiselect__custom-tag"},[_vm._v(" "+_vm._s(
|
|
|
22133
22132
|
return [_vm._t("option",function(){return [_vm._v(" "+_vm._s(_vm.getTagOptionLabel({ option: option, optionLabel: _vm.optionLabel }))+" ")]},null,{ option: option, optionLabel: _vm.optionLabel })]}},{key:"caret",fn:function(ref){
|
|
22134
22133
|
var toggle = ref.toggle;
|
|
22135
22134
|
return [_c('wt-icon-btn',{staticClass:"multiselect__select",attrs:{"disabled":_vm.disabled,"color":"active","icon":"arrow-down"},nativeOn:{"mousedown":function($event){$event.preventDefault();$event.stopPropagation();return toggle.apply(null, arguments)}}})]}},{key:"beforeList",fn:function(){return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isLoading),expression:"isLoading"}],staticClass:"multiselect__loading-wrapper"},[_c('wt-loader',{attrs:{"size":"sm"}})],1)]},proxy:true},(_vm.showIntersectionObserver)?{key:"afterList",fn:function(){return [_c('div',{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:(_vm.handleAfterListIntersect),expression:"handleAfterListIntersect"}]})]},proxy:true}:null],null,true)},'vue-multiselect',_vm.$attrs,false),_vm.listeners)),(_vm.isValidation)?_c('wt-input-info',{attrs:{"invalid":_vm.invalid}},[_vm._v(_vm._s(_vm.validationText)+" ")]):_vm._e()],1)}
|
|
22136
|
-
var
|
|
22135
|
+
var wt_tags_inputvue_type_template_id_0a8892b0_scoped_true_staticRenderFns = []
|
|
22137
22136
|
|
|
22138
22137
|
|
|
22139
22138
|
;// 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/molecules/wt-tags-input/wt-tags-input.vue?vue&type=script&lang=js&
|
|
@@ -22252,6 +22251,11 @@ var wt_tags_inputvue_type_template_id_0d9325ba_scoped_true_staticRenderFns = []
|
|
|
22252
22251
|
description: "\n False: \"tag\" method automatically pushes { optionLabel | \"name\", trackBy } object to value\n array and $emits \"input\" event.\n\n True: \"tag\" method only $emits \"tag\" event. Tag addition is responsibility of client side.\n "
|
|
22253
22252
|
}
|
|
22254
22253
|
},
|
|
22254
|
+
data: function data() {
|
|
22255
|
+
return {
|
|
22256
|
+
defaultOptionLabel: 'label'
|
|
22257
|
+
};
|
|
22258
|
+
},
|
|
22255
22259
|
methods: {
|
|
22256
22260
|
tag: function tag(searchQuery, id) {
|
|
22257
22261
|
var _ref,
|
|
@@ -22298,10 +22302,10 @@ var wt_tags_inputvue_type_template_id_0d9325ba_scoped_true_staticRenderFns = []
|
|
|
22298
22302
|
});
|
|
22299
22303
|
;// CONCATENATED MODULE: ./src/components/molecules/wt-tags-input/wt-tags-input.vue?vue&type=script&lang=js&
|
|
22300
22304
|
/* harmony default export */ var wt_tags_input_wt_tags_inputvue_type_script_lang_js_ = (wt_tags_inputvue_type_script_lang_js_);
|
|
22301
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/molecules/wt-tags-input/wt-tags-input.vue?vue&type=style&index=0&id=
|
|
22305
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-22[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/molecules/wt-tags-input/wt-tags-input.vue?vue&type=style&index=0&id=0a8892b0&lang=scss&scoped=true&
|
|
22302
22306
|
// extracted by mini-css-extract-plugin
|
|
22303
22307
|
|
|
22304
|
-
;// CONCATENATED MODULE: ./src/components/molecules/wt-tags-input/wt-tags-input.vue?vue&type=style&index=0&id=
|
|
22308
|
+
;// CONCATENATED MODULE: ./src/components/molecules/wt-tags-input/wt-tags-input.vue?vue&type=style&index=0&id=0a8892b0&lang=scss&scoped=true&
|
|
22305
22309
|
|
|
22306
22310
|
;// CONCATENATED MODULE: ./src/components/molecules/wt-tags-input/wt-tags-input.vue
|
|
22307
22311
|
|
|
@@ -22314,11 +22318,11 @@ var wt_tags_inputvue_type_template_id_0d9325ba_scoped_true_staticRenderFns = []
|
|
|
22314
22318
|
|
|
22315
22319
|
var wt_tags_input_component = componentNormalizer_normalizeComponent(
|
|
22316
22320
|
wt_tags_input_wt_tags_inputvue_type_script_lang_js_,
|
|
22317
|
-
|
|
22318
|
-
|
|
22321
|
+
wt_tags_inputvue_type_template_id_0a8892b0_scoped_true_render,
|
|
22322
|
+
wt_tags_inputvue_type_template_id_0a8892b0_scoped_true_staticRenderFns,
|
|
22319
22323
|
false,
|
|
22320
22324
|
null,
|
|
22321
|
-
"
|
|
22325
|
+
"0a8892b0",
|
|
22322
22326
|
null
|
|
22323
22327
|
|
|
22324
22328
|
)
|