@cortezaproject/corteza-vue 2023.3.6 → 2023.3.7-rc.2
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/index.es.js +27 -20
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +27 -20
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -71086,7 +71086,7 @@ var script$8 = {
|
|
|
71086
71086
|
},
|
|
71087
71087
|
variantCancel: {
|
|
71088
71088
|
type: String,
|
|
71089
|
-
default:
|
|
71089
|
+
default: 'light'
|
|
71090
71090
|
},
|
|
71091
71091
|
sizeConfirm: {
|
|
71092
71092
|
type: String,
|
|
@@ -71508,7 +71508,7 @@ var script$b = {
|
|
|
71508
71508
|
const __vue_script__$b = script$b;
|
|
71509
71509
|
|
|
71510
71510
|
/* template */
|
|
71511
|
-
var __vue_render__$a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.textInput)?_c('draggable',{attrs:{"list":_vm.items,"group":"sort","handle":".grab"},on:{"update:list":function($event){_vm.items=$event;}}},_vm._l((_vm.items),function(column,index){return _c('
|
|
71511
|
+
var __vue_render__$a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.textInput)?_c('b-table-simple',{staticClass:"mb-0",attrs:{"borderless":"","small":"","responsive":"lg"}},[_c('draggable',{attrs:{"list":_vm.items,"group":"sort","handle":".grab","tag":"tbody"},on:{"update:list":function($event){_vm.items=$event;}}},_vm._l((_vm.items),function(column,index){return _c('tr',{key:index},[_c('td',{staticClass:"grab text-center align-middle",staticStyle:{"width":"40px"}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'bars']}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle",staticStyle:{"min-width":"250px"}},[_c('b-form-select',{staticClass:"rounded",attrs:{"options":_vm.availableFields,"text-field":"label","value-field":"name"},scopedSlots:_vm._u([{key:"first",fn:function(){return [_c('b-form-select-option',{attrs:{"value":undefined,"disabled":""}},[_vm._v("\n "+_vm._s(_vm.labels.none)+"\n ")])]},proxy:true}],null,true),model:{value:(column.field),callback:function ($$v) {_vm.$set(column, "field", $$v);},expression:"column.field"}})],1),_vm._v(" "),_c('td',{staticClass:"text-center align-middle",staticStyle:{"min-width":"200px"}},[_c('b-form-radio-group',{staticClass:"bg-white",attrs:{"options":_vm.sortDirections,"buttons":"","button-variant":"outline-primary"},model:{value:(column.descending),callback:function ($$v) {_vm.$set(column, "descending", $$v);},expression:"column.descending"}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle text-right",staticStyle:{"min-width":"80px","width":"80px"}},[_c('c-input-confirm',{on:{"confirmed":function($event){return _vm.items.splice(index, 1)}}})],1)])}),0)],1):_c('div',[_c('b-form-textarea',{attrs:{"placeholder":_vm.labels.placeholder},model:{value:(_vm.presortValue),callback:function ($$v) {_vm.presortValue=$$v;},expression:"presortValue"}}),_vm._v(" "),_c('b-form-text',[_vm._v("\n "+_vm._s(_vm.labels.footnote)+"\n ")])],1),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center mt-1"},[(!_vm.textInput)?_c('b-button',{attrs:{"variant":"primary","size":"sm"},on:{"click":function($event){return _vm.items.push({ field: undefined, descending: false })}}},[_c('font-awesome-icon',{staticClass:"mr-1",attrs:{"icon":['fas', 'plus']}}),_vm._v("\n "+_vm._s(_vm.labels.add)+"\n ")],1):_vm._e(),_vm._v(" "),(_vm.allowTextInput)?_c('b-button',{staticClass:"text-decoration-none ml-auto",attrs:{"variant":"link","size":"sm"},on:{"click":function($event){_vm.textInput = !_vm.textInput;}}},[_vm._v("\n "+_vm._s(_vm.labels.toggleInput)+"\n ")]):_vm._e()],1)],1)};
|
|
71512
71512
|
var __vue_staticRenderFns__$a = [];
|
|
71513
71513
|
|
|
71514
71514
|
/* style */
|
|
@@ -83873,8 +83873,9 @@ function split(input) {
|
|
|
83873
83873
|
library.add(faLock);
|
|
83874
83874
|
var script$q = {
|
|
83875
83875
|
props: {
|
|
83876
|
-
|
|
83877
|
-
type:
|
|
83876
|
+
size: {
|
|
83877
|
+
type: String,
|
|
83878
|
+
default: 'md'
|
|
83878
83879
|
},
|
|
83879
83880
|
buttonVariant: {
|
|
83880
83881
|
type: String,
|
|
@@ -83932,17 +83933,17 @@ var script$q = {
|
|
|
83932
83933
|
const __vue_script__$q = script$q;
|
|
83933
83934
|
|
|
83934
83935
|
/* template */
|
|
83935
|
-
var __vue_render__$n = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return
|
|
83936
|
+
var __vue_render__$n = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{attrs:{"data-test-id":"button-permissions","title":_vm.tooltip,"variant":_vm.buttonVariant,"size":_vm.size},on:{"click":_vm.onClick}},[_vm._t("default",function(){return [(_vm.showButtonIcon)?_c('font-awesome-icon',{attrs:{"icon":['fas', 'lock']}}):_vm._e(),_vm._v(" "),(_vm.buttonLabel)?_c('span',[_vm._v("\n "+_vm._s(_vm.buttonLabel)+"\n ")]):_vm._e()]})],2)};
|
|
83936
83937
|
var __vue_staticRenderFns__$n = [];
|
|
83937
83938
|
|
|
83938
83939
|
/* style */
|
|
83939
83940
|
const __vue_inject_styles__$r = function (inject) {
|
|
83940
83941
|
if (!inject) return
|
|
83941
|
-
inject("data-v-
|
|
83942
|
+
inject("data-v-0e116674_0", { source: ".pointer[data-v-0e116674]{cursor:pointer}", map: undefined, media: undefined });
|
|
83942
83943
|
|
|
83943
83944
|
};
|
|
83944
83945
|
/* scoped */
|
|
83945
|
-
const __vue_scope_id__$r = "data-v-
|
|
83946
|
+
const __vue_scope_id__$r = "data-v-0e116674";
|
|
83946
83947
|
/* module identifier */
|
|
83947
83948
|
const __vue_module_identifier__$r = undefined;
|
|
83948
83949
|
/* functional template */
|
|
@@ -84333,8 +84334,8 @@ var script$u = {
|
|
|
84333
84334
|
},
|
|
84334
84335
|
|
|
84335
84336
|
beforeDestroy() {
|
|
84336
|
-
this.setDefaultValues();
|
|
84337
84337
|
this.destroyEvents();
|
|
84338
|
+
this.setDefaultValues();
|
|
84338
84339
|
},
|
|
84339
84340
|
|
|
84340
84341
|
methods: {
|
|
@@ -84698,11 +84699,11 @@ var __vue_staticRenderFns__$r = [];
|
|
|
84698
84699
|
/* style */
|
|
84699
84700
|
const __vue_inject_styles__$v = function (inject) {
|
|
84700
84701
|
if (!inject) return
|
|
84701
|
-
inject("data-v-
|
|
84702
|
+
inject("data-v-822fdc04_0", { source: ".not-allowed[data-v-822fdc04]{cursor:not-allowed}.bg-extra-light[data-v-822fdc04]{background-color:#f3f5f7}.pointer[data-v-822fdc04]{cursor:pointer}.rotate[data-v-822fdc04]{transform:rotate(45deg)}.hide-eval:hover .rotate[data-v-822fdc04]{color:#162425!important}", map: undefined, media: undefined });
|
|
84702
84703
|
|
|
84703
84704
|
};
|
|
84704
84705
|
/* scoped */
|
|
84705
|
-
const __vue_scope_id__$v = "data-v-
|
|
84706
|
+
const __vue_scope_id__$v = "data-v-822fdc04";
|
|
84706
84707
|
/* module identifier */
|
|
84707
84708
|
const __vue_module_identifier__$v = undefined;
|
|
84708
84709
|
/* functional template */
|
|
@@ -86509,6 +86510,7 @@ var __vue_staticRenderFns__$C = [];
|
|
|
86509
86510
|
//
|
|
86510
86511
|
//
|
|
86511
86512
|
//
|
|
86513
|
+
//
|
|
86512
86514
|
var script$H = {
|
|
86513
86515
|
props: {
|
|
86514
86516
|
sidebarPinned: {
|
|
@@ -86599,7 +86601,7 @@ const __vue_script__$H = script$H;
|
|
|
86599
86601
|
/* template */
|
|
86600
86602
|
var __vue_render__$D = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header-navigation d-flex flex-wrap align-items-center pr-3"},[_c('div',{staticClass:"spacer",class:{
|
|
86601
86603
|
'expanded': _vm.sidebarPinned,
|
|
86602
|
-
}}),_vm._v(" "),_c('h2',{staticClass:"title py-1 mb-0"},[_vm._t("title")],2),_vm._v(" "),_c('div',{staticClass:"tools-wrapper py-1 ml-auto"},[_vm._t("tools")],2),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center ml-auto"},[(!_vm.hideAppSelector && !_vm.settings.hideAppSelector)?_c('b-button',{staticClass:"d-flex align-items-center justify-content-center text-dark border-0 nav-icon rounded-circle text-sm-nowrap",attrs:{"variant":"outline-light","href":_vm.appSelectorURL,"title":"Apps","size":"lg"}},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['fas', 'grip-horizontal']}})],1):_vm._e(),_vm._v(" "),(!_vm.settings.hideHelp)?_c('b-dropdown',{staticClass:"nav-icon mx-1 text-sm-nowrap",attrs:{"data-test-id":"dropdown-helper","size":"lg","variant":"outline-light","toggle-class":"text-decoration-none text-dark rounded-circle border-0 w-100","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark font-weight-bold mt-2","right":"","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-center"},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['far', 'question-circle']}}),_vm._v(" "),_c('span',{staticClass:"sr-only"},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")])],1)]},proxy:true}],null,false,1129756517)},[_vm._v(" "),_c('div',[_vm._t("help-dropdown")],2),_vm._v(" "),_vm._l((_vm.helpLinks),function(helpLink,index){return _c('b-dropdown-item',{key:index,attrs:{"href":_vm._f("checkValidURL")(helpLink.url),"target":helpLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(helpLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideForumLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-forum","href":"https://forum.cortezaproject.org/","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideDocumentationLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-docs","href":_vm.documentationURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpDocumentation)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideFeedbackLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-feedback","href":"mailto:info@cortezaproject.org","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpFeedback)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.onlyVersion)?_c('b-dropdown-divider'):_vm._e(),_vm._v(" "),_c('b-dropdown-item',{staticClass:"small",attrs:{"disabled":""}},[_vm._v("\n "+_vm._s(_vm.labels.helpVersion)+"\n "),_c('br'),_vm._v("\n "+_vm._s(_vm.frontendVersion)+"\n ")])],2):_vm._e(),_vm._v(" "),(!_vm.settings.hideProfile)?_c('b-dropdown',{staticClass:"nav-user-icon",attrs:{"data-test-id":"dropdown-profile","data-v-onboarding":"profile","variant":_vm.avatarExists ? 'link' : 'outline-light',"toggle-class":("nav-icon text-decoration-none text-dark rounded-circle border " + (_vm.avatarExists ? 'p-0' : '')),"size":"lg","right":"","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark font-weight-bold mt-2","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [(_vm.avatarExists)?_c('div',{staticClass:"avatar d-flex h-100",style:({
|
|
86604
|
+
}}),_vm._v(" "),_c('h2',{staticClass:"title py-1 mb-0"},[_vm._t("title")],2),_vm._v(" "),_c('div',{staticClass:"tools-wrapper py-1 ml-auto"},[_vm._t("tools")],2),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center ml-auto"},[(!_vm.hideAppSelector && !_vm.settings.hideAppSelector)?_c('b-button',{staticClass:"d-flex align-items-center justify-content-center text-dark border-0 nav-icon rounded-circle text-sm-nowrap",attrs:{"data-test-id":"app-selector","variant":"outline-light","href":_vm.appSelectorURL,"title":"Apps","size":"lg"}},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['fas', 'grip-horizontal']}})],1):_vm._e(),_vm._v(" "),(!_vm.settings.hideHelp)?_c('b-dropdown',{staticClass:"nav-icon mx-1 text-sm-nowrap",attrs:{"data-test-id":"dropdown-helper","size":"lg","variant":"outline-light","toggle-class":"text-decoration-none text-dark rounded-circle border-0 w-100","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark font-weight-bold mt-2","right":"","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-center"},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['far', 'question-circle']}}),_vm._v(" "),_c('span',{staticClass:"sr-only"},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")])],1)]},proxy:true}],null,false,1129756517)},[_vm._v(" "),_c('div',[_vm._t("help-dropdown")],2),_vm._v(" "),_vm._l((_vm.helpLinks),function(helpLink,index){return _c('b-dropdown-item',{key:index,attrs:{"href":_vm._f("checkValidURL")(helpLink.url),"target":helpLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(helpLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideForumLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-forum","href":"https://forum.cortezaproject.org/","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideDocumentationLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-docs","href":_vm.documentationURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpDocumentation)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideFeedbackLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-feedback","href":"mailto:info@cortezaproject.org","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpFeedback)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.onlyVersion)?_c('b-dropdown-divider'):_vm._e(),_vm._v(" "),_c('b-dropdown-item',{staticClass:"small",attrs:{"disabled":""}},[_vm._v("\n "+_vm._s(_vm.labels.helpVersion)+"\n "),_c('br'),_vm._v("\n "+_vm._s(_vm.frontendVersion)+"\n ")])],2):_vm._e(),_vm._v(" "),(!_vm.settings.hideProfile)?_c('b-dropdown',{staticClass:"nav-user-icon",attrs:{"data-test-id":"dropdown-profile","data-v-onboarding":"profile","variant":_vm.avatarExists ? 'link' : 'outline-light',"toggle-class":("nav-icon text-decoration-none text-dark rounded-circle border " + (_vm.avatarExists ? 'p-0' : '')),"size":"lg","right":"","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark font-weight-bold mt-2","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [(_vm.avatarExists)?_c('div',{staticClass:"avatar d-flex h-100",style:({
|
|
86603
86605
|
'background-image': _vm.avatarExists ? ("url(" + _vm.profileAvatarUrl + ")") : 'none',
|
|
86604
86606
|
})}):_c('div',{staticClass:"d-flex align-items-center justify-content-center"},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['far', 'user']}}),_vm._v(" "),_c('span',{staticClass:"sr-only"},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")])],1)]},proxy:true}],null,false,3591924344)},[_vm._v(" "),_c('b-dropdown-text',{staticClass:"text-muted mb-2"},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsLoggedInAs)+"\n ")]),_vm._v(" "),_c('div',[_vm._t("avatar-dropdown")],2),_vm._v(" "),_vm._l((_vm.profileLinks),function(profileLink,index){return _c('b-dropdown-item',{key:index,attrs:{"href":_vm._f("checkValidURL")(profileLink.url),"target":profileLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(profileLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideProfileLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-profile-user","href":_vm.userProfileURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsProfile)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideChangePasswordLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-profile-change-password","href":_vm.changePasswordURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsChangePassword)+"\n ")]):_vm._e(),_vm._v(" "),_c('b-dropdown-divider'),_vm._v(" "),_c('b-dropdown-item',{staticClass:"mt-2",attrs:{"data-test-id":"dropdown-profile-logout","href":""},on:{"click":function($event){return _vm.$auth.logout()}}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsLogout)+"\n ")])],2):_vm._e()],1)])};
|
|
86605
86607
|
var __vue_staticRenderFns__$D = [];
|
|
@@ -86607,12 +86609,12 @@ var __vue_staticRenderFns__$D = [];
|
|
|
86607
86609
|
/* style */
|
|
86608
86610
|
const __vue_inject_styles__$I = function (inject) {
|
|
86609
86611
|
if (!inject) return
|
|
86610
|
-
inject("data-v-
|
|
86611
|
-
,inject("data-v-
|
|
86612
|
+
inject("data-v-02413014_0", { source: ".icon-logo[data-v-02413014]{height:calc(64px / 2);background-repeat:no-repeat;background-position:center}.nav-icon[data-v-02413014]{width:40px;height:40px}.nav-user-icon[data-v-02413014]{min-width:50px;min-height:50px}.header-navigation[data-v-02413014]{width:100vw;min-height:64px;background-color:#f9fafb!important}.avatar[data-v-02413014]{border-radius:50%;background-size:cover;background-repeat:no-repeat;background-position:center}.avatar[data-v-02413014]:hover{opacity:.8;transition:opacity .25s ease-in-out;-moz-transition:opacity .25s ease-in-out;-webkit-transition:opacity .25s ease-in-out}.spacer[data-v-02413014]{min-width:0;-webkit-transition:min-width .15s ease-in-out;-moz-transition:min-width .15s ease-in-out;-o-transition:min-width .15s ease-in-out;transition:min-width .15s ease-in-out}.spacer.expanded[data-v-02413014]{min-width:calc(320px - 42px);-webkit-transition:min-width .2s ease-in-out;-moz-transition:min-width .2s ease-in-out;-o-transition:min-width .2s ease-in-out;transition:min-width .2s ease-in-out}.title[data-v-02413014]{display:flex;align-items:center;min-height:64px;padding-left:calc(3.5rem + 6px)}.title .vue-portal-target[data-v-02413014]{display:-webkit-box;display:-ms-flexbox;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;text-overflow:ellipsis}.tools-wrapper[data-v-02413014]{flex-grow:1}.tools-wrapper .vue-portal-target[data-v-02413014]{display:flex;justify-content:end;flex-wrap:wrap}", map: undefined, media: undefined })
|
|
86613
|
+
,inject("data-v-02413014_1", { source: ".topbar-dropdown-menu{z-index:1100}", map: undefined, media: undefined });
|
|
86612
86614
|
|
|
86613
86615
|
};
|
|
86614
86616
|
/* scoped */
|
|
86615
|
-
const __vue_scope_id__$I = "data-v-
|
|
86617
|
+
const __vue_scope_id__$I = "data-v-02413014";
|
|
86616
86618
|
/* module identifier */
|
|
86617
86619
|
const __vue_module_identifier__$I = undefined;
|
|
86618
86620
|
/* functional template */
|
|
@@ -86952,11 +86954,16 @@ var script$J = {
|
|
|
86952
86954
|
|
|
86953
86955
|
handler(items = []) {
|
|
86954
86956
|
items.forEach(({
|
|
86955
|
-
page
|
|
86957
|
+
page,
|
|
86958
|
+
params,
|
|
86959
|
+
children
|
|
86956
86960
|
}) => {
|
|
86957
86961
|
const px = this.pageIndex(page); // Apply startExpanded only if page isn't currently expanded
|
|
86958
86962
|
|
|
86959
|
-
this.$set(this.collapses, px, this.startExpanded || page.expanded
|
|
86963
|
+
this.$set(this.collapses, px, this.startExpanded || page.expanded || this.showChildren({
|
|
86964
|
+
params,
|
|
86965
|
+
children
|
|
86966
|
+
}));
|
|
86960
86967
|
});
|
|
86961
86968
|
}
|
|
86962
86969
|
|
|
@@ -86978,7 +86985,7 @@ var script$J = {
|
|
|
86978
86985
|
this.$set(this.collapses, px, !this.collapses[px]);
|
|
86979
86986
|
},
|
|
86980
86987
|
|
|
86981
|
-
// Recursively check for child pages that are open, so that parents can open
|
|
86988
|
+
// Recursively check for child pages that are open, so that parents can open as well
|
|
86982
86989
|
showChildren({
|
|
86983
86990
|
params = {},
|
|
86984
86991
|
children = []
|
|
@@ -87005,17 +87012,17 @@ var __vue_render__$F = function () {var _vm=this;var _h=_vm.$createElement;var _
|
|
|
87005
87012
|
var page = ref.page; if ( page === void 0 ) page = {};
|
|
87006
87013
|
var params = ref.params; if ( params === void 0 ) params = {};
|
|
87007
87014
|
var children = ref.children; if ( children === void 0 ) children = [];
|
|
87008
|
-
return _c('b-button',{key:_vm.pageIndex(page),staticClass:"w-100 text-dark text-decoration-none p-0 pt-2 nav-item",attrs:{"variant":"link","active-class":"nav-active","exact-active-class":"nav-active","title":page.title,"to":{ name: page.name || _vm.defaultRouteName, params: params }}},[_c('span',{staticClass:"d-inline-block w-75 text-nowrap text-truncate",on:{"click":function($event){return _vm.closeSidebar()}}},[(page.icon)?[(Array.isArray(page.icon))?_c('font-awesome-icon',{staticClass:"icon",attrs:{"icon":page.icon}}):[_c('img',{staticClass:"mr-1",staticStyle:{"height":"1.5em","width":"1.5em"},attrs:{"src":page.icon}})]]:_vm._e(),_vm._v(" "),_c('label',{staticClass:"title mb-0 pointer"},[_vm._v("\n "+_vm._s(page.title)+"\n ")])],2),_vm._v(" "),(children.length)?[_c('b-button',{staticClass:"p-0 float-right",attrs:{"variant":"
|
|
87015
|
+
return _c('b-button',{key:_vm.pageIndex(page),staticClass:"w-100 text-dark text-decoration-none p-0 pt-2 nav-item",attrs:{"variant":"link","active-class":"nav-active","exact-active-class":"nav-active","title":page.title,"to":{ name: page.name || _vm.defaultRouteName, params: params }}},[_c('span',{staticClass:"d-inline-block w-75 text-nowrap text-truncate",on:{"click":function($event){return _vm.closeSidebar()}}},[(page.icon)?[(Array.isArray(page.icon))?_c('font-awesome-icon',{staticClass:"icon",attrs:{"icon":page.icon}}):[_c('img',{staticClass:"mr-1",staticStyle:{"height":"1.5em","width":"1.5em"},attrs:{"src":page.icon}})]]:_vm._e(),_vm._v(" "),_c('label',{staticClass:"title mb-0 pointer"},[_vm._v("\n "+_vm._s(page.title)+"\n ")])],2),_vm._v(" "),(children.length)?[_c('b-button',{staticClass:"text-primary p-0 border-0 float-right mr-1",attrs:{"variant":"outline-light","size":"sm"},on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.toggle(page)}}},[(!_vm.collapses[_vm.pageIndex(page)])?_c('font-awesome-icon',{staticClass:"pointer-none",attrs:{"icon":['fas', 'chevron-down']}}):_c('font-awesome-icon',{staticClass:"pointer-none",attrs:{"icon":['fas', 'chevron-up']}})],1),_vm._v(" "),_c('b-collapse',{attrs:{"visible":_vm.collapses[_vm.pageIndex(page)]},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();}}},[_c('c-sidebar-nav-items',_vm._g({staticClass:"ml-2",attrs:{"items":children,"start-expanded":_vm.startExpanded,"default-route-name":_vm.defaultRouteName}},_vm.$listeners))],1)]:_vm._e()],2)}),1)};
|
|
87009
87016
|
var __vue_staticRenderFns__$F = [];
|
|
87010
87017
|
|
|
87011
87018
|
/* style */
|
|
87012
87019
|
const __vue_inject_styles__$K = function (inject) {
|
|
87013
87020
|
if (!inject) return
|
|
87014
|
-
inject("data-v-
|
|
87021
|
+
inject("data-v-927c4b6a_0", { source: ".pointer-none[data-v-927c4b6a]{pointer-events:none}.svg-inline--fa[data-v-927c4b6a]{width:30px}.nav-item>span .title[data-v-927c4b6a]{color:var(--tertiary)}.nav-item:hover>span .title[data-v-927c4b6a]{color:var(--primary);transition:color .25s}.nav-active>span>.icon[data-v-927c4b6a]{color:var(--primary)}.nav-active>span>.title[data-v-927c4b6a]{font-family:Poppins-SemiBold;color:var(--primary);transition:color .5s}.nav-item[data-v-927c4b6a]{text-align:left}[dir=rtl] .nav-item[data-v-927c4b6a]{text-align:right}", map: undefined, media: undefined });
|
|
87015
87022
|
|
|
87016
87023
|
};
|
|
87017
87024
|
/* scoped */
|
|
87018
|
-
const __vue_scope_id__$K = "data-v-
|
|
87025
|
+
const __vue_scope_id__$K = "data-v-927c4b6a";
|
|
87019
87026
|
/* module identifier */
|
|
87020
87027
|
const __vue_module_identifier__$K = undefined;
|
|
87021
87028
|
/* functional template */
|