@cortezaproject/corteza-vue 2023.3.0-dev.5.1 → 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.es.js +34 -30
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +34 -30
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
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-
|
|
70721
|
-
,inject("data-v-
|
|
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-
|
|
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:{"
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
82166
|
-
,inject("data-v-
|
|
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-
|
|
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
|
-
|
|
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('
|
|
82310
|
+
const localstorage_settings = JSON.parse(window.localStorage.getItem('sidebarSettings'));
|
|
82308
82311
|
|
|
82309
82312
|
if (localstorage_settings) {
|
|
82310
|
-
this.
|
|
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.
|
|
82329
|
-
this.
|
|
82331
|
+
if (this.sidebarSettings[this.$root.$options.name]) {
|
|
82332
|
+
this.sidebarSettings[this.$root.$options.name].pinned = pinned;
|
|
82330
82333
|
} else {
|
|
82331
|
-
this.
|
|
82334
|
+
this.sidebarSettings[this.$root.$options.name] = {
|
|
82332
82335
|
pinned: pinned
|
|
82333
82336
|
};
|
|
82334
82337
|
}
|
|
82335
82338
|
|
|
82336
|
-
window.localStorage.setItem('
|
|
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-
|
|
82363
|
-
,inject("data-v-
|
|
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-
|
|
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 */
|
|
@@ -83867,8 +83870,8 @@ var script$W = {
|
|
|
83867
83870
|
|
|
83868
83871
|
style() {
|
|
83869
83872
|
return {
|
|
83870
|
-
fill: this.options.color || '#
|
|
83871
|
-
backgroundColor: this.options.backgroundColor || '#
|
|
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
|
-
|
|
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-
|
|
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 */
|