@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.js
CHANGED
|
@@ -71029,6 +71029,10 @@ var script$8 = {
|
|
|
71029
71029
|
sizeConfirm: {
|
|
71030
71030
|
type: String,
|
|
71031
71031
|
default: 'sm'
|
|
71032
|
+
},
|
|
71033
|
+
tooltip: {
|
|
71034
|
+
type: String,
|
|
71035
|
+
default: ''
|
|
71032
71036
|
}
|
|
71033
71037
|
},
|
|
71034
71038
|
|
|
@@ -71064,7 +71068,7 @@ var script$8 = {
|
|
|
71064
71068
|
const __vue_script__$8 = script$8;
|
|
71065
71069
|
|
|
71066
71070
|
/* template */
|
|
71067
|
-
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)])};
|
|
71071
|
+
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)])};
|
|
71068
71072
|
var __vue_staticRenderFns__$7 = [];
|
|
71069
71073
|
|
|
71070
71074
|
/* style */
|
|
@@ -71179,7 +71183,10 @@ function getDate(value) {
|
|
|
71179
71183
|
// Make sure this weird value does not cause us problems
|
|
71180
71184
|
return undefined;
|
|
71181
71185
|
}
|
|
71182
|
-
|
|
71186
|
+
if (moment(value, 'YYYY-MM-DDTHH:mm:ssZ', true).isValid()) {
|
|
71187
|
+
return moment.utc(value).local().format('YYYY-MM-DD');
|
|
71188
|
+
}
|
|
71189
|
+
return value;
|
|
71183
71190
|
}
|
|
71184
71191
|
function getTime(value) {
|
|
71185
71192
|
if (!value) {
|
|
@@ -71367,8 +71374,10 @@ var script$b = {
|
|
|
71367
71374
|
}];
|
|
71368
71375
|
},
|
|
71369
71376
|
|
|
71370
|
-
|
|
71371
|
-
return
|
|
71377
|
+
availableFields() {
|
|
71378
|
+
return this.fields.map(f => ({ ...f,
|
|
71379
|
+
label: `${f.label} (${f.name})`
|
|
71380
|
+
}));
|
|
71372
71381
|
}
|
|
71373
71382
|
|
|
71374
71383
|
},
|
|
@@ -71425,7 +71434,7 @@ var script$b = {
|
|
|
71425
71434
|
const __vue_script__$b = script$b;
|
|
71426
71435
|
|
|
71427
71436
|
/* template */
|
|
71428
|
-
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.
|
|
71437
|
+
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)};
|
|
71429
71438
|
var __vue_staticRenderFns__$a = [];
|
|
71430
71439
|
|
|
71431
71440
|
/* style */
|
|
@@ -82237,18 +82246,18 @@ var script$F = {
|
|
|
82237
82246
|
const __vue_script__$F = script$F;
|
|
82238
82247
|
|
|
82239
82248
|
/* template */
|
|
82240
|
-
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 ? '
|
|
82249
|
+
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)])};
|
|
82241
82250
|
var __vue_staticRenderFns__$B = [];
|
|
82242
82251
|
|
|
82243
82252
|
/* style */
|
|
82244
82253
|
const __vue_inject_styles__$G = function (inject) {
|
|
82245
82254
|
if (!inject) return
|
|
82246
|
-
inject("data-v-
|
|
82247
|
-
,inject("data-v-
|
|
82255
|
+
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 })
|
|
82256
|
+
,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 });
|
|
82248
82257
|
|
|
82249
82258
|
};
|
|
82250
82259
|
/* scoped */
|
|
82251
|
-
const __vue_scope_id__$G = "data-v-
|
|
82260
|
+
const __vue_scope_id__$G = "data-v-25036927";
|
|
82252
82261
|
/* module identifier */
|
|
82253
82262
|
const __vue_module_identifier__$G = undefined;
|
|
82254
82263
|
/* functional template */
|
|
@@ -83152,7 +83161,6 @@ var __vue_staticRenderFns__$K = [];
|
|
|
83152
83161
|
//
|
|
83153
83162
|
//
|
|
83154
83163
|
//
|
|
83155
|
-
//
|
|
83156
83164
|
var script$Q = {
|
|
83157
83165
|
name: 'CItemPickerItem',
|
|
83158
83166
|
props: {
|
|
@@ -83192,21 +83200,21 @@ var script$Q = {
|
|
|
83192
83200
|
const __vue_script__$Q = script$Q;
|
|
83193
83201
|
|
|
83194
83202
|
/* template */
|
|
83195
|
-
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.
|
|
83203
|
+
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:{
|
|
83204
|
+
'text-muted': _vm.disabledDragging,
|
|
83205
|
+
},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)};
|
|
83196
83206
|
var __vue_staticRenderFns__$L = [];
|
|
83197
83207
|
|
|
83198
83208
|
/* style */
|
|
83199
|
-
const __vue_inject_styles__$R =
|
|
83200
|
-
if (!inject) return
|
|
83201
|
-
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 });
|
|
83202
|
-
|
|
83203
|
-
};
|
|
83209
|
+
const __vue_inject_styles__$R = undefined;
|
|
83204
83210
|
/* scoped */
|
|
83205
|
-
const __vue_scope_id__$R =
|
|
83211
|
+
const __vue_scope_id__$R = undefined;
|
|
83206
83212
|
/* module identifier */
|
|
83207
83213
|
const __vue_module_identifier__$R = undefined;
|
|
83208
83214
|
/* functional template */
|
|
83209
83215
|
const __vue_is_functional_template__$R = false;
|
|
83216
|
+
/* style inject */
|
|
83217
|
+
|
|
83210
83218
|
/* style inject SSR */
|
|
83211
83219
|
|
|
83212
83220
|
/* style inject shadow dom */
|
|
@@ -83221,7 +83229,7 @@ var __vue_staticRenderFns__$L = [];
|
|
|
83221
83229
|
__vue_is_functional_template__$R,
|
|
83222
83230
|
__vue_module_identifier__$R,
|
|
83223
83231
|
false,
|
|
83224
|
-
|
|
83232
|
+
undefined,
|
|
83225
83233
|
undefined,
|
|
83226
83234
|
undefined
|
|
83227
83235
|
);
|
|
@@ -83344,7 +83352,12 @@ var script$R = {
|
|
|
83344
83352
|
this.selected = items;
|
|
83345
83353
|
}
|
|
83346
83354
|
|
|
83355
|
+
},
|
|
83356
|
+
|
|
83357
|
+
isDraggable() {
|
|
83358
|
+
return this.disabledDragging || this.query.length > 0;
|
|
83347
83359
|
}
|
|
83360
|
+
|
|
83348
83361
|
},
|
|
83349
83362
|
watch: {
|
|
83350
83363
|
/**
|
|
@@ -83379,7 +83392,7 @@ var script$R = {
|
|
|
83379
83392
|
/**
|
|
83380
83393
|
* Make sure we do not fall into an infinite loop
|
|
83381
83394
|
*
|
|
83382
|
-
* If we update the value
|
|
83395
|
+
* If we update the value then sync will trigger recomputation of selected
|
|
83383
83396
|
* Which then emits the update event and the loop will begin
|
|
83384
83397
|
*/
|
|
83385
83398
|
if (value.length === oldValue.length) {
|
|
@@ -83489,19 +83502,25 @@ var script$R = {
|
|
|
83489
83502
|
const __vue_script__$R = script$R;
|
|
83490
83503
|
|
|
83491
83504
|
/* template */
|
|
83492
|
-
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,"
|
|
83505
|
+
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:{
|
|
83506
|
+
'handle': !_vm.isDraggable
|
|
83507
|
+
},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:{
|
|
83508
|
+
'handle': !_vm.isDraggable
|
|
83509
|
+
},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)};
|
|
83493
83510
|
var __vue_staticRenderFns__$M = [];
|
|
83494
83511
|
|
|
83495
83512
|
/* style */
|
|
83496
|
-
const __vue_inject_styles__$S =
|
|
83513
|
+
const __vue_inject_styles__$S = function (inject) {
|
|
83514
|
+
if (!inject) return
|
|
83515
|
+
inject("data-v-b8554f3c_0", { source: ".handle[data-v-b8554f3c]{cursor:grab}.handle[data-v-b8554f3c]:active{cursor:grabbing}", map: undefined, media: undefined });
|
|
83516
|
+
|
|
83517
|
+
};
|
|
83497
83518
|
/* scoped */
|
|
83498
|
-
const __vue_scope_id__$S =
|
|
83519
|
+
const __vue_scope_id__$S = "data-v-b8554f3c";
|
|
83499
83520
|
/* module identifier */
|
|
83500
83521
|
const __vue_module_identifier__$S = undefined;
|
|
83501
83522
|
/* functional template */
|
|
83502
83523
|
const __vue_is_functional_template__$S = false;
|
|
83503
|
-
/* style inject */
|
|
83504
|
-
|
|
83505
83524
|
/* style inject SSR */
|
|
83506
83525
|
|
|
83507
83526
|
/* style inject shadow dom */
|
|
@@ -83516,7 +83535,7 @@ var __vue_staticRenderFns__$M = [];
|
|
|
83516
83535
|
__vue_is_functional_template__$S,
|
|
83517
83536
|
__vue_module_identifier__$S,
|
|
83518
83537
|
false,
|
|
83519
|
-
|
|
83538
|
+
createInjector,
|
|
83520
83539
|
undefined,
|
|
83521
83540
|
undefined
|
|
83522
83541
|
);
|
|
@@ -83683,7 +83702,7 @@ var script$U = {
|
|
|
83683
83702
|
const __vue_script__$U = script$U;
|
|
83684
83703
|
|
|
83685
83704
|
/* template */
|
|
83686
|
-
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()};
|
|
83705
|
+
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)};
|
|
83687
83706
|
var __vue_staticRenderFns__$O = [];
|
|
83688
83707
|
|
|
83689
83708
|
/* style */
|
|
@@ -84207,7 +84226,7 @@ var script$W = {
|
|
|
84207
84226
|
const __vue_script__$W = script$W;
|
|
84208
84227
|
|
|
84209
84228
|
/* template */
|
|
84210
|
-
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);}}},[
|
|
84229
|
+
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:({
|
|
84211
84230
|
color: _vm.sort.field === c.meta.sortKey && !_vm.sort.descending ? 'black' : 'grey',
|
|
84212
84231
|
}),attrs:{"icon":['fas', 'angle-up']}}),_vm._v(" "),_c('font-awesome-icon',{staticClass:"mt-1",style:({
|
|
84213
84232
|
color: _vm.sort.field === c.meta.sortKey && _vm.sort.descending ? 'black' : 'grey',
|
|
@@ -84219,11 +84238,11 @@ var __vue_staticRenderFns__$Q = [];
|
|
|
84219
84238
|
/* style */
|
|
84220
84239
|
const __vue_inject_styles__$X = function (inject) {
|
|
84221
84240
|
if (!inject) return
|
|
84222
|
-
inject("data-v-
|
|
84241
|
+
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 });
|
|
84223
84242
|
|
|
84224
84243
|
};
|
|
84225
84244
|
/* scoped */
|
|
84226
|
-
const __vue_scope_id__$X = "data-v-
|
|
84245
|
+
const __vue_scope_id__$X = "data-v-faafedc0";
|
|
84227
84246
|
/* module identifier */
|
|
84228
84247
|
const __vue_module_identifier__$X = undefined;
|
|
84229
84248
|
/* functional template */
|
|
@@ -84256,7 +84275,7 @@ var script$X = {
|
|
|
84256
84275
|
const __vue_script__$X = script$X;
|
|
84257
84276
|
|
|
84258
84277
|
/* template */
|
|
84259
|
-
var __vue_render__$R = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.options)?_c('div',{staticClass:"
|
|
84278
|
+
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()};
|
|
84260
84279
|
var __vue_staticRenderFns__$R = [];
|
|
84261
84280
|
|
|
84262
84281
|
/* style */
|