@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.es.js
CHANGED
|
@@ -70710,12 +70710,12 @@ var __vue_staticRenderFns__$3 = [];
|
|
|
70710
70710
|
/* style */
|
|
70711
70711
|
const __vue_inject_styles__$4 = function (inject) {
|
|
70712
70712
|
if (!inject) return
|
|
70713
|
-
inject("data-v-
|
|
70714
|
-
,inject("data-v-
|
|
70713
|
+
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 })
|
|
70714
|
+
,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 });
|
|
70715
70715
|
|
|
70716
70716
|
};
|
|
70717
70717
|
/* scoped */
|
|
70718
|
-
const __vue_scope_id__$4 = "data-v-
|
|
70718
|
+
const __vue_scope_id__$4 = "data-v-29e0e814";
|
|
70719
70719
|
/* module identifier */
|
|
70720
70720
|
const __vue_module_identifier__$4 = undefined;
|
|
70721
70721
|
/* functional template */
|
|
@@ -71629,7 +71629,7 @@ var script$d = {
|
|
|
71629
71629
|
const __vue_script__$d = script$d;
|
|
71630
71630
|
|
|
71631
71631
|
/* template */
|
|
71632
|
-
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:{"
|
|
71632
|
+
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:{
|
|
71633
71633
|
'search-icon-border': _vm.showSubmittableAndClearable,
|
|
71634
71634
|
'cursor-default': !_vm.isSubmittable
|
|
71635
71635
|
},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)};
|
|
@@ -71638,11 +71638,11 @@ var __vue_staticRenderFns__$c = [];
|
|
|
71638
71638
|
/* style */
|
|
71639
71639
|
const __vue_inject_styles__$e = function (inject) {
|
|
71640
71640
|
if (!inject) return
|
|
71641
|
-
inject("data-v-
|
|
71641
|
+
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 });
|
|
71642
71642
|
|
|
71643
71643
|
};
|
|
71644
71644
|
/* scoped */
|
|
71645
|
-
const __vue_scope_id__$e = "data-v-
|
|
71645
|
+
const __vue_scope_id__$e = "data-v-931a1f24";
|
|
71646
71646
|
/* module identifier */
|
|
71647
71647
|
const __vue_module_identifier__$e = undefined;
|
|
71648
71648
|
/* functional template */
|
|
@@ -79637,7 +79637,7 @@ var __vue_staticRenderFns__$m = [];
|
|
|
79637
79637
|
/* style */
|
|
79638
79638
|
const __vue_inject_styles__$q = function (inject) {
|
|
79639
79639
|
if (!inject) return
|
|
79640
|
-
inject("data-v-
|
|
79640
|
+
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 });
|
|
79641
79641
|
|
|
79642
79642
|
};
|
|
79643
79643
|
/* scoped */
|
|
@@ -82147,7 +82147,7 @@ const __vue_script__$F = script$F;
|
|
|
82147
82147
|
/* template */
|
|
82148
82148
|
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:{
|
|
82149
82149
|
'expanded': _vm.sidebarPinned,
|
|
82150
|
-
}}),_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:({
|
|
82150
|
+
}}),_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:({
|
|
82151
82151
|
'background-image': _vm.avatarExists ? ("url(" + _vm.profileAvatarUrl + ")") : 'none',
|
|
82152
82152
|
})}):_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)};
|
|
82153
82153
|
var __vue_staticRenderFns__$B = [];
|
|
@@ -82155,12 +82155,12 @@ var __vue_staticRenderFns__$B = [];
|
|
|
82155
82155
|
/* style */
|
|
82156
82156
|
const __vue_inject_styles__$G = function (inject) {
|
|
82157
82157
|
if (!inject) return
|
|
82158
|
-
inject("data-v-
|
|
82159
|
-
,inject("data-v-
|
|
82158
|
+
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 })
|
|
82159
|
+
,inject("data-v-1f52662c_1", { source: ".topbar-tools .vue-portal-target{display:flex;align-items:center}", map: undefined, media: undefined });
|
|
82160
82160
|
|
|
82161
82161
|
};
|
|
82162
82162
|
/* scoped */
|
|
82163
|
-
const __vue_scope_id__$G = "data-v-
|
|
82163
|
+
const __vue_scope_id__$G = "data-v-1f52662c";
|
|
82164
82164
|
/* module identifier */
|
|
82165
82165
|
const __vue_module_identifier__$G = undefined;
|
|
82166
82166
|
/* functional template */
|
|
@@ -82219,7 +82219,8 @@ var script$G = {
|
|
|
82219
82219
|
|
|
82220
82220
|
data() {
|
|
82221
82221
|
return {
|
|
82222
|
-
|
|
82222
|
+
sidebarSettings: {},
|
|
82223
|
+
isMobile: false
|
|
82223
82224
|
};
|
|
82224
82225
|
},
|
|
82225
82226
|
|
|
@@ -82243,23 +82244,21 @@ var script$G = {
|
|
|
82243
82244
|
this.$emit('update:pinned', pinned);
|
|
82244
82245
|
}
|
|
82245
82246
|
|
|
82246
|
-
},
|
|
82247
|
-
|
|
82248
|
-
isMobile() {
|
|
82249
|
-
return window.innerWidth < 1024 || /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
82250
82247
|
}
|
|
82251
|
-
|
|
82252
82248
|
},
|
|
82253
82249
|
|
|
82254
82250
|
created() {
|
|
82251
|
+
this.checkIfMobile();
|
|
82255
82252
|
this.$root.$on('close-sidebar', () => {
|
|
82256
82253
|
this.isExpanded = false;
|
|
82257
82254
|
this.isPinned = false;
|
|
82258
82255
|
});
|
|
82256
|
+
window.addEventListener('resize', this.checkIfMobile);
|
|
82259
82257
|
},
|
|
82260
82258
|
|
|
82261
82259
|
beforeDestroy() {
|
|
82262
82260
|
this.$root.$off('close-sidebar');
|
|
82261
|
+
window.removeEventListener('resize', this.checkIfMobile);
|
|
82263
82262
|
},
|
|
82264
82263
|
|
|
82265
82264
|
watch: {
|
|
@@ -82273,6 +82272,10 @@ var script$G = {
|
|
|
82273
82272
|
}
|
|
82274
82273
|
},
|
|
82275
82274
|
methods: {
|
|
82275
|
+
checkIfMobile: throttle(function () {
|
|
82276
|
+
this.isMobile = window.innerWidth < 1024 || /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
82277
|
+
}, 500),
|
|
82278
|
+
|
|
82276
82279
|
checkSidebar() {
|
|
82277
82280
|
// If sidebar should be disabled on route, close and unpin when navigating to route
|
|
82278
82281
|
if (this.disabledRoutes.includes(this.$route.name)) {
|
|
@@ -82297,10 +82300,10 @@ var script$G = {
|
|
|
82297
82300
|
},
|
|
82298
82301
|
|
|
82299
82302
|
defaultSidebarAppearance() {
|
|
82300
|
-
const localstorage_settings = JSON.parse(window.localStorage.getItem('
|
|
82303
|
+
const localstorage_settings = JSON.parse(window.localStorage.getItem('sidebarSettings'));
|
|
82301
82304
|
|
|
82302
82305
|
if (localstorage_settings) {
|
|
82303
|
-
this.
|
|
82306
|
+
this.sidebarSettings = localstorage_settings;
|
|
82304
82307
|
}
|
|
82305
82308
|
|
|
82306
82309
|
const app_sidebar = (localstorage_settings || {})[this.$root.$options.name];
|
|
@@ -82318,15 +82321,15 @@ var script$G = {
|
|
|
82318
82321
|
},
|
|
82319
82322
|
|
|
82320
82323
|
saveSettings(pinned) {
|
|
82321
|
-
if (this.
|
|
82322
|
-
this.
|
|
82324
|
+
if (this.sidebarSettings[this.$root.$options.name]) {
|
|
82325
|
+
this.sidebarSettings[this.$root.$options.name].pinned = pinned;
|
|
82323
82326
|
} else {
|
|
82324
|
-
this.
|
|
82327
|
+
this.sidebarSettings[this.$root.$options.name] = {
|
|
82325
82328
|
pinned: pinned
|
|
82326
82329
|
};
|
|
82327
82330
|
}
|
|
82328
82331
|
|
|
82329
|
-
window.localStorage.setItem('
|
|
82332
|
+
window.localStorage.setItem('sidebarSettings', JSON.stringify(this.sidebarSettings));
|
|
82330
82333
|
},
|
|
82331
82334
|
|
|
82332
82335
|
openSidebar() {
|
|
@@ -82352,12 +82355,12 @@ var __vue_staticRenderFns__$C = [];
|
|
|
82352
82355
|
/* style */
|
|
82353
82356
|
const __vue_inject_styles__$H = function (inject) {
|
|
82354
82357
|
if (!inject) return
|
|
82355
|
-
inject("data-v-
|
|
82356
|
-
,inject("data-v-
|
|
82358
|
+
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 })
|
|
82359
|
+
,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 });
|
|
82357
82360
|
|
|
82358
82361
|
};
|
|
82359
82362
|
/* scoped */
|
|
82360
|
-
const __vue_scope_id__$H = "data-v-
|
|
82363
|
+
const __vue_scope_id__$H = "data-v-70b2c2b4";
|
|
82361
82364
|
/* module identifier */
|
|
82362
82365
|
const __vue_module_identifier__$H = undefined;
|
|
82363
82366
|
/* functional template */
|
|
@@ -83860,8 +83863,8 @@ var script$W = {
|
|
|
83860
83863
|
|
|
83861
83864
|
style() {
|
|
83862
83865
|
return {
|
|
83863
|
-
fill: this.options.color || '#
|
|
83864
|
-
backgroundColor: this.options.backgroundColor || '#
|
|
83866
|
+
fill: this.options.color || '#162425',
|
|
83867
|
+
backgroundColor: this.options.backgroundColor || '#FFFFFF'
|
|
83865
83868
|
};
|
|
83866
83869
|
},
|
|
83867
83870
|
|
|
@@ -84647,11 +84650,12 @@ var script$_ = {
|
|
|
84647
84650
|
},
|
|
84648
84651
|
|
|
84649
84652
|
getPagination() {
|
|
84650
|
-
|
|
84653
|
+
let {
|
|
84651
84654
|
total = 0,
|
|
84652
84655
|
limit = 10,
|
|
84653
84656
|
page = 1
|
|
84654
84657
|
} = this.pagination;
|
|
84658
|
+
total = isNaN(total) ? 0 : total;
|
|
84655
84659
|
const pagination = {
|
|
84656
84660
|
from: (page - 1) * limit + 1,
|
|
84657
84661
|
to: limit > 0 ? Math.min(page * limit, total) : total,
|
|
@@ -85124,7 +85128,7 @@ var __vue_staticRenderFns__$X = [];
|
|
|
85124
85128
|
/* style */
|
|
85125
85129
|
const __vue_inject_styles__$12 = function (inject) {
|
|
85126
85130
|
if (!inject) return
|
|
85127
|
-
inject("data-v-
|
|
85131
|
+
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 });
|
|
85128
85132
|
|
|
85129
85133
|
};
|
|
85130
85134
|
/* scoped */
|