@webitel/ui-sdk 2.0.15 → 2.0.16
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/index.js +1 -1
- package/dist/img/sprite/stt.svg +4 -0
- package/dist/ui-sdk.common.js +72 -0
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +72 -0
- 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/index.js +2 -0
- package/src/components/organisms/wt-headline-nav/__tests__/wt-headline-nav.spec.js +13 -0
- package/src/components/organisms/wt-headline-nav/wt-headline-nav.vue +85 -0
- package/src/css/components/_components.scss +1 -0
- package/src/css/components/organisms/wt-headline-nav/_variables.scss +5 -0
- package/src/enums/WebitelApplications/AdminSections.enum.js +1 -0
- package/src/locale/en/en.js +3 -0
- package/src/locale/ru/ru.js +3 -0
- package/src/locale/ua/ua.js +3 -0
- package/src/modules/Userinfo/classes/ApplicationsAccess.js +4 -0
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";
|
|
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";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.8787 2.87868L19.1213 5.12132C19.6839 5.68393 20 6.44699 20 7.24264V11C20 11.5523 19.5523 12 19 12C18.4477 12 18 11.5523 18 11V8H16C14.8954 8 14 7.10457 14 6V4H7C6.44771 4 6 4.44772 6 5V19C6 19.5523 6.44771 20 7 20H9C9.55228 20 10 20.4477 10 21C10 21.5523 9.55228 22 9 22H7C5.34315 22 4 20.6569 4 19V5C4 3.34315 5.34315 2 7 2H14.7574C15.553 2 16.3161 2.31607 16.8787 2.87868ZM16 4.82843V6H17.1716L16 4.82843Z"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.4472 13.7236C17.5894 13.7947 17.7096 13.897 17.8013 14.0197C17.8655 14.0068 17.932 14 18 14H21C21.5523 14 22 14.4477 22 15V19C22 19.5523 21.5523 20 21 20H18C17.932 20 17.8655 19.9932 17.8013 19.9803C17.7097 20.103 17.5894 20.2053 17.4472 20.2764L13.4472 22.2764C12.7823 22.6088 12 22.1253 12 21.382V12.618C12 11.8747 12.7823 11.3912 13.4472 11.7236L17.4472 13.7236ZM16 15.2361V18.7639L14 19.7639V14.2361L16 15.2361ZM20 16V18H19V16H20Z"/>
|
|
4
|
+
</svg>
|
package/dist/ui-sdk.common.js
CHANGED
|
@@ -23591,6 +23591,76 @@ var wt_headline_component = componentNormalizer_normalizeComponent(
|
|
|
23591
23591
|
)
|
|
23592
23592
|
|
|
23593
23593
|
/* harmony default export */ var wt_headline = (wt_headline_component.exports);
|
|
23594
|
+
;// 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/organisms/wt-headline-nav/wt-headline-nav.vue?vue&type=template&id=cb69ef3c&scoped=true&
|
|
23595
|
+
var wt_headline_navvue_type_template_id_cb69ef3c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:"wt-headline-nav"},_vm._l((_vm.path),function(singlePath,key){return _c('div',{key:key,staticClass:"wt-headline-nav__wrapper"},[(key !== 0)?_c('span',{staticClass:"wt-headline-nav__indicator"}):_vm._e(),_c('h1',{staticClass:"wt-headline-nav__title"},[(singlePath.route)?_c('router-link',{staticClass:"wt-headline-nav__text wt-headline-nav__title-link",attrs:{"to":singlePath.route}},[_vm._v(_vm._s(singlePath.name)+" ")]):_c('span',{staticClass:"wt-headline-nav__text"},[_vm._v(_vm._s(singlePath.name))])],1)])}),0)}
|
|
23596
|
+
var wt_headline_navvue_type_template_id_cb69ef3c_scoped_true_staticRenderFns = []
|
|
23597
|
+
|
|
23598
|
+
|
|
23599
|
+
;// 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/organisms/wt-headline-nav/wt-headline-nav.vue?vue&type=script&lang=js&
|
|
23600
|
+
//
|
|
23601
|
+
//
|
|
23602
|
+
//
|
|
23603
|
+
//
|
|
23604
|
+
//
|
|
23605
|
+
//
|
|
23606
|
+
//
|
|
23607
|
+
//
|
|
23608
|
+
//
|
|
23609
|
+
//
|
|
23610
|
+
//
|
|
23611
|
+
//
|
|
23612
|
+
//
|
|
23613
|
+
//
|
|
23614
|
+
//
|
|
23615
|
+
//
|
|
23616
|
+
//
|
|
23617
|
+
//
|
|
23618
|
+
//
|
|
23619
|
+
//
|
|
23620
|
+
//
|
|
23621
|
+
/* harmony default export */ var wt_headline_navvue_type_script_lang_js_ = ({
|
|
23622
|
+
name: 'wt-headline-nav',
|
|
23623
|
+
props: {
|
|
23624
|
+
path: {
|
|
23625
|
+
type: Array,
|
|
23626
|
+
required: true // PATH EXAMPLE
|
|
23627
|
+
// default: () => [
|
|
23628
|
+
// { name: 'directory' },
|
|
23629
|
+
// { name: 'users', route: '/directory/users' },
|
|
23630
|
+
// { name: 'adm', route: '/directory/users/3' },
|
|
23631
|
+
// ],
|
|
23632
|
+
|
|
23633
|
+
}
|
|
23634
|
+
}
|
|
23635
|
+
});
|
|
23636
|
+
;// CONCATENATED MODULE: ./src/components/organisms/wt-headline-nav/wt-headline-nav.vue?vue&type=script&lang=js&
|
|
23637
|
+
/* harmony default export */ var wt_headline_nav_wt_headline_navvue_type_script_lang_js_ = (wt_headline_navvue_type_script_lang_js_);
|
|
23638
|
+
;// 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/organisms/wt-headline-nav/wt-headline-nav.vue?vue&type=style&index=0&id=cb69ef3c&lang=scss&scoped=true&
|
|
23639
|
+
// extracted by mini-css-extract-plugin
|
|
23640
|
+
|
|
23641
|
+
;// CONCATENATED MODULE: ./src/components/organisms/wt-headline-nav/wt-headline-nav.vue?vue&type=style&index=0&id=cb69ef3c&lang=scss&scoped=true&
|
|
23642
|
+
|
|
23643
|
+
;// CONCATENATED MODULE: ./src/components/organisms/wt-headline-nav/wt-headline-nav.vue
|
|
23644
|
+
|
|
23645
|
+
|
|
23646
|
+
|
|
23647
|
+
;
|
|
23648
|
+
|
|
23649
|
+
|
|
23650
|
+
/* normalize component */
|
|
23651
|
+
|
|
23652
|
+
var wt_headline_nav_component = componentNormalizer_normalizeComponent(
|
|
23653
|
+
wt_headline_nav_wt_headline_navvue_type_script_lang_js_,
|
|
23654
|
+
wt_headline_navvue_type_template_id_cb69ef3c_scoped_true_render,
|
|
23655
|
+
wt_headline_navvue_type_template_id_cb69ef3c_scoped_true_staticRenderFns,
|
|
23656
|
+
false,
|
|
23657
|
+
null,
|
|
23658
|
+
"cb69ef3c",
|
|
23659
|
+
null
|
|
23660
|
+
|
|
23661
|
+
)
|
|
23662
|
+
|
|
23663
|
+
/* harmony default export */ var wt_headline_nav = (wt_headline_nav_component.exports);
|
|
23594
23664
|
;// 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/organisms/wt-navigation-bar/wt-navigation-bar.vue?vue&type=template&id=5e445474&scoped=true&
|
|
23595
23665
|
var wt_navigation_barvue_type_template_id_5e445474_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{directives:[{name:"clickaway",rawName:"v-clickaway",value:(_vm.close),expression:"close"}],staticClass:"wt-navigation-bar"},[_c('wt-icon-btn',{staticClass:"wt-navigation-bar__menu-btn",class:{'active': _vm.isOpened},attrs:{"icon":"menu"},on:{"click":function($event){_vm.isOpened = !_vm.isOpened}}}),_c('transition',{attrs:{"name":"fade"}},[_c('nav',{directives:[{name:"show",rawName:"v-show",value:(_vm.isOpened),expression:"isOpened"}],staticClass:"wt-navigation-bar__nav"},[_c('header',{staticClass:"wt-navigation-bar__nav-header"},[(_vm.currentApp === 'admin')?_c('img',{staticClass:"wt-navigation-bar__app-pic",attrs:{"alt":"admin","src":__webpack_require__(5199)}}):_vm._e(),(_vm.currentApp === 'agent')?_c('img',{staticClass:"wt-navigation-bar__app-pic",attrs:{"alt":"agent","src":__webpack_require__(9487)}}):_vm._e(),(_vm.currentApp === 'audit')?_c('img',{staticClass:"wt-navigation-bar__app-pic",attrs:{"alt":"audit","src":__webpack_require__(2239)}}):_vm._e(),(_vm.currentApp === 'history')?_c('img',{staticClass:"wt-navigation-bar__app-pic",attrs:{"alt":"history","src":__webpack_require__(2963)}}):_vm._e(),(_vm.currentApp === 'supervisor')?_c('img',{staticClass:"wt-navigation-bar__app-pic",attrs:{"alt":"supervisor","src":__webpack_require__(1200)}}):_vm._e(),_c('wt-icon-btn',{staticClass:"wt-navigation-bar__nav-close",attrs:{"icon":"close"},on:{"click":function($event){_vm.isOpened = false}}})],1),_c('wt-divider'),_c('ul',{staticClass:"wt-navigation-bar__nav-list"},_vm._l((_vm.nav),function(navItem,key){return _c('li',{key:key,staticClass:"wt-navigation-bar__nav-item"},[(!navItem.subNav)?_c('div',[_c('div',{staticClass:"wt-navigation-bar__nav-item-wrapper"},[_c('router-link',{staticClass:"wt-navigation-bar__nav-item-link",class:{'wt-navigation-bar__nav-item-link--active': _vm.currentNav.nav === navItem.value},attrs:{"to":navItem.route},nativeOn:{"click":function($event){return _vm.close.apply(null, arguments)}}},[_vm._v(" "+_vm._s(navItem.name || navItem.value)+" ")])],1)]):_c('div',[_c('button',{staticClass:"wt-navigation-bar__nav-expansion",class:{
|
|
23596
23666
|
'wt-navigation-bar__nav-expansion--expanded': _vm.isExpanded(navItem),
|
|
@@ -25121,6 +25191,7 @@ var wt_table_column_select_component = componentNormalizer_normalizeComponent(
|
|
|
25121
25191
|
|
|
25122
25192
|
|
|
25123
25193
|
|
|
25194
|
+
|
|
25124
25195
|
|
|
25125
25196
|
|
|
25126
25197
|
var Components = {
|
|
@@ -25157,6 +25228,7 @@ var Components = {
|
|
|
25157
25228
|
WtTextarea: wt_textarea,
|
|
25158
25229
|
WtAppHeader: wt_app_header,
|
|
25159
25230
|
WtHeadline: wt_headline,
|
|
25231
|
+
WtHeadlineNav: wt_headline_nav,
|
|
25160
25232
|
WtNavigationBar: wt_navigation_bar,
|
|
25161
25233
|
WtAppNavigator: wt_app_navigator,
|
|
25162
25234
|
WtFiltersPanelWrapper: wt_filters_panel_wrapper,
|