@cortezaproject/corteza-vue 2023.9.2 → 2023.9.3-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 +258 -320
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +257 -319
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -20,7 +20,7 @@ import { Chrome } from 'vue-color';
|
|
|
20
20
|
import _, { debounce, throttle, isNumber as isNumber$1 } from 'lodash';
|
|
21
21
|
import AceEditor from 'vue2-ace-editor';
|
|
22
22
|
import { library } from '@fortawesome/fontawesome-svg-core';
|
|
23
|
-
import { faExpandAlt, faLock } from '@fortawesome/free-solid-svg-icons';
|
|
23
|
+
import { faExpandAlt, faLock, faMoon, faSun } from '@fortawesome/free-solid-svg-icons';
|
|
24
24
|
import { mapGetters, mapActions } from 'vuex';
|
|
25
25
|
import numeral from 'numeral';
|
|
26
26
|
import { OpenStreetMapProvider } from 'leaflet-geosearch';
|
|
@@ -2321,6 +2321,8 @@ class Auth {
|
|
|
2321
2321
|
u.meta.preferredLanguage = oa2tkn.preferred_language;
|
|
2322
2322
|
}
|
|
2323
2323
|
u.meta.avatarID = oa2tkn.avatarID;
|
|
2324
|
+
// theme
|
|
2325
|
+
u.meta.theme = oa2tkn.theme;
|
|
2324
2326
|
this[accessToken] = oa2tkn.access_token;
|
|
2325
2327
|
this[user] = u;
|
|
2326
2328
|
if (this.$emit) {
|
|
@@ -70794,12 +70796,12 @@ var __vue_staticRenderFns__$3 = [];
|
|
|
70794
70796
|
/* style */
|
|
70795
70797
|
const __vue_inject_styles__$4 = function (inject) {
|
|
70796
70798
|
if (!inject) return
|
|
70797
|
-
inject("data-v-
|
|
70798
|
-
,inject("data-v-
|
|
70799
|
+
inject("data-v-15d2f10a_0", { source: ".doc-msg[data-v-15d2f10a]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;background-color:#fff}.doc-err[data-v-15d2f10a]{cursor:pointer}.doc-err .err-message[data-v-15d2f10a]{color:#e54122}", map: undefined, media: undefined })
|
|
70800
|
+
,inject("data-v-15d2f10a_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 });
|
|
70799
70801
|
|
|
70800
70802
|
};
|
|
70801
70803
|
/* scoped */
|
|
70802
|
-
const __vue_scope_id__$4 = "data-v-
|
|
70804
|
+
const __vue_scope_id__$4 = "data-v-15d2f10a";
|
|
70803
70805
|
/* module identifier */
|
|
70804
70806
|
const __vue_module_identifier__$4 = undefined;
|
|
70805
70807
|
/* functional template */
|
|
@@ -71156,7 +71158,7 @@ var script$8 = {
|
|
|
71156
71158
|
const __vue_script__$8 = script$8;
|
|
71157
71159
|
|
|
71158
71160
|
/* template */
|
|
71159
|
-
var __vue_render__$7 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-inline-flex"},[(!_vm.inConfirmation)?[_c('b-button',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",value:({ title: _vm.tooltip, container: '#body' }),expression:"{ title: tooltip, container: '#body' }",modifiers:{"hover":true}}],class:(_vm.buttonClass + " " + (_vm.borderless ? 'border-0' : '') + " flex-fill"),attrs:{"data-test-id":"button-delete","variant":_vm.variant,"size":_vm.size,"disabled":_vm.disabled || _vm.processing},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.onPrompt.apply(null, arguments)}}},[(_vm.processing)?_c('b-spinner',{staticClass:"align-middle",attrs:{"data-test-id":"spinner","small":""}}):_vm._t("default",function(){return [(!_vm.$slots.default)?[(_vm.showIcon || !_vm.text)?_c('font-awesome-icon',{class:_vm.iconClass,attrs:{"icon":_vm.icon}}):_vm._e(),_vm._v(" "),(_vm.text)?_c('span',{class:_vm.textClass},[_vm._v("\n "+_vm._s(_vm.text)+"\n ")]):_vm._e()]:_vm._e()]})],2)]:[_c('b-button',{staticClass:"flex-fill mr-1",class:{ 'border-0': _vm.borderless },attrs:{"data-test-id":"button-delete-confirm","variant":_vm.variantOk,"size":_vm.sizeConfirm,"disabled":_vm.okDisabled},on:{"blur":function($event){$event.preventDefault();return _vm.onCancel()},"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onConfirmation()}}},[_vm._t("yes",function(){return [_c('font-awesome-icon',{attrs:{"data-test-id":"confirm","icon":['fas', 'check']}})]})],2),_vm._v(" "),_c('b-button',{staticClass:"flex-fill",class:[ _vm.borderless && 'border-0' ],attrs:{"data-test-id":"button-delete-cancel","variant":_vm.variantCancel,"size":_vm.sizeConfirm,"disabled":_vm.cancelDisabled},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onCancel()}}},[_vm._t("no",function(){return [_c('font-awesome-icon',{attrs:{"data-test-id":"reject","icon":['fas', 'times']}})]})],2)]],2)};
|
|
71161
|
+
var __vue_render__$7 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-inline-flex"},[(!_vm.inConfirmation)?[_c('b-button',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: _vm.tooltip, container: '#body' }),expression:"{ title: tooltip, container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],class:(_vm.buttonClass + " " + (_vm.borderless ? 'border-0' : '') + " flex-fill"),attrs:{"data-test-id":"button-delete","variant":_vm.variant,"size":_vm.size,"disabled":_vm.disabled || _vm.processing},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.onPrompt.apply(null, arguments)}}},[(_vm.processing)?_c('b-spinner',{staticClass:"align-middle",attrs:{"data-test-id":"spinner","small":""}}):_vm._t("default",function(){return [(!_vm.$slots.default)?[(_vm.showIcon || !_vm.text)?_c('font-awesome-icon',{class:_vm.iconClass,attrs:{"icon":_vm.icon}}):_vm._e(),_vm._v(" "),(_vm.text)?_c('span',{class:_vm.textClass},[_vm._v("\n "+_vm._s(_vm.text)+"\n ")]):_vm._e()]:_vm._e()]})],2)]:[_c('b-button',{staticClass:"flex-fill mr-1",class:{ 'border-0': _vm.borderless },attrs:{"data-test-id":"button-delete-confirm","variant":_vm.variantOk,"size":_vm.sizeConfirm,"disabled":_vm.okDisabled},on:{"blur":function($event){$event.preventDefault();return _vm.onCancel()},"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onConfirmation()}}},[_vm._t("yes",function(){return [_c('font-awesome-icon',{attrs:{"data-test-id":"confirm","icon":['fas', 'check']}})]})],2),_vm._v(" "),_c('b-button',{staticClass:"flex-fill",class:[ _vm.borderless && 'border-0' ],attrs:{"data-test-id":"button-delete-cancel","variant":_vm.variantCancel,"size":_vm.sizeConfirm,"disabled":_vm.cancelDisabled},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onCancel()}}},[_vm._t("no",function(){return [_c('font-awesome-icon',{attrs:{"data-test-id":"reject","icon":['fas', 'times']}})]})],2)]],2)};
|
|
71160
71162
|
var __vue_staticRenderFns__$7 = [];
|
|
71161
71163
|
|
|
71162
71164
|
/* style */
|
|
@@ -71375,13 +71377,13 @@ var script$a = {
|
|
|
71375
71377
|
const __vue_script__$a = script$a;
|
|
71376
71378
|
|
|
71377
71379
|
/* template */
|
|
71378
|
-
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":"
|
|
71380
|
+
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":"extra-light","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)};
|
|
71379
71381
|
var __vue_staticRenderFns__$9 = [];
|
|
71380
71382
|
|
|
71381
71383
|
/* style */
|
|
71382
71384
|
const __vue_inject_styles__$b = function (inject) {
|
|
71383
71385
|
if (!inject) return
|
|
71384
|
-
inject("data-v-
|
|
71386
|
+
inject("data-v-f31393ec_0", { source: ".c-input-date-time{min-width:120px}.c-input-date-time .btn{padding:.25rem .5rem}.c-input-date-time label{font-family:var(--font-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:var(--white)}", map: undefined, media: undefined });
|
|
71385
71387
|
|
|
71386
71388
|
};
|
|
71387
71389
|
/* scoped */
|
|
@@ -71531,7 +71533,7 @@ var __vue_staticRenderFns__$a = [];
|
|
|
71531
71533
|
/* style */
|
|
71532
71534
|
const __vue_inject_styles__$c = function (inject) {
|
|
71533
71535
|
if (!inject) return
|
|
71534
|
-
inject("data-v-
|
|
71536
|
+
inject("data-v-26d25a90_0", { source: ":root{--vs-dropdown-bg:var(--white);--vs-dropdown-option--active-bg:var(--light);--vs-state-disabled-color:var(--secondary);--vs-state-disabled-bg:var(--light);--vs-colors--light:var(--black);--vs-colors--dark:var(--black);--vs-dropdown-option-color:var(--black);--vs-dropdown-option--active-color:var(--black);--vs-selected-bg:var(--extra-light);--vs-search-input-color:var(--secondary);--vs-search-input-bg:var(--white)}.v-select{min-width:auto;position:relative;-ms-flex:1 1 auto;flex:1 1 auto;margin-bottom:0;font-size:.9rem!important;font-family:var(--font-regular)}.v-select .vs__selected-options{width:0;padding:0}.v-select .vs__selected{display:block;white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden;border:0;color:var(--black)}.v-select .vs__search{font-size:.9rem;border:0;padding:0 2px;padding-top:.375rem;margin:0}.v-select:not(.vs--open) .vs__selected+.vs__search{width:0;padding:0;margin:0;border:none;height:0}.v-select .vs__dropdown-toggle{min-height:calc(1.5em + .75rem + 4px);padding:.375rem calc(.75rem - 2px);padding-top:0!important;border-width:2px;border-color:var(--extra-light)}.v-select .vs__dropdown-toggle .vs__selected{margin-top:.375rem;padding:0 2px}.v-select .vs__dropdown-toggle .vs__actions{padding-top:.375rem;padding-right:0}.v-select .vs__clear,.v-select .vs__open-indicator{fill:var(--black);display:inline-flex}.v-select .vs__clear{padding:0;border:0;background-color:transparent;cursor:pointer;margin-right:8px}.v-select.vs--single .vs__selected{margin-left:0;margin-right:0}.vs--open .vs__dropdown-toggle{border-color:var(--primary);border-radius:.25rem!important}.input-group>.v-select:not(:last-child) .vs__dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.vs__spinner,.vs__spinner::after{width:4em;height:4em}.vs__dropdown-menu{z-index:1090}.vs__dropdown-menu .vs__dropdown-option.vs__dropdown-option--selected{background:var(--vs-dropdown-option--active-bg);color:var(--vs-dropdown-option--active-color)}.vs__dropdown-menu .vs__dropdown-option.vs__dropdown-option--disabled{background:var(--vs-state-disabled-bg)!important;color:var(--vs-state-disabled-color)!important;cursor:var(--vs-state-disabled-cursor)!important}.vs__dropdown-menu .vs__dropdown-option:active{color:var(--white);background-color:var(--primary)}.c-input-sm{font-size:.7875rem!important}.c-input-sm .vs__search{font-size:.7875rem;padding-top:.25rem}.c-input-sm .vs__dropdown-toggle{min-height:calc(1.5em + .5rem + 4px);padding:.25rem calc(.5rem - 2px);border-radius:.2rem}.c-input-sm .vs__dropdown-toggle .vs__selected{margin-top:.25rem}.c-input-sm .vs__dropdown-toggle .vs__actions{padding-top:.25rem}.c-input-lg{font-size:1.125rem!important}.c-input-lg .vs__search{font-size:1.125rem;padding-top:.5rem}.c-input-lg .vs__dropdown-toggle{min-height:calc(1.5em + 1rem + 4px);padding:.5rem calc(1rem - 2px);border-radius:.3rem}.c-input-lg .vs__dropdown-toggle .vs__selected{margin-top:.5rem}.c-input-lg .vs__dropdown-toggle .vs__actions{padding-top:.5rem}", map: undefined, media: undefined });
|
|
71535
71537
|
|
|
71536
71538
|
};
|
|
71537
71539
|
/* scoped */
|
|
@@ -71685,7 +71687,7 @@ var script$c = {
|
|
|
71685
71687
|
const __vue_script__$c = script$c;
|
|
71686
71688
|
|
|
71687
71689
|
/* template */
|
|
71688
|
-
var __vue_render__$b = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.textInput)?_c('b-table-simple',{staticClass:"mb-0",attrs:{"borderless":"","small":"","responsive":"lg"}},[_c('draggable',{attrs:{"list":_vm.items,"group":"sort","handle":".grab","tag":"tbody"},on:{"update:list":function($event){_vm.items=$event;}}},_vm._l((_vm.items),function(column,index){return _c('tr',{key:index},[_c('td',{staticClass:"grab text-center align-middle",staticStyle:{"width":"40px"}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'bars']}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle",staticStyle:{"min-width":"250px"}},[_c('c-input-select',{staticClass:"rounded",attrs:{"options":_vm.availableFields,"reduce":function (o) { return o.name; },"placeholder":_vm.labels.none},model:{value:(column.field),callback:function ($$v) {_vm.$set(column, "field", $$v);},expression:"column.field"}})],1),_vm._v(" "),_c('td',{staticClass:"text-center align-middle",staticStyle:{"min-width":"200px"}},[_c('b-form-radio-group',{staticClass:"bg-white",attrs:{"options":_vm.sortDirections,"buttons":"","button-variant":"outline-primary"},model:{value:(column.descending),callback:function ($$v) {_vm.$set(column, "descending", $$v);},expression:"column.descending"}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle text-right",staticStyle:{"min-width":"80px","width":"80px"}},[_c('c-input-confirm',{attrs:{"show-icon":""},on:{"confirmed":function($event){return _vm.items.splice(index, 1)}}})],1)])}),0)],1):_c('div',[_c('b-form-textarea',{attrs:{"placeholder":_vm.labels.placeholder},model:{value:(_vm.presortValue),callback:function ($$v) {_vm.presortValue=$$v;},expression:"presortValue"}}),_vm._v(" "),_c('b-form-text',[_vm._v("\n "+_vm._s(_vm.labels.footnote)+"\n ")])],1),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center mt-1"},[(!_vm.textInput)?_c('b-button',{attrs:{"variant":"primary","size":"sm"},on:{"click":function($event){return _vm.items.push({ field: undefined, descending: false })}}},[_c('font-awesome-icon',{staticClass:"mr-1",attrs:{"icon":['fas', 'plus']}}),_vm._v("\n "+_vm._s(_vm.labels.add)+"\n ")],1):_vm._e(),_vm._v(" "),(_vm.allowTextInput)?_c('b-button',{staticClass:"text-decoration-none ml-auto",attrs:{"variant":"link","size":"sm"},on:{"click":function($event){_vm.textInput = !_vm.textInput;}}},[_vm._v("\n "+_vm._s(_vm.labels.toggleInput)+"\n ")]):_vm._e()],1)],1)};
|
|
71690
|
+
var __vue_render__$b = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.textInput)?_c('b-table-simple',{staticClass:"mb-0",attrs:{"borderless":"","small":"","responsive":"lg"}},[_c('draggable',{attrs:{"list":_vm.items,"group":"sort","handle":".grab","tag":"tbody"},on:{"update:list":function($event){_vm.items=$event;}}},_vm._l((_vm.items),function(column,index){return _c('tr',{key:index},[_c('td',{staticClass:"grab text-center align-middle",staticStyle:{"width":"40px"}},[_c('font-awesome-icon',{staticClass:"text-secondary",attrs:{"icon":['fas', 'bars']}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle",staticStyle:{"min-width":"250px"}},[_c('c-input-select',{staticClass:"rounded",attrs:{"options":_vm.availableFields,"reduce":function (o) { return o.name; },"placeholder":_vm.labels.none},model:{value:(column.field),callback:function ($$v) {_vm.$set(column, "field", $$v);},expression:"column.field"}})],1),_vm._v(" "),_c('td',{staticClass:"text-center align-middle",staticStyle:{"min-width":"200px"}},[_c('b-form-radio-group',{staticClass:"bg-white",attrs:{"options":_vm.sortDirections,"buttons":"","button-variant":"outline-primary"},model:{value:(column.descending),callback:function ($$v) {_vm.$set(column, "descending", $$v);},expression:"column.descending"}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle text-right",staticStyle:{"min-width":"80px","width":"80px"}},[_c('c-input-confirm',{attrs:{"show-icon":""},on:{"confirmed":function($event){return _vm.items.splice(index, 1)}}})],1)])}),0)],1):_c('div',[_c('b-form-textarea',{attrs:{"placeholder":_vm.labels.placeholder},model:{value:(_vm.presortValue),callback:function ($$v) {_vm.presortValue=$$v;},expression:"presortValue"}}),_vm._v(" "),_c('b-form-text',[_vm._v("\n "+_vm._s(_vm.labels.footnote)+"\n ")])],1),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center mt-1"},[(!_vm.textInput)?_c('b-button',{attrs:{"variant":"primary","size":"sm"},on:{"click":function($event){return _vm.items.push({ field: undefined, descending: false })}}},[_c('font-awesome-icon',{staticClass:"mr-1",attrs:{"icon":['fas', 'plus']}}),_vm._v("\n "+_vm._s(_vm.labels.add)+"\n ")],1):_vm._e(),_vm._v(" "),(_vm.allowTextInput)?_c('b-button',{staticClass:"text-decoration-none ml-auto",attrs:{"variant":"link","size":"sm"},on:{"click":function($event){_vm.textInput = !_vm.textInput;}}},[_vm._v("\n "+_vm._s(_vm.labels.toggleInput)+"\n ")]):_vm._e()],1)],1)};
|
|
71689
71691
|
var __vue_staticRenderFns__$b = [];
|
|
71690
71692
|
|
|
71691
71693
|
/* style */
|
|
@@ -71817,11 +71819,6 @@ var __vue_staticRenderFns__$c = [];
|
|
|
71817
71819
|
//
|
|
71818
71820
|
//
|
|
71819
71821
|
//
|
|
71820
|
-
//
|
|
71821
|
-
//
|
|
71822
|
-
//
|
|
71823
|
-
//
|
|
71824
|
-
//
|
|
71825
71822
|
var script$e = {
|
|
71826
71823
|
name: 'CInputSearch',
|
|
71827
71824
|
props: {
|
|
@@ -71863,6 +71860,12 @@ var script$e = {
|
|
|
71863
71860
|
};
|
|
71864
71861
|
},
|
|
71865
71862
|
|
|
71863
|
+
watch: {
|
|
71864
|
+
value(value) {
|
|
71865
|
+
this.localValue = value;
|
|
71866
|
+
}
|
|
71867
|
+
|
|
71868
|
+
},
|
|
71866
71869
|
computed: {
|
|
71867
71870
|
inputType() {
|
|
71868
71871
|
return this.clearable ? 'search' : 'text';
|
|
@@ -71905,19 +71908,17 @@ var script$e = {
|
|
|
71905
71908
|
const __vue_script__$e = script$e;
|
|
71906
71909
|
|
|
71907
71910
|
/* template */
|
|
71908
|
-
var __vue_render__$d = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('
|
|
71909
|
-
'cursor-default': !_vm.isSubmittable
|
|
71910
|
-
},attrs:{"variant":_vm.isSubmittable ? 'outline-light' : 'link',"disabled":_vm.disabled},on:_vm._d({},[_vm.isSubmittable,_vm.submitQuery])},[_c('font-awesome-icon',{staticClass:"align-middle text-primary",attrs:{"icon":['fas', 'search']}})],1)],1):_vm._e()],1)};
|
|
71911
|
+
var __vue_render__$d = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-input-search d-flex position-relative",class:{ 'submittable': _vm.isSubmittable },staticStyle:{"min-width":"150px"}},[_c('b-input',{ref:"searchInput",staticClass:"pr-0 text-truncate",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.onInput,"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(" "),(_vm.showSubmittable)?_c('b-button',{staticClass:"search-button d-inline-flex align-items-center rounded-0 border-light",class:{ 'border-0 cursor-default': !_vm.isSubmittable },attrs:{"variant":_vm.isSubmittable ? 'outline-light' : 'link',"disabled":_vm.disabled},on:_vm._d({},[_vm.isSubmittable,_vm.submitQuery])},[_c('font-awesome-icon',{staticClass:"align-middle text-primary",attrs:{"icon":['fas', 'search']}})],1):_vm._e()],1)};
|
|
71911
71912
|
var __vue_staticRenderFns__$d = [];
|
|
71912
71913
|
|
|
71913
71914
|
/* style */
|
|
71914
71915
|
const __vue_inject_styles__$f = function (inject) {
|
|
71915
71916
|
if (!inject) return
|
|
71916
|
-
inject("data-v-
|
|
71917
|
+
inject("data-v-e71d231c_0", { source: "input[data-v-e71d231c]:focus::placeholder{color:transparent}.c-input-search .search-button[data-v-e71d231c]{position:absolute;right:2px;top:2px;bottom:2px;z-index:4;border-left-width:2px}.c-input-search[data-v-e71d231c] ::-webkit-search-cancel-button{-webkit-appearance:none;height:1em;width:1em;background:var(--primary);-webkit-mask-image: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\");mask-image: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\");cursor:pointer;margin-right:13px;margin-left:5px}.c-input-search.submittable[data-v-e71d231c] ::-webkit-search-cancel-button{margin-right:56px}.cursor-default[data-v-e71d231c]{cursor:default!important}", map: undefined, media: undefined });
|
|
71917
71918
|
|
|
71918
71919
|
};
|
|
71919
71920
|
/* scoped */
|
|
71920
|
-
const __vue_scope_id__$f = "data-v-
|
|
71921
|
+
const __vue_scope_id__$f = "data-v-e71d231c";
|
|
71921
71922
|
/* module identifier */
|
|
71922
71923
|
const __vue_module_identifier__$f = undefined;
|
|
71923
71924
|
/* functional template */
|
|
@@ -79563,7 +79564,9 @@ var script$n = {
|
|
|
79563
79564
|
init() {
|
|
79564
79565
|
this.editor = new Editor({
|
|
79565
79566
|
extensions: this.formats,
|
|
79566
|
-
|
|
79567
|
+
// Bypass Editor default empty white space script with an empty space string if there is no value because it's not really valid html
|
|
79568
|
+
// also ensuring that the unsaved changes alert detection is not triggered when the Editor does not have any changes
|
|
79569
|
+
content: this.value || ' ',
|
|
79567
79570
|
parseOptions: {
|
|
79568
79571
|
preserveWhitespace: 'full'
|
|
79569
79572
|
},
|
|
@@ -79599,7 +79602,7 @@ var script$n = {
|
|
|
79599
79602
|
const __vue_script__$n = script$n;
|
|
79600
79603
|
|
|
79601
79604
|
/* template */
|
|
79602
|
-
var __vue_render__$k = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:"editor rt-content",attrs:{"no-body":""}},[(_vm.editor)?[_c('b-card-header',{attrs:{"header-class":"p-0
|
|
79605
|
+
var __vue_render__$k = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:"editor rt-content",attrs:{"no-body":""}},[(_vm.editor)?[_c('b-card-header',{attrs:{"header-class":"p-0 border-bottom"}},[_c('editor-menu-bar',{attrs:{"editor":_vm.editor},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
79603
79606
|
var commands = ref.commands;
|
|
79604
79607
|
var isActive = ref.isActive;
|
|
79605
79608
|
var getMarkAttrs = ref.getMarkAttrs;
|
|
@@ -79749,6 +79752,10 @@ var script$p = {
|
|
|
79749
79752
|
type: String,
|
|
79750
79753
|
default: 'rgba(0,0,0,0)'
|
|
79751
79754
|
},
|
|
79755
|
+
defaultValue: {
|
|
79756
|
+
type: String,
|
|
79757
|
+
default: ''
|
|
79758
|
+
},
|
|
79752
79759
|
translations: {
|
|
79753
79760
|
type: Object
|
|
79754
79761
|
},
|
|
@@ -79763,6 +79770,38 @@ var script$p = {
|
|
|
79763
79770
|
showText: {
|
|
79764
79771
|
type: Boolean,
|
|
79765
79772
|
default: true
|
|
79773
|
+
},
|
|
79774
|
+
themeSettings: {
|
|
79775
|
+
type: Array,
|
|
79776
|
+
default: []
|
|
79777
|
+
},
|
|
79778
|
+
themeVariables: {
|
|
79779
|
+
type: Array,
|
|
79780
|
+
default: () => [{
|
|
79781
|
+
key: 'white',
|
|
79782
|
+
label: 'White'
|
|
79783
|
+
}, {
|
|
79784
|
+
key: 'primary',
|
|
79785
|
+
label: 'Primary'
|
|
79786
|
+
}, {
|
|
79787
|
+
key: 'secondary',
|
|
79788
|
+
label: 'Secondary'
|
|
79789
|
+
}, {
|
|
79790
|
+
key: 'success',
|
|
79791
|
+
label: 'Success'
|
|
79792
|
+
}, {
|
|
79793
|
+
key: 'warning',
|
|
79794
|
+
label: 'Warning'
|
|
79795
|
+
}, {
|
|
79796
|
+
key: 'danger',
|
|
79797
|
+
label: 'Danger'
|
|
79798
|
+
}, {
|
|
79799
|
+
key: 'light',
|
|
79800
|
+
label: 'Light'
|
|
79801
|
+
}, {
|
|
79802
|
+
key: 'extra-light',
|
|
79803
|
+
label: 'Extra light'
|
|
79804
|
+
}]
|
|
79766
79805
|
}
|
|
79767
79806
|
},
|
|
79768
79807
|
|
|
@@ -79774,13 +79813,23 @@ var script$p = {
|
|
|
79774
79813
|
},
|
|
79775
79814
|
|
|
79776
79815
|
computed: {
|
|
79777
|
-
|
|
79778
|
-
|
|
79779
|
-
|
|
79780
|
-
|
|
79816
|
+
themes() {
|
|
79817
|
+
return this.themeSettings.filter(theme => theme.id !== 'general') // remove general theme
|
|
79818
|
+
.map(theme => {
|
|
79819
|
+
return {
|
|
79820
|
+
id: theme.id,
|
|
79821
|
+
values: JSON.parse(theme.values)
|
|
79822
|
+
};
|
|
79823
|
+
});
|
|
79824
|
+
}
|
|
79781
79825
|
|
|
79782
|
-
|
|
79783
|
-
|
|
79826
|
+
},
|
|
79827
|
+
watch: {
|
|
79828
|
+
value: {
|
|
79829
|
+
immediate: true,
|
|
79830
|
+
|
|
79831
|
+
handler(value) {
|
|
79832
|
+
this.currentColor = value;
|
|
79784
79833
|
}
|
|
79785
79834
|
|
|
79786
79835
|
}
|
|
@@ -79792,6 +79841,15 @@ var script$p = {
|
|
|
79792
79841
|
this.currentColor = hex8;
|
|
79793
79842
|
}, 300),
|
|
79794
79843
|
|
|
79844
|
+
setColor(defaultColor = this.defaultValue) {
|
|
79845
|
+
this.currentColor = defaultColor;
|
|
79846
|
+
},
|
|
79847
|
+
|
|
79848
|
+
saveColor() {
|
|
79849
|
+
this.$emit('input', this.currentColor);
|
|
79850
|
+
this.closeMenu();
|
|
79851
|
+
},
|
|
79852
|
+
|
|
79795
79853
|
toggleMenu() {
|
|
79796
79854
|
if (this.showModal) {
|
|
79797
79855
|
this.closeMenu();
|
|
@@ -79820,17 +79878,18 @@ var script$p = {
|
|
|
79820
79878
|
const __vue_script__$p = script$p;
|
|
79821
79879
|
|
|
79822
79880
|
/* template */
|
|
79823
|
-
var __vue_render__$m = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"d-flex align-items-center"},[_c('b-button',{staticClass:"p-0 rounded-circle bg-white border-white shadow-none",style:(("color: " + _vm.
|
|
79881
|
+
var __vue_render__$m = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"d-flex align-items-center"},[_c('b-button',{staticClass:"p-0 rounded-circle bg-white border-white shadow-none",style:(("color: " + _vm.currentColor + "; fill: " + _vm.currentColor + ";")),on:{"click":_vm.toggleMenu}},[_c('svg',{staticClass:"border border-light rounded-circle",style:({ width: _vm.width, height: _vm.height }),attrs:{"viewBox":"0 0 32 32"}},[_c('pattern',{attrs:{"id":"checkerboard","width":"12","height":"12","patternUnits":"userSpaceOnUse","fill":"FFF"}},[_c('rect',{attrs:{"fill":"#7080707f","x":"0","width":"6","height":"6","y":"0"}}),_vm._v(" "),_c('rect',{attrs:{"fill":"#7080707f","x":"6","width":"6","height":"6","y":"6"}})]),_vm._v(" "),_c('circle',{attrs:{"cx":"16","cy":"16","r":"16","fill":"url(#checkerboard)"}}),_vm._v(" "),_c('circle',{attrs:{"cx":"16","cy":"16","r":"16"}})])]),_vm._v(" "),(_vm.showText)?_c('span',{staticClass:"ml-2"},[_vm._v("\n "+_vm._s(_vm.value)+"\n ")]):_vm._e()],1),_vm._v(" "),_c('b-modal',{attrs:{"visible":_vm.showModal,"title":_vm.translations.modalTitle,"centered":"","size":"md","body-class":"p-0","no-fade":""},on:{"hide":_vm.closeMenu},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [(_vm.defaultValue)?_c('b-button',{attrs:{"variant":"light"},on:{"click":function($event){return _vm.setColor()}}},[_vm._v("\n "+_vm._s(_vm.translations.defaultBtnLabel)+"\n ")]):_vm._e(),_vm._v(" "),_vm._t("footer"),_vm._v(" "),_c('b-button',{staticClass:"ml-auto text-primary border-0",attrs:{"variant":"outline-light"},on:{"click":_vm.closeMenu}},[_vm._v("\n "+_vm._s(_vm.translations.cancelBtnLabel)+"\n ")]),_vm._v(" "),_c('b-button',{attrs:{"variant":"primary"},on:{"click":_vm.saveColor}},[_vm._v("\n "+_vm._s(_vm.translations.saveBtnLabel)+"\n ")])]},proxy:true}],null,true)},[_c('chrome',{staticClass:"w-100 shadow-none",attrs:{"value":_vm.currentColor},on:{"input":_vm.updateColor}}),_vm._v(" "),(_vm.themes.length > 0)?_c('div',{staticClass:"d-flex flex-column border-top p-3 gap-2"},_vm._l((_vm.themes),function(theme){return _c('b-form-group',{key:theme.id,staticClass:"mb-0",attrs:{"label":_vm.translations[theme.id],"label-class":"text-primary"}},[_c('div',{staticClass:"d-flex flex-wrap border"},_vm._l((_vm.themeVariables),function(variable){return _c('b-button',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: variable.label, container: '#body' }),expression:"{ title: variable.label, container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],key:variable.key,staticClass:"swatch flex-grow-1 rounded-0",style:({ backgroundColor: theme.values[variable.key], borderColor: theme.values[variable.key] }),on:{"click":function($event){return _vm.setColor(theme.values[variable.key])}}})}),1)])}),1):_vm._e()],1)],1)};
|
|
79824
79882
|
var __vue_staticRenderFns__$m = [];
|
|
79825
79883
|
|
|
79826
79884
|
/* style */
|
|
79827
79885
|
const __vue_inject_styles__$q = function (inject) {
|
|
79828
79886
|
if (!inject) return
|
|
79829
|
-
inject("data-v-
|
|
79887
|
+
inject("data-v-13a7baee_0", { source: ".swatch[data-v-13a7baee]{height:58px;min-width:50px}", map: undefined, media: undefined })
|
|
79888
|
+
,inject("data-v-13a7baee_1", { source: ".vc-chrome{font-family:var(--font-medium)!important}.vc-chrome .vc-chrome-body{background:var(--white)!important}.vc-chrome .vc-chrome-body .vc-input__input{color:var(--black)!important;background-color:var(--white)!important}.vc-chrome .vc-chrome-body .vc-input__label{color:var(--black)!important}.vc-chrome .vc-chrome-body .vc-chrome-toggle-btn path{fill:var(--black)!important}.vc-chrome .vc-chrome-body .vc-chrome-toggle-btn .vc-chrome-toggle-icon-highlight{background:var(--light)!important}", map: undefined, media: undefined });
|
|
79830
79889
|
|
|
79831
79890
|
};
|
|
79832
79891
|
/* scoped */
|
|
79833
|
-
const __vue_scope_id__$q =
|
|
79892
|
+
const __vue_scope_id__$q = "data-v-13a7baee";
|
|
79834
79893
|
/* module identifier */
|
|
79835
79894
|
const __vue_module_identifier__$q = undefined;
|
|
79836
79895
|
/* functional template */
|
|
@@ -84586,6 +84645,7 @@ var script$q = {
|
|
|
84586
84645
|
fontSize: this.fontSize,
|
|
84587
84646
|
wrap: true,
|
|
84588
84647
|
indentedSoftWrap: false,
|
|
84648
|
+
showPrintMargin: false,
|
|
84589
84649
|
showLineNumbers: this.showLineNumbers,
|
|
84590
84650
|
showGutter: this.showLineNumbers,
|
|
84591
84651
|
displayIndentGuides: this.lang !== 'text',
|
|
@@ -84600,17 +84660,18 @@ var script$q = {
|
|
|
84600
84660
|
const __vue_script__$q = script$q;
|
|
84601
84661
|
|
|
84602
84662
|
/* template */
|
|
84603
|
-
var __vue_render__$n = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('ace-editor',_vm._g({class:{ 'border': _vm.border },attrs:{"lang":_vm.lang,"mode":_vm.lang,"theme":"chrome","width":"100%","height":_vm.height},on:{"init":_vm.editorInit},model:{value:(_vm.editorValue),callback:function ($$v) {_vm.editorValue=$$v;},expression:"editorValue"}},_vm.$listeners)),_vm._v(" "),(_vm.showPopout)?_c('b-button',{staticClass:"popout position-absolute px-2 py-1 mr-3",attrs:{"variant":"link"},on:{"click":function($event){return _vm.$emit('open')}}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'expand-alt']}})],1):_vm._e()],1)};
|
|
84663
|
+
var __vue_render__$n = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('ace-editor',_vm._g({class:{ 'border-0 rounded-0': !_vm.border },attrs:{"lang":_vm.lang,"mode":_vm.lang,"theme":"chrome","width":"100%","height":_vm.height},on:{"init":_vm.editorInit},model:{value:(_vm.editorValue),callback:function ($$v) {_vm.editorValue=$$v;},expression:"editorValue"}},_vm.$listeners)),_vm._v(" "),(_vm.showPopout)?_c('b-button',{staticClass:"popout position-absolute px-2 py-1 mr-3",attrs:{"variant":"link"},on:{"click":function($event){return _vm.$emit('open')}}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'expand-alt']}})],1):_vm._e()],1)};
|
|
84604
84664
|
var __vue_staticRenderFns__$n = [];
|
|
84605
84665
|
|
|
84606
84666
|
/* style */
|
|
84607
84667
|
const __vue_inject_styles__$r = function (inject) {
|
|
84608
84668
|
if (!inject) return
|
|
84609
|
-
inject("data-v-
|
|
84669
|
+
inject("data-v-0d1737a4_0", { source: ".popout[data-v-0d1737a4]{z-index:7;bottom:0;right:0}", map: undefined, media: undefined })
|
|
84670
|
+
,inject("data-v-0d1737a4_1", { source: ".ace_editor{color:var(--black)!important;background-color:var(--white)!important;border-radius:.25rem;border:2px solid var(--extra-light)}.ace_editor .ace_gutter{background-color:var(--light)!important;color:var(--black)!important}.ace_editor .ace_gutter .ace_gutter-active-line{background-color:var(--extra-light)!important}", map: undefined, media: undefined });
|
|
84610
84671
|
|
|
84611
84672
|
};
|
|
84612
84673
|
/* scoped */
|
|
84613
|
-
const __vue_scope_id__$r = "data-v-
|
|
84674
|
+
const __vue_scope_id__$r = "data-v-0d1737a4";
|
|
84614
84675
|
/* module identifier */
|
|
84615
84676
|
const __vue_module_identifier__$r = undefined;
|
|
84616
84677
|
/* functional template */
|
|
@@ -84843,21 +84904,19 @@ var script$s = {
|
|
|
84843
84904
|
const __vue_script__$s = script$s;
|
|
84844
84905
|
|
|
84845
84906
|
/* template */
|
|
84846
|
-
var __vue_render__$p = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{attrs:{"data-test-id":"button-permissions","title":_vm.tooltip,"variant":_vm.buttonVariant,"size":_vm.size},on:{"click":_vm.onClick}},[_vm._t("default",function(){return [(_vm.showButtonIcon)?_c('font-awesome-icon',{attrs:{"icon":['fas', 'lock']}}):_vm._e(),_vm._v(" "),(_vm.buttonLabel)?_c('span',[_vm._v("\n "+_vm._s(_vm.buttonLabel)+"\n ")]):_vm._e()]})],2)};
|
|
84907
|
+
var __vue_render__$p = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{attrs:{"data-test-id":"button-permissions","title":_vm.tooltip,"variant":_vm.buttonVariant,"size":_vm.size},on:{"click":_vm.onClick}},[_vm._t("default",function(){return [(_vm.showButtonIcon)?_c('font-awesome-icon',{attrs:{"icon":['fas', 'lock']}}):_vm._e(),_vm._v(" "),(_vm.buttonLabel)?_c('span',{staticClass:"permissions-button-label"},[_vm._v("\n "+_vm._s(_vm.buttonLabel)+"\n ")]):_vm._e()]})],2)};
|
|
84847
84908
|
var __vue_staticRenderFns__$p = [];
|
|
84848
84909
|
|
|
84849
84910
|
/* style */
|
|
84850
|
-
const __vue_inject_styles__$t =
|
|
84851
|
-
if (!inject) return
|
|
84852
|
-
inject("data-v-cc3de344_0", { source: ".pointer[data-v-cc3de344]{cursor:pointer}", map: undefined, media: undefined });
|
|
84853
|
-
|
|
84854
|
-
};
|
|
84911
|
+
const __vue_inject_styles__$t = undefined;
|
|
84855
84912
|
/* scoped */
|
|
84856
|
-
const __vue_scope_id__$t =
|
|
84913
|
+
const __vue_scope_id__$t = undefined;
|
|
84857
84914
|
/* module identifier */
|
|
84858
84915
|
const __vue_module_identifier__$t = undefined;
|
|
84859
84916
|
/* functional template */
|
|
84860
84917
|
const __vue_is_functional_template__$t = false;
|
|
84918
|
+
/* style inject */
|
|
84919
|
+
|
|
84861
84920
|
/* style inject SSR */
|
|
84862
84921
|
|
|
84863
84922
|
/* style inject shadow dom */
|
|
@@ -84872,7 +84931,7 @@ var __vue_staticRenderFns__$p = [];
|
|
|
84872
84931
|
__vue_is_functional_template__$t,
|
|
84873
84932
|
__vue_module_identifier__$t,
|
|
84874
84933
|
false,
|
|
84875
|
-
|
|
84934
|
+
undefined,
|
|
84876
84935
|
undefined,
|
|
84877
84936
|
undefined
|
|
84878
84937
|
);
|
|
@@ -85036,7 +85095,7 @@ var script$u = {
|
|
|
85036
85095
|
const __vue_script__$u = script$u;
|
|
85037
85096
|
|
|
85038
85097
|
/* template */
|
|
85039
|
-
var __vue_render__$r = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"data-test-id":_vm.title || (_vm.operation + " on " + _vm.resource)}},[_c('p',{staticClass:"mb-1",attrs:{"title":_vm.title || (_vm.operation + " on " + _vm.resource)}},[_vm._v("\n "+_vm._s(_vm.title || (_vm.operation + " on " + _vm.resource))+"\n ")]),_vm._v(" "),_c('access',{staticClass:"w-100",attrs:{"access":_vm.access,"current":_vm.current,"enabled":_vm.enabled},on:{"update":_vm.onUpdate}})],1)};
|
|
85098
|
+
var __vue_render__$r = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"data-test-id":_vm.title || (_vm.operation + " on " + _vm.resource)}},[_c('p',{staticClass:"mb-1 text-truncate",attrs:{"title":_vm.title || (_vm.operation + " on " + _vm.resource)}},[_vm._v("\n "+_vm._s(_vm.title || (_vm.operation + " on " + _vm.resource))+"\n ")]),_vm._v(" "),_c('access',{staticClass:"w-100",attrs:{"access":_vm.access,"current":_vm.current,"enabled":_vm.enabled},on:{"update":_vm.onUpdate}})],1)};
|
|
85040
85099
|
var __vue_staticRenderFns__$r = [];
|
|
85041
85100
|
|
|
85042
85101
|
/* style */
|
|
@@ -85151,6 +85210,7 @@ var script$w = {
|
|
|
85151
85210
|
data() {
|
|
85152
85211
|
return {
|
|
85153
85212
|
processing: false,
|
|
85213
|
+
submitting: false,
|
|
85154
85214
|
backendComponentName: undefined,
|
|
85155
85215
|
resource: undefined,
|
|
85156
85216
|
title: undefined,
|
|
@@ -85187,7 +85247,7 @@ var script$w = {
|
|
|
85187
85247
|
},
|
|
85188
85248
|
|
|
85189
85249
|
submitDisabled() {
|
|
85190
|
-
return !this.dirty;
|
|
85250
|
+
return !this.dirty || this.processing || this.submitting;
|
|
85191
85251
|
},
|
|
85192
85252
|
|
|
85193
85253
|
addEnabled() {
|
|
@@ -85253,6 +85313,7 @@ var script$w = {
|
|
|
85253
85313
|
target,
|
|
85254
85314
|
allSpecific
|
|
85255
85315
|
}) {
|
|
85316
|
+
this.processing = true;
|
|
85256
85317
|
this.resource = resource;
|
|
85257
85318
|
this.title = title;
|
|
85258
85319
|
this.target = target;
|
|
@@ -85263,91 +85324,60 @@ var script$w = {
|
|
|
85263
85324
|
if (!this.roles.length) {
|
|
85264
85325
|
return this.fetchRoles();
|
|
85265
85326
|
} else if (this.currentRoleID) {
|
|
85266
|
-
|
|
85267
|
-
this.processing = true;
|
|
85268
|
-
return this.fetchRules(roleID).then(() => {
|
|
85269
|
-
return Promise.all(this.evaluate.map(e => {
|
|
85270
|
-
const {
|
|
85271
|
-
userID
|
|
85272
|
-
} = e.userID || {};
|
|
85273
|
-
let {
|
|
85274
|
-
roleID = []
|
|
85275
|
-
} = e;
|
|
85276
|
-
roleID = roleID.map(({
|
|
85277
|
-
roleID
|
|
85278
|
-
}) => roleID);
|
|
85279
|
-
return this.evaluatePermissions({
|
|
85280
|
-
roleID,
|
|
85281
|
-
userID
|
|
85282
|
-
}).then(rules => {
|
|
85283
|
-
return { ...e,
|
|
85284
|
-
rules
|
|
85285
|
-
};
|
|
85286
|
-
});
|
|
85287
|
-
})).then(evaluate => {
|
|
85288
|
-
this.evaluate = evaluate;
|
|
85289
|
-
});
|
|
85290
|
-
});
|
|
85327
|
+
return this.reevaluatePermissions(this.currentRoleID);
|
|
85291
85328
|
}
|
|
85329
|
+
}).finally(() => {
|
|
85330
|
+
this.processing = false;
|
|
85292
85331
|
});
|
|
85293
85332
|
},
|
|
85294
85333
|
|
|
85295
85334
|
onHide() {
|
|
85296
|
-
this.clear();
|
|
85297
|
-
},
|
|
85298
|
-
|
|
85299
|
-
clear() {
|
|
85300
85335
|
this.resource = undefined;
|
|
85301
85336
|
this.title = undefined;
|
|
85302
85337
|
this.target = undefined;
|
|
85303
85338
|
},
|
|
85304
85339
|
|
|
85305
85340
|
onRoleChange(roleID) {
|
|
85306
|
-
this.
|
|
85341
|
+
this.processing = true;
|
|
85342
|
+
this.fetchRules(roleID).finally(() => {
|
|
85343
|
+
this.processing = false;
|
|
85344
|
+
});
|
|
85307
85345
|
},
|
|
85308
85346
|
|
|
85309
85347
|
onSubmit() {
|
|
85310
|
-
this.
|
|
85348
|
+
this.submitting = true;
|
|
85311
85349
|
const rules = this.collectChangedRules();
|
|
85312
85350
|
const roleID = this.currentRoleID;
|
|
85313
85351
|
this.api.permissionsUpdate({
|
|
85314
85352
|
roleID,
|
|
85315
85353
|
rules
|
|
85316
85354
|
}).then(() => {
|
|
85317
|
-
this.
|
|
85355
|
+
this.reevaluatePermissions(roleID);
|
|
85318
85356
|
}).finally(() => {
|
|
85319
|
-
this.
|
|
85320
|
-
this.onHide();
|
|
85357
|
+
this.submitting = false;
|
|
85321
85358
|
});
|
|
85322
85359
|
},
|
|
85323
85360
|
|
|
85324
85361
|
async fetchPermissions() {
|
|
85325
|
-
|
|
85326
|
-
|
|
85362
|
+
// clean loaded rules
|
|
85327
85363
|
this.rules = [];
|
|
85328
85364
|
this.permissions = [];
|
|
85329
85365
|
return this.api.permissionsList().then(pp => {
|
|
85330
85366
|
this.permissions = this.filterPermissions(pp);
|
|
85331
|
-
}).finally(() => {
|
|
85332
|
-
this.processing = false;
|
|
85333
85367
|
});
|
|
85334
85368
|
},
|
|
85335
85369
|
|
|
85336
85370
|
async fetchRules(roleID) {
|
|
85337
|
-
this.processing = true;
|
|
85338
85371
|
return this.api.permissionsRead({
|
|
85339
85372
|
roleID,
|
|
85340
85373
|
resource: this.resource
|
|
85341
85374
|
}).then(rules => {
|
|
85342
85375
|
this.rules = this.normalizeRules(rules);
|
|
85343
|
-
}).finally(() => {
|
|
85344
|
-
this.processing = false;
|
|
85345
85376
|
});
|
|
85346
85377
|
},
|
|
85347
85378
|
|
|
85348
85379
|
async fetchRoles() {
|
|
85349
|
-
|
|
85350
|
-
|
|
85380
|
+
// Roles are always fetched from $SystemAPI.
|
|
85351
85381
|
return this.$SystemAPI.roleList().then(({
|
|
85352
85382
|
set
|
|
85353
85383
|
}) => {
|
|
@@ -85359,8 +85389,6 @@ var script$w = {
|
|
|
85359
85389
|
this.currentRoleID = this.roles[0].roleID;
|
|
85360
85390
|
this.onRoleChange(this.currentRoleID);
|
|
85361
85391
|
}
|
|
85362
|
-
}).finally(() => {
|
|
85363
|
-
this.processing = false;
|
|
85364
85392
|
});
|
|
85365
85393
|
},
|
|
85366
85394
|
|
|
@@ -85379,6 +85407,30 @@ var script$w = {
|
|
|
85379
85407
|
});
|
|
85380
85408
|
},
|
|
85381
85409
|
|
|
85410
|
+
async reevaluatePermissions(roleID) {
|
|
85411
|
+
return this.fetchRules(roleID).then(() => {
|
|
85412
|
+
return Promise.all(this.evaluate.map(e => {
|
|
85413
|
+
let {
|
|
85414
|
+
roleID = [],
|
|
85415
|
+
userID
|
|
85416
|
+
} = e;
|
|
85417
|
+
roleID = roleID.map(({
|
|
85418
|
+
roleID
|
|
85419
|
+
}) => roleID);
|
|
85420
|
+
return this.evaluatePermissions({
|
|
85421
|
+
roleID,
|
|
85422
|
+
userID
|
|
85423
|
+
}).then(rules => {
|
|
85424
|
+
return { ...e,
|
|
85425
|
+
rules
|
|
85426
|
+
};
|
|
85427
|
+
});
|
|
85428
|
+
})).then(evaluate => {
|
|
85429
|
+
this.evaluate = evaluate;
|
|
85430
|
+
});
|
|
85431
|
+
});
|
|
85432
|
+
},
|
|
85433
|
+
|
|
85382
85434
|
searchUsers(query = '', loading) {
|
|
85383
85435
|
loading(true);
|
|
85384
85436
|
this.$SystemAPI.userList({
|
|
@@ -85454,7 +85506,6 @@ var script$w = {
|
|
|
85454
85506
|
const inherit = 'inherit'; // merges roleRules (subset) with list of all permissions
|
|
85455
85507
|
|
|
85456
85508
|
const findCurrent = ({
|
|
85457
|
-
resource,
|
|
85458
85509
|
operation
|
|
85459
85510
|
}) => {
|
|
85460
85511
|
if (!rr) {
|
|
@@ -85464,7 +85515,7 @@ var script$w = {
|
|
|
85464
85515
|
let {
|
|
85465
85516
|
resolution,
|
|
85466
85517
|
access = inherit
|
|
85467
|
-
} = rr.find(r => r.
|
|
85518
|
+
} = rr.find(r => r.operation === operation) || {};
|
|
85468
85519
|
|
|
85469
85520
|
if (resolution === 'unknown-context') {
|
|
85470
85521
|
access = 'unknown-context';
|
|
@@ -85572,6 +85623,7 @@ var script$w = {
|
|
|
85572
85623
|
|
|
85573
85624
|
setDefaultValues() {
|
|
85574
85625
|
this.processing = false;
|
|
85626
|
+
this.submitting = false;
|
|
85575
85627
|
this.backendComponentName = undefined;
|
|
85576
85628
|
this.resource = undefined;
|
|
85577
85629
|
this.title = undefined;
|
|
@@ -85597,17 +85649,17 @@ var script$w = {
|
|
|
85597
85649
|
const __vue_script__$w = script$w;
|
|
85598
85650
|
|
|
85599
85651
|
/* template */
|
|
85600
|
-
var __vue_render__$t = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-modal',{staticClass:"h-100 overflow-hidden",attrs:{"id":"permissions-modal","visible":_vm.showModal,"size":"xl","title":_vm.translatedTitle,"lazy":"","scrollable":"","no-fade":"","body-class":"d-flex flex-column p-0"},on:{"hide":_vm.onHide},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [_c('b-button',{attrs:{"data-test-id":"button-cancel","variant":"light"},on:{"click":_vm.onHide}},[_vm._v("\n "+_vm._s(_vm.labels.cancel)+"\n ")]),_vm._v(" "),_c('c-button-submit',{attrs:{"data-test-id":"button-save","disabled":_vm.submitDisabled,"processing":_vm.
|
|
85652
|
+
var __vue_render__$t = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-modal',{staticClass:"h-100 overflow-hidden",attrs:{"id":"permissions-modal","visible":_vm.showModal,"size":"xl","title":_vm.translatedTitle,"lazy":"","scrollable":"","no-fade":"","body-class":"d-flex flex-column p-0"},on:{"hide":_vm.onHide},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [_c('b-button',{attrs:{"data-test-id":"button-cancel","variant":"light"},on:{"click":_vm.onHide}},[_vm._v("\n "+_vm._s(_vm.labels.cancel)+"\n ")]),_vm._v(" "),_c('c-button-submit',{attrs:{"data-test-id":"button-save","disabled":_vm.submitDisabled,"processing":_vm.submitting,"text":_vm.labels.save},on:{"submit":_vm.onSubmit}})]},proxy:true}])},[_c('b-row',{staticClass:"bg-light border-bottom",attrs:{"no-gutters":""}},[_c('b-col',{staticClass:"p-3",attrs:{"lg":"4"}},[_vm._v("\n "+_vm._s(_vm.labels.edit.description)+"\n ")]),_vm._v(" "),_c('b-col',{staticClass:"d-none d-lg-block border-left p-3"},[_vm._v("\n "+_vm._s(_vm.labels.evaluate.description)+"\n ")])],1),_vm._v(" "),_c('b-row',{staticClass:"bg-light",attrs:{"no-gutters":"","align-v":"stretch"}},[_c('b-col',{staticClass:"d-flex align-items-center p-3 border-bottom",attrs:{"lg":"4"}},[_c('b-form-group',{staticClass:"mb-0 w-100",attrs:{"label":_vm.labels.edit.label,"label-class":"text-primary"}},[_c('c-input-select',{key:"roleID",attrs:{"data-test-id":"select-user-list-roles","label":"name","disabled":!_vm.currentRoleID,"clearable":false,"options":_vm.roles,"get-option-key":_vm.getOptionRoleKey,"reduce":function (o) { return o.roleID; },"append-to-body":""},on:{"input":_vm.onRoleChange},model:{value:(_vm.currentRoleID),callback:function ($$v) {_vm.currentRoleID=$$v;},expression:"currentRoleID"}})],1)],1),_vm._v(" "),_vm._l((_vm.evaluate),function(e,i){return _c('b-col',{key:i,staticClass:"pointer hide-eval border-bottom d-none d-lg-flex flex-column align-items-center justify-content-center overflow-hidden border-left p-3",attrs:{"data-test-id":"icon-remove","lg":"2"},on:{"click":function($event){return _vm.onHideEval(i)}}},[_vm._l((_vm.getEvalName(e)),function(n,index){return _c('label',{key:index,staticClass:"pointer text-center text-primary mb-1",attrs:{"title":n}},[_vm._v("\n "+_vm._s(n)+"\n ")])}),_vm._v(" "),_c('font-awesome-icon',{staticClass:"text-secondary rotate mt-1",attrs:{"icon":['fas', 'plus']}})],2)}),_vm._v(" "),(_vm.evaluate.length < 4)?_c('b-col',{directives:[{name:"b-modal",rawName:"v-b-modal.permissions-modal-eval",modifiers:{"permissions-modal-eval":true}}],staticClass:"d-none d-lg-flex pointer border-bottom flex-column align-items-center justify-content-center overflow-hidden border-left p-3",attrs:{"data-test-id":"icon-add"}},[_c('label',{staticClass:"pointer text-center text-primary mb-1"},[_vm._v("\n "+_vm._s(_vm.labels.add.label)+"\n ")]),_vm._v(" "),_c('font-awesome-icon',{staticClass:"text-success d-block mx-auto mt-1",attrs:{"icon":['fas', 'plus']}})],1):_vm._e()],2),_vm._v(" "),(_vm.processing)?_c('div',{staticClass:"d-flex flex-column align-items-center justify-content-center h-100 py-4",staticStyle:{"min-height":"50vh"}},[_c('b-spinner'),_vm._v(" "),_c('div',[_vm._v("\n "+_vm._s(_vm.labels.loading)+"\n ")])],1):_c('b-row',{attrs:{"no-gutters":""}},[_c('b-col',{staticClass:"p-3",attrs:{"lg":"4"}},[_c('rules',{attrs:{"rules":_vm.rules},on:{"update:rules":function($event){_vm.rules=$event;}}})],1),_vm._v(" "),_vm._l((_vm.evaluate),function(e,i){return _c('b-col',{key:i,staticClass:"d-none d-lg-flex border-left p-3 bg-light not-allowed",attrs:{"lg":"2"}},[_c('div',{staticClass:"d-flex flex-column align-items-center justify-content-between mt-4 w-100"},_vm._l((e.rules),function(r){return _c('h5',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: _vm.getRuleTooltip(r.access === 'unknown-context', !!e.userID), container: '#body' }),expression:"{ title: getRuleTooltip(r.access === 'unknown-context', !!e.userID), container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],key:r.operation,staticClass:"text-center mb-1 mt-2 w-100"},[(r.access === 'unknown-context')?_c('font-awesome-icon',{staticClass:"text-secondary",attrs:{"icon":['fas', 'question']}}):(r.access === 'allow')?_c('font-awesome-icon',{staticClass:"text-success",attrs:{"icon":['fas', 'check']}}):_c('font-awesome-icon',{staticClass:"text-danger",attrs:{"icon":['fas', 'times']}})],1)}),0)])}),_vm._v(" "),_c('b-col',{staticClass:"d-none d-lg-block pt-4 border-left"})],2)],1),_vm._v(" "),_c('b-modal',{attrs:{"id":"permissions-modal-eval","title":_vm.labels.add.title,"centered":"","no-fade":""},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [_c('c-button-submit',{attrs:{"data-test-id":"button-save","disabled":!_vm.addEnabled,"processing":_vm.processing,"text":_vm.labels.add.save},on:{"submit":_vm.onAddEval}})]},proxy:true}])},[_c('b-form-group',{staticClass:"mb-0",attrs:{"label":_vm.labels.add.role.label,"label-class":"text-primary"}},[_c('c-input-select',{key:"roleID",attrs:{"data-test-id":"select-role","options":_vm.roles,"get-option-key":_vm.getOptionRoleKey,"label":"name","multiple":"","clearable":"","disabled":!!_vm.add.userID,"placeholder":_vm.labels.add.role.placeholder},model:{value:(_vm.add.roleID),callback:function ($$v) {_vm.$set(_vm.add, "roleID", $$v);},expression:"add.roleID"}})],1),_vm._v(" "),_c('b-form-group',{staticClass:"mt-3 mb-0",attrs:{"label":_vm.labels.add.user.label,"label-class":"text-primary"}},[_c('c-input-select',{key:"userID",attrs:{"data-test-id":"select-user","disabled":!!_vm.add.roleID.length,"options":_vm.userOptions,"get-option-label":_vm.getUserLabel,"get-option-key":_vm.getOptionUserKey,"reduce":function (o) { return o.userID; },"label":"name","clearable":"","placeholder":_vm.labels.add.user.placeholder},on:{"search":_vm.searchUsers},model:{value:(_vm.add.userID),callback:function ($$v) {_vm.$set(_vm.add, "userID", $$v);},expression:"add.userID"}})],1)],1)],1)};
|
|
85601
85653
|
var __vue_staticRenderFns__$t = [];
|
|
85602
85654
|
|
|
85603
85655
|
/* style */
|
|
85604
85656
|
const __vue_inject_styles__$x = function (inject) {
|
|
85605
85657
|
if (!inject) return
|
|
85606
|
-
inject("data-v-
|
|
85658
|
+
inject("data-v-018d9004_0", { source: ".not-allowed[data-v-018d9004]{cursor:not-allowed}.pointer[data-v-018d9004]{cursor:pointer}.rotate[data-v-018d9004]{transform:rotate(45deg)}.hide-eval:hover .rotate[data-v-018d9004]{color:var(--primary)!important}", map: undefined, media: undefined });
|
|
85607
85659
|
|
|
85608
85660
|
};
|
|
85609
85661
|
/* scoped */
|
|
85610
|
-
const __vue_scope_id__$x = "data-v-
|
|
85662
|
+
const __vue_scope_id__$x = "data-v-018d9004";
|
|
85611
85663
|
/* module identifier */
|
|
85612
85664
|
const __vue_module_identifier__$x = undefined;
|
|
85613
85665
|
/* functional template */
|
|
@@ -87233,192 +87285,15 @@ var __vue_staticRenderFns__$E = [];
|
|
|
87233
87285
|
);
|
|
87234
87286
|
|
|
87235
87287
|
//
|
|
87236
|
-
|
|
87237
|
-
//
|
|
87238
|
-
//
|
|
87239
|
-
//
|
|
87240
|
-
//
|
|
87241
|
-
//
|
|
87242
|
-
//
|
|
87243
|
-
//
|
|
87244
|
-
//
|
|
87245
|
-
//
|
|
87246
|
-
//
|
|
87247
|
-
//
|
|
87248
|
-
//
|
|
87249
|
-
//
|
|
87250
|
-
//
|
|
87251
|
-
//
|
|
87252
|
-
//
|
|
87253
|
-
//
|
|
87254
|
-
//
|
|
87255
|
-
//
|
|
87256
|
-
//
|
|
87257
|
-
//
|
|
87258
|
-
//
|
|
87259
|
-
//
|
|
87260
|
-
//
|
|
87261
|
-
//
|
|
87262
|
-
//
|
|
87263
|
-
//
|
|
87264
|
-
//
|
|
87265
|
-
//
|
|
87266
|
-
//
|
|
87267
|
-
//
|
|
87268
|
-
//
|
|
87269
|
-
//
|
|
87270
|
-
//
|
|
87271
|
-
//
|
|
87272
|
-
//
|
|
87273
|
-
//
|
|
87274
|
-
//
|
|
87275
|
-
//
|
|
87276
|
-
//
|
|
87277
|
-
//
|
|
87278
|
-
//
|
|
87279
|
-
//
|
|
87280
|
-
//
|
|
87281
|
-
//
|
|
87282
|
-
//
|
|
87283
|
-
//
|
|
87284
|
-
//
|
|
87285
|
-
//
|
|
87286
|
-
//
|
|
87287
|
-
//
|
|
87288
|
-
//
|
|
87289
|
-
//
|
|
87290
|
-
//
|
|
87291
|
-
//
|
|
87292
|
-
//
|
|
87293
|
-
//
|
|
87294
|
-
//
|
|
87295
|
-
//
|
|
87296
|
-
//
|
|
87297
|
-
//
|
|
87298
|
-
//
|
|
87299
|
-
//
|
|
87300
|
-
//
|
|
87301
|
-
//
|
|
87302
|
-
//
|
|
87303
|
-
//
|
|
87304
|
-
//
|
|
87305
|
-
//
|
|
87306
|
-
//
|
|
87307
|
-
//
|
|
87308
|
-
//
|
|
87309
|
-
//
|
|
87310
|
-
//
|
|
87311
|
-
//
|
|
87312
|
-
//
|
|
87313
|
-
//
|
|
87314
|
-
//
|
|
87315
|
-
//
|
|
87316
|
-
//
|
|
87317
|
-
//
|
|
87318
|
-
//
|
|
87319
|
-
//
|
|
87320
|
-
//
|
|
87321
|
-
//
|
|
87322
|
-
//
|
|
87323
|
-
//
|
|
87324
|
-
//
|
|
87325
|
-
//
|
|
87326
|
-
//
|
|
87327
|
-
//
|
|
87328
|
-
//
|
|
87329
|
-
//
|
|
87330
|
-
//
|
|
87331
|
-
//
|
|
87332
|
-
//
|
|
87333
|
-
//
|
|
87334
|
-
//
|
|
87335
|
-
//
|
|
87336
|
-
//
|
|
87337
|
-
//
|
|
87338
|
-
//
|
|
87339
|
-
//
|
|
87340
|
-
//
|
|
87341
|
-
//
|
|
87342
|
-
//
|
|
87343
|
-
//
|
|
87344
|
-
//
|
|
87345
|
-
//
|
|
87346
|
-
//
|
|
87347
|
-
//
|
|
87348
|
-
//
|
|
87349
|
-
//
|
|
87350
|
-
//
|
|
87351
|
-
//
|
|
87352
|
-
//
|
|
87353
|
-
//
|
|
87354
|
-
//
|
|
87355
|
-
//
|
|
87356
|
-
//
|
|
87357
|
-
//
|
|
87358
|
-
//
|
|
87359
|
-
//
|
|
87360
|
-
//
|
|
87361
|
-
//
|
|
87362
|
-
//
|
|
87363
|
-
//
|
|
87364
|
-
//
|
|
87365
|
-
//
|
|
87366
|
-
//
|
|
87367
|
-
//
|
|
87368
|
-
//
|
|
87369
|
-
//
|
|
87370
|
-
//
|
|
87371
|
-
//
|
|
87372
|
-
//
|
|
87373
|
-
//
|
|
87374
|
-
//
|
|
87375
|
-
//
|
|
87376
|
-
//
|
|
87377
|
-
//
|
|
87378
|
-
//
|
|
87379
|
-
//
|
|
87380
|
-
//
|
|
87381
|
-
//
|
|
87382
|
-
//
|
|
87383
|
-
//
|
|
87384
|
-
//
|
|
87385
|
-
//
|
|
87386
|
-
//
|
|
87387
|
-
//
|
|
87388
|
-
//
|
|
87389
|
-
//
|
|
87390
|
-
//
|
|
87391
|
-
//
|
|
87392
|
-
//
|
|
87393
|
-
//
|
|
87394
|
-
//
|
|
87395
|
-
//
|
|
87396
|
-
//
|
|
87397
|
-
//
|
|
87398
|
-
//
|
|
87399
|
-
//
|
|
87400
|
-
//
|
|
87401
|
-
//
|
|
87402
|
-
//
|
|
87403
|
-
//
|
|
87404
|
-
//
|
|
87405
|
-
//
|
|
87406
|
-
//
|
|
87407
|
-
//
|
|
87408
|
-
//
|
|
87409
|
-
//
|
|
87410
|
-
//
|
|
87411
|
-
//
|
|
87412
|
-
//
|
|
87413
|
-
//
|
|
87414
|
-
//
|
|
87415
|
-
//
|
|
87416
|
-
//
|
|
87417
|
-
//
|
|
87418
|
-
//
|
|
87419
|
-
//
|
|
87420
|
-
//
|
|
87288
|
+
library.add(faMoon, faSun);
|
|
87421
87289
|
var script$J = {
|
|
87290
|
+
data() {
|
|
87291
|
+
return {
|
|
87292
|
+
currentTheme: 'light',
|
|
87293
|
+
isThemeDropdownVisible: false
|
|
87294
|
+
};
|
|
87295
|
+
},
|
|
87296
|
+
|
|
87422
87297
|
props: {
|
|
87423
87298
|
sidebarPinned: {
|
|
87424
87299
|
type: Boolean,
|
|
@@ -87497,6 +87372,42 @@ var script$J = {
|
|
|
87497
87372
|
|
|
87498
87373
|
avatarExists() {
|
|
87499
87374
|
return this.$auth.user.meta.avatarID !== "0" && this.$auth.user.meta.avatarID;
|
|
87375
|
+
},
|
|
87376
|
+
|
|
87377
|
+
themes() {
|
|
87378
|
+
return [{
|
|
87379
|
+
id: 'light',
|
|
87380
|
+
label: this.labels.lightTheme
|
|
87381
|
+
}, {
|
|
87382
|
+
id: 'dark',
|
|
87383
|
+
label: this.labels.darkTheme
|
|
87384
|
+
}];
|
|
87385
|
+
}
|
|
87386
|
+
|
|
87387
|
+
},
|
|
87388
|
+
watch: {
|
|
87389
|
+
'$auth.user.meta.theme': {
|
|
87390
|
+
immediate: true,
|
|
87391
|
+
|
|
87392
|
+
handler(theme) {
|
|
87393
|
+
this.currentTheme = theme;
|
|
87394
|
+
}
|
|
87395
|
+
|
|
87396
|
+
}
|
|
87397
|
+
},
|
|
87398
|
+
methods: {
|
|
87399
|
+
async saveThemeMode(theme) {
|
|
87400
|
+
this.currentTheme = theme;
|
|
87401
|
+
this.$set(this.$auth.user.meta, 'theme', theme);
|
|
87402
|
+
this.$SystemAPI.userUpdate(this.$auth.user).then(() => {
|
|
87403
|
+
document.getElementsByTagName('html')[0].setAttribute('data-color-mode', theme);
|
|
87404
|
+
}).catch(console.error);
|
|
87405
|
+
},
|
|
87406
|
+
|
|
87407
|
+
preventDropdownClose(e) {
|
|
87408
|
+
if (this.isThemeDropdownVisible) {
|
|
87409
|
+
e.preventDefault();
|
|
87410
|
+
}
|
|
87500
87411
|
}
|
|
87501
87412
|
|
|
87502
87413
|
}
|
|
@@ -87506,22 +87417,22 @@ var script$J = {
|
|
|
87506
87417
|
const __vue_script__$J = script$J;
|
|
87507
87418
|
|
|
87508
87419
|
/* template */
|
|
87509
|
-
var __vue_render__$F = 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
|
|
87420
|
+
var __vue_render__$F = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header-navigation d-flex flex-wrap align-items-center py-2 px-3 gap-1"},[_c('div',{staticClass:"sidebar-spacer",class:{
|
|
87510
87421
|
'expanded': _vm.sidebarPinned,
|
|
87511
|
-
}}),_vm._v(" "),_c('h2',{staticClass:"title
|
|
87422
|
+
}}),_vm._v(" "),_c('h2',{staticClass:"title mb-0"},[_vm._t("title")],2),_vm._v(" "),_c('div',{staticClass:"tools-wrapper ml-auto"},[_vm._t("tools")],2),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center ml-auto"},[(!_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:{"data-test-id":"app-selector","variant":"outline-extra-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-extra-light","toggle-class":"text-decoration-none text-dark rounded-circle border-0 w-100","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark mt-2","right":"","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-center"},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['far', 'question-circle']}}),_vm._v(" "),_c('span',{staticClass:"sr-only"},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")])],1)]},proxy:true}],null,false,1129756517)},[_vm._v(" "),_c('div',[_vm._t("help-dropdown")],2),_vm._v(" "),_vm._l((_vm.helpLinks),function(helpLink,index){return _c('b-dropdown-item',{key:index,attrs:{"href":_vm._f("checkValidURL")(helpLink.url),"target":helpLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(helpLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideForumLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-forum","href":"https://forum.cortezaproject.org/","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideDocumentationLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-docs","href":_vm.documentationURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpDocumentation)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideFeedbackLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-feedback","href":"mailto:info@cortezaproject.org","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpFeedback)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.onlyVersion)?_c('b-dropdown-divider'):_vm._e(),_vm._v(" "),_c('b-dropdown-item',{staticClass:"small",attrs:{"disabled":""}},[_vm._v("\n "+_vm._s(_vm.labels.helpVersion)+"\n "),_c('br'),_vm._v("\n "+_vm._s(_vm.frontendVersion)+"\n ")])],2):_vm._e(),_vm._v(" "),(!_vm.settings.hideProfile)?_c('b-dropdown',{staticClass:"nav-user-icon",attrs:{"data-test-id":"dropdown-profile","data-v-onboarding":"profile","variant":_vm.avatarExists ? 'link' : 'outline-extra-light',"toggle-class":("nav-icon text-decoration-none text-dark rounded-circle border " + (_vm.avatarExists ? 'p-0' : '')),"size":"lg","right":"","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark mt-2","no-caret":""},on:{"hide":_vm.preventDropdownClose},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [(_vm.avatarExists)?_c('div',{staticClass:"avatar d-flex h-100",style:({
|
|
87512
87423
|
'background-image': _vm.avatarExists ? ("url(" + _vm.profileAvatarUrl + ")") : 'none',
|
|
87513
|
-
})}):_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",attrs:{"data-test-id":"dropdown-item-username"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsLoggedInAs)+"\n ")]),_vm._v(" "),_c('div',[_vm._t("avatar-dropdown")],2),_vm._v(" "),_vm._l((_vm.profileLinks),function(profileLink,index){return _c('b-dropdown-item',{key:index,attrs:{"href":_vm._f("checkValidURL")(profileLink.url),"target":profileLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(profileLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideProfileLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-profile-user","href":_vm.userProfileURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsProfile)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideChangePasswordLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-profile-change-password","href":_vm.changePasswordURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsChangePassword)+"\n ")]):_vm._e(),_vm._v(" "),_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)])};
|
|
87424
|
+
})}):_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",attrs:{"data-test-id":"dropdown-item-username"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsLoggedInAs)+"\n ")]),_vm._v(" "),_c('div',[_vm._t("avatar-dropdown")],2),_vm._v(" "),_vm._l((_vm.profileLinks),function(profileLink,index){return _c('b-dropdown-item',{key:index,attrs:{"href":_vm._f("checkValidURL")(profileLink.url),"target":profileLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(profileLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideProfileLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-profile-user","href":_vm.userProfileURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsProfile)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideChangePasswordLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-profile-change-password","href":_vm.changePasswordURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsChangePassword)+"\n ")]):_vm._e(),_vm._v(" "),_c('b-dropdown',{staticClass:"d-flex",attrs:{"id":"theme-dropleft","variant":"link","text":"Theme","dropleft":"","no-caret":"","toggle-class":"text-decoration-none text-left dropdown-item rounded-0"},on:{"show":function($event){_vm.isThemeDropdownVisible = true;},"hide":function($event){_vm.isThemeDropdownVisible = false;},"click":function($event){$event.preventDefault();$event.stopPropagation();}}},_vm._l((_vm.themes),function(theme){return _c('b-dropdown-item',{key:theme.id,attrs:{"disabled":_vm.currentTheme === theme.id},on:{"click":function($event){return _vm.saveThemeMode(theme.id)}}},[_vm._v("\n "+_vm._s(theme.label)+"\n ")])}),1),_vm._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)])};
|
|
87514
87425
|
var __vue_staticRenderFns__$F = [];
|
|
87515
87426
|
|
|
87516
87427
|
/* style */
|
|
87517
87428
|
const __vue_inject_styles__$K = function (inject) {
|
|
87518
87429
|
if (!inject) return
|
|
87519
|
-
inject("data-v-
|
|
87520
|
-
,inject("data-v-
|
|
87430
|
+
inject("data-v-2e4e3f3c_0", { source: ".nav-icon[data-v-2e4e3f3c]{width:calc(var(--topbar-height) - 24px);height:calc(var(--topbar-height) - 24px)}.nav-user-icon[data-v-2e4e3f3c]{min-width:calc(var(--topbar-height) - 16px);min-height:calc(var(--topbar-height) - 16px)}.header-navigation[data-v-2e4e3f3c]{width:100vw;min-height:var(--topbar-height);background-color:var(--topbar-bg)}.header-navigation .sidebar-spacer.expanded[data-v-2e4e3f3c]{min-width:calc(var(--sidebar-width) - 50px)}.avatar[data-v-2e4e3f3c]{border-radius:50%;background-size:cover;background-repeat:no-repeat;background-position:center}.avatar[data-v-2e4e3f3c]:hover{opacity:.8;transition:opacity .25s ease-in-out;-moz-transition:opacity .25s ease-in-out;-webkit-transition:opacity .25s ease-in-out}.title[data-v-2e4e3f3c]{display:flex;align-items:center;min-height:calc(var(--topbar-height) - 16px);padding-left:42px}.title .vue-portal-target[data-v-2e4e3f3c]{display:-webkit-box;display:-ms-flexbox;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;text-overflow:ellipsis}.tools-wrapper[data-v-2e4e3f3c]{flex-grow:1}.tools-wrapper .vue-portal-target[data-v-2e4e3f3c]{display:flex;justify-content:end;align-items:center;flex-wrap:wrap}", map: undefined, media: undefined })
|
|
87431
|
+
,inject("data-v-2e4e3f3c_1", { source: ".topbar-dropdown-menu{z-index:1100}#theme-dropleft .btn{font-family:var(--font-regular)}", map: undefined, media: undefined });
|
|
87521
87432
|
|
|
87522
87433
|
};
|
|
87523
87434
|
/* scoped */
|
|
87524
|
-
const __vue_scope_id__$K = "data-v-
|
|
87435
|
+
const __vue_scope_id__$K = "data-v-2e4e3f3c";
|
|
87525
87436
|
/* module identifier */
|
|
87526
87437
|
const __vue_module_identifier__$K = undefined;
|
|
87527
87438
|
/* functional template */
|
|
@@ -87713,18 +87624,18 @@ var script$K = {
|
|
|
87713
87624
|
const __vue_script__$K = script$K;
|
|
87714
87625
|
|
|
87715
87626
|
/* template */
|
|
87716
|
-
var __vue_render__$G = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{on:{"mouseleave":function($event){return _vm.onHover(false)}}},[_c('b-sidebar',{attrs:{"data-test-id":"sidebar","sidebar-class":("sidebar " + (_vm.isExpanded ? 'expanded' : '')),"header-class":("d-block sidebar-header " + (_vm.isExpanded ? 'expanded border-bottom p-2' : '')),"body-class":("
|
|
87627
|
+
var __vue_render__$G = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{on:{"mouseleave":function($event){return _vm.onHover(false)}}},[_c('b-sidebar',{attrs:{"data-test-id":"sidebar","sidebar-class":("sidebar " + (_vm.isExpanded ? 'expanded' : '')),"header-class":("d-block sidebar-header " + (_vm.isExpanded ? 'expanded border-bottom p-2' : '')),"body-class":("" + (_vm.isExpanded ? 'px-3' : '')),"footer-class":("rounded-right " + (_vm.isExpanded ? 'px-2' : '')),"no-header":!_vm.isExpanded,"backdrop":_vm.isMobile,"backdrop-variant":"white","shadow":_vm.isExpanded && 'sm',"no-slide":"","right":_vm.right,"no-close-on-route-change":"","no-close-on-esc":""},scopedSlots:_vm._u([{key:"header",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-between pl-2",staticStyle:{"height":"47px"}},[_c('img',{staticClass:"logo w-auto border-0",attrs:{"data-test-id":"img-main-logo","src":_vm.logo}}),_vm._v(" "),(_vm.isMobile)?_c('b-button',{staticClass:"d-flex align-items-center justify-content-center p-2",attrs:{"variant":"outline-light border-0"},on:{"click":function($event){return _vm.closeSidebar()}}},[_c('font-awesome-icon',{staticClass:"h6 mb-0 text-dark",attrs:{"icon":['fas', 'times']}})],1):_c('b-button',{staticClass:"d-flex align-items-center justify-content-center p-2",attrs:{"data-test-id":"button-pin-icon","variant":"outline-light border-0"},on:{"click":function($event){return _vm.togglePin()}}},[_c('font-awesome-icon',{class:("h6 mb-0 " + (_vm.isPinned ? 'text-primary' : 'text-secondary')),attrs:{"data-test-id":"pin-icon","icon":['fas', 'thumbtack']}})],1)],1),_vm._v(" "),(!_vm.isExpanded)?_c('div',{staticClass:"d-flex align-items-center justify-content-center my-3"},[_c('b-button',{attrs:{"variant":"link"},on:{"click":function($event){return _vm.togglePin()}}},[_c('font-awesome-icon',{staticClass:"h6 mb-0",attrs:{"icon":['fas', 'chevron-right']}})],1)],1):_vm._e(),_vm._v(" "),(_vm.isExpanded)?_c('div',{staticClass:"px-2"},[_vm._t("header-expanded")],2):_vm._e(),_vm._v(" "),(!_vm.isExpanded)?_c('hr',{staticClass:"my-2"}):_vm._e()]},proxy:true},{key:"footer",fn:function(){return [(_vm.isExpanded)?_vm._t("footer-expanded"):_vm._e()]},proxy:true}],null,true),model:{value:(_vm.isExpanded),callback:function ($$v) {_vm.isExpanded=$$v;},expression:"isExpanded"}},[_vm._v(" "),(_vm.isExpanded)?_vm._t("body-expanded"):_vm._e()],2)],1),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center justify-content-center tab position-absolute p-2"},[(_vm.expandOnHover && !_vm.disabledRoutes.includes(_vm.$route.name))?_c('b-button',{staticClass:"d-flex align-items-center border-0",attrs:{"data-test-id":"button-sidebar-open","variant":"outline-light","size":"lg"},on:{"mouseover":function($event){return _vm.onHover(true)}}},[_c('font-awesome-icon',{staticClass:"h4 mb-0 text-primary",attrs:{"icon":['fas', 'bars']}})],1):(!_vm.disabledRoutes.includes(_vm.$route.name))?_c('b-button',{staticClass:"d-flex align-items-center p-2 border-0",attrs:{"data-test-id":"button-home","variant":"outline-light","size":"lg","to":{ name: 'root' }}},[_c('font-awesome-icon',{staticClass:"h4 mb-0 text-primary",attrs:{"icon":['fas', 'home']}})],1):_c('div',{staticClass:"d-flex align-items-center border-0 p-2"},[_c('img',{staticClass:"icon w-auto border-0",attrs:{"src":_vm.icon}})])],1)])};
|
|
87717
87628
|
var __vue_staticRenderFns__$G = [];
|
|
87718
87629
|
|
|
87719
87630
|
/* style */
|
|
87720
87631
|
const __vue_inject_styles__$L = function (inject) {
|
|
87721
87632
|
if (!inject) return
|
|
87722
|
-
inject("data-v-
|
|
87723
|
-
,inject("data-v-
|
|
87633
|
+
inject("data-v-db39fa84_0", { source: ".tab[data-v-db39fa84]{z-index:1021;top:0;height:64px;width:66px}.icon[data-v-db39fa84]{max-height:40px;max-width:40px}.logo[data-v-db39fa84]{max-height:40px}.sidebar-header[data-v-db39fa84]{height:64px}", map: undefined, media: undefined })
|
|
87634
|
+
,inject("data-v-db39fa84_1", { source: ".b-sidebar{background-color:var(--white)!important}.b-sidebar-backdrop{opacity:.75!important}.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.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.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 });
|
|
87724
87635
|
|
|
87725
87636
|
};
|
|
87726
87637
|
/* scoped */
|
|
87727
|
-
const __vue_scope_id__$L = "data-v-
|
|
87638
|
+
const __vue_scope_id__$L = "data-v-db39fa84";
|
|
87728
87639
|
/* module identifier */
|
|
87729
87640
|
const __vue_module_identifier__$L = undefined;
|
|
87730
87641
|
/* functional template */
|
|
@@ -87919,17 +87830,17 @@ var __vue_render__$H = function () {var _vm=this;var _h=_vm.$createElement;var _
|
|
|
87919
87830
|
var page = ref.page; if ( page === void 0 ) page = {};
|
|
87920
87831
|
var params = ref.params; if ( params === void 0 ) params = {};
|
|
87921
87832
|
var children = ref.children; if ( children === void 0 ) children = [];
|
|
87922
|
-
return _c('b-button',{key:_vm.pageIndex(page),staticClass:"w-100 text-
|
|
87833
|
+
return _c('b-button',{key:_vm.pageIndex(page),staticClass:"w-100 text-decoration-none p-0 pt-2 nav-item",attrs:{"variant":"link","active-class":"nav-active","exact-active-class":"nav-active","title":page.title,"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('label',{staticClass:"title mb-0 pointer"},[_vm._v("\n "+_vm._s(page.title)+"\n ")])],2),_vm._v(" "),(children.length)?[_c('b-button',{staticClass:"text-primary p-0 border-0 float-right mr-1",attrs:{"variant":"outline-light","size":"sm"},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)]},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)};
|
|
87923
87834
|
var __vue_staticRenderFns__$H = [];
|
|
87924
87835
|
|
|
87925
87836
|
/* style */
|
|
87926
87837
|
const __vue_inject_styles__$M = function (inject) {
|
|
87927
87838
|
if (!inject) return
|
|
87928
|
-
inject("data-v-
|
|
87839
|
+
inject("data-v-68327c89_0", { source: ".pointer-none[data-v-68327c89]{pointer-events:none}.svg-inline--fa[data-v-68327c89]{width:30px}.nav-item>span .icon[data-v-68327c89]{color:var(--black)}.nav-item>span .title[data-v-68327c89]{font-family:var(--font-regular)!important;color:var(--black)}.nav-item:hover>span .icon[data-v-68327c89]{color:var(--primary)}.nav-item:hover>span .title[data-v-68327c89]{font-family:var(--font-semibold)!important;color:var(--primary);transition:color .25s}.nav-active>span>.icon[data-v-68327c89]{color:var(--primary)}.nav-active>span>.title[data-v-68327c89]{font-family:var(--font-semibold)!important;color:var(--primary);transition:color .5s}.nav-item[data-v-68327c89]{text-align:left}[dir=rtl] .nav-item[data-v-68327c89]{text-align:right}", map: undefined, media: undefined });
|
|
87929
87840
|
|
|
87930
87841
|
};
|
|
87931
87842
|
/* scoped */
|
|
87932
|
-
const __vue_scope_id__$M = "data-v-
|
|
87843
|
+
const __vue_scope_id__$M = "data-v-68327c89";
|
|
87933
87844
|
/* module identifier */
|
|
87934
87845
|
const __vue_module_identifier__$M = undefined;
|
|
87935
87846
|
/* functional template */
|
|
@@ -88045,6 +87956,14 @@ var __vue_staticRenderFns__$H = [];
|
|
|
88045
87956
|
//
|
|
88046
87957
|
//
|
|
88047
87958
|
//
|
|
87959
|
+
//
|
|
87960
|
+
//
|
|
87961
|
+
//
|
|
87962
|
+
//
|
|
87963
|
+
//
|
|
87964
|
+
//
|
|
87965
|
+
//
|
|
87966
|
+
//
|
|
88048
87967
|
var script$M = {
|
|
88049
87968
|
name: 'TourComponent',
|
|
88050
87969
|
i18nOptions: {
|
|
@@ -88106,13 +88025,13 @@ var script$M = {
|
|
|
88106
88025
|
const __vue_script__$M = script$M;
|
|
88107
88026
|
|
|
88108
88027
|
/* template */
|
|
88109
|
-
var __vue_render__$I = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.tour !== null)?_c('v-tour',{attrs:{"name":_vm.tour.name,"steps":_vm.tour.steps,"options":_vm.tour,"callbacks":this.callbacks},on:{"onStop":_vm.onStop},scopedSlots:_vm._u([{key:"default",fn:function(tour){return [_c('transition',{attrs:{"name":"fade"}},[_vm._l((tour.steps),function(step,index){return [(tour.currentStep === index)?_c('v-step',{key:index,staticClass:"shadow p-3 text-light text-center",attrs:{"step":step,"previous-step":tour.previousStep,"next-step":tour.nextStep,"stop":tour.stop,"is-first":tour.isFirst,"is-last":tour.isLast,"labels":tour.labels},on:{"onStop":_vm.onStop}},[_c('div',{attrs:{"slot":"header"},slot:"header"},[((step.header || {}).title)?_c('h5',{domProps:{"innerHTML":_vm._s(_vm.$t(step.header.title))}}):_vm._e()]),_vm._v(" "),_c('div',{attrs:{"slot":"content"},slot:"content"},[_c('div',{staticClass:"p-1 mb-2"},[_c('div',{domProps:{"innerHTML":_vm._s(_vm.$t(step.content))}})])]),_vm._v(" "),_c('div',{attrs:{"slot":"actions"},slot:"actions"},[_c('b-button',{attrs:{"data-test-id":"button-stop-tour","variant":"
|
|
88028
|
+
var __vue_render__$I = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.tour !== null)?_c('v-tour',{attrs:{"name":_vm.tour.name,"steps":_vm.tour.steps,"options":_vm.tour,"callbacks":this.callbacks},on:{"onStop":_vm.onStop},scopedSlots:_vm._u([{key:"default",fn:function(tour){return [_c('transition',{attrs:{"name":"fade"}},[_vm._l((tour.steps),function(step,index){return [(tour.currentStep === index)?_c('v-step',{key:index,staticClass:"shadow p-3 text-light text-center",attrs:{"step":step,"previous-step":tour.previousStep,"next-step":tour.nextStep,"stop":tour.stop,"is-first":tour.isFirst,"is-last":tour.isLast,"labels":tour.labels},on:{"onStop":_vm.onStop}},[_c('div',{attrs:{"slot":"header"},slot:"header"},[((step.header || {}).title)?_c('h5',{domProps:{"innerHTML":_vm._s(_vm.$t(step.header.title))}}):_vm._e()]),_vm._v(" "),_c('div',{attrs:{"slot":"content"},slot:"content"},[_c('div',{staticClass:"p-1 mb-2"},[_c('div',{domProps:{"innerHTML":_vm._s(_vm.$t(step.content))}})])]),_vm._v(" "),_c('div',{staticClass:"d-flex justify-content-between align-items-center",attrs:{"slot":"actions"},slot:"actions"},[_c('b-button',{staticClass:"border-0",attrs:{"data-test-id":"button-stop-tour","variant":"outline-light"},on:{"click":_vm.onStop}},[(tour.isLast && !(_vm.callbacks || {}).onNextRedirect)?[_vm._v("\n "+_vm._s(_vm.$t('buttons.end'))+"\n ")]:[_vm._v("\n "+_vm._s(_vm.$t('buttons.skip'))+"\n ")]],2),_vm._v(" "),_c('div',[(tour.isFirst && (_vm.callbacks || {}).onPrevRedirect)?_c('b-button',{staticClass:"border-0",attrs:{"data-test-id":"button-previous","variant":"outline-light","href":_vm.callbacks.onPrevRedirect}},[_vm._v("\n "+_vm._s(_vm.$t('buttons.previous'))+"\n ")]):(!tour.isFirst)?_c('b-button',{staticClass:"border-0",attrs:{"data-test-id":"button-previous","variant":"outline-light"},on:{"click":tour.previousStep}},[_vm._v("\n "+_vm._s(_vm.$t('buttons.previous'))+"\n ")]):_vm._e(),_vm._v(" "),(tour.isLast && (_vm.callbacks || {}).onNextRedirect)?_c('b-button',{staticClass:"border-0",attrs:{"data-test-id":"button-next","variant":"outline-light","href":_vm.callbacks.onNextRedirect}},[_vm._v("\n "+_vm._s(_vm.$t('buttons.next'))+"\n ")]):(!tour.isLast)?_c('b-button',{attrs:{"data-test-id":"button-next","variant":"light"},on:{"click":tour.nextStep}},[_vm._v("\n "+_vm._s(_vm.$t('buttons.next'))+"\n ")]):_vm._e()],1)],1)]):_vm._e()]})],2)]}}],null,false,2859760172)}):_vm._e()};
|
|
88110
88029
|
var __vue_staticRenderFns__$I = [];
|
|
88111
88030
|
|
|
88112
88031
|
/* style */
|
|
88113
88032
|
const __vue_inject_styles__$N = function (inject) {
|
|
88114
88033
|
if (!inject) return
|
|
88115
|
-
inject("data-v-
|
|
88034
|
+
inject("data-v-97d14584_0", { source: ".v-step{background:var(--primary);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:var(--primary)}.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 });
|
|
88116
88035
|
|
|
88117
88036
|
};
|
|
88118
88037
|
/* scoped */
|
|
@@ -88574,13 +88493,13 @@ var script$U = {
|
|
|
88574
88493
|
const __vue_script__$U = script$U;
|
|
88575
88494
|
|
|
88576
88495
|
/* template */
|
|
88577
|
-
var __vue_render__$P = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-sidebar',{attrs:{"title":_vm.title,"header-class":"d-flex align-items-center justify-content-between reminder-sidebar-header
|
|
88496
|
+
var __vue_render__$P = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-sidebar',{attrs:{"title":_vm.title,"header-class":"d-flex align-items-center justify-content-between reminder-sidebar-header p-3 border-bottom","body-class":"d-flex flex-column overflow-hidden bg-white p-3","backdrop":_vm.isMobile,"no-footer":"","right":"","shadow":"sm","no-close-on-route-change":"","no-close-on-esc":""},scopedSlots:_vm._u([{key:"header",fn:function(){return [_c('h4',{staticClass:"text-primary mb-0"},[_c('b',[_vm._v(_vm._s(_vm.title))])]),_vm._v(" "),_c('b-button',{staticClass:"d-flex align-items-center justify-content-center p-2",attrs:{"variant":"outline-light border-0"},on:{"click":function($event){_vm.isVisible = false;}}},[_c('font-awesome-icon',{staticClass:"h6 mb-0 text-dark",attrs:{"icon":['fas', 'times']}})],1)]},proxy:true}]),model:{value:(_vm.isVisible),callback:function ($$v) {_vm.isVisible=$$v;},expression:"isVisible"}},[_vm._v(" "),_vm._t("default")],2)};
|
|
88578
88497
|
var __vue_staticRenderFns__$P = [];
|
|
88579
88498
|
|
|
88580
88499
|
/* style */
|
|
88581
88500
|
const __vue_inject_styles__$V = function (inject) {
|
|
88582
88501
|
if (!inject) return
|
|
88583
|
-
inject("data-v-
|
|
88502
|
+
inject("data-v-704eb292_0", { source: ".reminder-sidebar-header{height:64px;background-color:var(--gray-200)}", map: undefined, media: undefined });
|
|
88584
88503
|
|
|
88585
88504
|
};
|
|
88586
88505
|
/* scoped */
|
|
@@ -88874,7 +88793,7 @@ var script$W = {
|
|
|
88874
88793
|
handler(value = [], oldValue = []) {
|
|
88875
88794
|
/**
|
|
88876
88795
|
* Make sure we do not fall into an infinite loop
|
|
88877
|
-
*
|
|
88796
|
+
*
|
|
88878
88797
|
* If we update the value then sync will trigger recomputation of selected
|
|
88879
88798
|
* Which then emits the update event and the loop will begin
|
|
88880
88799
|
*/
|
|
@@ -88995,9 +88914,9 @@ var script$W = {
|
|
|
88995
88914
|
const __vue_script__$W = script$W;
|
|
88996
88915
|
|
|
88997
88916
|
/* template */
|
|
88998
|
-
var __vue_render__$R = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"overflow-hidden d-flex flex-column w-100 vh-100"},[_c('b-card',{staticClass:"h-100",attrs:{"no-body":""}},[_c('b-card-header',{staticClass:"
|
|
88917
|
+
var __vue_render__$R = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"overflow-hidden d-flex flex-column w-100 vh-100"},[_c('b-card',{staticClass:"h-100",attrs:{"no-body":""}},[_c('b-card-header',{staticClass:"p-0"},[(!_vm.hideFilter)?_c('c-input-search',{attrs:{"disabled":_vm._disabledFilter,"placeholder":_vm.labels.searchPlaceholder},model:{value:(_vm.query),callback:function ($$v) {_vm.query=(typeof $$v === 'string'? $$v.trim(): $$v);},expression:"query"}}):_vm._e()],1),_vm._v(" "),_c('b-card-body',{staticClass:"d-flex p-0"},[_c('b-card',{staticClass:"col-sm-6 col-12 h-100 p-0",attrs:{"no-body":""}},[_c('b-card-header',{staticClass:"py-2 pl-0 pr-2"},[_c('div',{staticClass:"d-flex align-items-center"},[_c('label',{staticClass:"text-primary mb-0"},[_vm._v("\n "+_vm._s(_vm.labels.availableItems)+"\n ")]),_vm._v(" "),_c('b-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.filteredAvailable.length && !_vm.disabled),expression:"filteredAvailable.length && !disabled"}],staticClass:"ml-auto px-0 text-muted",attrs:{"data-test-id":"link-select-all","variant":"link"},on:{"click":function($event){return _vm.selectAll()}}},[_vm._v("\n "+_vm._s(_vm.labels.selectAllItems)+"\n ")])],1)]),_vm._v(" "),_c('b-card-body',{staticClass:"overflow-auto py-0 pl-0 pr-2"},[_c('b-list-group',{staticClass:"h-100",attrs:{"vertical":""}},[_c('draggable',{staticClass:"overflow-auto h-100",attrs:{"sort":!_vm._disabledSorting,"move":_vm._disableDragging,"disabled":_vm.query,"draggable":".item","group":"items"},scopedSlots:_vm._u([{key:"footer",fn:function(){return [(!_vm.filteredAvailable.length && _vm.query)?_c('h6',{staticClass:"text-center my-4"},[_vm._v("\n "+_vm._s(_vm.labels.noItemsFound)+"\n ")]):_vm._e()]},proxy:true}]),model:{value:(_vm.filteredAvailable),callback:function ($$v) {_vm.filteredAvailable=$$v;},expression:"filteredAvailable"}},_vm._l((_vm.filteredAvailable),function(item){return _c('b-list-group-item',{key:item.value,staticClass:"item mb-3 border rounded",class:{
|
|
88999
88918
|
'handle': !_vm.isDraggable
|
|
89000
|
-
},on:{"dblclick":function($event){return _vm.select(item)}}},[_c('c-item-picker-item',{attrs:{"item":item,"disabled":_vm.disabled,"disabled-dragging":_vm.isDraggable,"disabled-sorting":_vm.disabledSorting,"hide-icons":_vm.hideIcons},on:{"select":function($event){return _vm.select(item)}},scopedSlots:_vm._u([_vm._l((_vm.$scopedSlots),function(_,slot){return {key:slot,fn:function(scope){return [_vm._t(slot,null,{"textField":_vm.textField,"disabled":_vm.disabled,"disabledDragging":_vm.isDraggable,"disabledSorting":_vm.disabledSorting,"hideIcons":_vm.hideIcons},scope)]}}})],null,true)})],1)}),1)],1)],1)],1),_vm._v(" "),_c('b-card',{staticClass:"h-100 pl-sm-0 col-sm-6 col-12 p-0",attrs:{"no-body":""}},[_c('b-card-header',{staticClass:"
|
|
88919
|
+
},on:{"dblclick":function($event){return _vm.select(item)}}},[_c('c-item-picker-item',{attrs:{"item":item,"disabled":_vm.disabled,"disabled-dragging":_vm.isDraggable,"disabled-sorting":_vm.disabledSorting,"hide-icons":_vm.hideIcons},on:{"select":function($event){return _vm.select(item)}},scopedSlots:_vm._u([_vm._l((_vm.$scopedSlots),function(_,slot){return {key:slot,fn:function(scope){return [_vm._t(slot,null,{"textField":_vm.textField,"disabled":_vm.disabled,"disabledDragging":_vm.isDraggable,"disabledSorting":_vm.disabledSorting,"hideIcons":_vm.hideIcons},scope)]}}})],null,true)})],1)}),1)],1)],1)],1),_vm._v(" "),_c('b-card',{staticClass:"h-100 pl-sm-0 col-sm-6 col-12 p-0",attrs:{"no-body":""}},[_c('b-card-header',{staticClass:"py-2 pl-2 pr-0"},[_c('div',{staticClass:"d-flex align-items-center"},[_c('label',{staticClass:"text-primary mb-0"},[_vm._v("\n "+_vm._s(_vm.labels.selectedItems)+"\n ")]),_vm._v(" "),_c('b-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.filteredSelected.length && !_vm.disabled),expression:"filteredSelected.length && !disabled"}],staticClass:"ml-auto px-0 text-muted",attrs:{"data-test-id":"link-unselect-all","variant":"link"},on:{"click":function($event){return _vm.unselectAll()}}},[_vm._v("\n "+_vm._s(_vm.labels.unselectAllItems)+"\n ")])],1)]),_vm._v(" "),_c('b-card-body',{staticClass:"overflow-auto py-0 pl-2 pr-0"},[_c('b-list-group',{staticClass:"h-100",attrs:{"vertical":""}},[_c('draggable',{staticClass:"overflow-auto h-100",attrs:{"sort":!_vm._disabledSorting,"move":_vm._disableDragging,"disabled":_vm.query,"draggable":".item","group":"items"},scopedSlots:_vm._u([{key:"footer",fn:function(){return [(!_vm.filteredSelected.length && _vm.query)?_c('h6',{staticClass:"text-center my-4"},[_vm._v("\n "+_vm._s(_vm.labels.noItemsFound)+"\n ")]):_vm._e()]},proxy:true}]),model:{value:(_vm.filteredSelected),callback:function ($$v) {_vm.filteredSelected=$$v;},expression:"filteredSelected"}},_vm._l((_vm.filteredSelected),function(item){return _c('b-list-group-item',{key:item.value,staticClass:"item mb-3 border rounded",class:{
|
|
89001
88920
|
'handle': !_vm.isDraggable
|
|
89002
88921
|
},on:{"dblclick":function($event){return _vm.unselect(item)}}},[_c('c-item-picker-item',{attrs:{"item":item,"disabled":_vm.disabled,"disabled-dragging":_vm.isDraggable,"disabled-sorting":_vm.disabledSorting,"hide-icons":_vm.hideIcons,"selected":""},on:{"unselect":function($event){return _vm.unselect(item)}},scopedSlots:_vm._u([_vm._l((_vm.$scopedSlots),function(_,slot){return {key:slot,fn:function(scope){return [_vm._t(slot,null,{"textField":_vm.textField,"disabled":_vm.disabled,"disabledDragging":_vm.isDraggable,"disabledSorting":_vm.disabledSorting,"hideIcons":_vm.hideIcons},scope)]}}})],null,true)})],1)}),1)],1)],1)],1)],1)],1)],1)};
|
|
89003
88922
|
var __vue_staticRenderFns__$R = [];
|
|
@@ -89005,11 +88924,11 @@ var __vue_staticRenderFns__$R = [];
|
|
|
89005
88924
|
/* style */
|
|
89006
88925
|
const __vue_inject_styles__$X = function (inject) {
|
|
89007
88926
|
if (!inject) return
|
|
89008
|
-
inject("data-v-
|
|
88927
|
+
inject("data-v-5072a0aa_0", { source: ".handle[data-v-5072a0aa]{cursor:grab}.handle[data-v-5072a0aa]:active{cursor:grabbing}", map: undefined, media: undefined });
|
|
89009
88928
|
|
|
89010
88929
|
};
|
|
89011
88930
|
/* scoped */
|
|
89012
|
-
const __vue_scope_id__$X = "data-v-
|
|
88931
|
+
const __vue_scope_id__$X = "data-v-5072a0aa";
|
|
89013
88932
|
/* module identifier */
|
|
89014
88933
|
const __vue_module_identifier__$X = undefined;
|
|
89015
88934
|
/* functional template */
|
|
@@ -89185,7 +89104,22 @@ var script$Z = {
|
|
|
89185
89104
|
},
|
|
89186
89105
|
methods: {
|
|
89187
89106
|
renderChart() {
|
|
89188
|
-
|
|
89107
|
+
const meta = {
|
|
89108
|
+
themeVariables: this.getThemeVariables()
|
|
89109
|
+
};
|
|
89110
|
+
this.chart = this.options.getChartConfiguration(this.dataframes, meta);
|
|
89111
|
+
},
|
|
89112
|
+
|
|
89113
|
+
getThemeVariables() {
|
|
89114
|
+
const getCssVariable = variableName => {
|
|
89115
|
+
return getComputedStyle(document.documentElement).getPropertyValue(variableName).trim();
|
|
89116
|
+
}; // Turn below into an object with key value pairs
|
|
89117
|
+
|
|
89118
|
+
|
|
89119
|
+
return ['white', 'black', 'primary', 'secondary', 'success', 'warning', 'danger', 'light', 'extra-light', 'dark', 'font-regular'].reduce((acc, variable) => {
|
|
89120
|
+
acc[variable] = getCssVariable(`--${variable}`);
|
|
89121
|
+
return acc;
|
|
89122
|
+
}, {});
|
|
89189
89123
|
}
|
|
89190
89124
|
|
|
89191
89125
|
}
|
|
@@ -89245,7 +89179,7 @@ var script$_ = {
|
|
|
89245
89179
|
style() {
|
|
89246
89180
|
return {
|
|
89247
89181
|
fill: this.options.color || '#162425',
|
|
89248
|
-
backgroundColor: this.options.backgroundColor || '#
|
|
89182
|
+
backgroundColor: this.options.backgroundColor || '#FFFFFF00'
|
|
89249
89183
|
};
|
|
89250
89184
|
},
|
|
89251
89185
|
|
|
@@ -89721,23 +89655,19 @@ var script$$ = {
|
|
|
89721
89655
|
const __vue_script__$$ = script$$;
|
|
89722
89656
|
|
|
89723
89657
|
/* template */
|
|
89724
|
-
var __vue_render__$V = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:"h-100 rounded-0",attrs:{"no-body":""}},[_c('b-table-simple',{staticClass:"flex-grow-1 mh-100 mb-0",attrs:{"table-variant":_vm.options.tableVariant,"dark":_vm.options.dark,"bordered":_vm.options.bordered,"borderless":_vm.options.borderless,"outlined":_vm.options.outlined,"striped":_vm.options.striped,"responsive":_vm.options.responsive,"fixed":_vm.options.fixed,"hover":_vm.options.hover,"small":_vm.options.small,"no-border-collapse":_vm.options.noCollapse,"sticky-header":""}},[_vm._l((_vm.tabelify.colgroups),function(cg,i){return _c('colgroup',{key:i,class:{ local: cg.isLocal, foreign: !cg.isLocal },attrs:{"span":cg.size}})}),_vm._v(" "),_c('b-thead',{attrs:{"head-variant":_vm.options.headVariant}},[(_vm.dataframes.length > 1)?_c('b-tr',_vm._l((_vm.tabelify.header),function(c,i){return _c('b-th',_vm._b({key:i,staticClass:"border-0"},'b-th',c.column ? c.column.attrs : {},false),[(c.sourceName)?_c('p',{staticClass:"m-0"},[_vm._v("\n "+_vm._s(c.sourceName)+"\n ")]):_vm._e()])}),1):_vm._e(),_vm._v(" "),_c('b-tr',_vm._l((_vm.tabelify.header),function(c,i){return _c('b-th',{key:i,staticClass:"border-0"},[_c('div',{staticClass:"d-flex align-items-center"
|
|
89725
|
-
color: _vm.sort.field === c.meta.sortKey && !_vm.sort.descending ? 'black' : 'grey',
|
|
89726
|
-
}),attrs:{"icon":['fas', 'angle-up']}}),_vm._v(" "),_c('font-awesome-icon',{staticClass:"mt-1",style:({
|
|
89727
|
-
color: _vm.sort.field === c.meta.sortKey && _vm.sort.descending ? 'black' : 'grey',
|
|
89728
|
-
}),attrs:{"icon":['fas', 'angle-down']}})],1):_vm._e()],1)])}),1)],1),_vm._v(" "),_c('b-tbody',{staticClass:"h-100"},_vm._l((_vm.tabelify.rows),function(r,i){return _c('b-tr',{key:i,class:{
|
|
89658
|
+
var __vue_render__$V = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:"h-100 rounded-0",attrs:{"no-body":""}},[_c('b-table-simple',{staticClass:"flex-grow-1 mh-100 mb-0",attrs:{"table-variant":_vm.options.tableVariant,"dark":_vm.options.dark,"bordered":_vm.options.bordered,"borderless":_vm.options.borderless,"outlined":_vm.options.outlined,"striped":_vm.options.striped,"responsive":_vm.options.responsive,"fixed":_vm.options.fixed,"hover":_vm.options.hover,"small":_vm.options.small,"no-border-collapse":_vm.options.noCollapse,"sticky-header":""}},[_vm._l((_vm.tabelify.colgroups),function(cg,i){return _c('colgroup',{key:i,class:{ local: cg.isLocal, foreign: !cg.isLocal },attrs:{"span":cg.size}})}),_vm._v(" "),_c('b-thead',{attrs:{"head-variant":_vm.options.headVariant}},[(_vm.dataframes.length > 1)?_c('b-tr',_vm._l((_vm.tabelify.header),function(c,i){return _c('b-th',_vm._b({key:i,staticClass:"border-0"},'b-th',c.column ? c.column.attrs : {},false),[(c.sourceName)?_c('p',{staticClass:"m-0"},[_vm._v("\n "+_vm._s(c.sourceName)+"\n ")]):_vm._e()])}),1):_vm._e(),_vm._v(" "),_c('b-tr',_vm._l((_vm.tabelify.header),function(c,i){return _c('b-th',{key:i,staticClass:"border-0"},[_c('div',{staticClass:"d-flex align-items-center"},[(c.column ? c.column.label : '')?_c('div',{staticClass:"d-flex text-nowrap"},[_vm._v("\n "+_vm._s(c.column.label)+"\n ")]):_vm._e(),_vm._v(" "),(!c.meta.tmp_noSort)?_c('b-button',{staticClass:"d-flex align-items-center text-secondary d-print-none border-0 px-1 ml-1",attrs:{"variant":"outline-extra-light"},on:{"click":function($event){return _vm.handleSort(c.meta.sortKey)}}},[_c('font-awesome-layers',{staticClass:"d-print-none"},[_c('font-awesome-icon',{staticClass:"mb-1",class:{ 'text-primary': _vm.sort.field === c.meta.sortKey && !_vm.sort.descending },attrs:{"icon":['fas', 'angle-up']}}),_vm._v(" "),_c('font-awesome-icon',{staticClass:"mt-1",class:{ 'text-primary': _vm.sort.field === c.meta.sortKey && _vm.sort.descending },attrs:{"icon":['fas', 'angle-down']}})],1)],1):_vm._e()],1)])}),1)],1),_vm._v(" "),_c('b-tbody',{staticClass:"h-100"},_vm._l((_vm.tabelify.rows),function(r,i){return _c('b-tr',{key:i,class:{
|
|
89729
89659
|
separator: !!(r[0] || {}).separator,
|
|
89730
|
-
}},_vm._l((r),function(c,j){return _c('b-td',_vm._b({key:j},'b-td',c.attrs || {},false),[_vm._v("\n "+_vm._s(c.value)+"\n ")])}),1)}),1)],2),_vm._v(" "),_c('b-card-footer',{staticClass:"d-flex
|
|
89660
|
+
}},_vm._l((r),function(c,j){return _c('b-td',_vm._b({key:j},'b-td',c.attrs || {},false),[_vm._v("\n "+_vm._s(c.value)+"\n ")])}),1)}),1)],2),_vm._v(" "),_c('b-card-footer',{staticClass:"d-flex rounded-0 bg-light px-3 py-2"},[_c('b-button-group',{staticClass:"ml-auto gap-1"},[_c('b-button',{staticClass:"d-flex align-items-center justify-content-center text-dark border-0 p-1",attrs:{"disabled":!_vm.hasPrevPage,"variant":"outline-extra-light"},on:{"click":function($event){return _vm.goToPage()}}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'angle-double-left']}})],1),_vm._v(" "),_c('b-button',{staticClass:"d-flex align-items-center justify-content-center text-dark border-0 p-1",attrs:{"disabled":!_vm.hasPrevPage,"variant":"outline-extra-light"},on:{"click":function($event){return _vm.goToPage('prevPage')}}},[_c('font-awesome-icon',{staticClass:"mr-1",attrs:{"icon":['fas', 'angle-left']}}),_vm._v("\n "+_vm._s(_vm.labels.previous)+"\n ")],1),_vm._v(" "),_c('b-button',{staticClass:"d-flex align-items-center justify-content-center text-dark border-0 p-1",attrs:{"disabled":!_vm.hasNextPage,"variant":"outline-extra-light"},on:{"click":function($event){return _vm.goToPage('nextPage')}}},[_vm._v("\n "+_vm._s(_vm.labels.next)+"\n "),_c('font-awesome-icon',{staticClass:"ml-1",attrs:{"icon":['fas', 'angle-right']}})],1)],1)],1)],1)};
|
|
89731
89661
|
var __vue_staticRenderFns__$V = [];
|
|
89732
89662
|
|
|
89733
89663
|
/* style */
|
|
89734
89664
|
const __vue_inject_styles__$10 = function (inject) {
|
|
89735
89665
|
if (!inject) return
|
|
89736
|
-
inject("data-v-
|
|
89666
|
+
inject("data-v-66c80c69_0", { source: ".foreign[data-v-66c80c69]{border:1px solid rgba(22,36,37,.8);border-top:0;border-bottom:0}.separator[data-v-66c80c69]{border-top:2px solid rgba(22,36,37,.5)}.card-rounded[data-v-66c80c69]{border-radius:1rem 1rem 0 0}", map: undefined, media: undefined });
|
|
89737
89667
|
|
|
89738
89668
|
};
|
|
89739
89669
|
/* scoped */
|
|
89740
|
-
const __vue_scope_id__$10 = "data-v-
|
|
89670
|
+
const __vue_scope_id__$10 = "data-v-66c80c69";
|
|
89741
89671
|
/* module identifier */
|
|
89742
89672
|
const __vue_module_identifier__$10 = undefined;
|
|
89743
89673
|
/* functional template */
|
|
@@ -90181,6 +90111,13 @@ var script$12 = {
|
|
|
90181
90111
|
|
|
90182
90112
|
setDefaultValues() {
|
|
90183
90113
|
this.selected = [], this.selectableItemIDs = [];
|
|
90114
|
+
},
|
|
90115
|
+
|
|
90116
|
+
handleSort({
|
|
90117
|
+
field
|
|
90118
|
+
}) {
|
|
90119
|
+
this.sorting.sortBy = field.key;
|
|
90120
|
+
this.sorting.sortDesc = !this.sorting.sortDesc;
|
|
90184
90121
|
}
|
|
90185
90122
|
|
|
90186
90123
|
}
|
|
@@ -90190,7 +90127,7 @@ var script$12 = {
|
|
|
90190
90127
|
const __vue_script__$12 = script$12;
|
|
90191
90128
|
|
|
90192
90129
|
/* template */
|
|
90193
|
-
var __vue_render__$Y = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:"shadow-sm",attrs:{"no-body":"","
|
|
90130
|
+
var __vue_render__$Y = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:"shadow-sm",attrs:{"no-body":"","footer-bg-variant":"light","footer-class":"p-0","header-class":("border-0 " + _vm.cardHeaderClass)},scopedSlots:_vm._u([{key:"header",fn:function(){return [_c('b-container',{staticClass:"d-flex flex-column p-0 gap-2 d-print-none",attrs:{"fluid":""}},[_c('b-row',{staticClass:"d-flex align-items-center justify-content-between gap-1",attrs:{"no-gutters":""}},[_c('div',{class:("d-flex align-items-center flex-grow-1 flex-wrap flex-fill-child gap-1 " + _vm.headerClass)},[_vm._t("header",null,{"selected":_vm.selected})],2),_vm._v(" "),(!_vm.hideSearch)?_c('div',{staticClass:"flex-fill"},[_c('c-input-search',{attrs:{"placeholder":_vm.translations.searchPlaceholder,"debounce":300},on:{"input":function($event){return _vm.$emit('search')}},model:{value:(_vm.filter[_vm.queryField]),callback:function ($$v) {_vm.$set(_vm.filter, _vm.queryField, (typeof $$v === 'string'? $$v.trim(): $$v));},expression:"filter[queryField]"}})],1):_vm._e()]),_vm._v(" "),(_vm.$slots.toolbar)?_c('b-row',{staticClass:"gap-1"},[_vm._t("toolbar")],2):_vm._e()],1)]},proxy:true},(_vm.showFooter)?{key:"footer",fn:function(){return [_c('div',{staticClass:"resource-list-footer d-flex align-items-center flex-wrap justify-content-between px-3 py-2 gap-1"},[_c('div',{staticClass:"d-flex align-items-center flex-wrap gap-3 gap-col-3"},[(!_vm.hideTotal)?_c('div',{staticClass:"text-nowrap text-truncate"},[_vm._v("\n "+_vm._s(_vm.getPagination)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.hidePerPageOption)?_c('div',{staticClass:"d-flex align-items-center gap-1 text-nowrap"},[_c('span',[_vm._v("\n "+_vm._s(_vm.$t('general:resourceList.pagination.recordsPerPage'))+"\n ")]),_vm._v(" "),_c('b-form-select',{attrs:{"value":_vm.pagination.limit,"options":_vm.perPageOptions,"size":"sm"},on:{"change":_vm.handlePerPageChange}})],1):_vm._e()]),_vm._v(" "),(!_vm.hidePagination)?_c('div',{staticClass:"d-flex align-items-center justify-content-end"},[_c('b-button-group',{staticClass:"gap-1"},[_c('b-button',{staticClass:"d-flex align-items-center text-dark border-0 p-1",attrs:{"disabled":!_vm.hasPrevPage,"variant":"outline-extra-light"},on:{"click":function($event){return _vm.goToPage()}}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'angle-double-left']}})],1),_vm._v(" "),_c('b-button',{staticClass:"d-flex align-items-center text-dark border-0 p-1",attrs:{"disabled":!_vm.hasPrevPage,"variant":"outline-extra-light"},on:{"click":function($event){return _vm.goToPage('prevPage')}}},[_c('font-awesome-icon',{staticClass:"mr-1",attrs:{"icon":['fas', 'angle-left']}}),_vm._v("\n\n "+_vm._s(_vm.translations.prevPagination)+"\n ")],1),_vm._v(" "),_c('b-button',{staticClass:"d-flex align-items-center justify-content-center text-dark border-0 p-1",attrs:{"disabled":!_vm.hasNextPage,"variant":"outline-extra-light"},on:{"click":function($event){return _vm.goToPage('nextPage')}}},[_vm._v("\n "+_vm._s(_vm.translations.nextPagination)+"\n\n "),_c('font-awesome-icon',{staticClass:"ml-1",attrs:{"icon":['fas', 'angle-right']}})],1)],1)],1):_vm._e()])]},proxy:true}:null],null,true)},[_vm._v(" "),_c('b-card-body',{staticClass:"p-0"},[_c('b-table',{ref:"resourceList",staticClass:"mh-100 h-100 mb-0",attrs:{"id":"resource-list","fields":_vm._fields,"items":_vm._items,"sort-by":_vm.sorting.sortBy,"sort-desc":_vm.sorting.sortDesc,"sticky-header":_vm.stickyHeader,"tbody-tr-class":_vm.tableRowClasses,"hover":"","responsive":"","show-empty":"","no-sort-reset":"","no-local-sorting":"","head-variant":"light","foot-variant":"light","primary-key":_vm.primaryKey},on:{"update:sortBy":function($event){return _vm.$set(_vm.sorting, "sortBy", $event)},"update:sort-by":function($event){return _vm.$set(_vm.sorting, "sortBy", $event)},"update:sortDesc":function($event){return _vm.$set(_vm.sorting, "sortDesc", $event)},"update:sort-desc":function($event){return _vm.$set(_vm.sorting, "sortDesc", $event)},"sort-changed":function($event){_vm.pagination.page = 1;},"row-clicked":function($event){return _vm.$emit('row-clicked', $event)}},scopedSlots:_vm._u([{key:"head()",fn:function(field){return [_c('div',{staticClass:"d-flex align-items-center"},[_c('div',{staticClass:"d-flex align-self-center text-nowrap"},[_vm._v("\n "+_vm._s(field.label)+"\n ")]),_vm._v(" "),(field.field.sortable)?_c('b-button',{staticClass:"d-flex align-items-center text-secondary d-print-none border-0 px-1 ml-1",attrs:{"variant":"outline-extra-light"},on:{"click":function($event){return _vm.handleSort(field)}}},[_c('font-awesome-layers',{staticClass:"d-print-none"},[_c('font-awesome-icon',{staticClass:"mb-1",class:{ 'text-primary': field.column === _vm.sorting.sortBy && !_vm.sorting.sortDesc },attrs:{"icon":['fas', 'angle-up']}}),_vm._v(" "),_c('font-awesome-icon',{staticClass:"mt-1",class:{ 'text-primary': field.column === _vm.sorting.sortBy && _vm.sorting.sortDesc },attrs:{"icon":['fas', 'angle-down']}})],1)],1):_vm._e()],1)]}},{key:"empty",fn:function(){return [_c('p',{staticClass:"text-center text-dark",staticStyle:{"margin-top":"1vh"},attrs:{"data-test-id":"no-matches"}},[_vm._v("\n "+_vm._s(_vm.translations.noItems)+"\n ")])]},proxy:true},{key:"table-busy",fn:function(){return [_c('div',{staticClass:"text-center m-5"},[_c('div',[_c('b-spinner',{staticClass:"align-middle m-2"})],1),_vm._v("\n "+_vm._s(_vm.translations.loading)+"\n ")])]},proxy:true},(_vm.selectable)?{key:"head(select)",fn:function(){return [_c('b-checkbox',{staticClass:"ml-1",attrs:{"disabled":_vm.disableSelectAll,"checked":_vm.allRowsSelected && !_vm.disableSelectAll},on:{"change":_vm.selectAllRows}})]},proxy:true}:null,{key:"cell(select)",fn:function(ref){
|
|
90194
90131
|
var item = ref.item;
|
|
90195
90132
|
return [(_vm.isItemSelectable(item))?_c('b-form-checkbox',{staticClass:"ml-1",attrs:{"checked":_vm.selected.includes(item[_vm.primaryKey])},on:{"change":function($event){return _vm.onSelectRow($event, item[_vm.primaryKey])}}}):_vm._e()]}},_vm._l((_vm.customFieldSlots),function(field){return {key:("cell(" + field + ")"),fn:function(ref){
|
|
90196
90133
|
var item = ref.item;
|
|
@@ -90200,7 +90137,7 @@ var __vue_staticRenderFns__$Y = [];
|
|
|
90200
90137
|
/* style */
|
|
90201
90138
|
const __vue_inject_styles__$13 = function (inject) {
|
|
90202
90139
|
if (!inject) return
|
|
90203
|
-
inject("data-v-
|
|
90140
|
+
inject("data-v-477e4faa_0", { source: "#resource-list td.actions{padding-top:8px;right:0;opacity:0;position:sticky;transition:opacity .25s;width:1%;font-family:var(--font-regular)!important}#resource-list tr:hover td.actions{opacity:1;z-index:1;background-color:var(--light)}#resource-list>thead>tr>[aria-sort=ascending],#resource-list>thead>tr>[aria-sort=descending],#resource-list>thead>tr>[aria-sort=none]{background-image:none!important}.resource-list-footer{font-family:var(--font-medium)}", map: undefined, media: undefined });
|
|
90204
90141
|
|
|
90205
90142
|
};
|
|
90206
90143
|
/* scoped */
|
|
@@ -90458,7 +90395,7 @@ var script$14 = {
|
|
|
90458
90395
|
const __vue_script__$14 = script$14;
|
|
90459
90396
|
|
|
90460
90397
|
/* template */
|
|
90461
|
-
var __vue_render__$$ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.tooltip)?_c('div',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.right",value:({ variant: _vm.tooltipVariant, title: _vm.tooltip, container: '#body' }),expression:"{ variant: tooltipVariant, title: tooltip, container: '#body' }",modifiers:{"hover":true,"right":true}}],staticClass:"d-flex align-items-center ml-1"},[_c('font-awesome-icon',{class:_vm.iconClass,attrs:{"icon":_vm.icon}})],1):_vm._e()};
|
|
90398
|
+
var __vue_render__$$ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.tooltip)?_c('div',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover.right",value:({ variant: _vm.tooltipVariant, title: _vm.tooltip, container: '#body' }),expression:"{ variant: tooltipVariant, title: tooltip, container: '#body' }",modifiers:{"noninteractive":true,"hover":true,"right":true}}],staticClass:"d-flex align-items-center ml-1"},[_c('font-awesome-icon',{class:_vm.iconClass,attrs:{"icon":_vm.icon}})],1):_vm._e()};
|
|
90462
90399
|
var __vue_staticRenderFns__$$ = [];
|
|
90463
90400
|
|
|
90464
90401
|
/* style */
|
|
@@ -90670,13 +90607,13 @@ var script$15 = {
|
|
|
90670
90607
|
},
|
|
90671
90608
|
|
|
90672
90609
|
onBoundsUpdate(value) {
|
|
90673
|
-
|
|
90610
|
+
this.$nextTick(() => {
|
|
90674
90611
|
setTimeout(() => {
|
|
90675
90612
|
this.$refs.map.mapObject.invalidateSize();
|
|
90676
90613
|
}, 100);
|
|
90677
|
-
|
|
90678
|
-
|
|
90679
|
-
|
|
90614
|
+
});
|
|
90615
|
+
value = value || this.$refs.map.mapObject.getBounds();
|
|
90616
|
+
this.$emit('on-bounds-update', value);
|
|
90680
90617
|
}
|
|
90681
90618
|
|
|
90682
90619
|
}
|
|
@@ -90689,17 +90626,18 @@ const __vue_script__$15 = script$15;
|
|
|
90689
90626
|
var __vue_render__$10 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[(!_vm.hideGeoSearch)?_c('div',{staticClass:"geosearch-container",on:{"mouseover":_vm.disableMap,"mouseleave":_vm.enableMap}},[_c('c-input-search',{attrs:{"placeholder":_vm.labels.geosearchInputPlaceholder,"autocomplete":'off',"debounce":300},on:{"input":_vm.onGeoSearch},model:{value:(_vm.geoSearch.query),callback:function ($$v) {_vm.$set(_vm.geoSearch, "query", $$v);},expression:"geoSearch.query"}}),_vm._v(" "),_c('div',{staticClass:"geosearch-results"},_vm._l((_vm.geoSearch.results),function(result,idx){return _c('div',{key:idx,staticClass:"geosearch-result",on:{"click":function($event){return _vm.placeGeoSearchMarker(result)}}},[_vm._v("\n "+_vm._s(result.label)+"\n ")])}),0)],1):_vm._e(),_vm._v(" "),_c('l-map',{ref:"map",staticClass:"w-100 h-100",attrs:{"zoom":_vm.mapOptions.zoom,"center":_vm.mapOptions.center,"min-zoom":_vm.mapOptions.minZoom,"max-zoom":_vm.mapOptions.maxZoom,"bounds":_vm.mapOptions.bounds,"max-bounds":_vm.mapOptions.maxBounds},on:{"click":_vm.onMapClick,"locationfound":_vm.onLocationFound,"update:zoom":_vm.onZoom,"update:center":_vm.onCenter,"update:bounds":_vm.onBoundsUpdate}},[_c('l-tile-layer',{attrs:{"url":"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png","attribution":_vm.mapOptions.attribution}}),_vm._v(" "),_vm._l((_vm.polygons),function(geometry,i){return _c('l-polygon',{key:("polygon-" + i),attrs:{"lat-lngs":geometry.map(function (value) { return value.geometry; }),"color":geometry[0].color}})}),_vm._v(" "),_vm._l((_vm.markerValues),function(marker,i){return _c('l-marker',{key:("marker-" + i),attrs:{"lat-lng":marker.value,"icon":_vm.getIcon(marker.color),"opacity":marker.opacity || 1.0},on:{"click":function($event){return _vm.onMarkerClick(i, marker)}}},[(_vm.$scopedSlots['marker-tooltip'])?_c('l-tooltip',{attrs:{"options":{
|
|
90690
90627
|
offset: [-1, 5],
|
|
90691
90628
|
direction: 'bottom',
|
|
90692
|
-
}}},[_vm._t("marker-tooltip",null,{"marker":marker})],2):_vm._e()],1)}),_vm._v(" "),_c('l-control',{staticClass:"leaflet-bar"},[(!_vm.hideCurrentLocationButton)?_c('a',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",value:({ title: _vm.labels.tooltip && _vm.labels.tooltip.goToCurrentLocation, container: '#body' }),expression:"{ title: labels.tooltip && labels.tooltip.goToCurrentLocation, container: '#body' }",modifiers:{"hover":true}}],staticClass:"d-flex justify-content-center align-items-center",attrs:{"role":"button"},on:{"click":_vm.goToCurrentLocation}},[_c('font-awesome-icon',{
|
|
90629
|
+
}}},[_vm._t("marker-tooltip",null,{"marker":marker})],2):_vm._e()],1)}),_vm._v(" "),_c('l-control',{staticClass:"leaflet-bar"},[(!_vm.hideCurrentLocationButton)?_c('a',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: _vm.labels.tooltip && _vm.labels.tooltip.goToCurrentLocation, container: '#body' }),expression:"{ title: labels.tooltip && labels.tooltip.goToCurrentLocation, container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],staticClass:"d-flex justify-content-center align-items-center",attrs:{"role":"button"},on:{"click":_vm.goToCurrentLocation}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'location-arrow']}})],1):_vm._e()])],2)],1)};
|
|
90693
90630
|
var __vue_staticRenderFns__$10 = [];
|
|
90694
90631
|
|
|
90695
90632
|
/* style */
|
|
90696
90633
|
const __vue_inject_styles__$17 = function (inject) {
|
|
90697
90634
|
if (!inject) return
|
|
90698
|
-
inject("data-v-
|
|
90635
|
+
inject("data-v-377ad82d_0", { source: ".leaflet-touch .leaflet-bar{border:1px solid transparent;border-radius:.3rem}.leaflet-bar a{background-color:var(--white)!important;color:var(--primary)!important;text-decoration:none!important}.leaflet-bar a:hover{background-color:var(--white)!important;transition:background-color .15s ease}.geosearch-result:hover{background-color:var(--light)!important;color:var(--black)}.geosearch-result:active{color:var(--white)!important;background-color:var(--primary)!important}", map: undefined, media: undefined })
|
|
90636
|
+
,inject("data-v-377ad82d_1", { source: ".geosearch-container[data-v-377ad82d]{position:absolute;display:block;height:auto;width:50%;max-width:400px;cursor:auto;z-index:10000;left:25%;top:10px}.geosearch-results[data-v-377ad82d]{margin:1px;border-radius:2px;background-color:var(--white);max-height:50%;overflow:auto}.geosearch-result[data-v-377ad82d]{border-radius:2px;line-height:32px;padding:0 8px;font-size:12px;white-space:nowrap}.geosearch-result[data-v-377ad82d]:hover{background-color:var(--gray-200);cursor:pointer}", map: undefined, media: undefined });
|
|
90699
90637
|
|
|
90700
90638
|
};
|
|
90701
90639
|
/* scoped */
|
|
90702
|
-
const __vue_scope_id__$17 = "data-v-
|
|
90640
|
+
const __vue_scope_id__$17 = "data-v-377ad82d";
|
|
90703
90641
|
/* module identifier */
|
|
90704
90642
|
const __vue_module_identifier__$17 = undefined;
|
|
90705
90643
|
/* functional template */
|