@cortezaproject/corteza-vue 2022.9.0-dev.3 → 2022.9.0-rc.1
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 +12 -12
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -79964,7 +79964,7 @@ var script$r = {
|
|
|
79964
79964
|
resource,
|
|
79965
79965
|
roleID,
|
|
79966
79966
|
userID
|
|
79967
|
-
}).then(this.normalizeRules).finally(() => {
|
|
79967
|
+
}).then(this.normalizeRules, true).finally(() => {
|
|
79968
79968
|
this.processing = false;
|
|
79969
79969
|
});
|
|
79970
79970
|
},
|
|
@@ -80039,7 +80039,7 @@ var script$r = {
|
|
|
80039
80039
|
}
|
|
80040
80040
|
},
|
|
80041
80041
|
|
|
80042
|
-
normalizeRules(rr) {
|
|
80042
|
+
normalizeRules(rr, fallback = false) {
|
|
80043
80043
|
const inherit = 'inherit'; // merges roleRules (subset) with list of all permissions
|
|
80044
80044
|
|
|
80045
80045
|
const findCurrent = ({
|
|
@@ -80052,12 +80052,12 @@ var script$r = {
|
|
|
80052
80052
|
|
|
80053
80053
|
let {
|
|
80054
80054
|
resolution,
|
|
80055
|
-
access =
|
|
80055
|
+
access = inherit
|
|
80056
80056
|
} = rr.find(r => r.resource === resource && r.operation === operation) || {};
|
|
80057
80057
|
|
|
80058
80058
|
if (resolution === 'unknown-context') {
|
|
80059
80059
|
access = 'unknown-context';
|
|
80060
|
-
} else if (access ===
|
|
80060
|
+
} else if (fallback && access === inherit) {
|
|
80061
80061
|
access = 'deny';
|
|
80062
80062
|
}
|
|
80063
80063
|
|
|
@@ -80160,12 +80160,12 @@ var __vue_staticRenderFns__$o = [];
|
|
|
80160
80160
|
/* style */
|
|
80161
80161
|
const __vue_inject_styles__$s = function (inject) {
|
|
80162
80162
|
if (!inject) return
|
|
80163
|
-
inject("data-v-
|
|
80164
|
-
,inject("data-v-
|
|
80163
|
+
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 })
|
|
80164
|
+
,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 });
|
|
80165
80165
|
|
|
80166
80166
|
};
|
|
80167
80167
|
/* scoped */
|
|
80168
|
-
const __vue_scope_id__$s = "data-v-
|
|
80168
|
+
const __vue_scope_id__$s = "data-v-48c9ff94";
|
|
80169
80169
|
/* module identifier */
|
|
80170
80170
|
const __vue_module_identifier__$s = undefined;
|
|
80171
80171
|
/* functional template */
|
|
@@ -83612,7 +83612,7 @@ var script$R = {
|
|
|
83612
83612
|
const __vue_script__$R = script$R;
|
|
83613
83613
|
|
|
83614
83614
|
/* template */
|
|
83615
|
-
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-
|
|
83615
|
+
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)};
|
|
83616
83616
|
var __vue_staticRenderFns__$M = [];
|
|
83617
83617
|
|
|
83618
83618
|
/* style */
|
|
@@ -83724,7 +83724,7 @@ var script$T = {
|
|
|
83724
83724
|
const __vue_script__$T = script$T;
|
|
83725
83725
|
|
|
83726
83726
|
/* template */
|
|
83727
|
-
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":""}})};
|
|
83727
|
+
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 overflow-hidden",attrs:{"option":_vm.chart,"theme":_vm.theme,"autoresize":""}})};
|
|
83728
83728
|
var __vue_staticRenderFns__$N = [];
|
|
83729
83729
|
|
|
83730
83730
|
/* style */
|
|
@@ -84049,7 +84049,7 @@ var script$W = {
|
|
|
84049
84049
|
|
|
84050
84050
|
for (const ff of Object.values(foreignFrames)) {
|
|
84051
84051
|
for (const f of ff) {
|
|
84052
|
-
keys[f.relColumn] =
|
|
84052
|
+
keys[f.relColumn] = frame.columns.findIndex(({
|
|
84053
84053
|
name
|
|
84054
84054
|
}) => name === f.relColumn);
|
|
84055
84055
|
}
|
|
@@ -84335,11 +84335,11 @@ var __vue_staticRenderFns__$Q = [];
|
|
|
84335
84335
|
/* style */
|
|
84336
84336
|
const __vue_inject_styles__$X = function (inject) {
|
|
84337
84337
|
if (!inject) return
|
|
84338
|
-
inject("data-v-
|
|
84338
|
+
inject("data-v-6ecd963e_0", { source: ".foreign[data-v-6ecd963e]{border:1px solid rgba(22,36,37,.8);border-top:0;border-bottom:0}.separator[data-v-6ecd963e]{border-top:2px solid rgba(22,36,37,.5)}.card-rounded[data-v-6ecd963e]{border-radius:1rem 1rem 0 0}", map: undefined, media: undefined });
|
|
84339
84339
|
|
|
84340
84340
|
};
|
|
84341
84341
|
/* scoped */
|
|
84342
|
-
const __vue_scope_id__$X = "data-v-
|
|
84342
|
+
const __vue_scope_id__$X = "data-v-6ecd963e";
|
|
84343
84343
|
/* module identifier */
|
|
84344
84344
|
const __vue_module_identifier__$X = undefined;
|
|
84345
84345
|
/* functional template */
|