@cortezaproject/corteza-vue 2023.3.0-dev.5 → 2023.3.0-dev.6

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
@@ -70717,12 +70717,12 @@ var __vue_staticRenderFns__$3 = [];
70717
70717
  /* style */
70718
70718
  const __vue_inject_styles__$4 = function (inject) {
70719
70719
  if (!inject) return
70720
- inject("data-v-12f1f9ce_0", { source: ".doc-msg[data-v-12f1f9ce]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;background-color:#fff}.doc-err[data-v-12f1f9ce]{cursor:pointer}.doc-err .err-message[data-v-12f1f9ce]{color:red}", map: undefined, media: undefined })
70721
- ,inject("data-v-12f1f9ce_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 });
70720
+ 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 })
70721
+ ,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 });
70722
70722
 
70723
70723
  };
70724
70724
  /* scoped */
70725
- const __vue_scope_id__$4 = "data-v-12f1f9ce";
70725
+ const __vue_scope_id__$4 = "data-v-29e0e814";
70726
70726
  /* module identifier */
70727
70727
  const __vue_module_identifier__$4 = undefined;
70728
70728
  /* functional template */
@@ -71636,7 +71636,7 @@ var script$d = {
71636
71636
  const __vue_script__$d = script$d;
71637
71637
 
71638
71638
  /* template */
71639
- var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-input-group',[_c('b-input',{ref:"searchInput",staticClass:"h-100 pr-0 border-light border-right-0 text-truncate bg-white",attrs:{"data-test-id":"input-search","type":_vm.inputType,"name":"search","value":_vm.value,"debounce":_vm.debounce,"disabled":_vm.disabled,"placeholder":_vm.placeholder,"autocomplete":_vm.autocomplete,"size":_vm.size},on:{"input":_vm.search,"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.submitQuery.apply(null, arguments)}}}),_vm._v(" "),_c('b-input-group-append',{staticClass:"bg-white border-light rounded-right append-group-border",class:{ 'border-left': _vm.showSubmittable }},[(_vm.showSubmittable)?_c('b-button',{class:{
71639
+ var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-input-group',[_c('b-input',{ref:"searchInput",staticClass:"h-100 pr-0 border-light border-right-0 text-truncate bg-white",attrs:{"data-test-id":"input-search","type":_vm.inputType,"name":"search","value":_vm.value,"debounce":_vm.debounce,"disabled":_vm.disabled,"placeholder":_vm.placeholder,"autocomplete":_vm.autocomplete,"size":_vm.size},on:{"update":_vm.search,"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.submitQuery.apply(null, arguments)}}}),_vm._v(" "),_c('b-input-group-append',{staticClass:"bg-white border-light rounded-right append-group-border",class:{ 'border-left': _vm.showSubmittable }},[(_vm.showSubmittable)?_c('b-button',{class:{
71640
71640
  'search-icon-border': _vm.showSubmittableAndClearable,
71641
71641
  'cursor-default': !_vm.isSubmittable
71642
71642
  },attrs:{"variant":"link","disabled":_vm.disabled},on:_vm._d({},[_vm.isSubmittable,_vm.submitQuery])},[_c('font-awesome-icon',{staticClass:"align-middle",attrs:{"icon":['fas', 'search']}})],1):_vm._e()],1)],1)};
@@ -71645,11 +71645,11 @@ var __vue_staticRenderFns__$c = [];
71645
71645
  /* style */
71646
71646
  const __vue_inject_styles__$e = function (inject) {
71647
71647
  if (!inject) return
71648
- inject("data-v-99c92058_0", { source: "input[data-v-99c92058]:focus::placeholder{color:transparent}input[type=search][data-v-99c92058]::-webkit-search-cancel-button{height:13px;width:13px;padding-left:12px;cursor:pointer;background:url(\"data:image/svg+xml;charset=UTF-8,%3csvg viewPort='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='1' y1='11' x2='11' y2='1' stroke='black' stroke-width='2'/%3e%3cline x1='1' y1='1' x2='11' y2='11' stroke='black' stroke-width='2'/%3e%3c/svg%3e\")}.append-group-border[data-v-99c92058]{border:2px solid #e4e9ef}.search-icon-border[data-v-99c92058]{border-left:2px solid #e4e9ef}.cursor-default[data-v-99c92058]{cursor:default!important}", map: undefined, media: undefined });
71648
+ inject("data-v-931a1f24_0", { source: "input[data-v-931a1f24]:focus::placeholder{color:transparent}input[type=search][data-v-931a1f24]::-webkit-search-cancel-button{height:13px;width:13px;padding-left:12px;cursor:pointer;background:url(\"data:image/svg+xml;charset=UTF-8,%3csvg viewPort='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='1' y1='11' x2='11' y2='1' stroke='black' stroke-width='2'/%3e%3cline x1='1' y1='1' x2='11' y2='11' stroke='black' stroke-width='2'/%3e%3c/svg%3e\")}.append-group-border[data-v-931a1f24]{border:2px solid #f3f5f7}.search-icon-border[data-v-931a1f24]{border-left:2px solid #f3f5f7}.cursor-default[data-v-931a1f24]{cursor:default!important}", map: undefined, media: undefined });
71649
71649
 
71650
71650
  };
71651
71651
  /* scoped */
71652
- const __vue_scope_id__$e = "data-v-99c92058";
71652
+ const __vue_scope_id__$e = "data-v-931a1f24";
71653
71653
  /* module identifier */
71654
71654
  const __vue_module_identifier__$e = undefined;
71655
71655
  /* functional template */
@@ -79644,7 +79644,7 @@ var __vue_staticRenderFns__$m = [];
79644
79644
  /* style */
79645
79645
  const __vue_inject_styles__$q = function (inject) {
79646
79646
  if (!inject) return
79647
- inject("data-v-11e55e3b_0", { source: ".access .btn{background-color:#e4e9ef;border:none}.access .btn:nth-child(2),.access .btn:nth-child(3){margin-left:.2rem!important}", map: undefined, media: undefined });
79647
+ inject("data-v-ea26f95c_0", { source: ".access .btn{background-color:#f3f5f7;border:none}.access .btn:nth-child(2),.access .btn:nth-child(3){margin-left:.2rem!important}", map: undefined, media: undefined });
79648
79648
 
79649
79649
  };
79650
79650
  /* scoped */
@@ -82154,7 +82154,7 @@ const __vue_script__$F = script$F;
82154
82154
  /* template */
82155
82155
  var __vue_render__$B = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header-navigation d-flex align-items-center sticky-top pr-3"},[_c('div',{staticClass:"spacer",class:{
82156
82156
  'expanded': _vm.sidebarPinned,
82157
- }}),_vm._v(" "),_c('h2',{staticClass:"d-none d-sm-inline-block text-truncate mb-0"},[_vm._t("title")],2),_vm._v(" "),_c('div',{staticClass:"ml-auto text-sm-nowrap"},[_vm._t("tools")],2),_vm._v(" "),(!_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",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(),_vm._v(" "),(!_vm.settings.hideHelp)?_c('b-dropdown',{staticClass:"nav-icon mx-1",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,2593833445)},[_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":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@crust.tech","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:({
82157
+ }}),_vm._v(" "),_c('h2',{staticClass:"d-none d-sm-inline-block text-truncate title mb-0"},[_vm._t("title")],2),_vm._v(" "),_c('div',{staticClass:"ml-auto text-sm-nowrap"},[_vm._t("tools")],2),_vm._v(" "),(!_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",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(),_vm._v(" "),(!_vm.settings.hideHelp)?_c('b-dropdown',{staticClass:"nav-icon mx-1",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,2593833445)},[_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":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@crust.tech","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:({
82158
82158
  'background-image': _vm.avatarExists ? ("url(" + _vm.profileAvatarUrl + ")") : 'none',
82159
82159
  })}):_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,1153089912)},[_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":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)};
82160
82160
  var __vue_staticRenderFns__$B = [];
@@ -82162,12 +82162,12 @@ var __vue_staticRenderFns__$B = [];
82162
82162
  /* style */
82163
82163
  const __vue_inject_styles__$G = function (inject) {
82164
82164
  if (!inject) return
82165
- inject("data-v-d534c544_0", { source: ".icon-logo[data-v-d534c544]{height:calc(64px / 2);background-repeat:no-repeat;background-position:center}.nav-icon[data-v-d534c544]{width:40px;height:40px}.nav-user-icon[data-v-d534c544]{width:50px;height:50px}.header-navigation[data-v-d534c544]{width:100vw;height:64px;background-color:#f3f3f5!important;padding-left:calc(3.5rem + 6px)}.topbar-dropdown-menu[data-v-d534c544]{max-height:80vh;overflow-y:auto}.avatar[data-v-d534c544]{border-radius:50%;background-size:cover;background-repeat:no-repeat;background-position:center}.avatar[data-v-d534c544]: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-d534c544]{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-d534c544]{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}", map: undefined, media: undefined })
82166
- ,inject("data-v-d534c544_1", { source: ".topbar-tools .vue-portal-target{display:flex;align-items:center}", map: undefined, media: undefined });
82165
+ inject("data-v-1f52662c_0", { source: ".icon-logo[data-v-1f52662c]{height:calc(64px / 2);background-repeat:no-repeat;background-position:center}.nav-icon[data-v-1f52662c]{width:40px;height:40px}.nav-user-icon[data-v-1f52662c]{min-width:50px;min-height:50px}.header-navigation[data-v-1f52662c]{width:100vw;height:64px;background-color:#f9fafb!important;padding-left:calc(3.5rem + 6px)}.header-navigation .title>*[data-v-1f52662c]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-dropdown-menu[data-v-1f52662c]{max-height:80vh;overflow-y:auto}.avatar[data-v-1f52662c]{border-radius:50%;background-size:cover;background-repeat:no-repeat;background-position:center}.avatar[data-v-1f52662c]: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-1f52662c]{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-1f52662c]{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}", map: undefined, media: undefined })
82166
+ ,inject("data-v-1f52662c_1", { source: ".topbar-tools .vue-portal-target{display:flex;align-items:center}", map: undefined, media: undefined });
82167
82167
 
82168
82168
  };
82169
82169
  /* scoped */
82170
- const __vue_scope_id__$G = "data-v-d534c544";
82170
+ const __vue_scope_id__$G = "data-v-1f52662c";
82171
82171
  /* module identifier */
82172
82172
  const __vue_module_identifier__$G = undefined;
82173
82173
  /* functional template */
@@ -82226,7 +82226,8 @@ var script$G = {
82226
82226
 
82227
82227
  data() {
82228
82228
  return {
82229
- sidebar_settings: {}
82229
+ sidebarSettings: {},
82230
+ isMobile: false
82230
82231
  };
82231
82232
  },
82232
82233
 
@@ -82250,23 +82251,21 @@ var script$G = {
82250
82251
  this.$emit('update:pinned', pinned);
82251
82252
  }
82252
82253
 
82253
- },
82254
-
82255
- isMobile() {
82256
- return window.innerWidth < 1024 || /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
82257
82254
  }
82258
-
82259
82255
  },
82260
82256
 
82261
82257
  created() {
82258
+ this.checkIfMobile();
82262
82259
  this.$root.$on('close-sidebar', () => {
82263
82260
  this.isExpanded = false;
82264
82261
  this.isPinned = false;
82265
82262
  });
82263
+ window.addEventListener('resize', this.checkIfMobile);
82266
82264
  },
82267
82265
 
82268
82266
  beforeDestroy() {
82269
82267
  this.$root.$off('close-sidebar');
82268
+ window.removeEventListener('resize', this.checkIfMobile);
82270
82269
  },
82271
82270
 
82272
82271
  watch: {
@@ -82280,6 +82279,10 @@ var script$G = {
82280
82279
  }
82281
82280
  },
82282
82281
  methods: {
82282
+ checkIfMobile: _.throttle(function () {
82283
+ this.isMobile = window.innerWidth < 1024 || /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
82284
+ }, 500),
82285
+
82283
82286
  checkSidebar() {
82284
82287
  // If sidebar should be disabled on route, close and unpin when navigating to route
82285
82288
  if (this.disabledRoutes.includes(this.$route.name)) {
@@ -82304,10 +82307,10 @@ var script$G = {
82304
82307
  },
82305
82308
 
82306
82309
  defaultSidebarAppearance() {
82307
- const localstorage_settings = JSON.parse(window.localStorage.getItem('sidebar_settings'));
82310
+ const localstorage_settings = JSON.parse(window.localStorage.getItem('sidebarSettings'));
82308
82311
 
82309
82312
  if (localstorage_settings) {
82310
- this.sidebar_settings = localstorage_settings;
82313
+ this.sidebarSettings = localstorage_settings;
82311
82314
  }
82312
82315
 
82313
82316
  const app_sidebar = (localstorage_settings || {})[this.$root.$options.name];
@@ -82325,15 +82328,15 @@ var script$G = {
82325
82328
  },
82326
82329
 
82327
82330
  saveSettings(pinned) {
82328
- if (this.sidebar_settings[this.$root.$options.name]) {
82329
- this.sidebar_settings[this.$root.$options.name].pinned = pinned;
82331
+ if (this.sidebarSettings[this.$root.$options.name]) {
82332
+ this.sidebarSettings[this.$root.$options.name].pinned = pinned;
82330
82333
  } else {
82331
- this.sidebar_settings[this.$root.$options.name] = {
82334
+ this.sidebarSettings[this.$root.$options.name] = {
82332
82335
  pinned: pinned
82333
82336
  };
82334
82337
  }
82335
82338
 
82336
- window.localStorage.setItem('sidebar_settings', JSON.stringify(this.sidebar_settings));
82339
+ window.localStorage.setItem('sidebarSettings', JSON.stringify(this.sidebarSettings));
82337
82340
  },
82338
82341
 
82339
82342
  openSidebar() {
@@ -82359,12 +82362,12 @@ var __vue_staticRenderFns__$C = [];
82359
82362
  /* style */
82360
82363
  const __vue_inject_styles__$H = function (inject) {
82361
82364
  if (!inject) return
82362
- inject("data-v-32b752b4_0", { source: ".tab[data-v-32b752b4]{z-index:1021;top:0;height:64px;width:66px}.icon[data-v-32b752b4]{max-height:40px;max-width:40px}.logo[data-v-32b752b4]{max-height:40px}.sidebar-header[data-v-32b752b4]{height:64px}", map: undefined, media: undefined })
82363
- ,inject("data-v-32b752b4_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 });
82365
+ inject("data-v-70b2c2b4_0", { source: ".tab[data-v-70b2c2b4]{z-index:1021;top:0;height:64px;width:66px}.icon[data-v-70b2c2b4]{max-height:40px;max-width:40px}.logo[data-v-70b2c2b4]{max-height:40px}.sidebar-header[data-v-70b2c2b4]{height:64px}", map: undefined, media: undefined })
82366
+ ,inject("data-v-70b2c2b4_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 });
82364
82367
 
82365
82368
  };
82366
82369
  /* scoped */
82367
- const __vue_scope_id__$H = "data-v-32b752b4";
82370
+ const __vue_scope_id__$H = "data-v-70b2c2b4";
82368
82371
  /* module identifier */
82369
82372
  const __vue_module_identifier__$H = undefined;
82370
82373
  /* functional template */
@@ -82553,17 +82556,17 @@ var __vue_render__$D = function () {var _vm=this;var _h=_vm.$createElement;var _
82553
82556
  var page = ref.page; if ( page === void 0 ) page = {};
82554
82557
  var params = ref.params; if ( params === void 0 ) params = {};
82555
82558
  var children = ref.children; if ( children === void 0 ) children = [];
82556
- 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","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:"rounded-circle mr-1",staticStyle:{"height":"1.5em","width":"1.5em"},attrs:{"src":page.icon}})]]:_vm._e(),_vm._v(" "),_c('span',{staticClass:"title"},[_vm._v("\n "+_vm._s(page.title)+"\n ")])],2),_vm._v(" "),(children.length)?[_c('b-button',{staticClass:"p-0 float-right",attrs:{"variant":"link","disabled":_vm.showChildren({ params: params, children: children })},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)] || _vm.showChildren({ params: params, children: children })},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)};
82559
+ 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","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('span',{staticClass:"title"},[_vm._v("\n "+_vm._s(page.title)+"\n ")])],2),_vm._v(" "),(children.length)?[_c('b-button',{staticClass:"p-0 float-right",attrs:{"variant":"link","disabled":_vm.showChildren({ params: params, children: children })},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)] || _vm.showChildren({ params: params, children: children })},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)};
82557
82560
  var __vue_staticRenderFns__$D = [];
82558
82561
 
82559
82562
  /* style */
82560
82563
  const __vue_inject_styles__$I = function (inject) {
82561
82564
  if (!inject) return
82562
- inject("data-v-9c036668_0", { source: ".pointer-none[data-v-9c036668]{pointer-events:none}.svg-inline--fa[data-v-9c036668]{width:30px}.nav-item>span>.title[data-v-9c036668]{font-family:Poppins-Regular}.nav-active>span>.icon[data-v-9c036668]{color:#4d7281}.nav-active>span>.title[data-v-9c036668]{font-family:Poppins-SemiBold}.nav-item[data-v-9c036668]{text-align:left}[dir=rtl] .nav-item[data-v-9c036668]{text-align:right}", map: undefined, media: undefined });
82565
+ inject("data-v-356a299c_0", { source: ".pointer-none[data-v-356a299c]{pointer-events:none}.svg-inline--fa[data-v-356a299c]{width:30px}.nav-item>span>.title[data-v-356a299c]{font-family:Poppins-Regular}.nav-active>span>.icon[data-v-356a299c]{color:#4d7281}.nav-active>span>.title[data-v-356a299c]{font-family:Poppins-SemiBold}.nav-item[data-v-356a299c]{text-align:left}[dir=rtl] .nav-item[data-v-356a299c]{text-align:right}", map: undefined, media: undefined });
82563
82566
 
82564
82567
  };
82565
82568
  /* scoped */
82566
- const __vue_scope_id__$I = "data-v-9c036668";
82569
+ const __vue_scope_id__$I = "data-v-356a299c";
82567
82570
  /* module identifier */
82568
82571
  const __vue_module_identifier__$I = undefined;
82569
82572
  /* functional template */
@@ -83867,8 +83870,8 @@ var script$W = {
83867
83870
 
83868
83871
  style() {
83869
83872
  return {
83870
- fill: this.options.color || '#000000',
83871
- backgroundColor: this.options.backgroundColor || '#ffffff'
83873
+ fill: this.options.color || '#162425',
83874
+ backgroundColor: this.options.backgroundColor || '#FFFFFF'
83872
83875
  };
83873
83876
  },
83874
83877
 
@@ -84654,11 +84657,12 @@ var script$_ = {
84654
84657
  },
84655
84658
 
84656
84659
  getPagination() {
84657
- const {
84660
+ let {
84658
84661
  total = 0,
84659
84662
  limit = 10,
84660
84663
  page = 1
84661
84664
  } = this.pagination;
84665
+ total = isNaN(total) ? 0 : total;
84662
84666
  const pagination = {
84663
84667
  from: (page - 1) * limit + 1,
84664
84668
  to: limit > 0 ? Math.min(page * limit, total) : total,
@@ -85131,7 +85135,7 @@ var __vue_staticRenderFns__$X = [];
85131
85135
  /* style */
85132
85136
  const __vue_inject_styles__$12 = function (inject) {
85133
85137
  if (!inject) return
85134
- inject("data-v-2c86815c_0", { source: ".layout{height:100vh;width:100vw;display:grid;grid-template-rows:auto 400px;grid-template-columns:300px auto;align-content:stretch;grid-template-areas:\"side main\" \"side controls\"}.layout aside{grid-area:side;overflow:auto}.layout main{grid-area:main;background-image:linear-gradient(135deg,#f3f3f5 21.43%,#fff 21.43%,#fff 50%,#f3f3f5 50%,#f3f3f5 71.43%,#fff 71.43%,#fff 100%);background-size:35px 35px;overflow:auto}.layout .controls{grid-area:controls;overflow:auto}.layout .controls .control-group{float:left}.layout .scenario{cursor:pointer}", map: undefined, media: undefined });
85138
+ inject("data-v-36e9ba5b_0", { source: ".layout{height:100vh;width:100vw;display:grid;grid-template-rows:auto 400px;grid-template-columns:300px auto;align-content:stretch;grid-template-areas:\"side main\" \"side controls\"}.layout aside{grid-area:side;overflow:auto}.layout main{grid-area:main;background-image:linear-gradient(135deg,#f9fafb 21.43%,#fff 21.43%,#fff 50%,#f9fafb 50%,#f9fafb 71.43%,#fff 71.43%,#fff 100%);background-size:35px 35px;overflow:auto}.layout .controls{grid-area:controls;overflow:auto}.layout .controls .control-group{float:left}.layout .scenario{cursor:pointer}", map: undefined, media: undefined });
85135
85139
 
85136
85140
  };
85137
85141
  /* scoped */