@cortezaproject/corteza-vue 2024.9.3-dev.2 → 2024.9.3-dev.4

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.js CHANGED
@@ -12372,11 +12372,6 @@ var node = {
12372
12372
  //
12373
12373
  //
12374
12374
  //
12375
- //
12376
- //
12377
- //
12378
- //
12379
- //
12380
12375
 
12381
12376
 
12382
12377
  /**
@@ -12384,6 +12379,7 @@ var node = {
12384
12379
  */
12385
12380
  var script$_ = {
12386
12381
  name: 'TNattrAlignment',
12382
+
12387
12383
  extends: __vue_component__$11,
12388
12384
 
12389
12385
  props: {
@@ -12441,7 +12437,7 @@ var script$_ = {
12441
12437
  const __vue_script__$_ = script$_;
12442
12438
 
12443
12439
  /* template */
12444
- var __vue_render__$Y = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-dropdown',{attrs:{"menu-class":"text-center","variant":"link","boundary":"window"},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[_c('span',{class:_vm.rootActiveClasses()},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])]},proxy:true}])},[_vm._v(" "),_vm._l((_vm.format.variants),function(v){return _c('b-dropdown-item-button',{key:v.variant,on:{"click":function($event){return _vm.dispatchTransaction(v)}}},[_c('b-button',{staticClass:"text-dark font-weight-bold",attrs:{"variant":"link"}},[_c('span',{class:_vm.activeClasses(v.attrs)},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":v.icon}}):_c('span',[_vm._v("\n "+_vm._s(v.label)+"\n ")])],1)])],1)})],2)};
12440
+ var __vue_render__$Y = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-dropdown',{attrs:{"menu-class":"text-center","variant":"link","boundary":"window"},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[_c('span',{class:_vm.rootActiveClasses()},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])]},proxy:true}])},[_vm._v(" "),_vm._l((_vm.format.variants),function(v){return _c('b-dropdown-item-button',{key:v.variant,on:{"click":function($event){return _vm.dispatchTransaction(v)}}},[_c('span',{class:_vm.activeClasses(v.attrs)},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":v.icon}}):_c('span',[_vm._v("\n "+_vm._s(v.label)+"\n ")])],1)])})],2)};
12445
12441
  var __vue_staticRenderFns__$Y = [];
12446
12442
 
12447
12443
  /* style */
@@ -12528,6 +12524,7 @@ var script$Z = {
12528
12524
  const b = (this.isActive[type]);
12529
12525
  return b && (b(attrs))
12530
12526
  };
12527
+
12531
12528
  if (ac(an.node.type.name, { ...an.node.attrs, ...attrs })) {
12532
12529
  return ['text-success']
12533
12530
  }
@@ -14946,7 +14943,7 @@ var script$L = {
14946
14943
  },
14947
14944
 
14948
14945
  pRaw (k, defValue = undefined, defType = undefined) {
14949
- if (this.payload && this.payload[k] && this.payload[k] !== undefined) {
14946
+ if (k && this.payload && this.payload[k] && this.payload[k] !== undefined) {
14950
14947
  return this.payload[k]
14951
14948
  }
14952
14949
 
@@ -14995,7 +14992,7 @@ var script$K = {
14995
14992
  const __vue_script__$K = script$K;
14996
14993
 
14997
14994
  /* template */
14998
- var __vue_render__$J = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"d-flex justify-content-end gap-1"},[_c('b-button',{attrs:{"variant":_vm.pVal('buttonVariant', 'primary'),"disabled":_vm.loading},on:{"click":function($event){_vm.$emit('submit', { confirmed: _vm.pRaw('buttonValue', true, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'OK'))+"\n ")])],1)])};
14995
+ var __vue_render__$J = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-button',{staticClass:"ml-auto",attrs:{"variant":_vm.pVal('buttonVariant', 'primary'),"disabled":_vm.loading},on:{"click":function($event){_vm.$emit('submit', { confirmed: _vm.pRaw(undefined, true, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Ok'))+"\n ")])],1)};
14999
14996
  var __vue_staticRenderFns__$J = [];
15000
14997
 
15001
14998
  /* style */
@@ -15033,7 +15030,7 @@ var script$J = {
15033
15030
  const __vue_script__$J = script$J;
15034
15031
 
15035
15032
  /* template */
15036
- var __vue_render__$I = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-between justify-content-center gap-2"},[_c('b-button',{attrs:{"variant":_vm.pVal('confirmButtonVariant', 'primary'),"disabled":_vm.loading},on:{"click":function($event){_vm.$emit('submit', { value: _vm.pRaw('confirmButtonValue', true, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('confirmButtonLabel', 'Yes'))+"\n ")]),_vm._v(" "),_c('b-button',{attrs:{"disabled":_vm.loading,"variant":_vm.pVal('rejectButtonVariant', 'light')},on:{"click":function($event){_vm.$emit('submit', { value: _vm.pRaw('rejectButtonValue', false, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('rejectButtonLabel', 'No'))+"\n ")])],1)])};
15033
+ var __vue_render__$I = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"d-flex flex-wrap align-items-center gap-2"},[_c('b-button',{staticClass:"flex-grow-1",attrs:{"variant":_vm.pVal('confirmButtonVariant', 'primary'),"disabled":_vm.loading},on:{"click":function($event){_vm.$emit('submit', { value: _vm.pRaw('confirmButtonValue', true, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('confirmButtonLabel', 'Yes'))+"\n ")]),_vm._v(" "),_c('b-button',{staticClass:"flex-grow-1",attrs:{"disabled":_vm.loading,"variant":_vm.pVal('rejectButtonVariant', 'light')},on:{"click":function($event){_vm.$emit('submit', { value: _vm.pRaw('rejectButtonValue', false, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('rejectButtonLabel', 'No'))+"\n ")])],1)])};
15037
15034
  var __vue_staticRenderFns__$I = [];
15038
15035
 
15039
15036
  /* style */
@@ -15146,6 +15143,7 @@ var script$H = {
15146
15143
  CInputSelect: __vue_component__$19,
15147
15144
  CPagination: __vue_component__$J,
15148
15145
  },
15146
+
15149
15147
  extends: __vue_component__$M,
15150
15148
 
15151
15149
  data () {
@@ -15345,10 +15343,6 @@ var script$H = {
15345
15343
  this.filter.pageCursor = next ? this.filter.nextPage : this.filter.prevPage;
15346
15344
  },
15347
15345
 
15348
- getOptionKey ({ recordID }) {
15349
- return recordID
15350
- },
15351
-
15352
15346
  setDefaultValues () {
15353
15347
  this.processing = false;
15354
15348
  this.query = '';
@@ -15365,7 +15359,7 @@ var script$H = {
15365
15359
  const __vue_script__$H = script$H;
15366
15360
 
15367
15361
  /* template */
15368
- var __vue_render__$G = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"d-flex flex-column gap-1"},[_c('c-input-select',{staticClass:"w-100 mb-3",attrs:{"options":_vm.options,"get-option-key":_vm.getOptionKey,"loading":_vm.processing,"append-to-body":"","option-value":"recordID","option-text":"label","placeholder":"Select record","filterable":false,"reduce":function (r) { return r.recordID; }},on:{"search":_vm.search},scopedSlots:_vm._u([{key:"list-footer",fn:function(){return [(_vm.showPagination)?_c('c-pagination',{attrs:{"has-prev-page":_vm.hasPrevPage,"has-next-page":_vm.hasNextPage},on:{"prev":function($event){return _vm.goToPage(false)},"next":function($event){return _vm.goToPage(true)}}}):_vm._e()]},proxy:true}]),model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}}),_vm._v(" "),_c('b-button',{staticClass:"ml-auto",attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){_vm.$emit('submit', { value: _vm.encodeValue() });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)])};
15362
+ var __vue_render__$G = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.pVal('label', ''),"label-class":"text-primary"}},[_c('c-input-select',{staticClass:"w-100",attrs:{"options":_vm.options,"get-option-key":function (r) { return r.recordID; },"loading":_vm.processing,"append-to-body":"","option-value":"recordID","placeholder":_vm.pVal('placeholder', 'Select a record'),"filterable":false,"reduce":function (r) { return r.recordID; }},on:{"search":_vm.search},scopedSlots:_vm._u([{key:"list-footer",fn:function(){return [(_vm.showPagination)?_c('c-pagination',{attrs:{"has-prev-page":_vm.hasPrevPage,"has-next-page":_vm.hasNextPage},on:{"prev":function($event){return _vm.goToPage(false)},"next":function($event){return _vm.goToPage(true)}}}):_vm._e()]},proxy:true}]),model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}})],1),_vm._v(" "),_c('b-button',{staticClass:"ml-auto",attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){_vm.$emit('submit', { value: _vm.encodeValue() });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)};
15369
15363
  var __vue_staticRenderFns__$G = [];
15370
15364
 
15371
15365
  /* style */
@@ -15440,7 +15434,7 @@ var script$G = {
15440
15434
  const __vue_script__$G = script$G;
15441
15435
 
15442
15436
  /* template */
15443
- var __vue_render__$F = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.label,"label-class":"text-primary"}},[_c('b-input',{attrs:{"type":_vm.type,"disabled":_vm.loading},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}})],1),_vm._v(" "),_c('b-button',{attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){return _vm.$emit('submit', { value: { '@value': _vm.value, '@type': 'String' }})}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)};
15437
+ var __vue_render__$F = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.label,"label-class":"text-primary"}},[_c('b-input',{attrs:{"type":_vm.type,"disabled":_vm.loading},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}})],1),_vm._v(" "),_c('b-button',{staticClass:"ml-auto",attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){return _vm.$emit('submit', { value: { '@value': _vm.value, '@type': 'String' }})}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)};
15444
15438
  var __vue_staticRenderFns__$F = [];
15445
15439
 
15446
15440
  /* style */
@@ -15520,6 +15514,11 @@ const validTypes = [
15520
15514
 
15521
15515
  var script$E = {
15522
15516
  name: 'CPromptOptions',
15517
+
15518
+ components: {
15519
+ CInputSelect: __vue_component__$19,
15520
+ },
15521
+
15523
15522
  extends: __vue_component__$M,
15524
15523
 
15525
15524
  data () {
@@ -15529,9 +15528,10 @@ var script$E = {
15529
15528
  },
15530
15529
 
15531
15530
  computed: {
15532
- options () {
15531
+ itemOptions () {
15533
15532
  const out = [];
15534
15533
  const options = this.pVal('options', {});
15534
+
15535
15535
  for (const value in options) {
15536
15536
  out.push({ value, text: options[value] });
15537
15537
  }
@@ -15539,7 +15539,7 @@ var script$E = {
15539
15539
  return out
15540
15540
  },
15541
15541
 
15542
- type () {
15542
+ inputType () {
15543
15543
  const t = this.pVal('type', 'text');
15544
15544
  if (validTypes.indexOf(t) === -1) {
15545
15545
  return 'select'
@@ -15585,7 +15585,7 @@ var script$E = {
15585
15585
  const __vue_script__$E = script$E;
15586
15586
 
15587
15587
  /* template */
15588
- var __vue_render__$D = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.pVal('label', 'Input'),"label-class":"text-primary"}},[(_vm.type === 'select')?_c('b-form-select',{attrs:{"options":_vm.options,"disabled":_vm.loading,"multiple":_vm.multiple},scopedSlots:_vm._u([(!_vm.multiple)?{key:"first",fn:function(){return [_c('b-form-select-option',{attrs:{"value":undefined,"disabled":""}},[_vm._v("\n -- Please select an option --\n ")])]},proxy:true}:null],null,true),model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}}):_vm._e(),_vm._v(" "),(_vm.type === 'radio')?_c('b-form-radio-group',{attrs:{"disabled":_vm.loading,"options":_vm.options},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}}):_vm._e()],1),_vm._v(" "),_c('b-button',{attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){_vm.$emit('submit', { value: _vm.encodeValue() });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)};
15588
+ var __vue_render__$D = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.pVal('label', 'Input'),"label-class":"text-primary"}},[(_vm.inputType === 'select')?_c('c-input-select',{staticClass:"w-100",attrs:{"options":_vm.itemOptions,"disabled":_vm.loading,"multiple":_vm.multiple,"append-to-body":"","label":"text","get-option-key":function (r) { return r.value; },"placeholder":_vm.pVal('placeholder', 'Select an option'),"reduce":function (r) { return r.value; }},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}}):(_vm.inputType === 'radio')?_c('b-form-radio-group',{attrs:{"options":_vm.itemOptions,"disabled":_vm.loading},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}}):_vm._e()],1),_vm._v(" "),_c('b-button',{staticClass:"ml-auto",attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){_vm.$emit('submit', { value: _vm.encodeValue() });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)};
15589
15589
  var __vue_staticRenderFns__$D = [];
15590
15590
 
15591
15591
  /* style */
@@ -16299,7 +16299,6 @@ const prompts = Object.freeze([
16299
16299
  { name: 'message', types: ['String'], required: true },
16300
16300
  { name: 'buttonLabel', types: ['String'] },
16301
16301
  { name: 'buttonVariant', types: ['String'], meta: { visual: { input: { type: 'select', properties: { options: variants }, default: 'primary' } } } },
16302
- { name: 'buttonValue', types: ['Any'] },
16303
16302
  ],
16304
16303
  },
16305
16304
  {
@@ -16332,6 +16331,9 @@ const prompts = Object.freeze([
16332
16331
  { name: 'labelField', types: ['Handle'], required: true },
16333
16332
  { name: 'queryFields', types: ['Array'] },
16334
16333
  { name: 'prefilter', types: ['String'] },
16334
+ { name: 'label', types: ['String'] },
16335
+ { name: 'placeholder', types: ['String'] },
16336
+ { name: 'buttonLabel', types: ['String'] },
16335
16337
  ],
16336
16338
  results: [
16337
16339
  { name: 'value', types: ['ComposeRecord'] },
@@ -16370,6 +16372,7 @@ const prompts = Object.freeze([
16370
16372
  },
16371
16373
  },
16372
16374
  { name: 'inputValue', types: ['String'] },
16375
+ { name: 'buttonLabel', types: ['String'] },
16373
16376
  ],
16374
16377
  results: [
16375
16378
  { name: 'value', types: ['Any'] },
@@ -16403,8 +16406,10 @@ const prompts = Object.freeze([
16403
16406
  },
16404
16407
  },
16405
16408
  { name: 'value', types: ['String', 'Array'] },
16409
+ { name: 'placeholder', types: ['String'] },
16406
16410
  { name: 'options', types: ['KV'] },
16407
16411
  { name: 'multiselect', types: ['Boolean'] },
16412
+ { name: 'buttonLabel', types: ['String'] },
16408
16413
  ],
16409
16414
  results: [
16410
16415
  { name: 'value', types: ['Any'] },
@@ -16778,6 +16783,12 @@ var __vue_staticRenderFns__$y = [];
16778
16783
  //
16779
16784
  //
16780
16785
  //
16786
+ //
16787
+ //
16788
+ //
16789
+ //
16790
+ //
16791
+ //
16781
16792
 
16782
16793
 
16783
16794
  fontawesomeSvgCore.library.add(freeSolidSvgIcons.faMoon, freeSolidSvgIcons.faSun);
@@ -16788,7 +16799,7 @@ var script$y = {
16788
16799
  },
16789
16800
 
16790
16801
  props: {
16791
- sidebarPinned: {
16802
+ sidebarExpanded: {
16792
16803
  type: Boolean,
16793
16804
  required: true,
16794
16805
  default: false,
@@ -16915,7 +16926,7 @@ var script$y = {
16915
16926
  const __vue_script__$y = script$y;
16916
16927
 
16917
16928
  /* template */
16918
- var __vue_render__$x = 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 py-2 px-3 gap-2"},[_c('div',{staticClass:"sidebar-spacer",class:{ 'expanded': _vm.sidebarPinned }}),_vm._v(" "),_c('h2',{staticClass:"title mb-0"},[_vm._t("title")],2),_vm._v(" "),_c('div',{staticClass:"tools-wrapper ml-auto"},[_vm._t("tools")],2),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center ml-auto gap-1"},[(!_vm.hideAppSelector && !_vm.settings.hideAppSelector)?_c('b-button',{staticClass:"text-dark border-0 px-1",attrs:{"data-test-id":"app-selector","variant":"outline-extra-light","href":_vm.appSelectorURL}},[_vm._v("\n "+_vm._s(_vm.labels.appMenu)+"\n ")]):_vm._e(),_vm._v(" "),_vm._t("right-tools"),_vm._v(" "),(!_vm.settings.hideNotifications)?_c('c-notification-button'):_vm._e(),_vm._v(" "),(!_vm.settings.hideHelp)?_c('b-dropdown',{staticClass:"nav-icon text-sm-nowrap",attrs:{"data-test-id":"dropdown-helper","size":"lg","variant":"outline-extra-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 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","variant":_vm.avatarExists ? 'link' : 'outline-extra-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 mt-2","no-caret":""},on:{"hide":_vm.preventDropdownClose},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [(_vm.avatarExists)?_c('div',{staticClass:"avatar d-flex h-100",style:({
16929
+ var __vue_render__$x = 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 py-2 px-3 gap-2"},[_c('div',{staticClass:"sidebar-spacer",class:{ 'expanded': _vm.sidebarExpanded }}),_vm._v(" "),_c('h2',{staticClass:"title mb-0"},[_vm._t("title")],2),_vm._v(" "),_c('div',{staticClass:"tools-wrapper ml-auto"},[_vm._t("tools")],2),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center ml-auto gap-1"},[(!_vm.hideAppSelector && !_vm.settings.hideAppSelector)?_c('b-button',{staticClass:"text-dark border-0 px-1",attrs:{"data-test-id":"app-selector","variant":"outline-extra-light","href":_vm.appSelectorURL}},[_vm._v("\n "+_vm._s(_vm.labels.appMenu)+"\n ")]):_vm._e(),_vm._v(" "),_vm._t("right-tools"),_vm._v(" "),(!_vm.settings.hideNotifications)?_c('c-notification-button'):_vm._e(),_vm._v(" "),(!_vm.settings.hideHelp)?_c('b-dropdown',{staticClass:"nav-icon text-sm-nowrap",attrs:{"data-test-id":"dropdown-helper","size":"lg","variant":"outline-extra-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 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","variant":_vm.avatarExists ? 'link' : 'outline-extra-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 mt-2","no-caret":""},on:{"hide":_vm.preventDropdownClose},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [(_vm.avatarExists)?_c('div',{staticClass:"avatar d-flex h-100",style:({
16919
16930
  'background-image': _vm.avatarExists ? ("url(" + _vm.profileAvatarUrl + ")") : 'none',
16920
16931
  })}):_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,1615905304)},[_vm._v(" "),_c('b-dropdown-text',{staticClass:"text-muted mb-2",attrs:{"data-test-id":"dropdown-item-username"}},[_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(" "),(!_vm.settings.hideThemeSelector)?_c('b-dropdown',{staticClass:"d-flex",attrs:{"id":"theme-dropleft","variant":"link","text":"Theme","dropleft":"","no-caret":"","toggle-class":"text-decoration-none text-left dropdown-item rounded-0"},on:{"show":function($event){_vm.isThemeDropdownVisible = true;},"hide":function($event){_vm.isThemeDropdownVisible = false;},"click":function($event){$event.preventDefault();$event.stopPropagation();}}},_vm._l((_vm.themes),function(theme){return _c('b-dropdown-item-button',{key:theme.id,attrs:{"disabled":_vm.currentTheme === theme.id},on:{"click":function($event){return _vm.saveThemeMode(theme.id)}}},[_vm._v("\n "+_vm._s(theme.label)+"\n ")])}),1):_vm._e(),_vm._v(" "),_c('b-dropdown-divider'),_vm._v(" "),_c('b-dropdown-item-button',{staticClass:"mt-2",attrs:{"data-test-id":"dropdown-profile-logout"},on:{"click":function($event){return _vm.$auth.logout()}}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsLogout)+"\n ")])],2):_vm._e()],2)])};
16921
16932
  var __vue_staticRenderFns__$x = [];
@@ -16923,12 +16934,12 @@ var __vue_staticRenderFns__$x = [];
16923
16934
  /* style */
16924
16935
  const __vue_inject_styles__$z = function (inject) {
16925
16936
  if (!inject) return
16926
- inject("data-v-1434302a_0", { source: ".nav-icon[data-v-1434302a]{width:calc(var(--topbar-height) - 24px);height:calc(var(--topbar-height) - 24px)}.nav-user-icon[data-v-1434302a]{min-width:calc(var(--topbar-height) - 16px);min-height:calc(var(--topbar-height) - 16px)}.header-navigation[data-v-1434302a]{width:100vw;min-height:var(--topbar-height);background-color:var(--topbar-bg)}.header-navigation .sidebar-spacer[data-v-1434302a]{display:none;min-width:calc(var(--sidebar-width) - 60px)}.header-navigation .sidebar-spacer.expanded[data-v-1434302a]{display:block}.avatar[data-v-1434302a]{border-radius:50%;background-size:cover;background-repeat:no-repeat;background-position:center}.avatar[data-v-1434302a]:hover{opacity:.8;transition:opacity .25s ease-in-out;-moz-transition:opacity .25s ease-in-out;-webkit-transition:opacity .25s ease-in-out}.title[data-v-1434302a]{display:flex;align-items:center;min-height:calc(var(--topbar-height) - 16px);padding-left:47px}.title .vue-portal-target[data-v-1434302a]{display:-webkit-box;display:-ms-flexbox;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;text-overflow:ellipsis}.tools-wrapper[data-v-1434302a]{flex-grow:1}.tools-wrapper .vue-portal-target[data-v-1434302a]{display:flex;justify-content:end;align-items:center;flex-wrap:wrap}", map: undefined, media: undefined })
16927
- ,inject("data-v-1434302a_1", { source: ".topbar-dropdown-menu{z-index:1100}#theme-dropleft .btn{font-family:var(--font-regular)}", map: undefined, media: undefined });
16937
+ inject("data-v-2ac14c0d_0", { source: ".nav-icon[data-v-2ac14c0d]{width:calc(var(--topbar-height) - 24px);height:calc(var(--topbar-height) - 24px)}.nav-user-icon[data-v-2ac14c0d]{min-width:calc(var(--topbar-height) - 16px);min-height:calc(var(--topbar-height) - 16px)}.header-navigation[data-v-2ac14c0d]{width:100vw;min-height:var(--topbar-height);background-color:var(--topbar-bg)}.header-navigation .sidebar-spacer[data-v-2ac14c0d]{display:none;min-width:calc(var(--sidebar-width) - 60px)}.header-navigation .sidebar-spacer.expanded[data-v-2ac14c0d]{display:block}.avatar[data-v-2ac14c0d]{border-radius:50%;background-size:cover;background-repeat:no-repeat;background-position:center}.avatar[data-v-2ac14c0d]:hover{opacity:.8;transition:opacity .25s ease-in-out;-moz-transition:opacity .25s ease-in-out;-webkit-transition:opacity .25s ease-in-out}.title[data-v-2ac14c0d]{display:flex;align-items:center;min-height:calc(var(--topbar-height) - 16px);padding-left:47px}.title>*[data-v-2ac14c0d]{padding:.25rem 0;display:-webkit-box;display:-ms-flexbox;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;text-overflow:ellipsis}.tools-wrapper[data-v-2ac14c0d]{flex-grow:1}.tools-wrapper>*[data-v-2ac14c0d]{display:flex;justify-content:end;align-items:center;flex-wrap:wrap}", map: undefined, media: undefined })
16938
+ ,inject("data-v-2ac14c0d_1", { source: ".topbar-dropdown-menu{z-index:1100}#theme-dropleft .btn{font-family:var(--font-regular)}", map: undefined, media: undefined });
16928
16939
 
16929
16940
  };
16930
16941
  /* scoped */
16931
- const __vue_scope_id__$z = "data-v-1434302a";
16942
+ const __vue_scope_id__$z = "data-v-2ac14c0d";
16932
16943
  /* module identifier */
16933
16944
  const __vue_module_identifier__$z = undefined;
16934
16945
  /* functional template */
@@ -17062,10 +17073,6 @@ var __vue_staticRenderFns__$x = [];
17062
17073
  //
17063
17074
  //
17064
17075
  //
17065
- //
17066
- //
17067
- //
17068
- //
17069
17076
 
17070
17077
 
17071
17078
  var script$x = {
@@ -17075,11 +17082,6 @@ var script$x = {
17075
17082
  default: false,
17076
17083
  },
17077
17084
 
17078
- pinned: {
17079
- type: Boolean,
17080
- default: false,
17081
- },
17082
-
17083
17085
  expandOnClick: {
17084
17086
  type: Boolean,
17085
17087
  default: false,
@@ -17108,7 +17110,6 @@ var script$x = {
17108
17110
 
17109
17111
  data () {
17110
17112
  return {
17111
- sidebarSettings: {},
17112
17113
  isMobile: false,
17113
17114
  }
17114
17115
  },
@@ -17121,20 +17122,6 @@ var script$x = {
17121
17122
 
17122
17123
  set (expanded) {
17123
17124
  this.$emit('update:expanded', expanded);
17124
-
17125
- if (!expanded) {
17126
- this.isPinned = false;
17127
- }
17128
- },
17129
- },
17130
-
17131
- isPinned: {
17132
- get () {
17133
- return this.pinned
17134
- },
17135
-
17136
- set (pinned) {
17137
- this.$emit('update:pinned', pinned);
17138
17125
  },
17139
17126
  },
17140
17127
  },
@@ -17153,8 +17140,9 @@ var script$x = {
17153
17140
  },
17154
17141
  },
17155
17142
 
17156
- created () {
17157
- this.checkSidebar();
17143
+ mounted () {
17144
+ this.checkSidebar(true);
17145
+ this.checkIfMobile();
17158
17146
 
17159
17147
  this.$root.$on('close-sidebar', this.closeSidebar);
17160
17148
  window.addEventListener('resize', this.checkIfMobile);
@@ -17167,81 +17155,23 @@ var script$x = {
17167
17155
 
17168
17156
  methods: {
17169
17157
  checkIfMobile: _.throttle(function () {
17170
- this.isMobile = window.innerWidth < 1024 || /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
17171
-
17172
- if (this.isMobile) {
17173
- this.closeSidebar();
17174
- }
17158
+ this.isMobile = window.innerWidth < 1024;
17175
17159
  }, 500),
17176
17160
 
17177
- checkSidebar () {
17161
+ checkSidebar (initial = false) {
17178
17162
  // If sidebar should be disabled on route, close and unpin when navigating to route
17179
17163
  if (this.disabledRoutes.includes(this.$route.name)) {
17180
- this.isPinned = false;
17181
17164
  this.isExpanded = false;
17182
- } else if (this.expandOnClick && !this.isExpanded) {
17183
- this.defaultSidebarAppearance();
17184
- }
17185
-
17186
- this.checkIfMobile();
17187
- },
17188
-
17189
- onHover: _.throttle(function (expand) {
17190
- if (!expand && !this.pinned && this.expandOnClick) {
17191
- setTimeout(() => {
17192
- this.isExpanded = expand;
17193
- }, expand ? 0 : 100);
17194
- }
17195
- }, 300),
17196
-
17197
- togglePin () {
17198
- if (this.expandOnClick && !this.isExpanded) {
17165
+ } else if (!this.isMobile && initial) {
17199
17166
  this.isExpanded = true;
17200
17167
  }
17201
-
17202
- if (!this.isMobile) {
17203
- this.isPinned = !this.isPinned;
17204
- this.saveSettings(this.isPinned);
17205
- }
17206
- },
17207
-
17208
- defaultSidebarAppearance () {
17209
- const localStorageSettings = JSON.parse(window.localStorage.getItem('sidebarSettings'));
17210
-
17211
- if (localStorageSettings) {
17212
- this.sidebarSettings = localStorageSettings;
17213
- }
17214
-
17215
- const appSidebar = (localStorageSettings || {})[this.$root.$options.name];
17216
-
17217
- if (!this.isMobile) {
17218
- if (appSidebar) {
17219
- this.isExpanded = appSidebar.pinned;
17220
- this.isPinned = appSidebar.pinned;
17221
- } else {
17222
- this.openSidebar();
17223
- }
17224
- } else {
17225
- this.closeSidebar();
17226
- }
17227
- },
17228
-
17229
- saveSettings (pinned) {
17230
- if (this.sidebarSettings[this.$root.$options.name]) {
17231
- this.sidebarSettings[this.$root.$options.name].pinned = pinned;
17232
- } else {
17233
- this.sidebarSettings[this.$root.$options.name] = { pinned };
17234
- }
17235
- window.localStorage.setItem('sidebarSettings', JSON.stringify(this.sidebarSettings));
17236
17168
  },
17237
17169
 
17238
17170
  openSidebar () {
17239
- this.isPinned = true;
17240
17171
  this.isExpanded = true;
17241
17172
  },
17242
17173
 
17243
17174
  closeSidebar () {
17244
- this.isPinned = false;
17245
17175
  this.isExpanded = false;
17246
17176
  },
17247
17177
  },
@@ -17251,18 +17181,18 @@ var script$x = {
17251
17181
  const __vue_script__$x = script$x;
17252
17182
 
17253
17183
  /* template */
17254
- var __vue_render__$w = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{on:{"mouseleave":function($event){return _vm.onHover(false)}}},[_c('b-sidebar',{attrs:{"data-test-id":"sidebar","sidebar-class":("sidebar " + (_vm.isExpanded ? 'expanded' : '')),"header-class":("d-block sidebar-header " + (_vm.isExpanded ? 'expanded border-bottom p-2' : '')),"body-class":("" + (_vm.isExpanded ? 'px-3' : '')),"footer-class":("rounded-right " + (_vm.isExpanded ? 'px-2' : '')),"no-header":!_vm.isExpanded,"backdrop":_vm.isMobile,"backdrop-variant":"white","shadow":_vm.isExpanded && 'sm',"no-slide":"","right":_vm.right,"no-close-on-route-change":"","no-close-on-esc":""},scopedSlots:_vm._u([{key:"header",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-between pl-2",staticStyle:{"height":"47px"}},[_c('img',{staticClass:"logo w-auto border-0",attrs:{"data-test-id":"img-main-logo","src":_vm.logo}}),_vm._v(" "),_c('b-button',{staticClass:"d-flex align-items-center justify-content-center p-2 border-0 text-secondary",attrs:{"variant":"outline-light"},on:{"click":function($event){return _vm.closeSidebar()}}},[_c('font-awesome-icon',{staticClass:"h6 mb-0",attrs:{"icon":['fas', 'times']}})],1)],1),_vm._v(" "),(_vm.isExpanded)?_c('div',{staticClass:"px-2"},[_vm._t("header-expanded")],2):_vm._e(),_vm._v(" "),(!_vm.isExpanded)?_c('hr',{staticClass:"my-2"}):_vm._e()]},proxy:true},{key:"footer",fn:function(){return [(_vm.isExpanded)?_vm._t("footer-expanded"):_vm._e()]},proxy:true}],null,true),model:{value:(_vm.isExpanded),callback:function ($$v) {_vm.isExpanded=$$v;},expression:"isExpanded"}},[_vm._v(" "),(_vm.isExpanded)?_vm._t("body-expanded"):_vm._e()],2)],1),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center justify-content-center tab position-absolute p-2"},[(_vm.expandOnClick && !_vm.disabledRoutes.includes(_vm.$route.name))?_c('b-button',{staticClass:"d-flex align-items-center border-0 text-primary",attrs:{"data-test-id":"button-sidebar-open","variant":"outline-extra-light","size":"lg"},on:{"click":function($event){return _vm.togglePin()}}},[_c('font-awesome-icon',{staticClass:"h4 mb-0",attrs:{"icon":['fas', 'bars']}})],1):(!_vm.disabledRoutes.includes(_vm.$route.name))?_c('b-button',{staticClass:"d-flex align-items-center p-2 border-0 text-primary",attrs:{"data-test-id":"button-home","variant":"outline-extra-light","size":"lg","to":{ name: 'root' }}},[_c('font-awesome-icon',{staticClass:"h4 mb-0",attrs:{"icon":['fas', 'home']}})],1):_c('div',{staticClass:"d-flex align-items-center border-0 p-2"},[_c('img',{staticClass:"icon w-auto border-0",attrs:{"src":_vm.icon}})])],1)])};
17184
+ var __vue_render__$w = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-sidebar',{attrs:{"data-test-id":"sidebar","sidebar-class":("sidebar " + (_vm.isExpanded ? 'expanded' : '')),"header-class":("d-block sidebar-header " + (_vm.isExpanded ? 'expanded border-bottom p-2' : '')),"body-class":("" + (_vm.isExpanded ? 'px-3' : '')),"footer-class":("rounded-right " + (_vm.isExpanded ? 'px-2' : '')),"no-header":!_vm.isExpanded,"backdrop":_vm.isMobile,"backdrop-variant":"white","shadow":_vm.isExpanded && 'sm',"no-slide":"","right":_vm.right,"no-close-on-route-change":"","no-close-on-esc":""},scopedSlots:_vm._u([{key:"header",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-between pl-2",staticStyle:{"height":"47px"}},[_c('img',{staticClass:"logo w-auto border-0",attrs:{"data-test-id":"img-main-logo","src":_vm.logo}}),_vm._v(" "),_c('b-button',{staticClass:"d-flex align-items-center justify-content-center p-2 border-0 text-secondary",attrs:{"variant":"outline-light"},on:{"click":function($event){return _vm.closeSidebar()}}},[_c('font-awesome-icon',{staticClass:"h6 mb-0",attrs:{"icon":['fas', 'times']}})],1)],1),_vm._v(" "),(_vm.isExpanded)?_c('div',{staticClass:"px-2"},[_vm._t("header-expanded")],2):_vm._e(),_vm._v(" "),(!_vm.isExpanded)?_c('hr',{staticClass:"my-2"}):_vm._e()]},proxy:true},{key:"footer",fn:function(){return [(_vm.isExpanded)?_vm._t("footer-expanded"):_vm._e()]},proxy:true}],null,true),model:{value:(_vm.isExpanded),callback:function ($$v) {_vm.isExpanded=$$v;},expression:"isExpanded"}},[_vm._v(" "),(_vm.isExpanded)?_vm._t("body-expanded"):_vm._e()],2),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center justify-content-center tab position-absolute p-2"},[(_vm.disabledRoutes.includes(_vm.$route.name))?_c('div',{staticClass:"d-flex align-items-center border-0 p-2"},[_c('img',{staticClass:"icon w-auto border-0",attrs:{"src":_vm.icon}})]):(_vm.expandOnClick)?_c('b-button',{staticClass:"d-flex align-items-center border-0 text-primary",attrs:{"data-test-id":"button-sidebar-open","variant":"outline-extra-light","size":"lg"},on:{"click":function($event){return _vm.openSidebar()}}},[_c('font-awesome-icon',{staticClass:"h4 mb-0",attrs:{"icon":['fas', 'bars']}})],1):_c('b-button',{staticClass:"d-flex align-items-center p-2 border-0 text-primary",attrs:{"data-test-id":"button-home","variant":"outline-extra-light","size":"lg","to":{ name: 'root' }}},[_c('font-awesome-icon',{staticClass:"h4 mb-0",attrs:{"icon":['fas', 'home']}})],1)],1)],1)};
17255
17185
  var __vue_staticRenderFns__$w = [];
17256
17186
 
17257
17187
  /* style */
17258
17188
  const __vue_inject_styles__$y = function (inject) {
17259
17189
  if (!inject) return
17260
- inject("data-v-3c3a3193_0", { source: ".tab[data-v-3c3a3193]{z-index:1021;top:0;height:64px;width:66px}.icon[data-v-3c3a3193]{max-height:40px;max-width:40px}.logo[data-v-3c3a3193]{max-height:40px}.sidebar-header[data-v-3c3a3193]{height:64px}", map: undefined, media: undefined })
17261
- ,inject("data-v-3c3a3193_1", { source: ".b-sidebar{background-color:var(--white)!important}.b-sidebar-backdrop{opacity:.75!important}.sidebar{display:flex!important;left:calc(-320px)!important;transition:left .2s cubic-bezier(.4,0,.2,1)}.sidebar.expanded{left:0!important;transition:left .2s cubic-bezier(.4,0,.2,1)}[dir=rtl] .sidebar{right:calc(-320px)!important;left:auto!important;transition:right .2s cubic-bezier(.4,0,.2,1)}[dir=rtl] .sidebar.expanded{right:0!important;transition:right .2s cubic-bezier(.4,0,.2,1)}", map: undefined, media: undefined });
17190
+ inject("data-v-c2dbe544_0", { source: ".tab[data-v-c2dbe544]{z-index:1021;top:0;height:64px;width:66px}.icon[data-v-c2dbe544]{max-height:40px;max-width:40px}.logo[data-v-c2dbe544]{max-height:40px}.sidebar-header[data-v-c2dbe544]{height:64px}", map: undefined, media: undefined })
17191
+ ,inject("data-v-c2dbe544_1", { source: ".b-sidebar{background-color:var(--white)!important}.b-sidebar-backdrop{opacity:.75!important}.sidebar{display:flex!important;left:calc(-320px)!important;transition:left .2s cubic-bezier(.4,0,.2,1)}.sidebar.expanded{left:0!important;transition:left .2s cubic-bezier(.4,0,.2,1)}[dir=rtl] .sidebar{right:calc(-320px)!important;left:auto!important;transition:right .2s cubic-bezier(.4,0,.2,1)}[dir=rtl] .sidebar.expanded{right:0!important;transition:right .2s cubic-bezier(.4,0,.2,1)}", map: undefined, media: undefined });
17262
17192
 
17263
17193
  };
17264
17194
  /* scoped */
17265
- const __vue_scope_id__$y = "data-v-3c3a3193";
17195
+ const __vue_scope_id__$y = "data-v-c2dbe544";
17266
17196
  /* module identifier */
17267
17197
  const __vue_module_identifier__$y = undefined;
17268
17198
  /* functional template */