@cortezaproject/corteza-vue 2023.3.0-dev.1 → 2023.3.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +49 -30
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +49 -30
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -71022,6 +71022,10 @@ var script$8 = {
|
|
|
71022
71022
|
sizeConfirm: {
|
|
71023
71023
|
type: String,
|
|
71024
71024
|
default: 'sm'
|
|
71025
|
+
},
|
|
71026
|
+
tooltip: {
|
|
71027
|
+
type: String,
|
|
71028
|
+
default: ''
|
|
71025
71029
|
}
|
|
71026
71030
|
},
|
|
71027
71031
|
|
|
@@ -71057,7 +71061,7 @@ var script$8 = {
|
|
|
71057
71061
|
const __vue_script__$8 = script$8;
|
|
71058
71062
|
|
|
71059
71063
|
/* template */
|
|
71060
|
-
var __vue_render__$7 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:"text-center"},[(!_vm.inConfirmation)?_c('span',[_c('b-button',{class:(_vm.buttonClass + " " + (_vm.borderless ? 'border-0' : '')),attrs:{"data-test-id":"button-delete","variant":_vm.variant,"size":_vm.size,"disabled":_vm.disabled},on:{"click":function($event){$event.preventDefault();return _vm.onPrompt.apply(null, arguments)}}},[_vm._t("default",function(){return [_c('font-awesome-icon',{attrs:{"icon":['far', 'trash-alt']}})]})],2)],1):_c('span',[_c('b-button',{staticClass:"mr-1",class:[ _vm.borderless && 'border-0' ],attrs:{"data-test-id":"button-delete-confirm","variant":_vm.variantOk,"size":_vm.sizeConfirm,"disabled":_vm.okDisabled},on:{"blur":function($event){$event.preventDefault();return _vm.onCancel()},"click":function($event){$event.preventDefault();return _vm.onConfirmation()}}},[_vm._t("yes",function(){return [_c('font-awesome-icon',{attrs:{"icon":['fas', 'check']}})]})],2),_vm._v(" "),_c('b-button',{class:[ _vm.borderless && 'border-0' ],attrs:{"data-test-id":"button-delete-cancel","variant":_vm.variantCancel,"size":_vm.sizeConfirm,"disabled":_vm.cancelDisabled},on:{"click":function($event){$event.preventDefault();return _vm.onCancel()}}},[_vm._t("no",function(){return [_c('font-awesome-icon',{attrs:{"icon":['fas', 'times']}})]})],2)],1)])};
|
|
71064
|
+
var __vue_render__$7 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:"text-center"},[(!_vm.inConfirmation)?_c('span',[_c('b-button',{class:(_vm.buttonClass + " " + (_vm.borderless ? 'border-0' : '')),attrs:{"data-test-id":"button-delete","variant":_vm.variant,"size":_vm.size,"disabled":_vm.disabled,"title":_vm.tooltip},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.onPrompt.apply(null, arguments)}}},[_vm._t("default",function(){return [_c('font-awesome-icon',{attrs:{"icon":['far', 'trash-alt']}})]})],2)],1):_c('span',[_c('b-button',{staticClass:"mr-1",class:[ _vm.borderless && 'border-0' ],attrs:{"data-test-id":"button-delete-confirm","variant":_vm.variantOk,"size":_vm.sizeConfirm,"disabled":_vm.okDisabled},on:{"blur":function($event){$event.preventDefault();return _vm.onCancel()},"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onConfirmation()}}},[_vm._t("yes",function(){return [_c('font-awesome-icon',{attrs:{"icon":['fas', 'check']}})]})],2),_vm._v(" "),_c('b-button',{class:[ _vm.borderless && 'border-0' ],attrs:{"data-test-id":"button-delete-cancel","variant":_vm.variantCancel,"size":_vm.sizeConfirm,"disabled":_vm.cancelDisabled},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onCancel()}}},[_vm._t("no",function(){return [_c('font-awesome-icon',{attrs:{"icon":['fas', 'times']}})]})],2)],1)])};
|
|
71061
71065
|
var __vue_staticRenderFns__$7 = [];
|
|
71062
71066
|
|
|
71063
71067
|
/* style */
|
|
@@ -71172,7 +71176,10 @@ function getDate(value) {
|
|
|
71172
71176
|
// Make sure this weird value does not cause us problems
|
|
71173
71177
|
return undefined;
|
|
71174
71178
|
}
|
|
71175
|
-
|
|
71179
|
+
if (moment(value, 'YYYY-MM-DDTHH:mm:ssZ', true).isValid()) {
|
|
71180
|
+
return moment.utc(value).local().format('YYYY-MM-DD');
|
|
71181
|
+
}
|
|
71182
|
+
return value;
|
|
71176
71183
|
}
|
|
71177
71184
|
function getTime(value) {
|
|
71178
71185
|
if (!value) {
|
|
@@ -71360,8 +71367,10 @@ var script$b = {
|
|
|
71360
71367
|
}];
|
|
71361
71368
|
},
|
|
71362
71369
|
|
|
71363
|
-
|
|
71364
|
-
return
|
|
71370
|
+
availableFields() {
|
|
71371
|
+
return this.fields.map(f => ({ ...f,
|
|
71372
|
+
label: `${f.label} (${f.name})`
|
|
71373
|
+
}));
|
|
71365
71374
|
}
|
|
71366
71375
|
|
|
71367
71376
|
},
|
|
@@ -71418,7 +71427,7 @@ var script$b = {
|
|
|
71418
71427
|
const __vue_script__$b = script$b;
|
|
71419
71428
|
|
|
71420
71429
|
/* template */
|
|
71421
|
-
var __vue_render__$a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.textInput)?_c('draggable',{attrs:{"list":_vm.items,"group":"sort","handle":".grab"},on:{"update:list":function($event){_vm.items=$event;}}},_vm._l((_vm.items),function(column,index){return _c('b-form-row',{key:index,staticClass:"mb-1"},[_c('b-col',{staticClass:"d-flex align-items-center justify-content-center",attrs:{"cols":"1"}},[_c('font-awesome-icon',{staticClass:"grab text-grey",attrs:{"icon":['fas', 'bars']}})],1),_vm._v(" "),_c('b-col',{attrs:{"cols":"5"}},[_c('b-form-select',{staticClass:"rounded",attrs:{"options":_vm.
|
|
71430
|
+
var __vue_render__$a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.textInput)?_c('draggable',{attrs:{"list":_vm.items,"group":"sort","handle":".grab"},on:{"update:list":function($event){_vm.items=$event;}}},_vm._l((_vm.items),function(column,index){return _c('b-form-row',{key:index,staticClass:"mb-1"},[_c('b-col',{staticClass:"d-flex align-items-center justify-content-center",attrs:{"cols":"1"}},[_c('font-awesome-icon',{staticClass:"grab text-grey",attrs:{"icon":['fas', 'bars']}})],1),_vm._v(" "),_c('b-col',{attrs:{"cols":"5"}},[_c('b-form-select',{staticClass:"rounded",attrs:{"options":_vm.availableFields,"text-field":"label","value-field":"name"},scopedSlots:_vm._u([{key:"first",fn:function(){return [_c('b-form-select-option',{attrs:{"value":undefined,"disabled":""}},[_vm._v("\n "+_vm._s(_vm.labels.none)+"\n ")])]},proxy:true}],null,true),model:{value:(column.field),callback:function ($$v) {_vm.$set(column, "field", $$v);},expression:"column.field"}})],1),_vm._v(" "),_c('b-col',{staticClass:"d-flex align-items-center justify-content-around",attrs:{"cols":"6"}},[_c('b-form-radio-group',{attrs:{"options":_vm.sortDirections,"buttons":"","size":"sm","button-variant":"outline-primary"},model:{value:(column.descending),callback:function ($$v) {_vm.$set(column, "descending", $$v);},expression:"column.descending"}}),_vm._v(" "),_c('c-input-confirm',{attrs:{"variant":"link","size":"lg","button-class":"text-dark px-0"},on:{"confirmed":function($event){return _vm.items.splice(index, 1)}}})],1)],1)}),1):_c('div',[_c('b-form-textarea',{attrs:{"placeholder":_vm.labels.placeholder},model:{value:(_vm.presortValue),callback:function ($$v) {_vm.presortValue=$$v;},expression:"presortValue"}}),_vm._v(" "),_c('b-form-text',[_vm._v("\n "+_vm._s(_vm.labels.footnote)+"\n ")])],1),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center"},[(!_vm.textInput)?_c('b-button',{staticClass:"d-flex align-items-center px-0 text-decoration-none",attrs:{"variant":"link"},on:{"click":function($event){return _vm.items.push({ field: undefined, descending: false })}}},[_c('font-awesome-icon',{staticClass:"mr-1",attrs:{"icon":['fas', 'plus'],"size":"sm"}}),_vm._v("\n "+_vm._s(_vm.labels.add)+"\n ")],1):_vm._e(),_vm._v(" "),(_vm.allowTextInput)?_c('b-button',{staticClass:"text-decoration-none ml-auto",attrs:{"variant":"link","size":"sm"},on:{"click":function($event){_vm.textInput = !_vm.textInput;}}},[_vm._v("\n "+_vm._s(_vm.labels.toggleInput)+"\n ")]):_vm._e()],1)],1)};
|
|
71422
71431
|
var __vue_staticRenderFns__$a = [];
|
|
71423
71432
|
|
|
71424
71433
|
/* style */
|
|
@@ -82230,18 +82239,18 @@ var script$F = {
|
|
|
82230
82239
|
const __vue_script__$F = script$F;
|
|
82231
82240
|
|
|
82232
82241
|
/* template */
|
|
82233
|
-
var __vue_render__$B = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{on:{"mouseleave":function($event){return _vm.onHover(false)}}},[_c('b-sidebar',{attrs:{"data-test-id":"sidebar","sidebar-class":("sidebar " + (_vm.isExpanded ? 'expanded' : '')),"header-class":("d-block sidebar-header " + (_vm.isExpanded ? 'expanded border-bottom p-2' : '')),"body-class":("bg-white " + (_vm.isExpanded ? 'py-2 px-3' : '')),"footer-class":("bg-white rounded-right " + (_vm.isExpanded ? '
|
|
82242
|
+
var __vue_render__$B = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{on:{"mouseleave":function($event){return _vm.onHover(false)}}},[_c('b-sidebar',{attrs:{"data-test-id":"sidebar","sidebar-class":("sidebar " + (_vm.isExpanded ? 'expanded' : '')),"header-class":("d-block sidebar-header " + (_vm.isExpanded ? 'expanded border-bottom p-2' : '')),"body-class":("bg-white " + (_vm.isExpanded ? 'py-2 px-3' : '')),"footer-class":("bg-white rounded-right " + (_vm.isExpanded ? 'px-2' : '')),"no-header":!_vm.isExpanded,"backdrop":_vm.isMobile,"shadow":_vm.isExpanded,"no-slide":"","right":_vm.right,"no-close-on-route-change":"","no-close-on-esc":""},scopedSlots:_vm._u([{key:"header",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-between px-2",staticStyle:{"height":"50px"}},[_c('img',{staticClass:"logo w-auto border-0",attrs:{"data-test-id":"img-main-logo","src":_vm.logo}}),_vm._v(" "),(_vm.isMobile)?_c('b-button',{staticClass:"d-flex align-items-center justify-content-center p-2",attrs:{"variant":"outline-light border-0"},on:{"click":function($event){return _vm.closeSidebar()}}},[_c('font-awesome-icon',{staticClass:"h6 mb-0 text-dark",attrs:{"icon":['fas', 'times']}})],1):_c('b-button',{staticClass:"d-flex align-items-center justify-content-center p-2",attrs:{"data-test-id":"button-pin-icon","variant":"outline-light border-0"},on:{"click":function($event){return _vm.togglePin()}}},[_c('font-awesome-icon',{class:("h6 mb-0 " + (_vm.isPinned ? 'text-primary' : 'text-secondary')),attrs:{"data-test-id":"pin-icon","icon":['fas', 'thumbtack']}})],1)],1),_vm._v(" "),(!_vm.isExpanded)?_c('div',{staticClass:"d-flex align-items-center justify-content-center my-3"},[_c('b-button',{attrs:{"variant":"link"},on:{"click":function($event){return _vm.togglePin()}}},[_c('font-awesome-icon',{staticClass:"h6 mb-0",attrs:{"icon":['fas', 'chevron-right']}})],1)],1):_vm._e(),_vm._v(" "),(_vm.isExpanded)?_c('div',{staticClass:"px-2"},[_vm._t("header-expanded")],2):_vm._e(),_vm._v(" "),(!_vm.isExpanded)?_c('hr',{staticClass:"my-2"}):_vm._e()]},proxy:true},{key:"footer",fn:function(){return [(_vm.isExpanded)?_vm._t("footer-expanded"):_vm._e()]},proxy:true}],null,true),model:{value:(_vm.isExpanded),callback:function ($$v) {_vm.isExpanded=$$v;},expression:"isExpanded"}},[_vm._v(" "),(_vm.isExpanded)?_vm._t("body-expanded"):_vm._e()],2)],1),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center justify-content-center tab position-absolute p-2"},[(_vm.expandOnHover && !_vm.disabledRoutes.includes(_vm.$route.name))?_c('b-button',{staticClass:"d-flex align-items-center border-0",attrs:{"data-test-id":"button-sidebar-open","variant":"outline-light","size":"lg"},on:{"mouseover":function($event){return _vm.onHover(true)}}},[_c('font-awesome-icon',{staticClass:"h4 mb-0 text-primary",attrs:{"icon":['fas', 'bars']}})],1):(!_vm.disabledRoutes.includes(_vm.$route.name))?_c('b-button',{staticClass:"d-flex align-items-center p-2 border-0",attrs:{"data-test-id":"button-home","variant":"outline-light","size":"lg","to":{ name: 'root' }}},[_c('font-awesome-icon',{staticClass:"h4 mb-0 text-primary",attrs:{"icon":['fas', 'home']}})],1):_c('div',{staticClass:"d-flex align-items-center border-0 p-2"},[_c('img',{staticClass:"icon w-auto border-0",attrs:{"src":_vm.icon}})])],1)])};
|
|
82234
82243
|
var __vue_staticRenderFns__$B = [];
|
|
82235
82244
|
|
|
82236
82245
|
/* style */
|
|
82237
82246
|
const __vue_inject_styles__$G = function (inject) {
|
|
82238
82247
|
if (!inject) return
|
|
82239
|
-
inject("data-v-
|
|
82240
|
-
,inject("data-v-
|
|
82248
|
+
inject("data-v-25036927_0", { source: ".tab[data-v-25036927]{z-index:1021;top:0;height:64px;width:66px}.icon[data-v-25036927]{max-height:40px;max-width:40px}.logo[data-v-25036927]{max-height:40px}.sidebar-header[data-v-25036927]{height:64px}", map: undefined, media: undefined })
|
|
82249
|
+
,inject("data-v-25036927_1", { source: ".sidebar{display:flex!important;left:calc(-320px)!important;-webkit-transition:left .15s ease-in-out;-moz-transition:left .15s ease-in-out;-o-transition:left .15s ease-in-out;transition:left .15s ease-in-out}.sidebar header{background-color:#fff}.sidebar header.expanded{background-color:#f4f7fa!important}.sidebar.expanded{left:0!important;-webkit-transition:left .2s ease-in-out;-moz-transition:left .2s ease-in-out;-o-transition:left .2s ease-in-out;transition:left .2s ease-in-out}[dir=rtl] .sidebar{right:calc(-320px)!important;-webkit-transition:right .15s ease-in-out;-moz-transition:right .15s ease-in-out;-o-transition:right .15s ease-in-out;transition:right .15s ease-in-out}[dir=rtl] .sidebar header{background-color:#fff}[dir=rtl] .sidebar header.expanded{background-color:#f4f7fa!important}[dir=rtl] .sidebar.expanded{right:0!important;-webkit-transition:right .2s ease-in-out;-moz-transition:right .2s ease-in-out;-o-transition:right .2s ease-in-out;transition:right .2s ease-in-out}", map: undefined, media: undefined });
|
|
82241
82250
|
|
|
82242
82251
|
};
|
|
82243
82252
|
/* scoped */
|
|
82244
|
-
const __vue_scope_id__$G = "data-v-
|
|
82253
|
+
const __vue_scope_id__$G = "data-v-25036927";
|
|
82245
82254
|
/* module identifier */
|
|
82246
82255
|
const __vue_module_identifier__$G = undefined;
|
|
82247
82256
|
/* functional template */
|
|
@@ -83145,7 +83154,6 @@ var __vue_staticRenderFns__$K = [];
|
|
|
83145
83154
|
//
|
|
83146
83155
|
//
|
|
83147
83156
|
//
|
|
83148
|
-
//
|
|
83149
83157
|
var script$Q = {
|
|
83150
83158
|
name: 'CItemPickerItem',
|
|
83151
83159
|
props: {
|
|
@@ -83185,21 +83193,21 @@ var script$Q = {
|
|
|
83185
83193
|
const __vue_script__$Q = script$Q;
|
|
83186
83194
|
|
|
83187
83195
|
/* template */
|
|
83188
|
-
var __vue_render__$L = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex align-items-center"},[(!_vm.disabled && !_vm.
|
|
83196
|
+
var __vue_render__$L = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex align-items-center"},[(!_vm.disabled && !_vm.disabledSorting && !_vm.hideIcons)?_c('font-awesome-icon',{staticClass:"align-baseline mr-3 text-primary",class:{
|
|
83197
|
+
'text-muted': _vm.disabledDragging,
|
|
83198
|
+
},attrs:{"icon":['fas', 'grip-vertical']}}):_vm._e(),_vm._v(" "),_c('b',{staticClass:"text-truncate"},[_vm._t("default",function(){return [_vm._v("\n "+_vm._s(_vm.item[_vm.textField])+"\n ")]},null,_vm.item)],2),_vm._v(" "),(_vm._hideIcons)?_c('b-button',{staticClass:"text-decoration-none d-flex align-items-center align-baseline ml-auto px-2",attrs:{"data-test-id":("button-" + (_vm.selected ? 'unselect' : 'select')),"variant":"link"}},[_c('font-awesome-icon',{staticClass:"text-muted",attrs:{"icon":[_vm.selected ? 'far' : 'fas', _vm.selected ? 'eye' : 'eye-slash']},on:{"click":function($event){return _vm.$emit(_vm.selected ? 'unselect' : 'select')}}})],1):_vm._e()],1)};
|
|
83189
83199
|
var __vue_staticRenderFns__$L = [];
|
|
83190
83200
|
|
|
83191
83201
|
/* style */
|
|
83192
|
-
const __vue_inject_styles__$R =
|
|
83193
|
-
if (!inject) return
|
|
83194
|
-
inject("data-v-70b6001a_0", { source: ".handle[data-v-70b6001a]{cursor:grab}.handle[data-v-70b6001a]:active{cursor:grabbing}.cursor-default[data-v-70b6001a]{cursor:default}", map: undefined, media: undefined });
|
|
83195
|
-
|
|
83196
|
-
};
|
|
83202
|
+
const __vue_inject_styles__$R = undefined;
|
|
83197
83203
|
/* scoped */
|
|
83198
|
-
const __vue_scope_id__$R =
|
|
83204
|
+
const __vue_scope_id__$R = undefined;
|
|
83199
83205
|
/* module identifier */
|
|
83200
83206
|
const __vue_module_identifier__$R = undefined;
|
|
83201
83207
|
/* functional template */
|
|
83202
83208
|
const __vue_is_functional_template__$R = false;
|
|
83209
|
+
/* style inject */
|
|
83210
|
+
|
|
83203
83211
|
/* style inject SSR */
|
|
83204
83212
|
|
|
83205
83213
|
/* style inject shadow dom */
|
|
@@ -83214,7 +83222,7 @@ var __vue_staticRenderFns__$L = [];
|
|
|
83214
83222
|
__vue_is_functional_template__$R,
|
|
83215
83223
|
__vue_module_identifier__$R,
|
|
83216
83224
|
false,
|
|
83217
|
-
|
|
83225
|
+
undefined,
|
|
83218
83226
|
undefined,
|
|
83219
83227
|
undefined
|
|
83220
83228
|
);
|
|
@@ -83337,7 +83345,12 @@ var script$R = {
|
|
|
83337
83345
|
this.selected = items;
|
|
83338
83346
|
}
|
|
83339
83347
|
|
|
83348
|
+
},
|
|
83349
|
+
|
|
83350
|
+
isDraggable() {
|
|
83351
|
+
return this.disabledDragging || this.query.length > 0;
|
|
83340
83352
|
}
|
|
83353
|
+
|
|
83341
83354
|
},
|
|
83342
83355
|
watch: {
|
|
83343
83356
|
/**
|
|
@@ -83372,7 +83385,7 @@ var script$R = {
|
|
|
83372
83385
|
/**
|
|
83373
83386
|
* Make sure we do not fall into an infinite loop
|
|
83374
83387
|
*
|
|
83375
|
-
* If we update the value
|
|
83388
|
+
* If we update the value then sync will trigger recomputation of selected
|
|
83376
83389
|
* Which then emits the update event and the loop will begin
|
|
83377
83390
|
*/
|
|
83378
83391
|
if (value.length === oldValue.length) {
|
|
@@ -83482,19 +83495,25 @@ var script$R = {
|
|
|
83482
83495
|
const __vue_script__$R = script$R;
|
|
83483
83496
|
|
|
83484
83497
|
/* template */
|
|
83485
|
-
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,"
|
|
83498
|
+
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:{"data-test-id":"link-select-all","variant":"link"},on:{"click":function($event){return _vm.selectAll()}}},[_vm._v("\n "+_vm._s(_vm.labels.selectAllItems)+"\n ")])],1)]),_vm._v(" "),_c('b-card-body',{staticClass:"overflow-auto py-0 pl-0 pr-2"},[_c('b-list-group',{staticClass:"h-100",attrs:{"vertical":""}},[_c('draggable',{staticClass:"overflow-auto h-100",attrs:{"sort":!_vm._disabledSorting,"move":_vm._disableDragging,"disabled":_vm.query,"draggable":".item","group":"items"},scopedSlots:_vm._u([{key:"footer",fn:function(){return [(!_vm.filteredAvailable.length && _vm.query)?_c('h6',{staticClass:"text-center my-4"},[_vm._v("\n "+_vm._s(_vm.labels.noItemsFound)+"\n ")]):_vm._e()]},proxy:true}]),model:{value:(_vm.filteredAvailable),callback:function ($$v) {_vm.filteredAvailable=$$v;},expression:"filteredAvailable"}},_vm._l((_vm.filteredAvailable),function(item){return _c('b-list-group-item',{key:item.value,staticClass:"item mb-3 border rounded",class:{
|
|
83499
|
+
'handle': !_vm.isDraggable
|
|
83500
|
+
},on:{"dblclick":function($event){return _vm.select(item)}}},[_c('c-item-picker-item',{attrs:{"item":item,"disabled":_vm.disabled,"disabled-dragging":_vm.isDraggable,"disabled-sorting":_vm.disabledSorting,"hide-icons":_vm.hideIcons},on:{"select":function($event){return _vm.select(item)}},scopedSlots:_vm._u([_vm._l((_vm.$scopedSlots),function(_,slot){return {key:slot,fn:function(scope){return [_vm._t(slot,null,{"textField":_vm.textField,"disabled":_vm.disabled,"disabledDragging":_vm.isDraggable,"disabledSorting":_vm.disabledSorting,"hideIcons":_vm.hideIcons},scope)]}}})],null,true)})],1)}),1)],1)],1)],1),_vm._v(" "),_c('b-card',{staticClass:"h-100 pl-sm-0 col-sm-6 col-12 p-0",attrs:{"no-body":""}},[_c('b-card-header',{staticClass:"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:{"data-test-id":"link-unselect-all","variant":"link"},on:{"click":function($event){return _vm.unselectAll()}}},[_vm._v("\n "+_vm._s(_vm.labels.unselectAllItems)+"\n ")])],1)]),_vm._v(" "),_c('b-card-body',{staticClass:"overflow-auto py-0 pl-2 pr-0"},[_c('b-list-group',{staticClass:"h-100",attrs:{"vertical":""}},[_c('draggable',{staticClass:"overflow-auto h-100",attrs:{"sort":!_vm._disabledSorting,"move":_vm._disableDragging,"disabled":_vm.query,"draggable":".item","group":"items"},scopedSlots:_vm._u([{key:"footer",fn:function(){return [(!_vm.filteredSelected.length && _vm.query)?_c('h6',{staticClass:"text-center my-4"},[_vm._v("\n "+_vm._s(_vm.labels.noItemsFound)+"\n ")]):_vm._e()]},proxy:true}]),model:{value:(_vm.filteredSelected),callback:function ($$v) {_vm.filteredSelected=$$v;},expression:"filteredSelected"}},_vm._l((_vm.filteredSelected),function(item){return _c('b-list-group-item',{key:item.value,staticClass:"item mb-3 border rounded",class:{
|
|
83501
|
+
'handle': !_vm.isDraggable
|
|
83502
|
+
},on:{"dblclick":function($event){return _vm.unselect(item)}}},[_c('c-item-picker-item',{attrs:{"item":item,"disabled":_vm.disabled,"disabled-dragging":_vm.isDraggable,"disabled-sorting":_vm.disabledSorting,"hide-icons":_vm.hideIcons,"selected":""},on:{"unselect":function($event){return _vm.unselect(item)}},scopedSlots:_vm._u([_vm._l((_vm.$scopedSlots),function(_,slot){return {key:slot,fn:function(scope){return [_vm._t(slot,null,{"textField":_vm.textField,"disabled":_vm.disabled,"disabledDragging":_vm.isDraggable,"disabledSorting":_vm.disabledSorting,"hideIcons":_vm.hideIcons},scope)]}}})],null,true)})],1)}),1)],1)],1)],1)],1)],1)],1)};
|
|
83486
83503
|
var __vue_staticRenderFns__$M = [];
|
|
83487
83504
|
|
|
83488
83505
|
/* style */
|
|
83489
|
-
const __vue_inject_styles__$S =
|
|
83506
|
+
const __vue_inject_styles__$S = function (inject) {
|
|
83507
|
+
if (!inject) return
|
|
83508
|
+
inject("data-v-b8554f3c_0", { source: ".handle[data-v-b8554f3c]{cursor:grab}.handle[data-v-b8554f3c]:active{cursor:grabbing}", map: undefined, media: undefined });
|
|
83509
|
+
|
|
83510
|
+
};
|
|
83490
83511
|
/* scoped */
|
|
83491
|
-
const __vue_scope_id__$S =
|
|
83512
|
+
const __vue_scope_id__$S = "data-v-b8554f3c";
|
|
83492
83513
|
/* module identifier */
|
|
83493
83514
|
const __vue_module_identifier__$S = undefined;
|
|
83494
83515
|
/* functional template */
|
|
83495
83516
|
const __vue_is_functional_template__$S = false;
|
|
83496
|
-
/* style inject */
|
|
83497
|
-
|
|
83498
83517
|
/* style inject SSR */
|
|
83499
83518
|
|
|
83500
83519
|
/* style inject shadow dom */
|
|
@@ -83509,7 +83528,7 @@ var __vue_staticRenderFns__$M = [];
|
|
|
83509
83528
|
__vue_is_functional_template__$S,
|
|
83510
83529
|
__vue_module_identifier__$S,
|
|
83511
83530
|
false,
|
|
83512
|
-
|
|
83531
|
+
createInjector,
|
|
83513
83532
|
undefined,
|
|
83514
83533
|
undefined
|
|
83515
83534
|
);
|
|
@@ -83676,7 +83695,7 @@ var script$U = {
|
|
|
83676
83695
|
const __vue_script__$U = script$U;
|
|
83677
83696
|
|
|
83678
83697
|
/* template */
|
|
83679
|
-
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()};
|
|
83698
|
+
var __vue_render__$O = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex h-100 position-relative"},[(_vm.chart)?_c('c-chart',{staticClass:"flex-fill p-1",attrs:{"chart":_vm.chart}}):_vm._e()],1)};
|
|
83680
83699
|
var __vue_staticRenderFns__$O = [];
|
|
83681
83700
|
|
|
83682
83701
|
/* style */
|
|
@@ -84200,7 +84219,7 @@ var script$W = {
|
|
|
84200
84219
|
const __vue_script__$W = script$W;
|
|
84201
84220
|
|
|
84202
84221
|
/* template */
|
|
84203
|
-
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.tmp_noSort },on:{"click":function($event){c.meta.tmp_noSort ? undefined : _vm.handleSort(c.meta.sortKey);}}},[
|
|
84222
|
+
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"},[_c('div',{staticClass:"d-flex align-items-center",class:{ 'pointer': !c.meta.tmp_noSort },on:{"click":function($event){c.meta.tmp_noSort ? undefined : _vm.handleSort(c.meta.sortKey);}}},[(c.column ? c.column.label : '')?_c('div',{staticClass:"d-flex text-nowrap"},[_vm._v("\n "+_vm._s(c.column.label)+"\n ")]):_vm._e(),_vm._v(" "),(!c.meta.tmp_noSort)?_c('font-awesome-layers',{staticClass:"ml-2"},[_c('font-awesome-icon',{staticClass:"mb-1",style:({
|
|
84204
84223
|
color: _vm.sort.field === c.meta.sortKey && !_vm.sort.descending ? 'black' : 'grey',
|
|
84205
84224
|
}),attrs:{"icon":['fas', 'angle-up']}}),_vm._v(" "),_c('font-awesome-icon',{staticClass:"mt-1",style:({
|
|
84206
84225
|
color: _vm.sort.field === c.meta.sortKey && _vm.sort.descending ? 'black' : 'grey',
|
|
@@ -84212,11 +84231,11 @@ var __vue_staticRenderFns__$Q = [];
|
|
|
84212
84231
|
/* style */
|
|
84213
84232
|
const __vue_inject_styles__$X = function (inject) {
|
|
84214
84233
|
if (!inject) return
|
|
84215
|
-
inject("data-v-
|
|
84234
|
+
inject("data-v-faafedc0_0", { source: ".foreign[data-v-faafedc0]{border:1px solid rgba(22,36,37,.8);border-top:0;border-bottom:0}.separator[data-v-faafedc0]{border-top:2px solid rgba(22,36,37,.5)}.card-rounded[data-v-faafedc0]{border-radius:1rem 1rem 0 0}", map: undefined, media: undefined });
|
|
84216
84235
|
|
|
84217
84236
|
};
|
|
84218
84237
|
/* scoped */
|
|
84219
|
-
const __vue_scope_id__$X = "data-v-
|
|
84238
|
+
const __vue_scope_id__$X = "data-v-faafedc0";
|
|
84220
84239
|
/* module identifier */
|
|
84221
84240
|
const __vue_module_identifier__$X = undefined;
|
|
84222
84241
|
/* functional template */
|
|
@@ -84249,7 +84268,7 @@ var script$X = {
|
|
|
84249
84268
|
const __vue_script__$X = script$X;
|
|
84250
84269
|
|
|
84251
84270
|
/* template */
|
|
84252
|
-
var __vue_render__$R = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.options)?_c('div',{staticClass:"
|
|
84271
|
+
var __vue_render__$R = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.options)?_c('div',{staticClass:"rt-content px-3 py-2",domProps:{"innerHTML":_vm._s(_vm.options.value)}}):_vm._e()};
|
|
84253
84272
|
var __vue_staticRenderFns__$R = [];
|
|
84254
84273
|
|
|
84255
84274
|
/* style */
|