@webitel/ui-sdk 2.0.16-8 → 2.0.17
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/img/sprite/idle.svg +4 -0
- package/dist/img/sprite/index.js +1 -1
- package/dist/ui-sdk.common.js +31 -29
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +31 -29
- package/dist/ui-sdk.umd.js.map +1 -1
- package/dist/ui-sdk.umd.min.js +2 -2
- package/dist/ui-sdk.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/wt-icon/wt-icon.vue +5 -1
- package/src/components/molecules/wt-search-bar/wt-search-bar.vue +1 -0
- package/src/components/molecules/wt-select/wt-select.vue +5 -3
- package/src/locale/en/en.js +1 -0
- package/src/locale/ru/ru.js +1 -0
- package/src/locale/ua/ua.js +1 -0
- package/src/scripts/__tests__/caseConverters.spec.js +9 -0
- package/src/scripts/caseConverters.js +12 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14.5 7.5L12 9L9.5 7.5H14.5Z"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M18 3C18.5523 3 19 3.44772 19 4C19 4.55228 18.5523 5 18 5H17.5V7.72377C17.5 8.74947 16.976 9.70408 16.1106 10.2548L13.3681 12L16.1106 13.7452C16.976 14.2959 17.5 15.2505 17.5 16.2762V19H18C18.5523 19 19 19.4477 19 20C19 20.5523 18.5523 21 18 21H6C5.44772 21 5 20.5523 5 20C5 19.4477 5.44772 19 6 19H6.5V16.2762C6.5 15.2505 7.02403 14.2959 7.88937 13.7452L10.6319 12L7.88937 10.2548C7.02403 9.70408 6.5 8.74947 6.5 7.72377V5H6C5.44772 5 5 4.55228 5 4C5 3.44772 5.44772 3 6 3H18ZM15.5 18.75V16.2762C15.5 15.9343 15.3253 15.6161 15.0369 15.4326L12 13.5L8.96312 15.4326C8.67468 15.6161 8.5 15.9343 8.5 16.2762V18.75L12 17L15.5 18.75ZM15.5 5H8.5V7.72377C8.5 8.06567 8.67468 8.38387 8.96312 8.56743L12 10.5L15.0369 8.56743C15.3253 8.38387 15.5 8.06567 15.5 7.72377V5Z"/>
|
|
4
|
+
</svg>
|
package/dist/img/sprite/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./account.svg";import"./adfs.svg";import"./app-navigator.svg";import"./arrow-down.svg";import"./arrow-left.svg";import"./arrow-right.svg";import"./arrow-up.svg";import"./attach.svg";import"./attention.svg";import"./back.svg";import"./bell.svg";import"./bell-badged.svg";import"./bucket.svg";import"./calendar.svg";import"./call.svg";import"./call--filled.svg";import"./call-add-to.svg";import"./call-add-to--filled.svg";import"./call-disconnect.svg";import"./call-disconnect--filled.svg";import"./call-end.svg";import"./call-end--filled.svg";import"./call-inbound.svg";import"./call-inbound--filled.svg";import"./call-missed.svg";import"./call-missed--filled.svg";import"./call-outbound.svg";import"./call-outbound--filled.svg";import"./call-ringing.svg";import"./call-ringing--filled.svg";import"./call-transfer.svg";import"./call-transfer--filled.svg";import"./chat.svg";import"./chat--filled.svg";import"./chat-emoji.svg";import"./chat-end.svg";import"./chat-end--filled.svg";import"./chat-group.svg";import"./chat-join.svg";import"./chat-message-status-read.svg";import"./chat-message-status-sent.svg";import"./chat-quick-response.svg";import"./chat-quick-response--filled.svg";import"./chat-reply.svg";import"./chat-send.svg";import"./chat-transfer.svg";import"./chat-transfer--filled.svg";import"./job.svg";import"./job--accept.svg";import"./job--end.svg";import"./checkbox.svg";import"./checkbox--checked.svg";import"./checkbox--checked--filled.svg";import"./clear.svg";import"./close.svg";import"./close--filled.svg";import"./collapse.svg";import"./column-select.svg";import"./contacts.svg";import"./copy.svg";import"./docs.svg";import"./download.svg";import"./edit.svg";import"./expand.svg";import"./eye--closed.svg";import"./eye--opened.svg";import"./filter.svg";import"./generate.svg";import"./google.svg";import"./history.svg";import"./hold.svg";import"./lock.svg";import"./logout.svg";import"./menu.svg";import"./mail.svg";import"./mail--color.svg";import"./messenger-facebook.svg";import"./messenger-facebook--filled.svg";import"./messenger-infobip.svg";import"./messenger-telegram.svg";import"./messenger-telegram--filled.svg";import"./messenger-viber.svg";import"./messenger-viber--filled.svg";import"./messenger-web-chat.svg";import"./messenger-whatsapp.svg";import"./messenger-whatsapp--filled.svg";import"./messenger-messenger.svg";import"./instagram.svg";import"./mic.svg";import"./mic-muted.svg";import"./move.svg";import"./note.svg";import"./numpad.svg";import"./pause.svg";import"./play.svg";import"./plus.svg";import"./prompter.svg";import"./queue-member.svg";import"./radio.svg";import"./radio--checked.svg";import"./rec.svg";import"./rec-off.svg";import"./refresh.svg";import"./rounded-info.svg";import"./done.svg";import"./search.svg";import"./send-arrow.svg";import"./settings.svg";import"./sort-arrow-down.svg";import"./sort-arrow-up.svg";import"./sound-off.svg";import"./sound-on.svg";import"./star.svg";import"./star--filled.svg";import"./stop.svg";import"./tick.svg";import"./upload.svg";import"./video-off.svg";import"./video.svg";import"./zoom-in.svg";import"./zoom-out.svg";import"./tts-download.svg";import"./stt.svg";import"./stt-download.svg";import"./stt-search.svg";
|
|
1
|
+
import"./account.svg";import"./adfs.svg";import"./app-navigator.svg";import"./arrow-down.svg";import"./arrow-left.svg";import"./arrow-right.svg";import"./arrow-up.svg";import"./attach.svg";import"./attention.svg";import"./back.svg";import"./bell.svg";import"./bell-badged.svg";import"./bucket.svg";import"./calendar.svg";import"./call.svg";import"./call--filled.svg";import"./call-add-to.svg";import"./call-add-to--filled.svg";import"./call-disconnect.svg";import"./call-disconnect--filled.svg";import"./call-end.svg";import"./call-end--filled.svg";import"./call-inbound.svg";import"./call-inbound--filled.svg";import"./call-missed.svg";import"./call-missed--filled.svg";import"./call-outbound.svg";import"./call-outbound--filled.svg";import"./call-ringing.svg";import"./call-ringing--filled.svg";import"./call-transfer.svg";import"./call-transfer--filled.svg";import"./chat.svg";import"./chat--filled.svg";import"./chat-emoji.svg";import"./chat-end.svg";import"./chat-end--filled.svg";import"./chat-group.svg";import"./chat-join.svg";import"./chat-message-status-read.svg";import"./chat-message-status-sent.svg";import"./chat-quick-response.svg";import"./chat-quick-response--filled.svg";import"./chat-reply.svg";import"./chat-send.svg";import"./chat-transfer.svg";import"./chat-transfer--filled.svg";import"./job.svg";import"./job--accept.svg";import"./job--end.svg";import"./checkbox.svg";import"./checkbox--checked.svg";import"./checkbox--checked--filled.svg";import"./clear.svg";import"./close.svg";import"./close--filled.svg";import"./collapse.svg";import"./column-select.svg";import"./contacts.svg";import"./copy.svg";import"./docs.svg";import"./download.svg";import"./edit.svg";import"./expand.svg";import"./eye--closed.svg";import"./eye--opened.svg";import"./filter.svg";import"./generate.svg";import"./google.svg";import"./history.svg";import"./hold.svg";import"./lock.svg";import"./logout.svg";import"./menu.svg";import"./mail.svg";import"./mail--color.svg";import"./messenger-facebook.svg";import"./messenger-facebook--filled.svg";import"./messenger-infobip.svg";import"./messenger-telegram.svg";import"./messenger-telegram--filled.svg";import"./messenger-viber.svg";import"./messenger-viber--filled.svg";import"./messenger-web-chat.svg";import"./messenger-whatsapp.svg";import"./messenger-whatsapp--filled.svg";import"./messenger-messenger.svg";import"./instagram.svg";import"./mic.svg";import"./mic-muted.svg";import"./move.svg";import"./note.svg";import"./numpad.svg";import"./pause.svg";import"./play.svg";import"./plus.svg";import"./prompter.svg";import"./queue-member.svg";import"./radio.svg";import"./radio--checked.svg";import"./rec.svg";import"./rec-off.svg";import"./refresh.svg";import"./rounded-info.svg";import"./done.svg";import"./search.svg";import"./send-arrow.svg";import"./settings.svg";import"./sort-arrow-down.svg";import"./sort-arrow-up.svg";import"./sound-off.svg";import"./sound-on.svg";import"./star.svg";import"./star--filled.svg";import"./stop.svg";import"./tick.svg";import"./upload.svg";import"./video-off.svg";import"./video.svg";import"./zoom-in.svg";import"./zoom-out.svg";import"./tts-download.svg";import"./stt.svg";import"./stt-download.svg";import"./stt-search.svg";import"./idle.svg";
|
package/dist/ui-sdk.common.js
CHANGED
|
@@ -15609,13 +15609,13 @@ var wt_badge_component = componentNormalizer_normalizeComponent(
|
|
|
15609
15609
|
)
|
|
15610
15610
|
|
|
15611
15611
|
/* harmony default export */ var wt_badge = (wt_badge_component.exports);
|
|
15612
|
-
;// 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/atoms/wt-icon/wt-icon.vue?vue&type=template&id=
|
|
15613
|
-
var
|
|
15612
|
+
;// 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/atoms/wt-icon/wt-icon.vue?vue&type=template&id=8fb87ace&scoped=true&
|
|
15613
|
+
var wt_iconvue_type_template_id_8fb87ace_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('i',{staticClass:"wt-icon",class:[
|
|
15614
15614
|
("wt-icon--size-" + _vm.size),
|
|
15615
15615
|
("wt-icon--color-" + _vm.color),
|
|
15616
15616
|
{ 'wt-icon--disabled': _vm.disabled }
|
|
15617
15617
|
]},[_c('svg',{staticClass:"wt-icon__icon"},[_c('use',{attrs:{"xlink:href":_vm.iconName}})])])}
|
|
15618
|
-
var
|
|
15618
|
+
var wt_iconvue_type_template_id_8fb87ace_scoped_true_staticRenderFns = []
|
|
15619
15619
|
|
|
15620
15620
|
|
|
15621
15621
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
@@ -15652,7 +15652,7 @@ var es_array_concat = __webpack_require__(2222);
|
|
|
15652
15652
|
color: {
|
|
15653
15653
|
type: String,
|
|
15654
15654
|
default: 'default',
|
|
15655
|
-
options: ['default', 'contrast', 'active', 'accent', 'disabled', 'success', 'danger', 'transfer', 'job', 'hold', 'secondary-50']
|
|
15655
|
+
options: ['default', 'contrast', 'active', 'accent', 'secondary', 'disabled', 'success', 'danger', 'transfer', 'job', 'hold', 'secondary-50']
|
|
15656
15656
|
},
|
|
15657
15657
|
iconPrefix: {
|
|
15658
15658
|
type: String,
|
|
@@ -15673,10 +15673,10 @@ var es_array_concat = __webpack_require__(2222);
|
|
|
15673
15673
|
});
|
|
15674
15674
|
;// CONCATENATED MODULE: ./src/components/atoms/wt-icon/wt-icon.vue?vue&type=script&lang=js&
|
|
15675
15675
|
/* harmony default export */ var wt_icon_wt_iconvue_type_script_lang_js_ = (wt_iconvue_type_script_lang_js_);
|
|
15676
|
-
;// 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/atoms/wt-icon/wt-icon.vue?vue&type=style&index=0&id=
|
|
15676
|
+
;// 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/atoms/wt-icon/wt-icon.vue?vue&type=style&index=0&id=8fb87ace&lang=scss&scoped=true&
|
|
15677
15677
|
// extracted by mini-css-extract-plugin
|
|
15678
15678
|
|
|
15679
|
-
;// CONCATENATED MODULE: ./src/components/atoms/wt-icon/wt-icon.vue?vue&type=style&index=0&id=
|
|
15679
|
+
;// CONCATENATED MODULE: ./src/components/atoms/wt-icon/wt-icon.vue?vue&type=style&index=0&id=8fb87ace&lang=scss&scoped=true&
|
|
15680
15680
|
|
|
15681
15681
|
;// CONCATENATED MODULE: ./src/components/atoms/wt-icon/wt-icon.vue
|
|
15682
15682
|
|
|
@@ -15689,11 +15689,11 @@ var es_array_concat = __webpack_require__(2222);
|
|
|
15689
15689
|
|
|
15690
15690
|
var wt_icon_component = componentNormalizer_normalizeComponent(
|
|
15691
15691
|
wt_icon_wt_iconvue_type_script_lang_js_,
|
|
15692
|
-
|
|
15693
|
-
|
|
15692
|
+
wt_iconvue_type_template_id_8fb87ace_scoped_true_render,
|
|
15693
|
+
wt_iconvue_type_template_id_8fb87ace_scoped_true_staticRenderFns,
|
|
15694
15694
|
false,
|
|
15695
15695
|
null,
|
|
15696
|
-
"
|
|
15696
|
+
"8fb87ace",
|
|
15697
15697
|
null
|
|
15698
15698
|
|
|
15699
15699
|
)
|
|
@@ -20836,11 +20836,11 @@ var wt_radio_component = componentNormalizer_normalizeComponent(
|
|
|
20836
20836
|
)
|
|
20837
20837
|
|
|
20838
20838
|
/* harmony default export */ var wt_radio = (wt_radio_component.exports);
|
|
20839
|
-
;// 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-search-bar/wt-search-bar.vue?vue&type=template&id=
|
|
20840
|
-
var
|
|
20839
|
+
;// 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-search-bar/wt-search-bar.vue?vue&type=template&id=a31ce5f4&scoped=true&
|
|
20840
|
+
var wt_search_barvue_type_template_id_a31ce5f4_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"wt-search-bar",class:{
|
|
20841
20841
|
'wt-search-bar--outline': _vm.outline,
|
|
20842
20842
|
}},[_c('div',{staticClass:"wt-search-bar__wrapper"},[_c('input',_vm._g({staticClass:"wt-search-bar__input",attrs:{"placeholder":_vm.searchBarPlaceholder,"type":"search"},domProps:{"value":_vm.value}},_vm.listeners)),_c('div',{staticClass:"wt-search-bar__search-icon"},[_vm._t("search-icon",function(){return [_c('wt-icon',{attrs:{"icon":"search"}})]})],2),_c('wt-icon-btn',{staticClass:"wt-search-bar__reset-icon-btn",class:{ 'hidden': !_vm.value },attrs:{"icon":"close"},on:{"click":function($event){return _vm.$emit('input', '')}}})],1)])}
|
|
20843
|
-
var
|
|
20843
|
+
var wt_search_barvue_type_template_id_a31ce5f4_scoped_true_staticRenderFns = []
|
|
20844
20844
|
|
|
20845
20845
|
|
|
20846
20846
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
|
|
@@ -20968,10 +20968,10 @@ var debounce = function debounce(method) {
|
|
|
20968
20968
|
});
|
|
20969
20969
|
;// CONCATENATED MODULE: ./src/components/molecules/wt-search-bar/wt-search-bar.vue?vue&type=script&lang=js&
|
|
20970
20970
|
/* harmony default export */ var wt_search_bar_wt_search_barvue_type_script_lang_js_ = (wt_search_barvue_type_script_lang_js_);
|
|
20971
|
-
;// 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-search-bar/wt-search-bar.vue?vue&type=style&index=0&id=
|
|
20971
|
+
;// 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-search-bar/wt-search-bar.vue?vue&type=style&index=0&id=a31ce5f4&lang=scss&scoped=true&
|
|
20972
20972
|
// extracted by mini-css-extract-plugin
|
|
20973
20973
|
|
|
20974
|
-
;// CONCATENATED MODULE: ./src/components/molecules/wt-search-bar/wt-search-bar.vue?vue&type=style&index=0&id=
|
|
20974
|
+
;// CONCATENATED MODULE: ./src/components/molecules/wt-search-bar/wt-search-bar.vue?vue&type=style&index=0&id=a31ce5f4&lang=scss&scoped=true&
|
|
20975
20975
|
|
|
20976
20976
|
;// CONCATENATED MODULE: ./src/components/molecules/wt-search-bar/wt-search-bar.vue
|
|
20977
20977
|
|
|
@@ -20984,32 +20984,32 @@ var debounce = function debounce(method) {
|
|
|
20984
20984
|
|
|
20985
20985
|
var wt_search_bar_component = componentNormalizer_normalizeComponent(
|
|
20986
20986
|
wt_search_bar_wt_search_barvue_type_script_lang_js_,
|
|
20987
|
-
|
|
20988
|
-
|
|
20987
|
+
wt_search_barvue_type_template_id_a31ce5f4_scoped_true_render,
|
|
20988
|
+
wt_search_barvue_type_template_id_a31ce5f4_scoped_true_staticRenderFns,
|
|
20989
20989
|
false,
|
|
20990
20990
|
null,
|
|
20991
|
-
"
|
|
20991
|
+
"a31ce5f4",
|
|
20992
20992
|
null
|
|
20993
20993
|
|
|
20994
20994
|
)
|
|
20995
20995
|
|
|
20996
20996
|
/* harmony default export */ var wt_search_bar = (wt_search_bar_component.exports);
|
|
20997
|
-
;// 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-select/wt-select.vue?vue&type=template&id=
|
|
20998
|
-
var
|
|
20997
|
+
;// 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-select/wt-select.vue?vue&type=template&id=2205626a&scoped=true&
|
|
20998
|
+
var wt_selectvue_type_template_id_2205626a_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"wt-select",class:{
|
|
20999
20999
|
'wt-select--disabled': _vm.disabled,
|
|
21000
21000
|
'wt-select--invalid': _vm.invalid,
|
|
21001
21001
|
'wt-select--clearable': _vm.clearable,
|
|
21002
21002
|
'wt-select--loading': _vm.isLoading,
|
|
21003
21003
|
}},[(_vm.hasLabel)?_c('wt-label',_vm._b({staticClass:"wt-select__label",attrs:{"disabled":_vm.disabled,"invalid":_vm.invalid}},'wt-label',_vm.labelProps,false),[_vm._t("label",function(){return [_vm._v(_vm._s(_vm.requiredLabel))]},null,{ label: _vm.label })],2):_vm._e(),_c('vue-multiselect',_vm._g(_vm._b({ref:"vue-multiselect",staticClass:"wt-select__select",attrs:{"allow-empty":_vm.allowEmpty,"disabled":_vm.disabled,"internal-search":!_vm.searchMethod,"label":_vm.trackBy ? _vm.optionLabel : null,"limit":1,"limit-text":function (count) { return ("+" + count); },"loading":false,"options":_vm.selectOptions,"placeholder":_vm.placeholder || _vm.label,"track-by":_vm.trackBy,"value":_vm.selectValue},scopedSlots:_vm._u([{key:"tag",fn:function(ref){
|
|
21004
21004
|
var option = ref.option;
|
|
21005
|
-
return [_c('span',{staticClass:"multiselect__custom-tag"},[_vm._v(" "+_vm._s(option
|
|
21005
|
+
return [_c('span',{staticClass:"multiselect__custom-tag"},[_vm._v(" "+_vm._s(_vm.getOptionLabel({ option: option, optionLabel: _vm.optionLabel }))+" ")])]}},{key:"singleLabel",fn:function(ref){
|
|
21006
21006
|
var option = ref.option;
|
|
21007
21007
|
return [_vm._t("singleLabel",function(){return [_c('span',{staticClass:"multiselect__single-label"},[_vm._v(" "+_vm._s(_vm.getOptionLabel({ option: option, optionLabel: _vm.optionLabel }))+" ")])]},null,{ option: option, optionLabel: _vm.optionLabel })]}},{key:"option",fn:function(ref){
|
|
21008
21008
|
var option = ref.option;
|
|
21009
21009
|
return [_vm._t("option",function(){return [_c('span',[_vm._v(" "+_vm._s(_vm.getOptionLabel({ option: option, optionLabel: _vm.optionLabel }))+" ")])]},null,{ option: option, optionLabel: _vm.optionLabel })]}},{key:"caret",fn:function(ref){
|
|
21010
21010
|
var toggle = ref.toggle;
|
|
21011
21011
|
return [_c('wt-icon-btn',{staticClass:"wt-select__arrow-caret",attrs:{"disabled":_vm.disabled,"icon":"arrow-down"},nativeOn:{"mousedown":function($event){$event.preventDefault();$event.stopPropagation();return toggle.apply(null, arguments)}}})]}},{key:"clear",fn:function(ref){return [(_vm.clearable)?_c('wt-icon-btn',{staticClass:"wt-select__clear",class:{ 'hidden': !_vm.isValue },attrs:{"disabled":_vm.disabled,"icon":"close"},on:{"click":_vm.clearValue}}):_vm._e()]}}],null,true)},'vue-multiselect',_vm.$attrs,false),_vm.listeners),[_c('template',{slot:"beforeList"},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isLoading),expression:"isLoading"}],staticClass:"wt-select__loading-wrapper"},[_c('wt-loader',{attrs:{"size":"sm"}})],1)]),(_vm.showIntersectionObserver)?_c('template',{slot:"afterList"},[_c('div',{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:(_vm.handleAfterListIntersect),expression:"handleAfterListIntersect"}]})]):_vm._e()],2),(_vm.isValidation)?_c('wt-input-info',{attrs:{"invalid":_vm.invalid}},[_vm._v(_vm._s(_vm.validationText)+" ")]):_vm._e()],1)}
|
|
21012
|
-
var
|
|
21012
|
+
var wt_selectvue_type_template_id_2205626a_scoped_true_staticRenderFns = []
|
|
21013
21013
|
|
|
21014
21014
|
|
|
21015
21015
|
// EXTERNAL MODULE: ./node_modules/vue-multiselect/dist/vue-multiselect.min.js
|
|
@@ -21342,6 +21342,7 @@ var isEmpty = function isEmpty(value) {
|
|
|
21342
21342
|
|
|
21343
21343
|
|
|
21344
21344
|
|
|
21345
|
+
|
|
21345
21346
|
//
|
|
21346
21347
|
//
|
|
21347
21348
|
//
|
|
@@ -21481,8 +21482,7 @@ var isEmpty = function isEmpty(value) {
|
|
|
21481
21482
|
default: 'id'
|
|
21482
21483
|
},
|
|
21483
21484
|
optionLabel: {
|
|
21484
|
-
type: String
|
|
21485
|
-
default: 'name'
|
|
21485
|
+
type: String
|
|
21486
21486
|
},
|
|
21487
21487
|
searchMethod: {
|
|
21488
21488
|
type: Function
|
|
@@ -21560,13 +21560,15 @@ var isEmpty = function isEmpty(value) {
|
|
|
21560
21560
|
getOptionLabel: function getOptionLabel(_ref) {
|
|
21561
21561
|
var option = _ref.option,
|
|
21562
21562
|
optionLabel = _ref.optionLabel;
|
|
21563
|
+
var defaultOptionLabel = 'name';
|
|
21564
|
+
if (optionLabel) return option[optionLabel];
|
|
21563
21565
|
|
|
21564
21566
|
if (option.locale) {
|
|
21565
21567
|
if (Array.isArray(option.locale)) return this.$tc.apply(this, _toConsumableArray(option.locale));
|
|
21566
21568
|
return this.$t(option.locale);
|
|
21567
21569
|
}
|
|
21568
21570
|
|
|
21569
|
-
return option[
|
|
21571
|
+
return option[defaultOptionLabel] || option;
|
|
21570
21572
|
},
|
|
21571
21573
|
handleSearchChange: function handleSearchChange(search) {
|
|
21572
21574
|
if (!this.isApiMode) return;
|
|
@@ -21645,10 +21647,10 @@ var isEmpty = function isEmpty(value) {
|
|
|
21645
21647
|
});
|
|
21646
21648
|
;// CONCATENATED MODULE: ./src/components/molecules/wt-select/wt-select.vue?vue&type=script&lang=js&
|
|
21647
21649
|
/* harmony default export */ var wt_select_wt_selectvue_type_script_lang_js_ = (wt_selectvue_type_script_lang_js_);
|
|
21648
|
-
;// 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-select/wt-select.vue?vue&type=style&index=0&id=
|
|
21650
|
+
;// 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-select/wt-select.vue?vue&type=style&index=0&id=2205626a&lang=scss&scoped=true&
|
|
21649
21651
|
// extracted by mini-css-extract-plugin
|
|
21650
21652
|
|
|
21651
|
-
;// CONCATENATED MODULE: ./src/components/molecules/wt-select/wt-select.vue?vue&type=style&index=0&id=
|
|
21653
|
+
;// CONCATENATED MODULE: ./src/components/molecules/wt-select/wt-select.vue?vue&type=style&index=0&id=2205626a&lang=scss&scoped=true&
|
|
21652
21654
|
|
|
21653
21655
|
;// CONCATENATED MODULE: ./src/components/molecules/wt-select/wt-select.vue
|
|
21654
21656
|
|
|
@@ -21661,11 +21663,11 @@ var isEmpty = function isEmpty(value) {
|
|
|
21661
21663
|
|
|
21662
21664
|
var wt_select_component = componentNormalizer_normalizeComponent(
|
|
21663
21665
|
wt_select_wt_selectvue_type_script_lang_js_,
|
|
21664
|
-
|
|
21665
|
-
|
|
21666
|
+
wt_selectvue_type_template_id_2205626a_scoped_true_render,
|
|
21667
|
+
wt_selectvue_type_template_id_2205626a_scoped_true_staticRenderFns,
|
|
21666
21668
|
false,
|
|
21667
21669
|
null,
|
|
21668
|
-
"
|
|
21670
|
+
"2205626a",
|
|
21669
21671
|
null
|
|
21670
21672
|
|
|
21671
21673
|
)
|