@webitel/ui-sdk 2.0.15 → 2.0.16-3
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-download.svg +4 -0
- package/dist/img/sprite/stt.svg +4 -0
- package/dist/ui-sdk.common.js +96 -9
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +96 -9
- 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-context-menu/wt-context-menu.vue +16 -3
- 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/atoms/wt-context-menu/_variables.scss +0 -3
- 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 +8 -0
- package/src/locale/ru/ru.js +8 -0
- package/src/locale/ua/ua.js +8 -0
- package/src/modules/Userinfo/classes/ApplicationsAccess.js +4 -0
package/dist/ui-sdk.umd.js
CHANGED
|
@@ -16392,11 +16392,11 @@ var wt_loader_component = componentNormalizer_normalizeComponent(
|
|
|
16392
16392
|
)
|
|
16393
16393
|
|
|
16394
16394
|
/* harmony default export */ var wt_loader = (wt_loader_component.exports);
|
|
16395
|
-
;// 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-context-menu/wt-context-menu.vue?vue&type=template&id=
|
|
16396
|
-
var
|
|
16395
|
+
;// 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-context-menu/wt-context-menu.vue?vue&type=template&id=bbe96dac&scoped=true&
|
|
16396
|
+
var wt_context_menuvue_type_template_id_bbe96dac_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dropdown',{staticClass:"wt-context-menu",attrs:{"shown":_vm.visible,"triggers":['click', 'touch'],"placement":"bottom-end"},scopedSlots:_vm._u([{key:"popper",fn:function(ref){
|
|
16397
16397
|
var hide = ref.hide;
|
|
16398
|
-
return [_c('ul',{staticClass:"wt-context-menu__menu"},_vm._l((_vm.options),function(option,index){return _c('li',{key:index,staticClass:"wt-context-menu__option-wrapper"},[_c('a',{staticClass:"wt-context-menu__option",attrs:{"href":"#"},on:{"click":function($event){$event.preventDefault();return _vm.handleOptionClick({ option: option, index: index, hide: hide })}}},[_vm._t("option",function(){return [_vm._v(" "+_vm._s(option.text || option)+" ")]},null,option)],2)])}),0)]}}],null,true)},[_vm._t("activator")],2)}
|
|
16399
|
-
var
|
|
16398
|
+
return [_c('ul',{staticClass:"wt-context-menu__menu",style:(("width: " + _vm.width + "; min-width: " + _vm.minWidth + "; max-width: " + _vm.maxWidth + ";"))},_vm._l((_vm.options),function(option,index){return _c('li',{key:index,staticClass:"wt-context-menu__option-wrapper"},[_c('a',{staticClass:"wt-context-menu__option",attrs:{"href":"#"},on:{"click":function($event){$event.preventDefault();return _vm.handleOptionClick({ option: option, index: index, hide: hide })}}},[_vm._t("option",function(){return [_vm._v(" "+_vm._s(option.text || option)+" ")]},null,option)],2)])}),0)]}}],null,true)},[_vm._t("activator")],2)}
|
|
16399
|
+
var wt_context_menuvue_type_template_id_bbe96dac_scoped_true_staticRenderFns = []
|
|
16400
16400
|
|
|
16401
16401
|
|
|
16402
16402
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-81[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/atoms/wt-context-menu/wt-context-menu.vue?vue&type=script&lang=js&
|
|
@@ -16431,6 +16431,9 @@ var wt_context_menuvue_type_template_id_7233dd78_scoped_true_staticRenderFns = [
|
|
|
16431
16431
|
//
|
|
16432
16432
|
//
|
|
16433
16433
|
//
|
|
16434
|
+
//
|
|
16435
|
+
//
|
|
16436
|
+
//
|
|
16434
16437
|
/* harmony default export */ var wt_context_menuvue_type_script_lang_js_ = ({
|
|
16435
16438
|
name: 'wt-context-menu',
|
|
16436
16439
|
props: {
|
|
@@ -16442,6 +16445,18 @@ var wt_context_menuvue_type_template_id_7233dd78_scoped_true_staticRenderFns = [
|
|
|
16442
16445
|
visible: {
|
|
16443
16446
|
type: Boolean,
|
|
16444
16447
|
default: false
|
|
16448
|
+
},
|
|
16449
|
+
width: {
|
|
16450
|
+
type: [String],
|
|
16451
|
+
default: 'auto'
|
|
16452
|
+
},
|
|
16453
|
+
minWidth: {
|
|
16454
|
+
type: [String],
|
|
16455
|
+
default: '160px'
|
|
16456
|
+
},
|
|
16457
|
+
maxWidth: {
|
|
16458
|
+
type: [String],
|
|
16459
|
+
default: '300px'
|
|
16445
16460
|
}
|
|
16446
16461
|
},
|
|
16447
16462
|
methods: {
|
|
@@ -16459,10 +16474,10 @@ var wt_context_menuvue_type_template_id_7233dd78_scoped_true_staticRenderFns = [
|
|
|
16459
16474
|
});
|
|
16460
16475
|
;// CONCATENATED MODULE: ./src/components/atoms/wt-context-menu/wt-context-menu.vue?vue&type=script&lang=js&
|
|
16461
16476
|
/* harmony default export */ var wt_context_menu_wt_context_menuvue_type_script_lang_js_ = (wt_context_menuvue_type_script_lang_js_);
|
|
16462
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-63[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-63[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-63[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-63[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/atoms/wt-context-menu/wt-context-menu.vue?vue&type=style&index=0&id=
|
|
16477
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-63[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-63[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-63[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-63[0].rules[0].use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/atoms/wt-context-menu/wt-context-menu.vue?vue&type=style&index=0&id=bbe96dac&lang=scss&scoped=true&
|
|
16463
16478
|
// extracted by mini-css-extract-plugin
|
|
16464
16479
|
|
|
16465
|
-
;// CONCATENATED MODULE: ./src/components/atoms/wt-context-menu/wt-context-menu.vue?vue&type=style&index=0&id=
|
|
16480
|
+
;// CONCATENATED MODULE: ./src/components/atoms/wt-context-menu/wt-context-menu.vue?vue&type=style&index=0&id=bbe96dac&lang=scss&scoped=true&
|
|
16466
16481
|
|
|
16467
16482
|
;// CONCATENATED MODULE: ./src/components/atoms/wt-context-menu/wt-context-menu.vue
|
|
16468
16483
|
|
|
@@ -16475,11 +16490,11 @@ var wt_context_menuvue_type_template_id_7233dd78_scoped_true_staticRenderFns = [
|
|
|
16475
16490
|
|
|
16476
16491
|
var wt_context_menu_component = componentNormalizer_normalizeComponent(
|
|
16477
16492
|
wt_context_menu_wt_context_menuvue_type_script_lang_js_,
|
|
16478
|
-
|
|
16479
|
-
|
|
16493
|
+
wt_context_menuvue_type_template_id_bbe96dac_scoped_true_render,
|
|
16494
|
+
wt_context_menuvue_type_template_id_bbe96dac_scoped_true_staticRenderFns,
|
|
16480
16495
|
false,
|
|
16481
16496
|
null,
|
|
16482
|
-
"
|
|
16497
|
+
"bbe96dac",
|
|
16483
16498
|
null
|
|
16484
16499
|
|
|
16485
16500
|
)
|
|
@@ -23609,6 +23624,76 @@ var wt_headline_component = componentNormalizer_normalizeComponent(
|
|
|
23609
23624
|
)
|
|
23610
23625
|
|
|
23611
23626
|
/* harmony default export */ var wt_headline = (wt_headline_component.exports);
|
|
23627
|
+
;// 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&
|
|
23628
|
+
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)}
|
|
23629
|
+
var wt_headline_navvue_type_template_id_cb69ef3c_scoped_true_staticRenderFns = []
|
|
23630
|
+
|
|
23631
|
+
|
|
23632
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-81[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&
|
|
23633
|
+
//
|
|
23634
|
+
//
|
|
23635
|
+
//
|
|
23636
|
+
//
|
|
23637
|
+
//
|
|
23638
|
+
//
|
|
23639
|
+
//
|
|
23640
|
+
//
|
|
23641
|
+
//
|
|
23642
|
+
//
|
|
23643
|
+
//
|
|
23644
|
+
//
|
|
23645
|
+
//
|
|
23646
|
+
//
|
|
23647
|
+
//
|
|
23648
|
+
//
|
|
23649
|
+
//
|
|
23650
|
+
//
|
|
23651
|
+
//
|
|
23652
|
+
//
|
|
23653
|
+
//
|
|
23654
|
+
/* harmony default export */ var wt_headline_navvue_type_script_lang_js_ = ({
|
|
23655
|
+
name: 'wt-headline-nav',
|
|
23656
|
+
props: {
|
|
23657
|
+
path: {
|
|
23658
|
+
type: Array,
|
|
23659
|
+
required: true // PATH EXAMPLE
|
|
23660
|
+
// default: () => [
|
|
23661
|
+
// { name: 'directory' },
|
|
23662
|
+
// { name: 'users', route: '/directory/users' },
|
|
23663
|
+
// { name: 'adm', route: '/directory/users/3' },
|
|
23664
|
+
// ],
|
|
23665
|
+
|
|
23666
|
+
}
|
|
23667
|
+
}
|
|
23668
|
+
});
|
|
23669
|
+
;// CONCATENATED MODULE: ./src/components/organisms/wt-headline-nav/wt-headline-nav.vue?vue&type=script&lang=js&
|
|
23670
|
+
/* harmony default export */ var wt_headline_nav_wt_headline_navvue_type_script_lang_js_ = (wt_headline_navvue_type_script_lang_js_);
|
|
23671
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-63[0].rules[0].use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-63[0].rules[0].use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-63[0].rules[0].use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-63[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&
|
|
23672
|
+
// extracted by mini-css-extract-plugin
|
|
23673
|
+
|
|
23674
|
+
;// CONCATENATED MODULE: ./src/components/organisms/wt-headline-nav/wt-headline-nav.vue?vue&type=style&index=0&id=cb69ef3c&lang=scss&scoped=true&
|
|
23675
|
+
|
|
23676
|
+
;// CONCATENATED MODULE: ./src/components/organisms/wt-headline-nav/wt-headline-nav.vue
|
|
23677
|
+
|
|
23678
|
+
|
|
23679
|
+
|
|
23680
|
+
;
|
|
23681
|
+
|
|
23682
|
+
|
|
23683
|
+
/* normalize component */
|
|
23684
|
+
|
|
23685
|
+
var wt_headline_nav_component = componentNormalizer_normalizeComponent(
|
|
23686
|
+
wt_headline_nav_wt_headline_navvue_type_script_lang_js_,
|
|
23687
|
+
wt_headline_navvue_type_template_id_cb69ef3c_scoped_true_render,
|
|
23688
|
+
wt_headline_navvue_type_template_id_cb69ef3c_scoped_true_staticRenderFns,
|
|
23689
|
+
false,
|
|
23690
|
+
null,
|
|
23691
|
+
"cb69ef3c",
|
|
23692
|
+
null
|
|
23693
|
+
|
|
23694
|
+
)
|
|
23695
|
+
|
|
23696
|
+
/* harmony default export */ var wt_headline_nav = (wt_headline_nav_component.exports);
|
|
23612
23697
|
;// 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&
|
|
23613
23698
|
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:{
|
|
23614
23699
|
'wt-navigation-bar__nav-expansion--expanded': _vm.isExpanded(navItem),
|
|
@@ -25139,6 +25224,7 @@ var wt_table_column_select_component = componentNormalizer_normalizeComponent(
|
|
|
25139
25224
|
|
|
25140
25225
|
|
|
25141
25226
|
|
|
25227
|
+
|
|
25142
25228
|
|
|
25143
25229
|
|
|
25144
25230
|
var Components = {
|
|
@@ -25175,6 +25261,7 @@ var Components = {
|
|
|
25175
25261
|
WtTextarea: wt_textarea,
|
|
25176
25262
|
WtAppHeader: wt_app_header,
|
|
25177
25263
|
WtHeadline: wt_headline,
|
|
25264
|
+
WtHeadlineNav: wt_headline_nav,
|
|
25178
25265
|
WtNavigationBar: wt_navigation_bar,
|
|
25179
25266
|
WtAppNavigator: wt_app_navigator,
|
|
25180
25267
|
WtFiltersPanelWrapper: wt_filters_panel_wrapper,
|