@webitel/ui-sdk 2.0.15-2 → 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/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 +1 -0
- package/src/locale/ru/ru.js +1 -0
- package/src/locale/ua/ua.js +1 -0
- package/src/modules/Userinfo/classes/ApplicationsAccess.js +4 -0
package/dist/ui-sdk.umd.js
CHANGED
|
@@ -23609,6 +23609,76 @@ var wt_headline_component = componentNormalizer_normalizeComponent(
|
|
|
23609
23609
|
)
|
|
23610
23610
|
|
|
23611
23611
|
/* harmony default export */ var wt_headline = (wt_headline_component.exports);
|
|
23612
|
+
;// 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&
|
|
23613
|
+
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)}
|
|
23614
|
+
var wt_headline_navvue_type_template_id_cb69ef3c_scoped_true_staticRenderFns = []
|
|
23615
|
+
|
|
23616
|
+
|
|
23617
|
+
;// 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&
|
|
23618
|
+
//
|
|
23619
|
+
//
|
|
23620
|
+
//
|
|
23621
|
+
//
|
|
23622
|
+
//
|
|
23623
|
+
//
|
|
23624
|
+
//
|
|
23625
|
+
//
|
|
23626
|
+
//
|
|
23627
|
+
//
|
|
23628
|
+
//
|
|
23629
|
+
//
|
|
23630
|
+
//
|
|
23631
|
+
//
|
|
23632
|
+
//
|
|
23633
|
+
//
|
|
23634
|
+
//
|
|
23635
|
+
//
|
|
23636
|
+
//
|
|
23637
|
+
//
|
|
23638
|
+
//
|
|
23639
|
+
/* harmony default export */ var wt_headline_navvue_type_script_lang_js_ = ({
|
|
23640
|
+
name: 'wt-headline-nav',
|
|
23641
|
+
props: {
|
|
23642
|
+
path: {
|
|
23643
|
+
type: Array,
|
|
23644
|
+
required: true // PATH EXAMPLE
|
|
23645
|
+
// default: () => [
|
|
23646
|
+
// { name: 'directory' },
|
|
23647
|
+
// { name: 'users', route: '/directory/users' },
|
|
23648
|
+
// { name: 'adm', route: '/directory/users/3' },
|
|
23649
|
+
// ],
|
|
23650
|
+
|
|
23651
|
+
}
|
|
23652
|
+
}
|
|
23653
|
+
});
|
|
23654
|
+
;// CONCATENATED MODULE: ./src/components/organisms/wt-headline-nav/wt-headline-nav.vue?vue&type=script&lang=js&
|
|
23655
|
+
/* harmony default export */ var wt_headline_nav_wt_headline_navvue_type_script_lang_js_ = (wt_headline_navvue_type_script_lang_js_);
|
|
23656
|
+
;// 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&
|
|
23657
|
+
// extracted by mini-css-extract-plugin
|
|
23658
|
+
|
|
23659
|
+
;// CONCATENATED MODULE: ./src/components/organisms/wt-headline-nav/wt-headline-nav.vue?vue&type=style&index=0&id=cb69ef3c&lang=scss&scoped=true&
|
|
23660
|
+
|
|
23661
|
+
;// CONCATENATED MODULE: ./src/components/organisms/wt-headline-nav/wt-headline-nav.vue
|
|
23662
|
+
|
|
23663
|
+
|
|
23664
|
+
|
|
23665
|
+
;
|
|
23666
|
+
|
|
23667
|
+
|
|
23668
|
+
/* normalize component */
|
|
23669
|
+
|
|
23670
|
+
var wt_headline_nav_component = componentNormalizer_normalizeComponent(
|
|
23671
|
+
wt_headline_nav_wt_headline_navvue_type_script_lang_js_,
|
|
23672
|
+
wt_headline_navvue_type_template_id_cb69ef3c_scoped_true_render,
|
|
23673
|
+
wt_headline_navvue_type_template_id_cb69ef3c_scoped_true_staticRenderFns,
|
|
23674
|
+
false,
|
|
23675
|
+
null,
|
|
23676
|
+
"cb69ef3c",
|
|
23677
|
+
null
|
|
23678
|
+
|
|
23679
|
+
)
|
|
23680
|
+
|
|
23681
|
+
/* harmony default export */ var wt_headline_nav = (wt_headline_nav_component.exports);
|
|
23612
23682
|
;// 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
23683
|
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
23684
|
'wt-navigation-bar__nav-expansion--expanded': _vm.isExpanded(navItem),
|
|
@@ -25139,6 +25209,7 @@ var wt_table_column_select_component = componentNormalizer_normalizeComponent(
|
|
|
25139
25209
|
|
|
25140
25210
|
|
|
25141
25211
|
|
|
25212
|
+
|
|
25142
25213
|
|
|
25143
25214
|
|
|
25144
25215
|
var Components = {
|
|
@@ -25175,6 +25246,7 @@ var Components = {
|
|
|
25175
25246
|
WtTextarea: wt_textarea,
|
|
25176
25247
|
WtAppHeader: wt_app_header,
|
|
25177
25248
|
WtHeadline: wt_headline,
|
|
25249
|
+
WtHeadlineNav: wt_headline_nav,
|
|
25178
25250
|
WtNavigationBar: wt_navigation_bar,
|
|
25179
25251
|
WtAppNavigator: wt_app_navigator,
|
|
25180
25252
|
WtFiltersPanelWrapper: wt_filters_panel_wrapper,
|