@cortezaproject/corteza-vue 2023.3.4 → 2023.3.5-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 CHANGED
@@ -14611,6 +14611,17 @@ var script$3 = {
14611
14611
  }];
14612
14612
  }
14613
14613
 
14614
+ },
14615
+
14616
+ beforeDestroy() {
14617
+ this.setDefaultValues();
14618
+ },
14619
+
14620
+ methods: {
14621
+ setDefaultValues() {
14622
+ this.options = {};
14623
+ }
14624
+
14614
14625
  }
14615
14626
  };
14616
14627
 
@@ -14624,7 +14635,7 @@ var __vue_staticRenderFns__$2 = [];
14624
14635
  /* style */
14625
14636
  const __vue_inject_styles__$3 = function (inject) {
14626
14637
  if (!inject) return
14627
- inject("data-v-37bb9a65_0", { source: ".popup-img-preview .pswp{pointer-events:none}.popup-img-preview .pswp .pswp__img{pointer-events:all}.popup-img-preview .pswp__top-bar{display:none!important}", map: undefined, media: undefined });
14638
+ inject("data-v-6710dcc6_0", { source: ".popup-img-preview .pswp{pointer-events:none}.popup-img-preview .pswp .pswp__img{pointer-events:all}.popup-img-preview .pswp__top-bar{display:none!important}", map: undefined, media: undefined });
14628
14639
 
14629
14640
  };
14630
14641
  /* scoped */
@@ -70584,6 +70595,10 @@ var script$4 = {
70584
70595
  this.$nextTick(() => this.init());
70585
70596
  },
70586
70597
 
70598
+ beforeDestroy() {
70599
+ this.setDefaultValues();
70600
+ },
70601
+
70587
70602
  methods: {
70588
70603
  /**
70589
70604
  * Helper to handle on preview click. It either requests a retry or
@@ -70750,6 +70765,13 @@ var script$4 = {
70750
70765
  stdErr(err) {
70751
70766
  this.loadError = err;
70752
70767
  this.$emit('error', err);
70768
+ },
70769
+
70770
+ setDefaultValues() {
70771
+ this.document = null;
70772
+ this.pages = [];
70773
+ this.show = false;
70774
+ this.loadError = undefined;
70753
70775
  }
70754
70776
 
70755
70777
  }
@@ -70765,12 +70787,12 @@ var __vue_staticRenderFns__$3 = [];
70765
70787
  /* style */
70766
70788
  const __vue_inject_styles__$4 = function (inject) {
70767
70789
  if (!inject) return
70768
- inject("data-v-29e0e814_0", { source: ".doc-msg[data-v-29e0e814]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;background-color:#fff}.doc-err[data-v-29e0e814]{cursor:pointer}.doc-err .err-message[data-v-29e0e814]{color:#e54122}", map: undefined, media: undefined })
70769
- ,inject("data-v-29e0e814_1", { source: ".pdf-preview{text-align:center}.pdf-preview:not(.inline){padding-top:20px;padding-bottom:20px}.pdf-preview:not(.inline) canvas{box-shadow:0 0 3px #1e1E1E41}.pdf-preview.inline{height:200px;overflow-y:scroll;display:inline-block;cursor:zoom-in;width:100%;max-width:500px}.pdf-preview canvas{margin-bottom:10px}.pdf-preview canvas.inline{width:100%}.pdf-preview canvas:not(.inline){margin:0 auto 10px auto;display:block}.pdf-preview canvas:last-of-type{margin-bottom:unset}.pdf-preview .loader{margin-bottom:10px}", map: undefined, media: undefined });
70790
+ inject("data-v-bdad5b00_0", { source: ".doc-msg[data-v-bdad5b00]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;background-color:#fff}.doc-err[data-v-bdad5b00]{cursor:pointer}.doc-err .err-message[data-v-bdad5b00]{color:#e54122}", map: undefined, media: undefined })
70791
+ ,inject("data-v-bdad5b00_1", { source: ".pdf-preview{text-align:center}.pdf-preview:not(.inline){padding-top:20px;padding-bottom:20px}.pdf-preview:not(.inline) canvas{box-shadow:0 0 3px #1e1E1E41}.pdf-preview.inline{height:200px;overflow-y:scroll;display:inline-block;cursor:zoom-in;width:100%;max-width:500px}.pdf-preview canvas{margin-bottom:10px}.pdf-preview canvas.inline{width:100%}.pdf-preview canvas:not(.inline){margin:0 auto 10px auto;display:block}.pdf-preview canvas:last-of-type{margin-bottom:unset}.pdf-preview .loader{margin-bottom:10px}", map: undefined, media: undefined });
70770
70792
 
70771
70793
  };
70772
70794
  /* scoped */
70773
- const __vue_scope_id__$4 = "data-v-29e0e814";
70795
+ const __vue_scope_id__$4 = "data-v-bdad5b00";
70774
70796
  /* module identifier */
70775
70797
  const __vue_module_identifier__$4 = undefined;
70776
70798
  /* functional template */
@@ -71328,13 +71350,13 @@ var script$a = {
71328
71350
  const __vue_script__$a = script$a;
71329
71351
 
71330
71352
  /* template */
71331
- var __vue_render__$9 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-input-date-time d-flex flex-wrap w-100"},[(!_vm.noDate)?_c('b-form-datepicker',{staticClass:"h-100 overflow-hidden",attrs:{"placeholder":_vm.labels.none,"date-format-options":{ year: 'numeric', month: 'numeric', day: 'numeric' },"min":_vm.minDate,"max":_vm.maxDate,"label-reset-button":_vm.labels.clear,"label-today-button":_vm.labels.today,"label-help":"","today-variant":"info","selected-variant":"secondary","boundary":"window","hide-header":"","reset-button":"","today-button":""},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v;},expression:"date"}}):_vm._e(),_vm._v(" "),(!_vm.noTime)?_c('b-form-timepicker',{staticClass:"h-100 overflow-hidden",attrs:{"placeholder":_vm.labels.none,"label-reset-button":_vm.labels.clear,"label-now-button":_vm.labels.now,"boundary":"window","hide-header":"","no-close-button":"","reset-button":"","now-button":""},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v;},expression:"time"}}):_vm._e(),_vm._v(" "),_vm._t("default")],2)};
71353
+ var __vue_render__$9 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-input-date-time d-flex flex-wrap w-100"},[(!_vm.noDate)?_c('b-form-datepicker',{staticClass:"h-100 overflow-hidden",attrs:{"data-test-id":"picker-date","placeholder":_vm.labels.none,"date-format-options":{ year: 'numeric', month: 'numeric', day: 'numeric' },"min":_vm.minDate,"max":_vm.maxDate,"label-reset-button":_vm.labels.clear,"label-today-button":_vm.labels.today,"label-help":"","today-variant":"info","selected-variant":"secondary","boundary":"window","hide-header":"","reset-button":"","today-button":""},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v;},expression:"date"}}):_vm._e(),_vm._v(" "),(!_vm.noTime)?_c('b-form-timepicker',{staticClass:"h-100 overflow-hidden",attrs:{"data-test-id":"picker-time","placeholder":_vm.labels.none,"label-reset-button":_vm.labels.clear,"label-now-button":_vm.labels.now,"boundary":"window","hide-header":"","no-close-button":"","reset-button":"","now-button":""},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v;},expression:"time"}}):_vm._e(),_vm._v(" "),_vm._t("default")],2)};
71332
71354
  var __vue_staticRenderFns__$9 = [];
71333
71355
 
71334
71356
  /* style */
71335
71357
  const __vue_inject_styles__$b = function (inject) {
71336
71358
  if (!inject) return
71337
- inject("data-v-07fca6e8_0", { source: ".c-input-date-time{min-width:120px}.c-input-date-time .btn{padding:.25rem .5rem}.c-input-date-time label{font-family:Poppins-Regular;color:#495057!important}.c-input-date-time .b-form-datepicker,.c-input-date-time .b-form-timepicker{flex:1 0 130px}.b-calendar-inner{background-color:#fff}", map: undefined, media: undefined });
71359
+ inject("data-v-ed792e72_0", { source: ".c-input-date-time{min-width:120px}.c-input-date-time .btn{padding:.25rem .5rem}.c-input-date-time label{font-family:Poppins-Regular;color:#495057!important}.c-input-date-time .b-form-datepicker,.c-input-date-time .b-form-timepicker{flex:1 0 130px}.b-calendar-inner{background-color:#fff}", map: undefined, media: undefined });
71338
71360
 
71339
71361
  };
71340
71362
  /* scoped */
@@ -71468,6 +71490,18 @@ var script$b = {
71468
71490
  }
71469
71491
 
71470
71492
  }
71493
+ },
71494
+
71495
+ beforeDestroy() {
71496
+ this.setDefaultValues();
71497
+ },
71498
+
71499
+ methods: {
71500
+ setDefaultValues() {
71501
+ this.items = [];
71502
+ this.textInput = false;
71503
+ }
71504
+
71471
71505
  }
71472
71506
  };
71473
71507
 
@@ -79458,7 +79492,6 @@ var script$n = {
79458
79492
  },
79459
79493
  labels: {
79460
79494
  type: Object,
79461
- required: true,
79462
79495
  default: () => ({})
79463
79496
  },
79464
79497
  invert: {
@@ -84297,12 +84330,21 @@ var script$u = {
84297
84330
 
84298
84331
  mounted() {
84299
84332
  this.searchUsers('', () => {});
84300
- this.$root.$on(modalOpenEventName, ({
84333
+ this.$root.$on(modalOpenEventName, this.loadModal);
84334
+ },
84335
+
84336
+ beforeDestroy() {
84337
+ this.setDefaultValues();
84338
+ this.destroyEvents();
84339
+ },
84340
+
84341
+ methods: {
84342
+ loadModal({
84301
84343
  resource,
84302
84344
  title,
84303
84345
  target,
84304
84346
  allSpecific
84305
- }) => {
84347
+ }) {
84306
84348
  this.resource = resource;
84307
84349
  this.title = title;
84308
84350
  this.target = target;
@@ -84342,14 +84384,8 @@ var script$u = {
84342
84384
  });
84343
84385
  }
84344
84386
  });
84345
- });
84346
- },
84347
-
84348
- destroyed() {
84349
- this.$root.$off(modalOpenEventName);
84350
- },
84387
+ },
84351
84388
 
84352
- methods: {
84353
84389
  onHide() {
84354
84390
  this.clear();
84355
84391
  },
@@ -84628,6 +84664,26 @@ var script$u = {
84628
84664
  userID
84629
84665
  }) {
84630
84666
  return userID;
84667
+ },
84668
+
84669
+ setDefaultValues() {
84670
+ this.processing = false;
84671
+ this.backendComponentName = undefined;
84672
+ this.resource = undefined;
84673
+ this.title = undefined;
84674
+ this.target = undefined;
84675
+ this.allSpecific = false;
84676
+ this.userOptions = [];
84677
+ this.permissions = [];
84678
+ this.rules = [];
84679
+ this.roles = [];
84680
+ this.currentRole = undefined;
84681
+ this.evaluate = [];
84682
+ this.add = {};
84683
+ },
84684
+
84685
+ destroyEvents() {
84686
+ this.$root.$off(modalOpenEventName);
84631
84687
  }
84632
84688
 
84633
84689
  }
@@ -84643,12 +84699,11 @@ var __vue_staticRenderFns__$r = [];
84643
84699
  /* style */
84644
84700
  const __vue_inject_styles__$v = function (inject) {
84645
84701
  if (!inject) return
84646
- inject("data-v-70b7dad5_0", { source: ".not-allowed[data-v-70b7dad5]{cursor:not-allowed}.bg-extra-light[data-v-70b7dad5]{background-color:#f3f5f7}.pointer[data-v-70b7dad5]{cursor:pointer}.rotate[data-v-70b7dad5]{transform:rotate(45deg)}.hide-eval:hover .rotate[data-v-70b7dad5]{color:#162425!important}", map: undefined, media: undefined })
84647
- ,inject("data-v-70b7dad5_1", { source: "#permissions-modal .v-select,#permissions-modal-eval .v-select{min-width:100%}#permissions-modal .v-select .vs__selected-options,#permissions-modal-eval .v-select .vs__selected-options{flex-wrap:wrap}", map: undefined, media: undefined });
84702
+ inject("data-v-56f7fc8e_0", { source: ".not-allowed[data-v-56f7fc8e]{cursor:not-allowed}.bg-extra-light[data-v-56f7fc8e]{background-color:#f3f5f7}.pointer[data-v-56f7fc8e]{cursor:pointer}.rotate[data-v-56f7fc8e]{transform:rotate(45deg)}.hide-eval:hover .rotate[data-v-56f7fc8e]{color:#162425!important}", map: undefined, media: undefined });
84648
84703
 
84649
84704
  };
84650
84705
  /* scoped */
84651
- const __vue_scope_id__$v = "data-v-70b7dad5";
84706
+ const __vue_scope_id__$v = "data-v-56f7fc8e";
84652
84707
  /* module identifier */
84653
84708
  const __vue_module_identifier__$v = undefined;
84654
84709
  /* functional template */
@@ -85040,6 +85095,10 @@ var script$z = {
85040
85095
  this.loadLatest();
85041
85096
  },
85042
85097
 
85098
+ beforeDestroy() {
85099
+ this.setDefaultValues();
85100
+ },
85101
+
85043
85102
  methods: {
85044
85103
  encodeValue() {
85045
85104
  if (!this.value) {
@@ -85211,6 +85270,16 @@ var script$z = {
85211
85270
  recordID
85212
85271
  }) {
85213
85272
  return recordID;
85273
+ },
85274
+
85275
+ setDefaultValues() {
85276
+ this.processing = false;
85277
+ this.query = '';
85278
+ this.filter = {};
85279
+ this.namespaceID = NoID;
85280
+ this.module = undefined;
85281
+ this.options = [];
85282
+ this.value = undefined;
85214
85283
  }
85215
85284
 
85216
85285
  }
@@ -85765,6 +85834,16 @@ var script$D = {
85765
85834
 
85766
85835
  }
85767
85836
  },
85837
+
85838
+ mounted() {
85839
+ this.setDocumentFocusObserver();
85840
+ },
85841
+
85842
+ beforeDestroy() {
85843
+ this.clearDocumentFocusObserver();
85844
+ this.setDefaultValues();
85845
+ },
85846
+
85768
85847
  methods: { ...mapActions({
85769
85848
  resume: 'wfPrompts/resume',
85770
85849
  activate: 'wfPrompts/activate'
@@ -85801,18 +85880,15 @@ var script$D = {
85801
85880
  this.hasFocus = f;
85802
85881
  }
85803
85882
  }, 1000);
85804
- }
85805
-
85806
- },
85883
+ },
85807
85884
 
85808
- mounted() {
85809
- this.setDocumentFocusObserver();
85810
- },
85885
+ setDefaultValues() {
85886
+ this.passive.clear();
85887
+ this.hasFocus = null;
85888
+ this.hasFocusObserver = 0;
85889
+ }
85811
85890
 
85812
- beforeDestroy() {
85813
- this.clearDocumentFocusObserver();
85814
85891
  }
85815
-
85816
85892
  };
85817
85893
 
85818
85894
  /* script */
@@ -85829,11 +85905,11 @@ var __vue_staticRenderFns__$z = [];
85829
85905
  /* style */
85830
85906
  const __vue_inject_styles__$E = function (inject) {
85831
85907
  if (!inject) return
85832
- inject("data-v-4017a64a_0", { source: ".slide-enter-active[data-v-4017a64a]{transition:all .3s ease}.slide-leave-active[data-v-4017a64a]{transition:all .8s cubic-bezier(1,.5,.8,1)}.slide-enter[data-v-4017a64a],.slide-leave-to[data-v-4017a64a]{transform:translateX(10px);opacity:0}", map: undefined, media: undefined });
85908
+ inject("data-v-7f5ed204_0", { source: ".slide-enter-active[data-v-7f5ed204]{transition:all .3s ease}.slide-leave-active[data-v-7f5ed204]{transition:all .8s cubic-bezier(1,.5,.8,1)}.slide-enter[data-v-7f5ed204],.slide-leave-to[data-v-7f5ed204]{transform:translateX(10px);opacity:0}", map: undefined, media: undefined });
85833
85909
 
85834
85910
  };
85835
85911
  /* scoped */
85836
- const __vue_scope_id__$E = "data-v-4017a64a";
85912
+ const __vue_scope_id__$E = "data-v-7f5ed204";
85837
85913
  /* module identifier */
85838
85914
  const __vue_module_identifier__$E = undefined;
85839
85915
  /* functional template */
@@ -86434,11 +86510,6 @@ var __vue_staticRenderFns__$C = [];
86434
86510
  //
86435
86511
  //
86436
86512
  //
86437
- //
86438
- //
86439
- //
86440
- //
86441
- //
86442
86513
  var script$H = {
86443
86514
  props: {
86444
86515
  sidebarPinned: {
@@ -86527,9 +86598,9 @@ var script$H = {
86527
86598
  const __vue_script__$H = script$H;
86528
86599
 
86529
86600
  /* template */
86530
- 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 flex-sm-nowrap align-items-center sticky-top pr-3"},[_c('div',{staticClass:"spacer",class:{
86601
+ 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 sticky-top pr-3"},[_c('div',{staticClass:"spacer",class:{
86531
86602
  'expanded': _vm.sidebarPinned,
86532
- }}),_vm._v(" "),_c('h2',{staticClass:"title py-2 py-sm-0 mr-0 mr-sm-2 d-sm-inline-block text-truncate order-2 order-sm-0 mb-0"},[_vm._t("title")],2),_vm._v(" "),_c('div',{staticClass:"tools-wrapper ml-auto text-sm-nowrap order-3 order-sm-0 pt-2 pb-3 py-sm-0"},[_vm._t("tools")],2),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center order-1 order-sm-0 ml-auto ml-sm-0"},[(!_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,"size":"lg"}},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['fas', 'grip-horizontal']}})],1):_vm._e()],1),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center order-1 order-sm-0"},[(!_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()],1),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center order-1 order-sm-0 flex-grow-sm-0"},[(!_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
+ }}),_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:({
86533
86604
  'background-image': _vm.avatarExists ? ("url(" + _vm.profileAvatarUrl + ")") : 'none',
86534
86605
  })}):_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)])};
86535
86606
  var __vue_staticRenderFns__$D = [];
@@ -86537,12 +86608,11 @@ var __vue_staticRenderFns__$D = [];
86537
86608
  /* style */
86538
86609
  const __vue_inject_styles__$I = function (inject) {
86539
86610
  if (!inject) return
86540
- inject("data-v-28eceee4_0", { source: ".icon-logo[data-v-28eceee4]{height:calc(64px / 2);background-repeat:no-repeat;background-position:center}.nav-icon[data-v-28eceee4]{width:40px;height:40px}.nav-user-icon[data-v-28eceee4]{min-width:50px;min-height:50px}.header-navigation[data-v-28eceee4]{width:100vw;height:64px;background-color:#f9fafb!important;padding-left:calc(3.5rem + 6px)}.header-navigation .title>*[data-v-28eceee4]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-dropdown-menu[data-v-28eceee4]{max-height:80vh;overflow-y:auto}.avatar[data-v-28eceee4]{border-radius:50%;background-size:cover;background-repeat:no-repeat;background-position:center}.avatar[data-v-28eceee4]: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-28eceee4]{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-28eceee4]{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}@media (max-width:576px){.header-navigation[data-v-28eceee4]{height:auto;padding-left:1.5rem}.header-navigation .title[data-v-28eceee4]{flex-basis:100%}.tools-wrapper[data-v-28eceee4]{flex-grow:1}.tools-wrapper .vue-portal-target[data-v-28eceee4]{display:flex;justify-content:end}.tools-wrapper~div[data-v-28eceee4]{height:64px}}", map: undefined, media: undefined })
86541
- ,inject("data-v-28eceee4_1", { source: ".topbar-tools .vue-portal-target{display:flex;align-items:center}", map: undefined, media: undefined });
86611
+ inject("data-v-beb37bba_0", { source: ".icon-logo[data-v-beb37bba]{height:calc(64px / 2);background-repeat:no-repeat;background-position:center}.nav-icon[data-v-beb37bba]{width:40px;height:40px}.nav-user-icon[data-v-beb37bba]{min-width:50px;min-height:50px}.header-navigation[data-v-beb37bba]{width:100vw;min-height:64px;background-color:#f9fafb!important;padding-left:calc(3.5rem + 6px)}.topbar-dropdown-menu[data-v-beb37bba]{max-height:80vh;overflow-y:auto}.avatar[data-v-beb37bba]{border-radius:50%;background-size:cover;background-repeat:no-repeat;background-position:center}.avatar[data-v-beb37bba]: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-beb37bba]{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-beb37bba]{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-beb37bba]{display:flex;align-items:center;min-height:64px}.title .vue-portal-target[data-v-beb37bba]{display:-webkit-box;display:-ms-flexbox;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;text-overflow:ellipsis}.tools-wrapper[data-v-beb37bba]{flex-grow:1}.tools-wrapper .vue-portal-target[data-v-beb37bba]{display:flex;justify-content:end;flex-wrap:wrap}", map: undefined, media: undefined });
86542
86612
 
86543
86613
  };
86544
86614
  /* scoped */
86545
- const __vue_scope_id__$I = "data-v-28eceee4";
86615
+ const __vue_scope_id__$I = "data-v-beb37bba";
86546
86616
  /* module identifier */
86547
86617
  const __vue_module_identifier__$I = undefined;
86548
86618
  /* functional template */
@@ -86631,15 +86701,12 @@ var script$I = {
86631
86701
 
86632
86702
  created() {
86633
86703
  this.checkIfMobile();
86634
- this.$root.$on('close-sidebar', () => {
86635
- this.isExpanded = false;
86636
- this.isPinned = false;
86637
- });
86704
+ this.$root.$on('close-sidebar', this.closeSidebar);
86638
86705
  window.addEventListener('resize', this.checkIfMobile);
86639
86706
  },
86640
86707
 
86641
86708
  beforeDestroy() {
86642
- this.$root.$off('close-sidebar');
86709
+ this.$root.$off('close-sidebar', this.closeSidebar);
86643
86710
  window.removeEventListener('resize', this.checkIfMobile);
86644
86711
  },
86645
86712
 
@@ -86651,6 +86718,12 @@ var script$I = {
86651
86718
  this.checkSidebar();
86652
86719
  }
86653
86720
 
86721
+ },
86722
+ disabledRoutes: {
86723
+ handler() {
86724
+ this.checkSidebar();
86725
+ }
86726
+
86654
86727
  }
86655
86728
  },
86656
86729
  methods: {
@@ -86737,12 +86810,12 @@ var __vue_staticRenderFns__$E = [];
86737
86810
  /* style */
86738
86811
  const __vue_inject_styles__$J = function (inject) {
86739
86812
  if (!inject) return
86740
- inject("data-v-5e5a2668_0", { source: ".tab[data-v-5e5a2668]{z-index:1021;top:0;height:64px;width:66px}.icon[data-v-5e5a2668]{max-height:40px;max-width:40px}.logo[data-v-5e5a2668]{max-height:40px}.sidebar-header[data-v-5e5a2668]{height:64px}", map: undefined, media: undefined })
86741
- ,inject("data-v-5e5a2668_1", { source: ".sidebar{display:flex!important;left:calc(-320px)!important;-webkit-transition:left .15s ease-in-out;-moz-transition:left .15s ease-in-out;-o-transition:left .15s ease-in-out;transition:left .15s ease-in-out}.sidebar header{background-color:#fff}.sidebar header.expanded{background-color:#f4f7fa!important}.sidebar.expanded{left:0!important;-webkit-transition:left .2s ease-in-out;-moz-transition:left .2s ease-in-out;-o-transition:left .2s ease-in-out;transition:left .2s ease-in-out}[dir=rtl] .sidebar{right:calc(-320px)!important;-webkit-transition:right .15s ease-in-out;-moz-transition:right .15s ease-in-out;-o-transition:right .15s ease-in-out;transition:right .15s ease-in-out}[dir=rtl] .sidebar header{background-color:#fff}[dir=rtl] .sidebar header.expanded{background-color:#f4f7fa!important}[dir=rtl] .sidebar.expanded{right:0!important;-webkit-transition:right .2s ease-in-out;-moz-transition:right .2s ease-in-out;-o-transition:right .2s ease-in-out;transition:right .2s ease-in-out}", map: undefined, media: undefined });
86813
+ inject("data-v-3dc06705_0", { source: ".tab[data-v-3dc06705]{z-index:1021;top:0;height:64px;width:66px}.icon[data-v-3dc06705]{max-height:40px;max-width:40px}.logo[data-v-3dc06705]{max-height:40px}.sidebar-header[data-v-3dc06705]{height:64px}", map: undefined, media: undefined })
86814
+ ,inject("data-v-3dc06705_1", { source: ".sidebar{display:flex!important;left:calc(-320px)!important;-webkit-transition:left .15s ease-in-out;-moz-transition:left .15s ease-in-out;-o-transition:left .15s ease-in-out;transition:left .15s ease-in-out}.sidebar header{background-color:#fff}.sidebar header.expanded{background-color:#f4f7fa!important}.sidebar.expanded{left:0!important;-webkit-transition:left .2s ease-in-out;-moz-transition:left .2s ease-in-out;-o-transition:left .2s ease-in-out;transition:left .2s ease-in-out}[dir=rtl] .sidebar{right:calc(-320px)!important;-webkit-transition:right .15s ease-in-out;-moz-transition:right .15s ease-in-out;-o-transition:right .15s ease-in-out;transition:right .15s ease-in-out}[dir=rtl] .sidebar header{background-color:#fff}[dir=rtl] .sidebar header.expanded{background-color:#f4f7fa!important}[dir=rtl] .sidebar.expanded{right:0!important;-webkit-transition:right .2s ease-in-out;-moz-transition:right .2s ease-in-out;-o-transition:right .2s ease-in-out;transition:right .2s ease-in-out}", map: undefined, media: undefined });
86742
86815
 
86743
86816
  };
86744
86817
  /* scoped */
86745
- const __vue_scope_id__$J = "data-v-5e5a2668";
86818
+ const __vue_scope_id__$J = "data-v-3dc06705";
86746
86819
  /* module identifier */
86747
86820
  const __vue_module_identifier__$J = undefined;
86748
86821
  /* functional template */
@@ -87125,7 +87198,7 @@ var __vue_staticRenderFns__$G = [];
87125
87198
  /* style */
87126
87199
  const __vue_inject_styles__$L = function (inject) {
87127
87200
  if (!inject) return
87128
- inject("data-v-10ecc0de_0", { source: ".v-step{background:#5c5c5c;max-width:320px;z-index:10000;border-radius:1.1rem}.v-step--sticky{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.v-step--sticky .v-step__arrow{display:none}.v-step__arrow,.v-step__arrow:before{position:absolute;width:10px;height:10px;background:inherit}.v-step__arrow{visibility:hidden}.v-step__arrow--dark:before{background:#5c5c5c}.v-step__arrow:before{visibility:visible;content:\"\";-webkit-transform:rotate(45deg);transform:rotate(45deg);margin-left:-5px}.v-step[data-popper-placement^=top]>.v-step__arrow{bottom:-5px}.v-step[data-popper-placement^=bottom]>.v-step__arrow{top:-5px}.v-step[data-popper-placement^=right]>.v-step__arrow{left:-5px}.v-step[data-popper-placement^=left]>.v-step__arrow{right:-5px}", map: undefined, media: undefined });
87201
+ inject("data-v-a7733446_0", { source: ".v-step{background:#5c5c5c;max-width:320px;z-index:10000;border-radius:1.1rem}.v-step--sticky{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.v-step--sticky .v-step__arrow{display:none}.v-step__arrow,.v-step__arrow:before{position:absolute;width:10px;height:10px;background:inherit}.v-step__arrow{visibility:hidden}.v-step__arrow--dark:before{background:#5c5c5c}.v-step__arrow:before{visibility:visible;content:\"\";-webkit-transform:rotate(45deg);transform:rotate(45deg);margin-left:-5px}.v-step[data-popper-placement^=top]>.v-step__arrow{bottom:-5px}.v-step[data-popper-placement^=bottom]>.v-step__arrow{top:-5px}.v-step[data-popper-placement^=right]>.v-step__arrow{left:-5px}.v-step[data-popper-placement^=left]>.v-step__arrow{right:-5px}", map: undefined, media: undefined });
87129
87202
 
87130
87203
  };
87131
87204
  /* scoped */
@@ -87911,6 +87984,10 @@ var script$U = {
87911
87984
  });
87912
87985
  },
87913
87986
 
87987
+ beforeDestroy() {
87988
+ this.setDefaultValues();
87989
+ },
87990
+
87914
87991
  methods: {
87915
87992
  _disableDragging(e) {
87916
87993
  if (this.disabledDragging && e.to !== e.from) {
@@ -87989,6 +88066,12 @@ var script$U = {
87989
88066
 
87990
88067
  frozen() {
87991
88068
  return this.options.map(Object.freeze);
88069
+ },
88070
+
88071
+ setDefaultValues() {
88072
+ this.query = '';
88073
+ this.available = [];
88074
+ this.selected = [];
87992
88075
  }
87993
88076
 
87994
88077
  }
@@ -88008,11 +88091,11 @@ var __vue_staticRenderFns__$P = [];
88008
88091
  /* style */
88009
88092
  const __vue_inject_styles__$V = function (inject) {
88010
88093
  if (!inject) return
88011
- inject("data-v-b8554f3c_0", { source: ".handle[data-v-b8554f3c]{cursor:grab}.handle[data-v-b8554f3c]:active{cursor:grabbing}", map: undefined, media: undefined });
88094
+ inject("data-v-eb460e3e_0", { source: ".handle[data-v-eb460e3e]{cursor:grab}.handle[data-v-eb460e3e]:active{cursor:grabbing}", map: undefined, media: undefined });
88012
88095
 
88013
88096
  };
88014
88097
  /* scoped */
88015
- const __vue_scope_id__$V = "data-v-b8554f3c";
88098
+ const __vue_scope_id__$V = "data-v-eb460e3e";
88016
88099
  /* module identifier */
88017
88100
  const __vue_module_identifier__$V = undefined;
88018
88101
  /* functional template */
@@ -89014,6 +89097,10 @@ var script$10 = {
89014
89097
  };
89015
89098
  },
89016
89099
 
89100
+ beforeDestroy() {
89101
+ this.setDefaultValues();
89102
+ },
89103
+
89017
89104
  computed: {
89018
89105
  _fields() {
89019
89106
  const select = this.selectable ? [{
@@ -89132,6 +89219,10 @@ var script$10 = {
89132
89219
  pageCursor
89133
89220
  }
89134
89221
  });
89222
+ },
89223
+
89224
+ setDefaultValues() {
89225
+ this.selected = [], this.selectableItemIDs = [];
89135
89226
  }
89136
89227
 
89137
89228
  }
@@ -89151,7 +89242,7 @@ var __vue_staticRenderFns__$W = [];
89151
89242
  /* style */
89152
89243
  const __vue_inject_styles__$11 = function (inject) {
89153
89244
  if (!inject) return
89154
- inject("data-v-101e6cb5_0", { source: "#resource-list td.actions{padding-top:8px;right:0;opacity:0;position:sticky;transition:opacity .25s;width:1%}#resource-list td.actions .regular-font{font-family:Poppins-Regular!important}#resource-list tr:hover td.actions{opacity:1;background-color:#f9fafb;z-index:1}", map: undefined, media: undefined });
89245
+ inject("data-v-21155c3d_0", { source: "#resource-list td.actions{padding-top:8px;right:0;opacity:0;position:sticky;transition:opacity .25s;width:1%}#resource-list td.actions .regular-font{font-family:Poppins-Regular!important}#resource-list tr:hover td.actions{opacity:1;background-color:#f9fafb;z-index:1}", map: undefined, media: undefined });
89155
89246
 
89156
89247
  };
89157
89248
  /* scoped */