@cortezaproject/corteza-vue 2022.9.0-dev.2 → 2022.9.0-dev.4
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/components/chart/index.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.es.js +320 -276
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +319 -275
- package/dist/index.js.map +1 -1
- package/package.json +4 -5
package/dist/index.js
CHANGED
|
@@ -27,8 +27,6 @@ var vuex = require('vuex');
|
|
|
27
27
|
var core = require('@popperjs/core');
|
|
28
28
|
var _ = require('lodash');
|
|
29
29
|
var ___default = _interopDefault(_);
|
|
30
|
-
var colorschemes = _interopDefault(require('chartjs-plugin-colorschemes'));
|
|
31
|
-
var Funnel = _interopDefault(require('chartjs-plugin-funnel'));
|
|
32
30
|
var pino = _interopDefault(require('pino'));
|
|
33
31
|
var fzy = _interopDefault(require('fuzzysort'));
|
|
34
32
|
|
|
@@ -71553,9 +71551,6 @@ var __vue_staticRenderFns__$b = [];
|
|
|
71553
71551
|
//
|
|
71554
71552
|
//
|
|
71555
71553
|
//
|
|
71556
|
-
//
|
|
71557
|
-
//
|
|
71558
|
-
//
|
|
71559
71554
|
var script$d = {
|
|
71560
71555
|
name: 'CInputSearch',
|
|
71561
71556
|
props: {
|
|
@@ -71615,11 +71610,13 @@ var script$d = {
|
|
|
71615
71610
|
},
|
|
71616
71611
|
|
|
71617
71612
|
submitQuery() {
|
|
71618
|
-
this
|
|
71613
|
+
if (this.submittable) {
|
|
71614
|
+
this.$emit('search', this.$refs.searchInput.localValue);
|
|
71615
|
+
}
|
|
71619
71616
|
},
|
|
71620
71617
|
|
|
71621
71618
|
clearQuery() {
|
|
71622
|
-
this.$refs.
|
|
71619
|
+
this.$refs.searchInput.focus();
|
|
71623
71620
|
this.$emit('input', '');
|
|
71624
71621
|
}
|
|
71625
71622
|
|
|
@@ -71630,20 +71627,20 @@ var script$d = {
|
|
|
71630
71627
|
const __vue_script__$d = script$d;
|
|
71631
71628
|
|
|
71632
71629
|
/* template */
|
|
71633
|
-
var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-input-group',[_c('b-input',{ref:"
|
|
71630
|
+
var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-input-group',[_c('b-input',{ref:"searchInput",staticClass:"h-100 pr-0 border-light border-right-0 text-truncate bg-white",attrs:{"data-test-id":"input-search","type":_vm.inputType,"name":"search","value":_vm.value,"debounce":_vm.debounce,"disabled":_vm.disabled,"placeholder":_vm.placeholder,"autocomplete":_vm.autocomplete,"size":_vm.size},on:{"input":_vm.search,"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.submitQuery.apply(null, arguments)}}}),_vm._v(" "),_c('b-input-group-append',{staticClass:"bg-white border-light rounded-right append-group-border",class:{ 'border-left': _vm.showSubmittable }},[(_vm.showSubmittable)?_c('b-button',{class:{
|
|
71634
71631
|
'search-icon-border': _vm.showSubmittableAndClearable,
|
|
71635
71632
|
'cursor-default': !_vm.isSubmittable
|
|
71636
|
-
},attrs:{"variant":"link"},on:_vm._d({},[_vm.isSubmittable,_vm.submitQuery])},[_c('font-awesome-icon',{
|
|
71633
|
+
},attrs:{"variant":"link"},on:_vm._d({},[_vm.isSubmittable,_vm.submitQuery])},[_c('font-awesome-icon',{staticClass:"align-middle",attrs:{"icon":['fas', 'search']}})],1):_vm._e()],1)],1)};
|
|
71637
71634
|
var __vue_staticRenderFns__$c = [];
|
|
71638
71635
|
|
|
71639
71636
|
/* style */
|
|
71640
71637
|
const __vue_inject_styles__$e = function (inject) {
|
|
71641
71638
|
if (!inject) return
|
|
71642
|
-
inject("data-v-
|
|
71639
|
+
inject("data-v-795ab8d0_0", { source: "input[data-v-795ab8d0]:focus::placeholder{color:transparent}input[type=search][data-v-795ab8d0]::-webkit-search-cancel-button{height:13px;width:13px;padding-left:12px;cursor:pointer;background:url(\"data:image/svg+xml;charset=UTF-8,%3csvg viewPort='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='1' y1='11' x2='11' y2='1' stroke='black' stroke-width='2'/%3e%3cline x1='1' y1='1' x2='11' y2='11' stroke='black' stroke-width='2'/%3e%3c/svg%3e\")}.append-group-border[data-v-795ab8d0]{border:2px solid #e4e9ef}.search-icon-border[data-v-795ab8d0]{border-left:2px solid #e4e9ef}.cursor-default[data-v-795ab8d0]{cursor:default!important}", map: undefined, media: undefined });
|
|
71643
71640
|
|
|
71644
71641
|
};
|
|
71645
71642
|
/* scoped */
|
|
71646
|
-
const __vue_scope_id__$e = "data-v-
|
|
71643
|
+
const __vue_scope_id__$e = "data-v-795ab8d0";
|
|
71647
71644
|
/* module identifier */
|
|
71648
71645
|
const __vue_module_identifier__$e = undefined;
|
|
71649
71646
|
/* functional template */
|
|
@@ -79528,13 +79525,13 @@ var script$o = {
|
|
|
79528
79525
|
const __vue_script__$o = script$o;
|
|
79529
79526
|
|
|
79530
79527
|
/* template */
|
|
79531
|
-
var __vue_render__$l = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form-radio-group',{staticClass:"access rounded",attrs:{"buttons":"","disabled":!_vm.enabled,"button-variant":_vm.variant,"options":_vm.options},model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v;},expression:"selected"}})};
|
|
79528
|
+
var __vue_render__$l = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form-radio-group',{staticClass:"access rounded",attrs:{"data-test-id":"toggle-role-permissions","buttons":"","disabled":!_vm.enabled,"button-variant":_vm.variant,"options":_vm.options},model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v;},expression:"selected"}})};
|
|
79532
79529
|
var __vue_staticRenderFns__$l = [];
|
|
79533
79530
|
|
|
79534
79531
|
/* style */
|
|
79535
79532
|
const __vue_inject_styles__$p = function (inject) {
|
|
79536
79533
|
if (!inject) return
|
|
79537
|
-
inject("data-v-
|
|
79534
|
+
inject("data-v-11e55e3b_0", { source: ".access .btn{background-color:#e4e9ef;border:none}.access .btn:nth-child(2),.access .btn:nth-child(3){margin-left:.2rem!important}", map: undefined, media: undefined });
|
|
79538
79535
|
|
|
79539
79536
|
};
|
|
79540
79537
|
/* scoped */
|
|
@@ -79633,7 +79630,7 @@ var script$p = {
|
|
|
79633
79630
|
const __vue_script__$p = script$p;
|
|
79634
79631
|
|
|
79635
79632
|
/* template */
|
|
79636
|
-
var __vue_render__$m = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_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)};
|
|
79633
|
+
var __vue_render__$m = 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)};
|
|
79637
79634
|
var __vue_staticRenderFns__$m = [];
|
|
79638
79635
|
|
|
79639
79636
|
/* style */
|
|
@@ -79697,7 +79694,7 @@ var script$q = {
|
|
|
79697
79694
|
const __vue_script__$q = script$q;
|
|
79698
79695
|
|
|
79699
79696
|
/* template */
|
|
79700
|
-
var __vue_render__$n = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.rules),function(p,i){return _c('rule',_vm._b({key:p.resource + p.operation,class:{ 'mt-4': i > 0 },on:{"update":_vm.onUpdate}},'rule',p,false))}),1)};
|
|
79697
|
+
var __vue_render__$n = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"data-test-id":"role-permissions-list"}},_vm._l((_vm.rules),function(p,i){return _c('rule',_vm._b({key:p.resource + p.operation,class:{ 'mt-4': i > 0 },on:{"update":_vm.onUpdate}},'rule',p,false))}),1)};
|
|
79701
79698
|
var __vue_staticRenderFns__$n = [];
|
|
79702
79699
|
|
|
79703
79700
|
/* style */
|
|
@@ -79899,7 +79896,9 @@ var script$r = {
|
|
|
79899
79896
|
this.target = undefined;
|
|
79900
79897
|
},
|
|
79901
79898
|
|
|
79902
|
-
onRoleChange(
|
|
79899
|
+
onRoleChange({
|
|
79900
|
+
roleID
|
|
79901
|
+
}) {
|
|
79903
79902
|
this.fetchRules(roleID);
|
|
79904
79903
|
},
|
|
79905
79904
|
|
|
@@ -79955,10 +79954,7 @@ var script$r = {
|
|
|
79955
79954
|
|
|
79956
79955
|
if (this.roles.length > 0) {
|
|
79957
79956
|
this.currentRole = this.roles[0];
|
|
79958
|
-
|
|
79959
|
-
roleID
|
|
79960
|
-
} = this.currentRole;
|
|
79961
|
-
this.onRoleChange(roleID);
|
|
79957
|
+
this.onRoleChange(this.currentRole);
|
|
79962
79958
|
}
|
|
79963
79959
|
}).finally(() => {
|
|
79964
79960
|
this.processing = false;
|
|
@@ -79975,7 +79971,7 @@ var script$r = {
|
|
|
79975
79971
|
resource,
|
|
79976
79972
|
roleID,
|
|
79977
79973
|
userID
|
|
79978
|
-
}).then(this.normalizeRules).finally(() => {
|
|
79974
|
+
}).then(this.normalizeRules, true).finally(() => {
|
|
79979
79975
|
this.processing = false;
|
|
79980
79976
|
});
|
|
79981
79977
|
},
|
|
@@ -80050,7 +80046,7 @@ var script$r = {
|
|
|
80050
80046
|
}
|
|
80051
80047
|
},
|
|
80052
80048
|
|
|
80053
|
-
normalizeRules(rr) {
|
|
80049
|
+
normalizeRules(rr, fallback = false) {
|
|
80054
80050
|
const inherit = 'inherit'; // merges roleRules (subset) with list of all permissions
|
|
80055
80051
|
|
|
80056
80052
|
const findCurrent = ({
|
|
@@ -80063,12 +80059,12 @@ var script$r = {
|
|
|
80063
80059
|
|
|
80064
80060
|
let {
|
|
80065
80061
|
resolution,
|
|
80066
|
-
access =
|
|
80062
|
+
access = inherit
|
|
80067
80063
|
} = rr.find(r => r.resource === resource && r.operation === operation) || {};
|
|
80068
80064
|
|
|
80069
80065
|
if (resolution === 'unknown-context') {
|
|
80070
80066
|
access = 'unknown-context';
|
|
80071
|
-
} else if (access ===
|
|
80067
|
+
} else if (fallback && access === inherit) {
|
|
80072
80068
|
access = 'deny';
|
|
80073
80069
|
}
|
|
80074
80070
|
|
|
@@ -80165,17 +80161,18 @@ var script$r = {
|
|
|
80165
80161
|
const __vue_script__$r = script$r;
|
|
80166
80162
|
|
|
80167
80163
|
/* template */
|
|
80168
|
-
var __vue_render__$o = 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:{"visible":_vm.showModal,"size":"xl","title":_vm.translatedTitle,"lazy":"","scrollable":"","ok-disabled":_vm.submitDisabled,"ok-title":_vm.labels.save,"cancel-title":_vm.labels.cancel,"cancel-variant":"light","body-class":"d-flex flex-column p-0"},on:{"hide":_vm.onHide,"ok":_vm.onSubmit}},[_c('b-row',{staticClass:"bg-extra-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-extra-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('vue-select',{key:"roleID",staticClass:"h-100 bg-white",attrs:{"label":"name","clearable":false,"options":_vm.roles,"append-to-body":""},on:{"input":_vm.onRoleChange},model:{value:(_vm.currentRole),callback:function ($$v) {_vm.currentRole=$$v;},expression:"currentRole"}})],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:{"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 text-break 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"},[_c('label',{staticClass:"pointer text-center text-primary text-break 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-extra-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',{key:r.operation,staticClass:"text-center mb-1 mt-2 w-100",attrs:{"title":_vm.getRuleTooltip(r.access === 'unknown-context', !!e.userID)}},[(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":"","ok-only":"","ok-title":_vm.labels.add.save,"ok-disabled":!_vm.addEnabled},on:{"ok":_vm.onAddEval}},[_c('b-form-group',{staticClass:"mb-0",attrs:{"label":_vm.labels.add.role.label,"label-class":"text-primary"}},[_c('vue-select',{key:"roleID",staticClass:"bg-white",attrs:{"options":_vm.roles,"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('vue-select',{key:"userID",staticClass:"bg-white",attrs:{"disabled":!!_vm.add.roleID.length,"options":_vm.userOptions,"get-option-label":_vm.getUserLabel,"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)};
|
|
80164
|
+
var __vue_render__$o = 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":"","ok-disabled":_vm.submitDisabled,"ok-title":_vm.labels.save,"cancel-title":_vm.labels.cancel,"cancel-variant":"light","body-class":"d-flex flex-column p-0"},on:{"hide":_vm.onHide,"ok":_vm.onSubmit}},[_c('b-row',{staticClass:"bg-extra-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-extra-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('vue-select',{key:"roleID",staticClass:"h-100 bg-white",attrs:{"data-test-id":"select-user-list-roles","label":"name","clearable":false,"options":_vm.roles,"append-to-body":""},on:{"input":_vm.onRoleChange},model:{value:(_vm.currentRole),callback:function ($$v) {_vm.currentRole=$$v;},expression:"currentRole"}})],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 text-break 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 text-break 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-extra-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',{key:r.operation,staticClass:"text-center mb-1 mt-2 w-100",attrs:{"title":_vm.getRuleTooltip(r.access === 'unknown-context', !!e.userID)}},[(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":"","ok-only":"","ok-title":_vm.labels.add.save,"ok-disabled":!_vm.addEnabled},on:{"ok":_vm.onAddEval}},[_c('b-form-group',{staticClass:"mb-0",attrs:{"label":_vm.labels.add.role.label,"label-class":"text-primary"}},[_c('vue-select',{key:"roleID",staticClass:"bg-white",attrs:{"data-test-id":"select-role","options":_vm.roles,"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('vue-select',{key:"userID",staticClass:"bg-white",attrs:{"data-test-id":"select-user","disabled":!!_vm.add.roleID.length,"options":_vm.userOptions,"get-option-label":_vm.getUserLabel,"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)};
|
|
80169
80165
|
var __vue_staticRenderFns__$o = [];
|
|
80170
80166
|
|
|
80171
80167
|
/* style */
|
|
80172
80168
|
const __vue_inject_styles__$s = function (inject) {
|
|
80173
80169
|
if (!inject) return
|
|
80174
|
-
inject("data-v-
|
|
80170
|
+
inject("data-v-48c9ff94_0", { source: ".not-allowed[data-v-48c9ff94]{cursor:not-allowed}.bg-extra-light[data-v-48c9ff94]{background-color:#f3f5f7}.pointer[data-v-48c9ff94]{cursor:pointer}.rotate[data-v-48c9ff94]{transform:rotate(45deg)}.hide-eval:hover .rotate[data-v-48c9ff94]{color:#162425!important}", map: undefined, media: undefined })
|
|
80171
|
+
,inject("data-v-48c9ff94_1", { source: "#permissions-modal .v-select,#permissions-modal-eval .v-select{min-width:100%}#permissions-modal .v-select .vs__selected-options,#permissions-modal-eval .v-select .vs__selected-options{flex-wrap:wrap}", map: undefined, media: undefined });
|
|
80175
80172
|
|
|
80176
80173
|
};
|
|
80177
80174
|
/* scoped */
|
|
80178
|
-
const __vue_scope_id__$s = "data-v-
|
|
80175
|
+
const __vue_scope_id__$s = "data-v-48c9ff94";
|
|
80179
80176
|
/* module identifier */
|
|
80180
80177
|
const __vue_module_identifier__$s = undefined;
|
|
80181
80178
|
/* functional template */
|
|
@@ -82037,17 +82034,18 @@ const __vue_script__$E = script$E;
|
|
|
82037
82034
|
/* template */
|
|
82038
82035
|
var __vue_render__$A = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header-navigation d-flex align-items-center justify-content-between sticky-top pr-3 pl-5 "},[_c('div',{staticClass:"d-flex text-nowrap flex-grow-1 align-items-center header h-100 w-100"},[[_c('div',{staticClass:"spacer",class:{
|
|
82039
82036
|
'expanded': _vm.sidebarPinned,
|
|
82040
|
-
}})],_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center ml-2 text-truncate mr-auto h-100"},[_c('h2',{staticClass:"d-none d-sm-block mb-0"},[_vm._t("title")],2)]),_vm._v(" "),_c('div',{staticClass:"ml-3"},[_vm._t("tools")],2),_vm._v(" "),(!_vm.hideAppSelector && !_vm.settings.hideAppSelector)?_c('b-button',{staticClass:"d-flex align-items-center justify-content-center text-dark border-0 nav-icon rounded-circle ml-2",attrs:{"variant":"outline-light","href":_vm.appSelectorURL,"size":"lg"}},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['fas', 'grip-horizontal']}})],1):_vm._e(),_vm._v(" "),(!_vm.settings.hideHelp)?_c('b-dropdown',{staticClass:"nav-icon mx-1",attrs:{"data-test-id":"dropdown-helper","size":"lg","variant":"outline-light","toggle-class":"text-decoration-none text-dark rounded-circle border-0 w-100","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark font-weight-bold mt-2","right":"","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-center"},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['far', 'question-circle']}}),_vm._v(" "),_c('span',{staticClass:"sr-only"},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")])],1)]},proxy:true}],null,false,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":helpLink.url,"target":helpLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(helpLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideForumLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-forum","href":"https://forum.cortezaproject.org/","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideDocumentationLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-docs","href":_vm.documentationURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpDocumentation)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideFeedbackLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-feedback","href":"mailto:info@crust.tech","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpFeedback)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.onlyVersion)?_c('b-dropdown-divider'):_vm._e(),_vm._v(" "),_c('b-dropdown-item',{staticClass:"small",attrs:{"disabled":""}},[_vm._v("\n "+_vm._s(_vm.labels.helpVersion)+"\n "),_c('br'),_vm._v("\n "+_vm._s(_vm.frontendVersion)+"\n ")])],2):_vm._e(),_vm._v(" "),(!_vm.settings.hideProfile)?_c('b-dropdown',{staticClass:"nav-user-icon",attrs:{"data-test-id":"dropdown-profile","data-v-onboarding":"profile","size":"lg","variant":"outline-light","toggle-class":"nav-icon text-decoration-none text-dark rounded-circle border","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark font-weight-bold mt-2","right":"","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-center"},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['far', 'user']}}),_vm._v(" "),_c('span',{staticClass:"sr-only"},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")])],1)]},proxy:true}],null,false,2199786693)},[_vm._v(" "),_c('b-dropdown-text',{staticClass:"text-muted mb-2"},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsLoggedInAs)+"\n ")]),_vm._v(" "),_c('div',[_vm._t("avatar-dropdown")],2),_vm._v(" "),_vm._l((_vm.profileLinks),function(profileLink,index){return _c('b-dropdown-item',{key:index,attrs:{"href":profileLink.url,"target":profileLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(profileLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideProfileLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-profile-user","href":_vm.userProfileURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsProfile)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideChangePasswordLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-profile-change-password","href":_vm.changePasswordURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsChangePassword)+"\n ")]):_vm._e(),_vm._v(" "),_c('b-dropdown-divider'),_vm._v(" "),_c('b-dropdown-item',{staticClass:"mt-2",attrs:{"data-test-id":"dropdown-profile-logout","href":""},on:{"click":function($event){return _vm.$auth.logout()}}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsLogout)+"\n ")])],2):_vm._e()],2)])};
|
|
82037
|
+
}})],_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center ml-2 text-truncate mr-auto h-100"},[_c('h2',{staticClass:"d-none d-sm-block mb-0"},[_vm._t("title")],2)]),_vm._v(" "),_c('div',{staticClass:"topbar-tools ml-3"},[_vm._t("tools")],2),_vm._v(" "),(!_vm.hideAppSelector && !_vm.settings.hideAppSelector)?_c('b-button',{staticClass:"d-flex align-items-center justify-content-center text-dark border-0 nav-icon rounded-circle ml-2",attrs:{"variant":"outline-light","href":_vm.appSelectorURL,"size":"lg"}},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['fas', 'grip-horizontal']}})],1):_vm._e(),_vm._v(" "),(!_vm.settings.hideHelp)?_c('b-dropdown',{staticClass:"nav-icon mx-1",attrs:{"data-test-id":"dropdown-helper","size":"lg","variant":"outline-light","toggle-class":"text-decoration-none text-dark rounded-circle border-0 w-100","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark font-weight-bold mt-2","right":"","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-center"},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['far', 'question-circle']}}),_vm._v(" "),_c('span',{staticClass:"sr-only"},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")])],1)]},proxy:true}],null,false,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":helpLink.url,"target":helpLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(helpLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideForumLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-forum","href":"https://forum.cortezaproject.org/","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideDocumentationLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-docs","href":_vm.documentationURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpDocumentation)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideFeedbackLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-feedback","href":"mailto:info@crust.tech","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpFeedback)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.onlyVersion)?_c('b-dropdown-divider'):_vm._e(),_vm._v(" "),_c('b-dropdown-item',{staticClass:"small",attrs:{"disabled":""}},[_vm._v("\n "+_vm._s(_vm.labels.helpVersion)+"\n "),_c('br'),_vm._v("\n "+_vm._s(_vm.frontendVersion)+"\n ")])],2):_vm._e(),_vm._v(" "),(!_vm.settings.hideProfile)?_c('b-dropdown',{staticClass:"nav-user-icon",attrs:{"data-test-id":"dropdown-profile","data-v-onboarding":"profile","size":"lg","variant":"outline-light","toggle-class":"nav-icon text-decoration-none text-dark rounded-circle border","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark font-weight-bold mt-2","right":"","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-center"},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['far', 'user']}}),_vm._v(" "),_c('span',{staticClass:"sr-only"},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")])],1)]},proxy:true}],null,false,2199786693)},[_vm._v(" "),_c('b-dropdown-text',{staticClass:"text-muted mb-2"},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsLoggedInAs)+"\n ")]),_vm._v(" "),_c('div',[_vm._t("avatar-dropdown")],2),_vm._v(" "),_vm._l((_vm.profileLinks),function(profileLink,index){return _c('b-dropdown-item',{key:index,attrs:{"href":profileLink.url,"target":profileLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(profileLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideProfileLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-profile-user","href":_vm.userProfileURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsProfile)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideChangePasswordLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-profile-change-password","href":_vm.changePasswordURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsChangePassword)+"\n ")]):_vm._e(),_vm._v(" "),_c('b-dropdown-divider'),_vm._v(" "),_c('b-dropdown-item',{staticClass:"mt-2",attrs:{"data-test-id":"dropdown-profile-logout","href":""},on:{"click":function($event){return _vm.$auth.logout()}}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsLogout)+"\n ")])],2):_vm._e()],2)])};
|
|
82041
82038
|
var __vue_staticRenderFns__$A = [];
|
|
82042
82039
|
|
|
82043
82040
|
/* style */
|
|
82044
82041
|
const __vue_inject_styles__$F = function (inject) {
|
|
82045
82042
|
if (!inject) return
|
|
82046
|
-
inject("data-v-
|
|
82043
|
+
inject("data-v-13dcc283_0", { source: ".icon-logo[data-v-13dcc283]{height:calc(64px / 2);background-repeat:no-repeat;background-position:center}.nav-icon[data-v-13dcc283]{width:40px;height:40px}.nav-user-icon[data-v-13dcc283]{width:50px;height:50px}.header-navigation[data-v-13dcc283]{width:100vw;height:64px;background-color:#f3f3f5!important}.header-navigation h2[data-v-13dcc283]{padding-left:calc(.5rem + 2px)}.topbar-dropdown-menu[data-v-13dcc283]{max-height:80vh;overflow-y:auto}.spacer[data-v-13dcc283]{min-width:0;-webkit-transition:min-width .15s ease-in-out;-moz-transition:min-width .15s ease-in-out;-o-transition:min-width .15s ease-in-out;transition:min-width .15s ease-in-out}.spacer.expanded[data-v-13dcc283]{min-width:calc(320px - 42px);-webkit-transition:min-width .2s ease-in-out;-moz-transition:min-width .2s ease-in-out;-o-transition:min-width .2s ease-in-out;transition:min-width .2s ease-in-out}", map: undefined, media: undefined })
|
|
82044
|
+
,inject("data-v-13dcc283_1", { source: ".topbar-tools .vue-portal-target{display:flex;align-items:center}", map: undefined, media: undefined });
|
|
82047
82045
|
|
|
82048
82046
|
};
|
|
82049
82047
|
/* scoped */
|
|
82050
|
-
const __vue_scope_id__$F = "data-v-
|
|
82048
|
+
const __vue_scope_id__$F = "data-v-13dcc283";
|
|
82051
82049
|
/* module identifier */
|
|
82052
82050
|
const __vue_module_identifier__$F = undefined;
|
|
82053
82051
|
/* functional template */
|
|
@@ -83621,7 +83619,7 @@ var script$R = {
|
|
|
83621
83619
|
const __vue_script__$R = script$R;
|
|
83622
83620
|
|
|
83623
83621
|
/* template */
|
|
83624
|
-
var __vue_render__$M = 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:"bg-white 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:"bg-white py-2 pl-0 pr-2"},[_c('div',{staticClass:"d-flex align-items-center"},[_c('label',{staticClass:"text-primary mb-
|
|
83622
|
+
var __vue_render__$M = 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:"bg-white 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:"bg-white 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:{"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,"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",on:{"dblclick":function($event){return _vm.select(item)}}},[_c('c-item-picker-item',{attrs:{"item":item,"disabled":_vm.disabled,"disabled-dragging":_vm.disabledDragging,"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.disabledDragging,"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:"bg-white 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:{"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,"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",on:{"dblclick":function($event){return _vm.unselect(item)}}},[_c('c-item-picker-item',{attrs:{"item":item,"disabled":_vm.disabled,"disabled-dragging":_vm.disabledDragging,"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.disabledDragging,"disabledSorting":_vm.disabledSorting,"hideIcons":_vm.hideIcons},scope)]}}})],null,true)})],1)}),1)],1)],1)],1)],1)],1)],1)};
|
|
83625
83623
|
var __vue_staticRenderFns__$M = [];
|
|
83626
83624
|
|
|
83627
83625
|
/* style */
|
|
@@ -83712,41 +83710,77 @@ const __vue_script__$S = script$S;
|
|
|
83712
83710
|
|
|
83713
83711
|
//
|
|
83714
83712
|
var script$T = {
|
|
83713
|
+
props: {
|
|
83714
|
+
chart: {
|
|
83715
|
+
type: cortezaJs.shared.Chart,
|
|
83716
|
+
required: true
|
|
83717
|
+
}
|
|
83718
|
+
},
|
|
83719
|
+
computed: {
|
|
83720
|
+
theme() {
|
|
83721
|
+
const {
|
|
83722
|
+
darkMode
|
|
83723
|
+
} = this.chart || {};
|
|
83724
|
+
return darkMode ? 'dark' : 'light';
|
|
83725
|
+
}
|
|
83726
|
+
|
|
83727
|
+
}
|
|
83728
|
+
};
|
|
83729
|
+
|
|
83730
|
+
/* script */
|
|
83731
|
+
const __vue_script__$T = script$T;
|
|
83732
|
+
|
|
83733
|
+
/* template */
|
|
83734
|
+
var __vue_render__$N = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('e-charts',{staticClass:"w-100 h-100",attrs:{"option":_vm.chart,"theme":_vm.theme,"autoresize":""}})};
|
|
83735
|
+
var __vue_staticRenderFns__$N = [];
|
|
83736
|
+
|
|
83737
|
+
/* style */
|
|
83738
|
+
const __vue_inject_styles__$U = undefined;
|
|
83739
|
+
/* scoped */
|
|
83740
|
+
const __vue_scope_id__$U = undefined;
|
|
83741
|
+
/* module identifier */
|
|
83742
|
+
const __vue_module_identifier__$U = undefined;
|
|
83743
|
+
/* functional template */
|
|
83744
|
+
const __vue_is_functional_template__$U = false;
|
|
83745
|
+
/* style inject */
|
|
83746
|
+
|
|
83747
|
+
/* style inject SSR */
|
|
83748
|
+
|
|
83749
|
+
/* style inject shadow dom */
|
|
83750
|
+
|
|
83751
|
+
|
|
83752
|
+
|
|
83753
|
+
const __vue_component__$U = /*#__PURE__*/normalizeComponent(
|
|
83754
|
+
{ render: __vue_render__$N, staticRenderFns: __vue_staticRenderFns__$N },
|
|
83755
|
+
__vue_inject_styles__$U,
|
|
83756
|
+
__vue_script__$T,
|
|
83757
|
+
__vue_scope_id__$U,
|
|
83758
|
+
__vue_is_functional_template__$U,
|
|
83759
|
+
__vue_module_identifier__$U,
|
|
83760
|
+
false,
|
|
83761
|
+
undefined,
|
|
83762
|
+
undefined,
|
|
83763
|
+
undefined
|
|
83764
|
+
);
|
|
83765
|
+
|
|
83766
|
+
//
|
|
83767
|
+
var script$U = {
|
|
83715
83768
|
extends: __vue_component__$T,
|
|
83769
|
+
title: 'CReportChart',
|
|
83770
|
+
components: {
|
|
83771
|
+
CChart: __vue_component__$U
|
|
83772
|
+
},
|
|
83716
83773
|
|
|
83717
83774
|
data() {
|
|
83718
83775
|
return {
|
|
83719
|
-
chart: undefined
|
|
83720
|
-
plugins: [Funnel, colorschemes]
|
|
83776
|
+
chart: undefined
|
|
83721
83777
|
};
|
|
83722
83778
|
},
|
|
83723
83779
|
|
|
83724
|
-
computed: {
|
|
83725
|
-
localDataframe() {
|
|
83726
|
-
return this.dataframes[0];
|
|
83727
|
-
},
|
|
83728
|
-
|
|
83729
|
-
size() {
|
|
83730
|
-
return this.displayElement ? this.displayElement.meta.size || 100 : 100;
|
|
83731
|
-
}
|
|
83732
|
-
|
|
83733
|
-
},
|
|
83734
83780
|
watch: {
|
|
83735
83781
|
dataframes: {
|
|
83736
83782
|
deep: true,
|
|
83737
|
-
|
|
83738
|
-
handler(dataframes = []) {
|
|
83739
|
-
if (dataframes.length) {
|
|
83740
|
-
this.$nextTick(() => {
|
|
83741
|
-
this.renderChart();
|
|
83742
|
-
});
|
|
83743
|
-
}
|
|
83744
|
-
}
|
|
83745
|
-
|
|
83746
|
-
},
|
|
83747
|
-
size: {
|
|
83748
83783
|
immediate: true,
|
|
83749
|
-
deep: true,
|
|
83750
83784
|
|
|
83751
83785
|
handler() {
|
|
83752
83786
|
this.$nextTick(() => {
|
|
@@ -83758,35 +83792,27 @@ var script$T = {
|
|
|
83758
83792
|
},
|
|
83759
83793
|
methods: {
|
|
83760
83794
|
renderChart() {
|
|
83761
|
-
|
|
83762
|
-
this.chart.destroy();
|
|
83763
|
-
}
|
|
83764
|
-
|
|
83765
|
-
const ctx = this.$refs.chart.getContext('2d');
|
|
83766
|
-
const chartConfig = this.options.getChartConfiguration(this.dataframes);
|
|
83767
|
-
this.chart = new Chart(ctx, { ...chartConfig,
|
|
83768
|
-
plugins: this.plugins
|
|
83769
|
-
});
|
|
83795
|
+
this.chart = this.options.getChartConfiguration(this.dataframes);
|
|
83770
83796
|
}
|
|
83771
83797
|
|
|
83772
83798
|
}
|
|
83773
83799
|
};
|
|
83774
83800
|
|
|
83775
83801
|
/* script */
|
|
83776
|
-
const __vue_script__$
|
|
83802
|
+
const __vue_script__$U = script$U;
|
|
83777
83803
|
|
|
83778
83804
|
/* template */
|
|
83779
|
-
var __vue_render__$
|
|
83780
|
-
var __vue_staticRenderFns__$
|
|
83805
|
+
var __vue_render__$O = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.chart)?_c('c-chart',{staticClass:"p-1",attrs:{"chart":_vm.chart}}):_vm._e()};
|
|
83806
|
+
var __vue_staticRenderFns__$O = [];
|
|
83781
83807
|
|
|
83782
83808
|
/* style */
|
|
83783
|
-
const __vue_inject_styles__$
|
|
83809
|
+
const __vue_inject_styles__$V = undefined;
|
|
83784
83810
|
/* scoped */
|
|
83785
|
-
const __vue_scope_id__$
|
|
83811
|
+
const __vue_scope_id__$V = undefined;
|
|
83786
83812
|
/* module identifier */
|
|
83787
|
-
const __vue_module_identifier__$
|
|
83813
|
+
const __vue_module_identifier__$V = undefined;
|
|
83788
83814
|
/* functional template */
|
|
83789
|
-
const __vue_is_functional_template__$
|
|
83815
|
+
const __vue_is_functional_template__$V = false;
|
|
83790
83816
|
/* style inject */
|
|
83791
83817
|
|
|
83792
83818
|
/* style inject SSR */
|
|
@@ -83795,13 +83821,13 @@ var __vue_staticRenderFns__$N = [];
|
|
|
83795
83821
|
|
|
83796
83822
|
|
|
83797
83823
|
|
|
83798
|
-
const __vue_component__$
|
|
83799
|
-
{ render: __vue_render__$
|
|
83800
|
-
__vue_inject_styles__$
|
|
83801
|
-
__vue_script__$
|
|
83802
|
-
__vue_scope_id__$
|
|
83803
|
-
__vue_is_functional_template__$
|
|
83804
|
-
__vue_module_identifier__$
|
|
83824
|
+
const __vue_component__$V = /*#__PURE__*/normalizeComponent(
|
|
83825
|
+
{ render: __vue_render__$O, staticRenderFns: __vue_staticRenderFns__$O },
|
|
83826
|
+
__vue_inject_styles__$V,
|
|
83827
|
+
__vue_script__$U,
|
|
83828
|
+
__vue_scope_id__$V,
|
|
83829
|
+
__vue_is_functional_template__$V,
|
|
83830
|
+
__vue_module_identifier__$V,
|
|
83805
83831
|
false,
|
|
83806
83832
|
undefined,
|
|
83807
83833
|
undefined,
|
|
@@ -83809,7 +83835,7 @@ var __vue_staticRenderFns__$N = [];
|
|
|
83809
83835
|
);
|
|
83810
83836
|
|
|
83811
83837
|
//
|
|
83812
|
-
var script$
|
|
83838
|
+
var script$V = {
|
|
83813
83839
|
extends: __vue_component__$T,
|
|
83814
83840
|
|
|
83815
83841
|
data() {
|
|
@@ -83891,20 +83917,20 @@ var script$U = {
|
|
|
83891
83917
|
};
|
|
83892
83918
|
|
|
83893
83919
|
/* script */
|
|
83894
|
-
const __vue_script__$
|
|
83920
|
+
const __vue_script__$V = script$V;
|
|
83895
83921
|
|
|
83896
83922
|
/* template */
|
|
83897
|
-
var __vue_render__$
|
|
83898
|
-
var __vue_staticRenderFns__$
|
|
83923
|
+
var __vue_render__$P = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.options)?_c('div',{staticClass:"d-flex align-items-center justify-content-center overflow-hidden h-100 px-2 rounded",style:(_vm.style)},[_c('svg',{staticClass:"h-100 w-100 align-items-end d-flex",attrs:{"viewBox":_vm.viewbox,"width":"100%","height":"100%"}},[_c('text',{ref:"metricItem",attrs:{"y":"50%","x":"50%","text-anchor":"middle","dominant-baseline":"central","text-rendering":"geometricPrecision"}},[_vm._v("\n "+_vm._s(_vm.displayedMetric)+"\n ")])])]):_vm._e()};
|
|
83924
|
+
var __vue_staticRenderFns__$P = [];
|
|
83899
83925
|
|
|
83900
83926
|
/* style */
|
|
83901
|
-
const __vue_inject_styles__$
|
|
83927
|
+
const __vue_inject_styles__$W = undefined;
|
|
83902
83928
|
/* scoped */
|
|
83903
|
-
const __vue_scope_id__$
|
|
83929
|
+
const __vue_scope_id__$W = undefined;
|
|
83904
83930
|
/* module identifier */
|
|
83905
|
-
const __vue_module_identifier__$
|
|
83931
|
+
const __vue_module_identifier__$W = undefined;
|
|
83906
83932
|
/* functional template */
|
|
83907
|
-
const __vue_is_functional_template__$
|
|
83933
|
+
const __vue_is_functional_template__$W = false;
|
|
83908
83934
|
/* style inject */
|
|
83909
83935
|
|
|
83910
83936
|
/* style inject SSR */
|
|
@@ -83913,13 +83939,13 @@ var __vue_staticRenderFns__$O = [];
|
|
|
83913
83939
|
|
|
83914
83940
|
|
|
83915
83941
|
|
|
83916
|
-
const __vue_component__$
|
|
83917
|
-
{ render: __vue_render__$
|
|
83918
|
-
__vue_inject_styles__$
|
|
83919
|
-
__vue_script__$
|
|
83920
|
-
__vue_scope_id__$
|
|
83921
|
-
__vue_is_functional_template__$
|
|
83922
|
-
__vue_module_identifier__$
|
|
83942
|
+
const __vue_component__$W = /*#__PURE__*/normalizeComponent(
|
|
83943
|
+
{ render: __vue_render__$P, staticRenderFns: __vue_staticRenderFns__$P },
|
|
83944
|
+
__vue_inject_styles__$W,
|
|
83945
|
+
__vue_script__$V,
|
|
83946
|
+
__vue_scope_id__$W,
|
|
83947
|
+
__vue_is_functional_template__$W,
|
|
83948
|
+
__vue_module_identifier__$W,
|
|
83923
83949
|
false,
|
|
83924
83950
|
undefined,
|
|
83925
83951
|
undefined,
|
|
@@ -83927,7 +83953,7 @@ var __vue_staticRenderFns__$O = [];
|
|
|
83927
83953
|
);
|
|
83928
83954
|
|
|
83929
83955
|
//
|
|
83930
|
-
var script$
|
|
83956
|
+
var script$W = {
|
|
83931
83957
|
extends: __vue_component__$T,
|
|
83932
83958
|
|
|
83933
83959
|
data() {
|
|
@@ -84301,43 +84327,43 @@ var script$V = {
|
|
|
84301
84327
|
};
|
|
84302
84328
|
|
|
84303
84329
|
/* script */
|
|
84304
|
-
const __vue_script__$
|
|
84330
|
+
const __vue_script__$W = script$W;
|
|
84305
84331
|
|
|
84306
84332
|
/* template */
|
|
84307
|
-
var __vue_render__$
|
|
84333
|
+
var __vue_render__$Q = 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",class:{ 'pointer': !c.meta.sortKey.includes('.') },on:{"click":function($event){return _vm.handleSort(c.meta.sortKey)}}},[_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.sortKey.includes('.'))?_c('font-awesome-layers',{staticClass:"ml-2"},[_c('font-awesome-icon',{staticClass:"mb-1",style:({
|
|
84308
84334
|
color: _vm.sort.field === c.meta.sortKey && !_vm.sort.descending ? 'black' : 'grey',
|
|
84309
84335
|
}),attrs:{"icon":['fas', 'angle-up']}}),_vm._v(" "),_c('font-awesome-icon',{staticClass:"mt-1",style:({
|
|
84310
84336
|
color: _vm.sort.field === c.meta.sortKey && _vm.sort.descending ? 'black' : 'grey',
|
|
84311
84337
|
}),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:{
|
|
84312
84338
|
separator: !!(r[0] || {}).separator,
|
|
84313
84339
|
}},_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 p-1 rounded-0"},[_c('b-button-group',{staticClass:"ml-auto"},[_c('b-button',{staticClass:"d-flex align-items-center text-dark px-1",attrs:{"disabled":!_vm.hasPrevPage,"variant":"link"},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",attrs:{"disabled":!_vm.hasPrevPage,"variant":"link"},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 text-dark",attrs:{"disabled":!_vm.hasNextPage,"variant":"link"},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)};
|
|
84314
|
-
var __vue_staticRenderFns__$
|
|
84340
|
+
var __vue_staticRenderFns__$Q = [];
|
|
84315
84341
|
|
|
84316
84342
|
/* style */
|
|
84317
|
-
const __vue_inject_styles__$
|
|
84343
|
+
const __vue_inject_styles__$X = function (inject) {
|
|
84318
84344
|
if (!inject) return
|
|
84319
84345
|
inject("data-v-1a305c88_0", { source: ".foreign[data-v-1a305c88]{border:1px solid rgba(22,36,37,.8);border-top:0;border-bottom:0}.separator[data-v-1a305c88]{border-top:2px solid rgba(22,36,37,.5)}.card-rounded[data-v-1a305c88]{border-radius:1rem 1rem 0 0}", map: undefined, media: undefined });
|
|
84320
84346
|
|
|
84321
84347
|
};
|
|
84322
84348
|
/* scoped */
|
|
84323
|
-
const __vue_scope_id__$
|
|
84349
|
+
const __vue_scope_id__$X = "data-v-1a305c88";
|
|
84324
84350
|
/* module identifier */
|
|
84325
|
-
const __vue_module_identifier__$
|
|
84351
|
+
const __vue_module_identifier__$X = undefined;
|
|
84326
84352
|
/* functional template */
|
|
84327
|
-
const __vue_is_functional_template__$
|
|
84353
|
+
const __vue_is_functional_template__$X = false;
|
|
84328
84354
|
/* style inject SSR */
|
|
84329
84355
|
|
|
84330
84356
|
/* style inject shadow dom */
|
|
84331
84357
|
|
|
84332
84358
|
|
|
84333
84359
|
|
|
84334
|
-
const __vue_component__$
|
|
84335
|
-
{ render: __vue_render__$
|
|
84336
|
-
__vue_inject_styles__$
|
|
84337
|
-
__vue_script__$
|
|
84338
|
-
__vue_scope_id__$
|
|
84339
|
-
__vue_is_functional_template__$
|
|
84340
|
-
__vue_module_identifier__$
|
|
84360
|
+
const __vue_component__$X = /*#__PURE__*/normalizeComponent(
|
|
84361
|
+
{ render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
|
|
84362
|
+
__vue_inject_styles__$X,
|
|
84363
|
+
__vue_script__$W,
|
|
84364
|
+
__vue_scope_id__$X,
|
|
84365
|
+
__vue_is_functional_template__$X,
|
|
84366
|
+
__vue_module_identifier__$X,
|
|
84341
84367
|
false,
|
|
84342
84368
|
createInjector,
|
|
84343
84369
|
undefined,
|
|
@@ -84345,25 +84371,25 @@ var __vue_staticRenderFns__$P = [];
|
|
|
84345
84371
|
);
|
|
84346
84372
|
|
|
84347
84373
|
//
|
|
84348
|
-
var script$
|
|
84374
|
+
var script$X = {
|
|
84349
84375
|
extends: __vue_component__$T
|
|
84350
84376
|
};
|
|
84351
84377
|
|
|
84352
84378
|
/* script */
|
|
84353
|
-
const __vue_script__$
|
|
84379
|
+
const __vue_script__$X = script$X;
|
|
84354
84380
|
|
|
84355
84381
|
/* template */
|
|
84356
|
-
var __vue_render__$
|
|
84357
|
-
var __vue_staticRenderFns__$
|
|
84382
|
+
var __vue_render__$R = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.options)?_c('div',{staticClass:"p-2",domProps:{"innerHTML":_vm._s(_vm.options.value)}}):_vm._e()};
|
|
84383
|
+
var __vue_staticRenderFns__$R = [];
|
|
84358
84384
|
|
|
84359
84385
|
/* style */
|
|
84360
|
-
const __vue_inject_styles__$
|
|
84386
|
+
const __vue_inject_styles__$Y = undefined;
|
|
84361
84387
|
/* scoped */
|
|
84362
|
-
const __vue_scope_id__$
|
|
84388
|
+
const __vue_scope_id__$Y = undefined;
|
|
84363
84389
|
/* module identifier */
|
|
84364
|
-
const __vue_module_identifier__$
|
|
84390
|
+
const __vue_module_identifier__$Y = undefined;
|
|
84365
84391
|
/* functional template */
|
|
84366
|
-
const __vue_is_functional_template__$
|
|
84392
|
+
const __vue_is_functional_template__$Y = false;
|
|
84367
84393
|
/* style inject */
|
|
84368
84394
|
|
|
84369
84395
|
/* style inject SSR */
|
|
@@ -84372,13 +84398,13 @@ var __vue_staticRenderFns__$Q = [];
|
|
|
84372
84398
|
|
|
84373
84399
|
|
|
84374
84400
|
|
|
84375
|
-
const __vue_component__$
|
|
84376
|
-
{ render: __vue_render__$
|
|
84377
|
-
__vue_inject_styles__$
|
|
84378
|
-
__vue_script__$
|
|
84379
|
-
__vue_scope_id__$
|
|
84380
|
-
__vue_is_functional_template__$
|
|
84381
|
-
__vue_module_identifier__$
|
|
84401
|
+
const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
|
|
84402
|
+
{ render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
|
|
84403
|
+
__vue_inject_styles__$Y,
|
|
84404
|
+
__vue_script__$X,
|
|
84405
|
+
__vue_scope_id__$Y,
|
|
84406
|
+
__vue_is_functional_template__$Y,
|
|
84407
|
+
__vue_module_identifier__$Y,
|
|
84382
84408
|
false,
|
|
84383
84409
|
undefined,
|
|
84384
84410
|
undefined,
|
|
@@ -84386,7 +84412,7 @@ var __vue_staticRenderFns__$Q = [];
|
|
|
84386
84412
|
);
|
|
84387
84413
|
|
|
84388
84414
|
//
|
|
84389
|
-
var script$
|
|
84415
|
+
var script$Y = {
|
|
84390
84416
|
components: {
|
|
84391
84417
|
VueSelect: vueSelect.VueSelect
|
|
84392
84418
|
},
|
|
@@ -84395,6 +84421,10 @@ var script$X = {
|
|
|
84395
84421
|
type: String,
|
|
84396
84422
|
default: ''
|
|
84397
84423
|
},
|
|
84424
|
+
options: {
|
|
84425
|
+
type: Array,
|
|
84426
|
+
required: true
|
|
84427
|
+
},
|
|
84398
84428
|
placeholder: {
|
|
84399
84429
|
type: String,
|
|
84400
84430
|
default: ''
|
|
@@ -84409,66 +84439,83 @@ var script$X = {
|
|
|
84409
84439
|
default: false
|
|
84410
84440
|
}
|
|
84411
84441
|
},
|
|
84442
|
+
computed: {
|
|
84443
|
+
_value() {
|
|
84444
|
+
return this.value === cortezaJs.NoID ? undefined : this.value;
|
|
84445
|
+
},
|
|
84412
84446
|
|
|
84413
|
-
|
|
84414
|
-
|
|
84415
|
-
|
|
84416
|
-
};
|
|
84417
|
-
},
|
|
84447
|
+
_disabled() {
|
|
84448
|
+
return this.disabled || this.maxLevel === cortezaJs.NoID;
|
|
84449
|
+
},
|
|
84418
84450
|
|
|
84419
|
-
computed: {
|
|
84420
84451
|
sensitivityLevels() {
|
|
84452
|
+
if (this.maxLevel === cortezaJs.NoID) {
|
|
84453
|
+
return [];
|
|
84454
|
+
}
|
|
84455
|
+
|
|
84421
84456
|
if (this.maxLevel) {
|
|
84422
|
-
const maxLevelConnection = this.
|
|
84457
|
+
const maxLevelConnection = this.options.find(({
|
|
84423
84458
|
sensitivityLevelID
|
|
84424
84459
|
}) => sensitivityLevelID === this.maxLevel);
|
|
84425
84460
|
|
|
84426
84461
|
if (maxLevelConnection) {
|
|
84427
|
-
return this.
|
|
84462
|
+
return this.options.filter(({
|
|
84428
84463
|
level
|
|
84429
84464
|
}) => level <= maxLevelConnection.level);
|
|
84430
84465
|
}
|
|
84431
84466
|
}
|
|
84432
84467
|
|
|
84433
|
-
return this.
|
|
84468
|
+
return this.options;
|
|
84434
84469
|
}
|
|
84435
84470
|
|
|
84436
84471
|
},
|
|
84472
|
+
watch: {
|
|
84473
|
+
// If sensitivityLevels change because of maxLevel change, then assert if value is still allowed, otherwise reset it
|
|
84474
|
+
sensitivityLevels: {
|
|
84475
|
+
immediate: true,
|
|
84437
84476
|
|
|
84438
|
-
|
|
84439
|
-
|
|
84440
|
-
|
|
84441
|
-
|
|
84442
|
-
|
|
84443
|
-
|
|
84444
|
-
|
|
84477
|
+
handler() {
|
|
84478
|
+
const isValueCompatible = this.sensitivityLevels.some(({
|
|
84479
|
+
sensitivityLevelID
|
|
84480
|
+
}) => sensitivityLevelID === this.value);
|
|
84481
|
+
|
|
84482
|
+
if (!isValueCompatible) {
|
|
84483
|
+
this.$emit('input', cortezaJs.NoID);
|
|
84484
|
+
}
|
|
84485
|
+
}
|
|
84445
84486
|
|
|
84487
|
+
}
|
|
84488
|
+
},
|
|
84446
84489
|
methods: {
|
|
84447
84490
|
getLabel({
|
|
84448
84491
|
handle,
|
|
84449
84492
|
meta = {}
|
|
84450
84493
|
}) {
|
|
84451
84494
|
return meta.name || handle;
|
|
84495
|
+
},
|
|
84496
|
+
|
|
84497
|
+
onInput(event) {
|
|
84498
|
+
this.$emit('input', event ? event : cortezaJs.NoID);
|
|
84452
84499
|
}
|
|
84453
84500
|
|
|
84454
84501
|
}
|
|
84455
84502
|
};
|
|
84456
84503
|
|
|
84457
84504
|
/* script */
|
|
84458
|
-
const __vue_script__$
|
|
84505
|
+
const __vue_script__$Y = script$Y;
|
|
84459
84506
|
|
|
84460
84507
|
/* template */
|
|
84461
|
-
var __vue_render__$
|
|
84462
|
-
var __vue_staticRenderFns__$
|
|
84508
|
+
var __vue_render__$S = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vue-select',{key:"type",staticClass:"bg-white",attrs:{"value":_vm._value,"disabled":_vm._disabled,"options":_vm.sensitivityLevels,"get-option-label":_vm.getLabel,"placeholder":_vm.placeholder,"reduce":function (l) { return l.sensitivityLevelID; },"append-to-body":""},on:{"input":_vm.onInput}})};
|
|
84509
|
+
var __vue_staticRenderFns__$S = [];
|
|
84463
84510
|
|
|
84464
84511
|
/* style */
|
|
84465
|
-
const __vue_inject_styles__$
|
|
84512
|
+
const __vue_inject_styles__$Z = undefined;
|
|
84466
84513
|
/* scoped */
|
|
84467
|
-
const __vue_scope_id__$
|
|
84514
|
+
const __vue_scope_id__$Z = undefined;
|
|
84468
84515
|
/* module identifier */
|
|
84469
|
-
const __vue_module_identifier__$
|
|
84516
|
+
const __vue_module_identifier__$Z = undefined;
|
|
84470
84517
|
/* functional template */
|
|
84471
|
-
const __vue_is_functional_template__$
|
|
84518
|
+
const __vue_is_functional_template__$Z = false;
|
|
84472
84519
|
/* style inject */
|
|
84473
84520
|
|
|
84474
84521
|
/* style inject SSR */
|
|
@@ -84477,13 +84524,13 @@ var __vue_staticRenderFns__$R = [];
|
|
|
84477
84524
|
|
|
84478
84525
|
|
|
84479
84526
|
|
|
84480
|
-
const __vue_component__$
|
|
84481
|
-
{ render: __vue_render__$
|
|
84482
|
-
__vue_inject_styles__$
|
|
84483
|
-
__vue_script__$
|
|
84484
|
-
__vue_scope_id__$
|
|
84485
|
-
__vue_is_functional_template__$
|
|
84486
|
-
__vue_module_identifier__$
|
|
84527
|
+
const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
|
|
84528
|
+
{ render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
|
|
84529
|
+
__vue_inject_styles__$Z,
|
|
84530
|
+
__vue_script__$Y,
|
|
84531
|
+
__vue_scope_id__$Z,
|
|
84532
|
+
__vue_is_functional_template__$Z,
|
|
84533
|
+
__vue_module_identifier__$Z,
|
|
84487
84534
|
false,
|
|
84488
84535
|
undefined,
|
|
84489
84536
|
undefined,
|
|
@@ -84491,7 +84538,7 @@ var __vue_staticRenderFns__$R = [];
|
|
|
84491
84538
|
);
|
|
84492
84539
|
|
|
84493
84540
|
//
|
|
84494
|
-
var script$
|
|
84541
|
+
var script$Z = {
|
|
84495
84542
|
name: 'ResourceList',
|
|
84496
84543
|
components: {
|
|
84497
84544
|
CInputSearch: __vue_component__$e
|
|
@@ -84544,10 +84591,6 @@ var script$Y = {
|
|
|
84544
84591
|
type: Function,
|
|
84545
84592
|
default: () => true
|
|
84546
84593
|
},
|
|
84547
|
-
editRoute: {
|
|
84548
|
-
type: String,
|
|
84549
|
-
default: ''
|
|
84550
|
-
},
|
|
84551
84594
|
rowClass: {
|
|
84552
84595
|
type: Function,
|
|
84553
84596
|
default: () => {}
|
|
@@ -84674,24 +84717,24 @@ var script$Y = {
|
|
|
84674
84717
|
};
|
|
84675
84718
|
|
|
84676
84719
|
/* script */
|
|
84677
|
-
const __vue_script__$
|
|
84720
|
+
const __vue_script__$Z = script$Z;
|
|
84678
84721
|
|
|
84679
84722
|
/* template */
|
|
84680
|
-
var __vue_render__$
|
|
84723
|
+
var __vue_render__$T = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:"shadow-sm",attrs:{"no-body":"","header-bg-variant":"white"},scopedSlots:_vm._u([{key:"header",fn:function(){return [_c('b-container',{staticClass:"p-0",attrs:{"fluid":"","align-v":"center"}},[_c('b-row',[_c('b-col',{attrs:{"lg":"8"}},[_vm._t("header",null,{"selected":_vm.selected})],2),_vm._v(" "),(!_vm.hideSearch)?_c('b-col',[_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()],1)],1)]},proxy:true},{key:"footer",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-between"},[_c('div',{staticClass:"text-truncate"},[(!_vm.hideTotal)?_c('div',{staticClass:"text-nowrap font-weight-bold"},[(_vm.pagination.count > 1)?_c('span',[_vm._v("\n "+_vm._s(_vm.$t(("" + (_vm.translations.showingPagination)), _vm.getPagination))+"\n ")]):_c('span',[_vm._v("\n "+_vm._s(_vm.$t(("" + (_vm.translations.singlePluralPagination)), _vm.getPagination))+"\n ")])]):_vm._e()]),_vm._v(" "),(!_vm.hidePagination)?_c('b-button-group',[_c('b-button',{staticClass:"text-dark",attrs:{"disabled":_vm.hasPrevPage,"variant":"link"},on:{"click":function($event){return _vm.goToPage()}}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'angle-double-left']}})],1),_vm._v(" "),_c('b-button',{staticClass:"text-dark",attrs:{"disabled":_vm.hasPrevPage,"variant":"link"},on:{"click":function($event){return _vm.goToPage('prevPage')}}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'angle-left']}}),_vm._v("\n "+_vm._s(_vm.translations.prevPagination)+"\n ")],1),_vm._v(" "),_c('b-button',{staticClass:"text-dark",attrs:{"disabled":_vm.hasNextPage,"variant":"link"},on:{"click":function($event){return _vm.goToPage('nextPage')}}},[_vm._v("\n "+_vm._s(_vm.translations.nextPagination)+"\n "),_c('font-awesome-icon',{attrs:{"icon":['fas', 'angle-right']}})],1)],1):_vm._e()],1)]},proxy:true}],null,true)},[_vm._v(" "),_c('b-card-body',{staticClass:"p-0"},[_c('b-table',{ref:"resourceList",staticClass:"mb-0",attrs:{"id":"resource-list","hover":"","responsive":"","head-variant":"light","primary-key":_vm.primaryKey,"sort-by":_vm.sorting.sortBy,"sort-desc":_vm.sorting.sortDesc,"items":_vm._items,"fields":_vm._fields,"show-empty":"","no-sort-reset":"","tbody-tr-class":_vm.tableRowClasses,"no-local-sorting":""},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)},"row-clicked":function($event){return _vm.$emit('row-clicked', $event)}},scopedSlots:_vm._u([{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"},[_c('b-spinner'),_vm._v(" "),_c('h5',{staticClass:"mt-2 text-dark"},[_vm._v("\n "+_vm._s(_vm.translations.loading)+"\n ")])],1)]},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){
|
|
84681
84724
|
var item = ref.item;
|
|
84682
84725
|
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){
|
|
84683
84726
|
var item = ref.item;
|
|
84684
84727
|
return [_vm._t(field,null,{"item":item})]}}})],null,true)})],1)],1)};
|
|
84685
|
-
var __vue_staticRenderFns__$
|
|
84728
|
+
var __vue_staticRenderFns__$T = [];
|
|
84686
84729
|
|
|
84687
84730
|
/* style */
|
|
84688
|
-
const __vue_inject_styles__$
|
|
84731
|
+
const __vue_inject_styles__$_ = undefined;
|
|
84689
84732
|
/* scoped */
|
|
84690
|
-
const __vue_scope_id__$
|
|
84733
|
+
const __vue_scope_id__$_ = undefined;
|
|
84691
84734
|
/* module identifier */
|
|
84692
|
-
const __vue_module_identifier__$
|
|
84735
|
+
const __vue_module_identifier__$_ = undefined;
|
|
84693
84736
|
/* functional template */
|
|
84694
|
-
const __vue_is_functional_template__$
|
|
84737
|
+
const __vue_is_functional_template__$_ = false;
|
|
84695
84738
|
/* style inject */
|
|
84696
84739
|
|
|
84697
84740
|
/* style inject SSR */
|
|
@@ -84700,13 +84743,13 @@ var __vue_staticRenderFns__$S = [];
|
|
|
84700
84743
|
|
|
84701
84744
|
|
|
84702
84745
|
|
|
84703
|
-
const __vue_component__$
|
|
84704
|
-
{ render: __vue_render__$
|
|
84705
|
-
__vue_inject_styles__$
|
|
84706
|
-
__vue_script__$
|
|
84707
|
-
__vue_scope_id__$
|
|
84708
|
-
__vue_is_functional_template__$
|
|
84709
|
-
__vue_module_identifier__$
|
|
84746
|
+
const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
|
|
84747
|
+
{ render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
|
|
84748
|
+
__vue_inject_styles__$_,
|
|
84749
|
+
__vue_script__$Z,
|
|
84750
|
+
__vue_scope_id__$_,
|
|
84751
|
+
__vue_is_functional_template__$_,
|
|
84752
|
+
__vue_module_identifier__$_,
|
|
84710
84753
|
false,
|
|
84711
84754
|
undefined,
|
|
84712
84755
|
undefined,
|
|
@@ -84753,7 +84796,7 @@ function ExtractComponents(cat, ...path) {
|
|
|
84753
84796
|
}
|
|
84754
84797
|
|
|
84755
84798
|
//
|
|
84756
|
-
var script$
|
|
84799
|
+
var script$_ = {
|
|
84757
84800
|
name: 'ComponentList',
|
|
84758
84801
|
props: {
|
|
84759
84802
|
catalogue: {
|
|
@@ -84790,37 +84833,37 @@ var script$Z = {
|
|
|
84790
84833
|
};
|
|
84791
84834
|
|
|
84792
84835
|
/* script */
|
|
84793
|
-
const __vue_script__$
|
|
84836
|
+
const __vue_script__$_ = script$_;
|
|
84794
84837
|
|
|
84795
84838
|
/* template */
|
|
84796
|
-
var __vue_render__$
|
|
84797
|
-
var __vue_staticRenderFns__$
|
|
84839
|
+
var __vue_render__$U = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.root)?_c('h5',{staticClass:"mb-0"},[_vm._v("\n "+_vm._s(_vm.group)+"\n ")]):_vm._e(),_vm._v(" "),(_vm.subgroups.length > 0 || _vm.components.length > 0)?_c('div',[_vm._l((_vm.components),function(cmp,i){return _c('div',{key:i,staticClass:"component ml-2",on:{"click":function($event){return _vm.$emit('select', cmp)}}},[_vm._v("\n "+_vm._s(cmp.name || cmp.component.name || 'Untitled')+"\n "),(cmp.wip)?_c('b-badge',{staticClass:"float-right",attrs:{"variant":"warning"}},[_vm._v("\n wip\n ")]):_vm._e()],1)}),_vm._v(" "),_vm._l((_vm.subgroups),function(group){return _c('component-list',{key:group,staticClass:"my-3",attrs:{"catalogue":_vm.catalogue,"path":_vm.path.concat( [group])},on:{"select":function($event){return _vm.$emit('select', $event)}}})})],2):_vm._e()])};
|
|
84840
|
+
var __vue_staticRenderFns__$U = [];
|
|
84798
84841
|
|
|
84799
84842
|
/* style */
|
|
84800
|
-
const __vue_inject_styles__
|
|
84843
|
+
const __vue_inject_styles__$$ = function (inject) {
|
|
84801
84844
|
if (!inject) return
|
|
84802
84845
|
inject("data-v-8b2b254e_0", { source: ".component[data-v-8b2b254e]{cursor:pointer}", map: undefined, media: undefined });
|
|
84803
84846
|
|
|
84804
84847
|
};
|
|
84805
84848
|
/* scoped */
|
|
84806
|
-
const __vue_scope_id__
|
|
84849
|
+
const __vue_scope_id__$$ = "data-v-8b2b254e";
|
|
84807
84850
|
/* module identifier */
|
|
84808
|
-
const __vue_module_identifier__
|
|
84851
|
+
const __vue_module_identifier__$$ = undefined;
|
|
84809
84852
|
/* functional template */
|
|
84810
|
-
const __vue_is_functional_template__
|
|
84853
|
+
const __vue_is_functional_template__$$ = false;
|
|
84811
84854
|
/* style inject SSR */
|
|
84812
84855
|
|
|
84813
84856
|
/* style inject shadow dom */
|
|
84814
84857
|
|
|
84815
84858
|
|
|
84816
84859
|
|
|
84817
|
-
const __vue_component__
|
|
84818
|
-
{ render: __vue_render__$
|
|
84819
|
-
__vue_inject_styles__
|
|
84820
|
-
__vue_script__$
|
|
84821
|
-
__vue_scope_id__
|
|
84822
|
-
__vue_is_functional_template__
|
|
84823
|
-
__vue_module_identifier__
|
|
84860
|
+
const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
|
|
84861
|
+
{ render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
|
|
84862
|
+
__vue_inject_styles__$$,
|
|
84863
|
+
__vue_script__$_,
|
|
84864
|
+
__vue_scope_id__$$,
|
|
84865
|
+
__vue_is_functional_template__$$,
|
|
84866
|
+
__vue_module_identifier__$$,
|
|
84824
84867
|
false,
|
|
84825
84868
|
createInjector,
|
|
84826
84869
|
undefined,
|
|
@@ -84828,10 +84871,10 @@ var __vue_staticRenderFns__$T = [];
|
|
|
84828
84871
|
);
|
|
84829
84872
|
|
|
84830
84873
|
//
|
|
84831
|
-
var script
|
|
84874
|
+
var script$$ = {
|
|
84832
84875
|
name: 'C3',
|
|
84833
84876
|
components: {
|
|
84834
|
-
ComponentList: __vue_component__
|
|
84877
|
+
ComponentList: __vue_component__$$
|
|
84835
84878
|
},
|
|
84836
84879
|
props: {
|
|
84837
84880
|
catalogue: {
|
|
@@ -84892,37 +84935,37 @@ var script$_ = {
|
|
|
84892
84935
|
};
|
|
84893
84936
|
|
|
84894
84937
|
/* script */
|
|
84895
|
-
const __vue_script__
|
|
84938
|
+
const __vue_script__$$ = script$$;
|
|
84896
84939
|
|
|
84897
84940
|
/* template */
|
|
84898
|
-
var __vue_render__$
|
|
84899
|
-
var __vue_staticRenderFns__$
|
|
84941
|
+
var __vue_render__$V = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"layout"},[_c('aside',{staticClass:"sidebar p-2"},[_c('h5',{staticClass:"border-bottom"},[_vm._v("\n C3: Component Catalogue\n ")]),_vm._v(" "),_c('component-list',{attrs:{"catalogue":_vm.catalogue},on:{"select":function($event){return _vm.setCurrent($event)}}})],1),_vm._v(" "),_c('main',{staticClass:"p-5"},[(_vm.current)?_c(_vm.current.component,_vm._b({tag:"component"},'component',_vm.current.props,false)):_c('p',{staticClass:"text-center"},[_vm._v("\n Select a component from the C3 Catalogue and start hacking :)\n ")])],1),_vm._v(" "),(_vm.current)?_c('div',{staticClass:"controls px-5 py-2 mt-2"},[_vm._l((_vm.controlGroups),function(cg,g){return _c('div',{key:("control-group-" + g),staticClass:"control-group mr-2"},[_c('h3',[_vm._v("\n Controls\n ")]),_vm._v(" "),_vm._l((cg),function(c,i){return _c(c.component,_vm._b({key:i,tag:"component",attrs:{"value":c.value(_vm.current.props)},on:{"update":function($event){return c.update(_vm.current.props, $event)}}},'component',c.props,false))})],2)}),_vm._v(" "),(_vm.current.scenarios)?_c('div',{staticClass:"control-group float-right"},[_c('h3',[_vm._v("\n Pre-set controls\n ")]),_vm._v(" "),_c('ul',{staticClass:"pl-0"},_vm._l((_vm.current.scenarios),function(s,i){return _c('li',{key:i,staticClass:"list-unstyled scenario",on:{"click":function($event){return _vm.setScenario(s)}}},[_vm._v("\n "+_vm._s(s.label)+"\n ")])}),0)]):_vm._e()],2):_vm._e()])};
|
|
84942
|
+
var __vue_staticRenderFns__$V = [];
|
|
84900
84943
|
|
|
84901
84944
|
/* style */
|
|
84902
|
-
const __vue_inject_styles__
|
|
84945
|
+
const __vue_inject_styles__$10 = function (inject) {
|
|
84903
84946
|
if (!inject) return
|
|
84904
84947
|
inject("data-v-2c86815c_0", { source: ".layout{height:100vh;width:100vw;display:grid;grid-template-rows:auto 400px;grid-template-columns:300px auto;align-content:stretch;grid-template-areas:\"side main\" \"side controls\"}.layout aside{grid-area:side;overflow:auto}.layout main{grid-area:main;background-image:linear-gradient(135deg,#f3f3f5 21.43%,#fff 21.43%,#fff 50%,#f3f3f5 50%,#f3f3f5 71.43%,#fff 71.43%,#fff 100%);background-size:35px 35px;overflow:auto}.layout .controls{grid-area:controls;overflow:auto}.layout .controls .control-group{float:left}.layout .scenario{cursor:pointer}", map: undefined, media: undefined });
|
|
84905
84948
|
|
|
84906
84949
|
};
|
|
84907
84950
|
/* scoped */
|
|
84908
|
-
const __vue_scope_id__
|
|
84951
|
+
const __vue_scope_id__$10 = undefined;
|
|
84909
84952
|
/* module identifier */
|
|
84910
|
-
const __vue_module_identifier__
|
|
84953
|
+
const __vue_module_identifier__$10 = undefined;
|
|
84911
84954
|
/* functional template */
|
|
84912
|
-
const __vue_is_functional_template__
|
|
84955
|
+
const __vue_is_functional_template__$10 = false;
|
|
84913
84956
|
/* style inject SSR */
|
|
84914
84957
|
|
|
84915
84958
|
/* style inject shadow dom */
|
|
84916
84959
|
|
|
84917
84960
|
|
|
84918
84961
|
|
|
84919
|
-
const __vue_component__
|
|
84920
|
-
{ render: __vue_render__$
|
|
84921
|
-
__vue_inject_styles__
|
|
84922
|
-
__vue_script__
|
|
84923
|
-
__vue_scope_id__
|
|
84924
|
-
__vue_is_functional_template__
|
|
84925
|
-
__vue_module_identifier__
|
|
84962
|
+
const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
|
|
84963
|
+
{ render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
|
|
84964
|
+
__vue_inject_styles__$10,
|
|
84965
|
+
__vue_script__$$,
|
|
84966
|
+
__vue_scope_id__$10,
|
|
84967
|
+
__vue_is_functional_template__$10,
|
|
84968
|
+
__vue_module_identifier__$10,
|
|
84926
84969
|
false,
|
|
84927
84970
|
createInjector,
|
|
84928
84971
|
undefined,
|
|
@@ -84940,7 +84983,7 @@ var __vue_staticRenderFns__$U = [];
|
|
|
84940
84983
|
//
|
|
84941
84984
|
//
|
|
84942
84985
|
//
|
|
84943
|
-
var script
|
|
84986
|
+
var script$10 = {
|
|
84944
84987
|
props: {
|
|
84945
84988
|
label: {
|
|
84946
84989
|
required: true,
|
|
@@ -84954,20 +84997,20 @@ var script$$ = {
|
|
|
84954
84997
|
};
|
|
84955
84998
|
|
|
84956
84999
|
/* script */
|
|
84957
|
-
const __vue_script__
|
|
85000
|
+
const __vue_script__$10 = script$10;
|
|
84958
85001
|
|
|
84959
85002
|
/* template */
|
|
84960
|
-
var __vue_render__$
|
|
84961
|
-
var __vue_staticRenderFns__$
|
|
85003
|
+
var __vue_render__$W = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form-group',{attrs:{"label":_vm.label}},[_c('b-form-input',{attrs:{"value":_vm.value},on:{"update":function($event){return _vm.$emit('update', $event)}}})],1)};
|
|
85004
|
+
var __vue_staticRenderFns__$W = [];
|
|
84962
85005
|
|
|
84963
85006
|
/* style */
|
|
84964
|
-
const __vue_inject_styles__$
|
|
85007
|
+
const __vue_inject_styles__$11 = undefined;
|
|
84965
85008
|
/* scoped */
|
|
84966
|
-
const __vue_scope_id__$
|
|
85009
|
+
const __vue_scope_id__$11 = undefined;
|
|
84967
85010
|
/* module identifier */
|
|
84968
|
-
const __vue_module_identifier__$
|
|
85011
|
+
const __vue_module_identifier__$11 = undefined;
|
|
84969
85012
|
/* functional template */
|
|
84970
|
-
const __vue_is_functional_template__$
|
|
85013
|
+
const __vue_is_functional_template__$11 = false;
|
|
84971
85014
|
/* style inject */
|
|
84972
85015
|
|
|
84973
85016
|
/* style inject SSR */
|
|
@@ -84976,13 +85019,13 @@ var __vue_staticRenderFns__$V = [];
|
|
|
84976
85019
|
|
|
84977
85020
|
|
|
84978
85021
|
|
|
84979
|
-
const __vue_component__$
|
|
84980
|
-
{ render: __vue_render__$
|
|
84981
|
-
__vue_inject_styles__$
|
|
84982
|
-
__vue_script__
|
|
84983
|
-
__vue_scope_id__$
|
|
84984
|
-
__vue_is_functional_template__$
|
|
84985
|
-
__vue_module_identifier__$
|
|
85022
|
+
const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
|
|
85023
|
+
{ render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
|
|
85024
|
+
__vue_inject_styles__$11,
|
|
85025
|
+
__vue_script__$10,
|
|
85026
|
+
__vue_scope_id__$11,
|
|
85027
|
+
__vue_is_functional_template__$11,
|
|
85028
|
+
__vue_module_identifier__$11,
|
|
84986
85029
|
false,
|
|
84987
85030
|
undefined,
|
|
84988
85031
|
undefined,
|
|
@@ -85000,7 +85043,7 @@ var __vue_staticRenderFns__$V = [];
|
|
|
85000
85043
|
//
|
|
85001
85044
|
//
|
|
85002
85045
|
//
|
|
85003
|
-
var script$
|
|
85046
|
+
var script$11 = {
|
|
85004
85047
|
props: {
|
|
85005
85048
|
label: {
|
|
85006
85049
|
required: true,
|
|
@@ -85014,20 +85057,20 @@ var script$10 = {
|
|
|
85014
85057
|
};
|
|
85015
85058
|
|
|
85016
85059
|
/* script */
|
|
85017
|
-
const __vue_script__$
|
|
85060
|
+
const __vue_script__$11 = script$11;
|
|
85018
85061
|
|
|
85019
85062
|
/* template */
|
|
85020
|
-
var __vue_render__$
|
|
85021
|
-
var __vue_staticRenderFns__$
|
|
85063
|
+
var __vue_render__$X = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form-group',{attrs:{"label":_vm.label}},[_c('b-form-textarea',{attrs:{"value":_vm.value},on:{"update":function($event){return _vm.$emit('update', $event)}}})],1)};
|
|
85064
|
+
var __vue_staticRenderFns__$X = [];
|
|
85022
85065
|
|
|
85023
85066
|
/* style */
|
|
85024
|
-
const __vue_inject_styles__$
|
|
85067
|
+
const __vue_inject_styles__$12 = undefined;
|
|
85025
85068
|
/* scoped */
|
|
85026
|
-
const __vue_scope_id__$
|
|
85069
|
+
const __vue_scope_id__$12 = undefined;
|
|
85027
85070
|
/* module identifier */
|
|
85028
|
-
const __vue_module_identifier__$
|
|
85071
|
+
const __vue_module_identifier__$12 = undefined;
|
|
85029
85072
|
/* functional template */
|
|
85030
|
-
const __vue_is_functional_template__$
|
|
85073
|
+
const __vue_is_functional_template__$12 = false;
|
|
85031
85074
|
/* style inject */
|
|
85032
85075
|
|
|
85033
85076
|
/* style inject SSR */
|
|
@@ -85036,13 +85079,13 @@ var __vue_staticRenderFns__$W = [];
|
|
|
85036
85079
|
|
|
85037
85080
|
|
|
85038
85081
|
|
|
85039
|
-
const __vue_component__$
|
|
85040
|
-
{ render: __vue_render__$
|
|
85041
|
-
__vue_inject_styles__$
|
|
85042
|
-
__vue_script__$
|
|
85043
|
-
__vue_scope_id__$
|
|
85044
|
-
__vue_is_functional_template__$
|
|
85045
|
-
__vue_module_identifier__$
|
|
85082
|
+
const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
|
|
85083
|
+
{ render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
|
|
85084
|
+
__vue_inject_styles__$12,
|
|
85085
|
+
__vue_script__$11,
|
|
85086
|
+
__vue_scope_id__$12,
|
|
85087
|
+
__vue_is_functional_template__$12,
|
|
85088
|
+
__vue_module_identifier__$12,
|
|
85046
85089
|
false,
|
|
85047
85090
|
undefined,
|
|
85048
85091
|
undefined,
|
|
@@ -85059,7 +85102,7 @@ var __vue_staticRenderFns__$W = [];
|
|
|
85059
85102
|
//
|
|
85060
85103
|
//
|
|
85061
85104
|
//
|
|
85062
|
-
var script$
|
|
85105
|
+
var script$12 = {
|
|
85063
85106
|
props: {
|
|
85064
85107
|
label: {
|
|
85065
85108
|
required: true,
|
|
@@ -85073,20 +85116,20 @@ var script$11 = {
|
|
|
85073
85116
|
};
|
|
85074
85117
|
|
|
85075
85118
|
/* script */
|
|
85076
|
-
const __vue_script__$
|
|
85119
|
+
const __vue_script__$12 = script$12;
|
|
85077
85120
|
|
|
85078
85121
|
/* template */
|
|
85079
|
-
var __vue_render__$
|
|
85080
|
-
var __vue_staticRenderFns__$
|
|
85122
|
+
var __vue_render__$Y = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form-group',[_c('b-form-checkbox',{attrs:{"checked":_vm.value},on:{"change":function($event){return _vm.$emit('update', $event)}}},[_vm._v("\n "+_vm._s(_vm.label)+"\n ")])],1)};
|
|
85123
|
+
var __vue_staticRenderFns__$Y = [];
|
|
85081
85124
|
|
|
85082
85125
|
/* style */
|
|
85083
|
-
const __vue_inject_styles__$
|
|
85126
|
+
const __vue_inject_styles__$13 = undefined;
|
|
85084
85127
|
/* scoped */
|
|
85085
|
-
const __vue_scope_id__$
|
|
85128
|
+
const __vue_scope_id__$13 = undefined;
|
|
85086
85129
|
/* module identifier */
|
|
85087
|
-
const __vue_module_identifier__$
|
|
85130
|
+
const __vue_module_identifier__$13 = undefined;
|
|
85088
85131
|
/* functional template */
|
|
85089
|
-
const __vue_is_functional_template__$
|
|
85132
|
+
const __vue_is_functional_template__$13 = false;
|
|
85090
85133
|
/* style inject */
|
|
85091
85134
|
|
|
85092
85135
|
/* style inject SSR */
|
|
@@ -85095,13 +85138,13 @@ var __vue_staticRenderFns__$X = [];
|
|
|
85095
85138
|
|
|
85096
85139
|
|
|
85097
85140
|
|
|
85098
|
-
const __vue_component__$
|
|
85099
|
-
{ render: __vue_render__$
|
|
85100
|
-
__vue_inject_styles__$
|
|
85101
|
-
__vue_script__$
|
|
85102
|
-
__vue_scope_id__$
|
|
85103
|
-
__vue_is_functional_template__$
|
|
85104
|
-
__vue_module_identifier__$
|
|
85141
|
+
const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
|
|
85142
|
+
{ render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
|
|
85143
|
+
__vue_inject_styles__$13,
|
|
85144
|
+
__vue_script__$12,
|
|
85145
|
+
__vue_scope_id__$13,
|
|
85146
|
+
__vue_is_functional_template__$13,
|
|
85147
|
+
__vue_module_identifier__$13,
|
|
85105
85148
|
false,
|
|
85106
85149
|
undefined,
|
|
85107
85150
|
undefined,
|
|
@@ -85120,7 +85163,7 @@ var __vue_staticRenderFns__$X = [];
|
|
|
85120
85163
|
//
|
|
85121
85164
|
//
|
|
85122
85165
|
//
|
|
85123
|
-
var script$
|
|
85166
|
+
var script$13 = {
|
|
85124
85167
|
props: {
|
|
85125
85168
|
label: {
|
|
85126
85169
|
required: true,
|
|
@@ -85138,20 +85181,20 @@ var script$12 = {
|
|
|
85138
85181
|
};
|
|
85139
85182
|
|
|
85140
85183
|
/* script */
|
|
85141
|
-
const __vue_script__$
|
|
85184
|
+
const __vue_script__$13 = script$13;
|
|
85142
85185
|
|
|
85143
85186
|
/* template */
|
|
85144
|
-
var __vue_render__$
|
|
85145
|
-
var __vue_staticRenderFns__$
|
|
85187
|
+
var __vue_render__$Z = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form-group',{attrs:{"label":_vm.label}},[_c('b-form-select',{attrs:{"value":_vm.value,"options":_vm.options},on:{"input":function($event){return _vm.$emit('update', $event)}}})],1)};
|
|
85188
|
+
var __vue_staticRenderFns__$Z = [];
|
|
85146
85189
|
|
|
85147
85190
|
/* style */
|
|
85148
|
-
const __vue_inject_styles__$
|
|
85191
|
+
const __vue_inject_styles__$14 = undefined;
|
|
85149
85192
|
/* scoped */
|
|
85150
|
-
const __vue_scope_id__$
|
|
85193
|
+
const __vue_scope_id__$14 = undefined;
|
|
85151
85194
|
/* module identifier */
|
|
85152
|
-
const __vue_module_identifier__$
|
|
85195
|
+
const __vue_module_identifier__$14 = undefined;
|
|
85153
85196
|
/* functional template */
|
|
85154
|
-
const __vue_is_functional_template__$
|
|
85197
|
+
const __vue_is_functional_template__$14 = false;
|
|
85155
85198
|
/* style inject */
|
|
85156
85199
|
|
|
85157
85200
|
/* style inject SSR */
|
|
@@ -85160,13 +85203,13 @@ var __vue_staticRenderFns__$Y = [];
|
|
|
85160
85203
|
|
|
85161
85204
|
|
|
85162
85205
|
|
|
85163
|
-
const __vue_component__$
|
|
85164
|
-
{ render: __vue_render__$
|
|
85165
|
-
__vue_inject_styles__$
|
|
85166
|
-
__vue_script__$
|
|
85167
|
-
__vue_scope_id__$
|
|
85168
|
-
__vue_is_functional_template__$
|
|
85169
|
-
__vue_module_identifier__$
|
|
85206
|
+
const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
|
|
85207
|
+
{ render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
|
|
85208
|
+
__vue_inject_styles__$14,
|
|
85209
|
+
__vue_script__$13,
|
|
85210
|
+
__vue_scope_id__$14,
|
|
85211
|
+
__vue_is_functional_template__$14,
|
|
85212
|
+
__vue_module_identifier__$14,
|
|
85170
85213
|
false,
|
|
85171
85214
|
undefined,
|
|
85172
85215
|
undefined,
|
|
@@ -85188,16 +85231,16 @@ function generic(component, { handler, props }) {
|
|
|
85188
85231
|
props }, handler);
|
|
85189
85232
|
}
|
|
85190
85233
|
function input(label, handler) {
|
|
85191
|
-
return generic(__vue_component__$
|
|
85234
|
+
return generic(__vue_component__$11, { handler, props: { label } });
|
|
85192
85235
|
}
|
|
85193
85236
|
function textarea(label, handler) {
|
|
85194
|
-
return generic(__vue_component__$
|
|
85237
|
+
return generic(__vue_component__$12, { handler, props: { label } });
|
|
85195
85238
|
}
|
|
85196
85239
|
function checkbox(label, handler) {
|
|
85197
|
-
return generic(__vue_component__$
|
|
85240
|
+
return generic(__vue_component__$13, { handler, props: { label } });
|
|
85198
85241
|
}
|
|
85199
85242
|
function select(label, handler, options) {
|
|
85200
|
-
return generic(__vue_component__$
|
|
85243
|
+
return generic(__vue_component__$14, {
|
|
85201
85244
|
handler,
|
|
85202
85245
|
props: {
|
|
85203
85246
|
label,
|
|
@@ -85216,7 +85259,7 @@ var controls = /*#__PURE__*/Object.freeze({
|
|
|
85216
85259
|
});
|
|
85217
85260
|
|
|
85218
85261
|
var index$2 = {
|
|
85219
|
-
View: __vue_component__
|
|
85262
|
+
View: __vue_component__$10,
|
|
85220
85263
|
controls,
|
|
85221
85264
|
};
|
|
85222
85265
|
|
|
@@ -85249,12 +85292,13 @@ var index$3 = /*#__PURE__*/Object.freeze({
|
|
|
85249
85292
|
CReminderSidebar: __vue_component__$Q,
|
|
85250
85293
|
CItemPicker: __vue_component__$S,
|
|
85251
85294
|
CItemPickerItem: __vue_component__$R,
|
|
85252
|
-
CReportChart: __vue_component__$
|
|
85253
|
-
CReportMetric: __vue_component__$
|
|
85254
|
-
CReportTable: __vue_component__$
|
|
85255
|
-
CReportText: __vue_component__$
|
|
85256
|
-
CSensitivityLevelPicker: __vue_component__$
|
|
85257
|
-
CResourceList: __vue_component__$
|
|
85295
|
+
CReportChart: __vue_component__$V,
|
|
85296
|
+
CReportMetric: __vue_component__$W,
|
|
85297
|
+
CReportTable: __vue_component__$X,
|
|
85298
|
+
CReportText: __vue_component__$Y,
|
|
85299
|
+
CSensitivityLevelPicker: __vue_component__$Z,
|
|
85300
|
+
CResourceList: __vue_component__$_,
|
|
85301
|
+
CChart: __vue_component__$U,
|
|
85258
85302
|
C3: index$2,
|
|
85259
85303
|
CPrompts: __vue_component__$D,
|
|
85260
85304
|
CPromptModal: __vue_component__$C,
|