@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.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,
|