@cortezaproject/corteza-vue 2024.9.3-dev.3 → 2024.9.3-dev.5

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.
Files changed (33) hide show
  1. package/dist/components/index.d.ts +1 -1
  2. package/dist/components/input/index.d.ts +1 -0
  3. package/dist/index.es.js +717 -640
  4. package/dist/index.es.js.map +1 -1
  5. package/dist/index.js +717 -640
  6. package/dist/index.js.map +1 -1
  7. package/package.json +2 -2
  8. package/dist/components/c3/C3.d.ts +0 -5
  9. package/dist/components/filePreview/common/index.d.ts +0 -2
  10. package/dist/components/filePreview/common/types/PDF/helpers.d.ts +0 -53
  11. package/dist/components/filePreview/common/types/index.d.ts +0 -3
  12. package/dist/components/input/CRichTextInput/RToolbar/TMark/loader.d.ts +0 -10
  13. package/dist/components/input/CRichTextInput/RToolbar/TNode/loader.d.ts +0 -6
  14. package/dist/components/input/CRichTextInput/RToolbar/TNodeAttr/loader.d.ts +0 -6
  15. package/dist/components/input/CRichTextInput/RToolbar/loader.d.ts +0 -9
  16. package/dist/components/input/CRichTextInput/extensions/heading.d.ts +0 -12
  17. package/dist/components/input/CRichTextInput/extensions/htmlPaster.d.ts +0 -4
  18. package/dist/components/input/CRichTextInput/extensions/index.d.ts +0 -6
  19. package/dist/components/input/CRichTextInput/extensions/link.d.ts +0 -6
  20. package/dist/components/input/CRichTextInput/extensions/paragraph.d.ts +0 -9
  21. package/dist/components/input/CRichTextInput/extensions/textBackground.d.ts +0 -23
  22. package/dist/components/input/CRichTextInput/extensions/textColor.d.ts +0 -23
  23. package/dist/components/input/CRichTextInput/extensions/utils.d.ts +0 -15
  24. package/dist/components/input/CRichTextInput/lib/formats.d.ts +0 -85
  25. package/dist/components/input/CRichTextInput/lib/index.d.ts +0 -1
  26. package/dist/components/itemPicker/C3.d.ts +0 -1
  27. package/dist/components/itemPicker/CItemPicker.c3.d.ts +0 -32
  28. package/dist/components/toaster/actions/index.d.ts +0 -3
  29. package/dist/mixins/corredor.d.ts +0 -49
  30. package/dist/mixins/files.d.ts +0 -19
  31. package/dist/mixins/vue-select-position.d.ts +0 -11
  32. package/dist/plugins/reminder.d.ts +0 -66
  33. package/dist/plugins/settings.d.ts +0 -27
package/dist/index.js CHANGED
@@ -5919,7 +5919,7 @@ var index$7 = /*#__PURE__*/Object.freeze({
5919
5919
  //
5920
5920
 
5921
5921
 
5922
- var script$1k = {
5922
+ var script$1l = {
5923
5923
  name: 'CExtendSession',
5924
5924
 
5925
5925
  props: {
@@ -6096,20 +6096,20 @@ function normalizeComponent(template, style, script, scopeId, isFunctionalTempla
6096
6096
  }
6097
6097
 
6098
6098
  /* script */
6099
- const __vue_script__$1k = script$1k;
6099
+ const __vue_script__$1l = script$1l;
6100
6100
 
6101
6101
  /* template */
6102
- var __vue_render__$1f = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-modal',{attrs:{"centered":"","hide-header":"","hide-footer":"","no-close-on-backdrop":"","no-close-on-esc":"","body-class":"d-flex flex-column justify-content-center align-items-center gap-2 p-4"},on:{"hide":_vm.stopCountdown},model:{value:(_vm.showModal),callback:function ($$v) {_vm.showModal=$$v;},expression:"showModal"}},[_c('h5',[_vm._v(_vm._s(_vm.labels.warning(_vm.countdownTime)))]),_vm._v(" "),_c('b-button',{attrs:{"variant":"primary","size":"lg"},on:{"click":_vm.extendSession}},[_vm._v("\n "+_vm._s(_vm.labels.extend)+"\n ")])],1)};
6103
- var __vue_staticRenderFns__$1f = [];
6102
+ var __vue_render__$1g = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-modal',{attrs:{"centered":"","hide-header":"","hide-footer":"","no-close-on-backdrop":"","no-close-on-esc":"","body-class":"d-flex flex-column justify-content-center align-items-center gap-2 p-4"},on:{"hide":_vm.stopCountdown},model:{value:(_vm.showModal),callback:function ($$v) {_vm.showModal=$$v;},expression:"showModal"}},[_c('h5',[_vm._v(_vm._s(_vm.labels.warning(_vm.countdownTime)))]),_vm._v(" "),_c('b-button',{attrs:{"variant":"primary","size":"lg"},on:{"click":_vm.extendSession}},[_vm._v("\n "+_vm._s(_vm.labels.extend)+"\n ")])],1)};
6103
+ var __vue_staticRenderFns__$1g = [];
6104
6104
 
6105
6105
  /* style */
6106
- const __vue_inject_styles__$1m = undefined;
6106
+ const __vue_inject_styles__$1n = undefined;
6107
6107
  /* scoped */
6108
- const __vue_scope_id__$1m = undefined;
6108
+ const __vue_scope_id__$1n = undefined;
6109
6109
  /* module identifier */
6110
- const __vue_module_identifier__$1m = undefined;
6110
+ const __vue_module_identifier__$1n = undefined;
6111
6111
  /* functional template */
6112
- const __vue_is_functional_template__$1m = false;
6112
+ const __vue_is_functional_template__$1n = false;
6113
6113
  /* style inject */
6114
6114
 
6115
6115
  /* style inject SSR */
@@ -6118,17 +6118,17 @@ var __vue_staticRenderFns__$1f = [];
6118
6118
 
6119
6119
 
6120
6120
 
6121
- const __vue_component__$1m = /*#__PURE__*/normalizeComponent(
6122
- { render: __vue_render__$1f, staticRenderFns: __vue_staticRenderFns__$1f },
6123
- __vue_inject_styles__$1m,
6124
- __vue_script__$1k,
6125
- __vue_scope_id__$1m,
6126
- __vue_is_functional_template__$1m,
6127
- __vue_module_identifier__$1m,
6121
+ const __vue_component__$1n = /*#__PURE__*/normalizeComponent(
6122
+ { render: __vue_render__$1g, staticRenderFns: __vue_staticRenderFns__$1g },
6123
+ __vue_inject_styles__$1n,
6124
+ __vue_script__$1l,
6125
+ __vue_scope_id__$1n,
6126
+ __vue_is_functional_template__$1n,
6127
+ __vue_module_identifier__$1n,
6128
6128
  false,
6129
6129
  undefined);
6130
6130
 
6131
- var script$1j = {
6131
+ var script$1k = {
6132
6132
  props: {
6133
6133
  resourceType: {
6134
6134
  type: String,
@@ -6169,20 +6169,20 @@ var script$1j = {
6169
6169
  };
6170
6170
 
6171
6171
  /* script */
6172
- const __vue_script__$1j = script$1j;
6172
+ const __vue_script__$1k = script$1k;
6173
6173
 
6174
6174
  /* template */
6175
- var __vue_render__$1e = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.buttons.length)?_c('b-button-group',{attrs:{"size":_vm.size}},_vm._l((_vm.buttons),function(b,i){return _c('b-button',{key:i,class:_vm.buttonClass,attrs:{"variant":b.variant || _vm.defaultVariant},on:{"click":function($event){return _vm.$emit('click', b)}}},[_vm._v("\n "+_vm._s(b.label)+"\n ")])}),1):_vm._e()};
6176
- var __vue_staticRenderFns__$1e = [];
6175
+ var __vue_render__$1f = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.buttons.length)?_c('b-button-group',{attrs:{"size":_vm.size}},_vm._l((_vm.buttons),function(b,i){return _c('b-button',{key:i,class:_vm.buttonClass,attrs:{"variant":b.variant || _vm.defaultVariant},on:{"click":function($event){return _vm.$emit('click', b)}}},[_vm._v("\n "+_vm._s(b.label)+"\n ")])}),1):_vm._e()};
6176
+ var __vue_staticRenderFns__$1f = [];
6177
6177
 
6178
6178
  /* style */
6179
- const __vue_inject_styles__$1l = undefined;
6179
+ const __vue_inject_styles__$1m = undefined;
6180
6180
  /* scoped */
6181
- const __vue_scope_id__$1l = undefined;
6181
+ const __vue_scope_id__$1m = undefined;
6182
6182
  /* module identifier */
6183
- const __vue_module_identifier__$1l = undefined;
6183
+ const __vue_module_identifier__$1m = undefined;
6184
6184
  /* functional template */
6185
- const __vue_is_functional_template__$1l = false;
6185
+ const __vue_is_functional_template__$1m = false;
6186
6186
  /* style inject */
6187
6187
 
6188
6188
  /* style inject SSR */
@@ -6191,17 +6191,17 @@ var __vue_staticRenderFns__$1e = [];
6191
6191
 
6192
6192
 
6193
6193
 
6194
- const __vue_component__$1l = /*#__PURE__*/normalizeComponent(
6195
- { render: __vue_render__$1e, staticRenderFns: __vue_staticRenderFns__$1e },
6196
- __vue_inject_styles__$1l,
6197
- __vue_script__$1j,
6198
- __vue_scope_id__$1l,
6199
- __vue_is_functional_template__$1l,
6200
- __vue_module_identifier__$1l,
6194
+ const __vue_component__$1m = /*#__PURE__*/normalizeComponent(
6195
+ { render: __vue_render__$1f, staticRenderFns: __vue_staticRenderFns__$1f },
6196
+ __vue_inject_styles__$1m,
6197
+ __vue_script__$1k,
6198
+ __vue_scope_id__$1m,
6199
+ __vue_is_functional_template__$1m,
6200
+ __vue_module_identifier__$1m,
6201
6201
  false,
6202
6202
  undefined);
6203
6203
 
6204
- var script$1i = {
6204
+ var script$1j = {
6205
6205
  props: {
6206
6206
  labels: {
6207
6207
  type: Object,
@@ -6247,18 +6247,18 @@ var script$1i = {
6247
6247
  };
6248
6248
 
6249
6249
  /* script */
6250
- const __vue_script__$1i = script$1i;
6250
+ const __vue_script__$1j = script$1j;
6251
6251
 
6252
6252
  /* template */
6253
6253
 
6254
6254
  /* style */
6255
- const __vue_inject_styles__$1k = undefined;
6255
+ const __vue_inject_styles__$1l = undefined;
6256
6256
  /* scoped */
6257
- const __vue_scope_id__$1k = undefined;
6257
+ const __vue_scope_id__$1l = undefined;
6258
6258
  /* module identifier */
6259
- const __vue_module_identifier__$1k = undefined;
6259
+ const __vue_module_identifier__$1l = undefined;
6260
6260
  /* functional template */
6261
- const __vue_is_functional_template__$1k = undefined;
6261
+ const __vue_is_functional_template__$1l = undefined;
6262
6262
  /* style inject */
6263
6263
 
6264
6264
  /* style inject SSR */
@@ -6267,18 +6267,18 @@ const __vue_script__$1i = script$1i;
6267
6267
 
6268
6268
 
6269
6269
 
6270
- const __vue_component__$1k = /*#__PURE__*/normalizeComponent(
6270
+ const __vue_component__$1l = /*#__PURE__*/normalizeComponent(
6271
6271
  {},
6272
- __vue_inject_styles__$1k,
6273
- __vue_script__$1i,
6274
- __vue_scope_id__$1k,
6275
- __vue_is_functional_template__$1k,
6276
- __vue_module_identifier__$1k,
6272
+ __vue_inject_styles__$1l,
6273
+ __vue_script__$1j,
6274
+ __vue_scope_id__$1l,
6275
+ __vue_is_functional_template__$1l,
6276
+ __vue_module_identifier__$1l,
6277
6277
  false,
6278
6278
  undefined);
6279
6279
 
6280
- var script$1h = {
6281
- extends: __vue_component__$1k,
6280
+ var script$1i = {
6281
+ extends: __vue_component__$1l,
6282
6282
 
6283
6283
  props: {
6284
6284
  alt: {
@@ -6387,46 +6387,46 @@ function addStyle(id, css) {
6387
6387
  }
6388
6388
 
6389
6389
  /* script */
6390
- const __vue_script__$1h = script$1h;
6390
+ const __vue_script__$1i = script$1i;
6391
6391
 
6392
6392
  /* template */
6393
- var __vue_render__$1d = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex inline h-100 mb-1"},[_c('img',{key:_vm.src,ref:"image",class:_vm.getClass,style:(_vm.previewStyle),attrs:{"src":_vm.src,"title":_vm.title,"alt":_vm.alt,"width":_vm.getWidth,"height":_vm.getHeight},on:{"click":function($event){return _vm.$emit('openPreview', {})},"~error":function($event){return _vm.reloadBrokenImage.apply(null, arguments)},"load":function($event){_vm.loaded=true;}}})])};
6394
- var __vue_staticRenderFns__$1d = [];
6393
+ var __vue_render__$1e = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex inline h-100 mb-1"},[_c('img',{key:_vm.src,ref:"image",class:_vm.getClass,style:(_vm.previewStyle),attrs:{"src":_vm.src,"title":_vm.title,"alt":_vm.alt,"width":_vm.getWidth,"height":_vm.getHeight},on:{"click":function($event){return _vm.$emit('openPreview', {})},"~error":function($event){return _vm.reloadBrokenImage.apply(null, arguments)},"load":function($event){_vm.loaded=true;}}})])};
6394
+ var __vue_staticRenderFns__$1e = [];
6395
6395
 
6396
6396
  /* style */
6397
- const __vue_inject_styles__$1j = function (inject) {
6397
+ const __vue_inject_styles__$1k = function (inject) {
6398
6398
  if (!inject) return
6399
6399
  inject("data-v-5b22ddfb_0", { source: "div[data-v-5b22ddfb]{object-fit:contain}div img.loaded[data-v-5b22ddfb]{width:auto;height:auto;display:block}div.inline img[data-v-5b22ddfb]{cursor:zoom-in}div.inline img.disable-zoom-cursor[data-v-5b22ddfb]{cursor:default}", map: undefined, media: undefined });
6400
6400
 
6401
6401
  };
6402
6402
  /* scoped */
6403
- const __vue_scope_id__$1j = "data-v-5b22ddfb";
6403
+ const __vue_scope_id__$1k = "data-v-5b22ddfb";
6404
6404
  /* module identifier */
6405
- const __vue_module_identifier__$1j = undefined;
6405
+ const __vue_module_identifier__$1k = undefined;
6406
6406
  /* functional template */
6407
- const __vue_is_functional_template__$1j = false;
6407
+ const __vue_is_functional_template__$1k = false;
6408
6408
  /* style inject SSR */
6409
6409
 
6410
6410
  /* style inject shadow dom */
6411
6411
 
6412
6412
 
6413
6413
 
6414
- const __vue_component__$1j = /*#__PURE__*/normalizeComponent(
6415
- { render: __vue_render__$1d, staticRenderFns: __vue_staticRenderFns__$1d },
6416
- __vue_inject_styles__$1j,
6417
- __vue_script__$1h,
6418
- __vue_scope_id__$1j,
6419
- __vue_is_functional_template__$1j,
6420
- __vue_module_identifier__$1j,
6414
+ const __vue_component__$1k = /*#__PURE__*/normalizeComponent(
6415
+ { render: __vue_render__$1e, staticRenderFns: __vue_staticRenderFns__$1e },
6416
+ __vue_inject_styles__$1k,
6417
+ __vue_script__$1i,
6418
+ __vue_scope_id__$1k,
6419
+ __vue_is_functional_template__$1k,
6420
+ __vue_module_identifier__$1k,
6421
6421
  false,
6422
6422
  createInjector);
6423
6423
 
6424
- var script$1g = {
6424
+ var script$1h = {
6425
6425
  components: {
6426
6426
  PhotoSwipe: vPhotoswipe.PhotoSwipe,
6427
6427
  },
6428
6428
 
6429
- extends: __vue_component__$1k,
6429
+ extends: __vue_component__$1l,
6430
6430
 
6431
6431
  data () {
6432
6432
  return {
@@ -6482,37 +6482,37 @@ var script$1g = {
6482
6482
  };
6483
6483
 
6484
6484
  /* script */
6485
- const __vue_script__$1g = script$1g;
6485
+ const __vue_script__$1h = script$1h;
6486
6486
 
6487
6487
  /* template */
6488
- var __vue_render__$1c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"popup-img-preview"},[_c('photo-swipe',{attrs:{"is-open":true,"items":_vm.items,"options":_vm.options},on:{"close":function () { return _vm.$emit('close'); }}})],1)};
6489
- var __vue_staticRenderFns__$1c = [];
6488
+ var __vue_render__$1d = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"popup-img-preview"},[_c('photo-swipe',{attrs:{"is-open":true,"items":_vm.items,"options":_vm.options},on:{"close":function () { return _vm.$emit('close'); }}})],1)};
6489
+ var __vue_staticRenderFns__$1d = [];
6490
6490
 
6491
6491
  /* style */
6492
- const __vue_inject_styles__$1i = function (inject) {
6492
+ const __vue_inject_styles__$1j = function (inject) {
6493
6493
  if (!inject) return
6494
6494
  inject("data-v-40b06160_0", { source: ".popup-img-preview .pswp{pointer-events:none}.popup-img-preview .pswp .pswp__img{pointer-events:all}.popup-img-preview .pswp__top-bar{display:none!important}", map: undefined, media: undefined });
6495
6495
 
6496
6496
  };
6497
6497
  /* scoped */
6498
- const __vue_scope_id__$1i = undefined;
6498
+ const __vue_scope_id__$1j = undefined;
6499
6499
  /* module identifier */
6500
- const __vue_module_identifier__$1i = undefined;
6500
+ const __vue_module_identifier__$1j = undefined;
6501
6501
  /* functional template */
6502
- const __vue_is_functional_template__$1i = false;
6502
+ const __vue_is_functional_template__$1j = false;
6503
6503
  /* style inject SSR */
6504
6504
 
6505
6505
  /* style inject shadow dom */
6506
6506
 
6507
6507
 
6508
6508
 
6509
- const __vue_component__$1i = /*#__PURE__*/normalizeComponent(
6510
- { render: __vue_render__$1c, staticRenderFns: __vue_staticRenderFns__$1c },
6511
- __vue_inject_styles__$1i,
6512
- __vue_script__$1g,
6513
- __vue_scope_id__$1i,
6514
- __vue_is_functional_template__$1i,
6515
- __vue_module_identifier__$1i,
6509
+ const __vue_component__$1j = /*#__PURE__*/normalizeComponent(
6510
+ { render: __vue_render__$1d, staticRenderFns: __vue_staticRenderFns__$1d },
6511
+ __vue_inject_styles__$1j,
6512
+ __vue_script__$1h,
6513
+ __vue_scope_id__$1j,
6514
+ __vue_is_functional_template__$1j,
6515
+ __vue_module_identifier__$1j,
6516
6516
  false,
6517
6517
  createInjector);
6518
6518
 
@@ -6606,8 +6606,8 @@ function sleep (t) {
6606
6606
  return new Promise(resolve => setTimeout(resolve, t))
6607
6607
  }
6608
6608
 
6609
- var script$1f = {
6610
- extends: __vue_component__$1k,
6609
+ var script$1g = {
6610
+ extends: __vue_component__$1l,
6611
6611
 
6612
6612
  props: {
6613
6613
  retryBackoff: {
@@ -6857,72 +6857,72 @@ var script$1f = {
6857
6857
  };
6858
6858
 
6859
6859
  /* script */
6860
- const __vue_script__$1f = script$1f;
6860
+ const __vue_script__$1g = script$1g;
6861
6861
 
6862
6862
  /* template */
6863
- var __vue_render__$1b = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.previewClass.concat( ['pdf-preview'], [_vm.inline ? 'inline' : ''], [_vm.$listeners.click ? 'clickable' : '']),style:(_vm.previewStyle),on:{"click":_vm.onPreviewClick}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],ref:"pages",staticClass:"pages"}),_vm._v(" "),(_vm.loadError)?_c('div',{staticClass:"doc-msg doc-err"},[_c('p',{staticClass:"err-message"},[_vm._v("\n "+_vm._s(_vm.loadError.message)+"\n ")])]):(!_vm.show && _vm.labels.loading)?_c('div',{staticClass:"doc-msg"},[_c('p',{staticClass:"d-flex align-items-center gap-1"},[_c('b-spinner',{attrs:{"variant":"primary","small":""}}),_vm._v("\n "+_vm._s(_vm.labels.loading)+"\n ")],1)]):(!_vm.pageCount && _vm.labels.noPages)?_c('div',{staticClass:"doc-msg doc-err"},[_c('p',[_vm._v(_vm._s(_vm.labels.noPages))])]):_vm._e()])};
6864
- var __vue_staticRenderFns__$1b = [];
6863
+ var __vue_render__$1c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.previewClass.concat( ['pdf-preview'], [_vm.inline ? 'inline' : ''], [_vm.$listeners.click ? 'clickable' : '']),style:(_vm.previewStyle),on:{"click":_vm.onPreviewClick}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],ref:"pages",staticClass:"pages"}),_vm._v(" "),(_vm.loadError)?_c('div',{staticClass:"doc-msg doc-err"},[_c('p',{staticClass:"err-message"},[_vm._v("\n "+_vm._s(_vm.loadError.message)+"\n ")])]):(!_vm.show && _vm.labels.loading)?_c('div',{staticClass:"doc-msg"},[_c('p',{staticClass:"d-flex align-items-center gap-1"},[_c('b-spinner',{attrs:{"variant":"primary","small":""}}),_vm._v("\n "+_vm._s(_vm.labels.loading)+"\n ")],1)]):(!_vm.pageCount && _vm.labels.noPages)?_c('div',{staticClass:"doc-msg doc-err"},[_c('p',[_vm._v(_vm._s(_vm.labels.noPages))])]):_vm._e()])};
6864
+ var __vue_staticRenderFns__$1c = [];
6865
6865
 
6866
6866
  /* style */
6867
- const __vue_inject_styles__$1h = function (inject) {
6867
+ const __vue_inject_styles__$1i = function (inject) {
6868
6868
  if (!inject) return
6869
6869
  inject("data-v-6b03f585_0", { source: ".doc-msg[data-v-6b03f585]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;background-color:var(--white)}.doc-err[data-v-6b03f585]{cursor:pointer}.doc-err .err-message[data-v-6b03f585]{color:var(--danger)}", map: undefined, media: undefined })
6870
6870
  ,inject("data-v-6b03f585_1", { source: ".pdf-preview{text-align:center;width:100%;height:auto}.pdf-preview.inline{cursor:zoom-in}.pdf-preview.inline canvas{width:100%;height:auto}.pdf-preview canvas{margin-bottom:10px;box-shadow:0 0 3px rgba(30,30,30,.2549019608);width:80%;height:auto}.pdf-preview canvas:last-of-type{margin-bottom:unset}.pdf-preview .loader{margin-bottom:10px}", map: undefined, media: undefined });
6871
6871
 
6872
6872
  };
6873
6873
  /* scoped */
6874
- const __vue_scope_id__$1h = "data-v-6b03f585";
6874
+ const __vue_scope_id__$1i = "data-v-6b03f585";
6875
6875
  /* module identifier */
6876
- const __vue_module_identifier__$1h = undefined;
6876
+ const __vue_module_identifier__$1i = undefined;
6877
6877
  /* functional template */
6878
- const __vue_is_functional_template__$1h = false;
6878
+ const __vue_is_functional_template__$1i = false;
6879
6879
  /* style inject SSR */
6880
6880
 
6881
6881
  /* style inject shadow dom */
6882
6882
 
6883
6883
 
6884
6884
 
6885
- const __vue_component__$1h = /*#__PURE__*/normalizeComponent(
6886
- { render: __vue_render__$1b, staticRenderFns: __vue_staticRenderFns__$1b },
6887
- __vue_inject_styles__$1h,
6888
- __vue_script__$1f,
6889
- __vue_scope_id__$1h,
6890
- __vue_is_functional_template__$1h,
6891
- __vue_module_identifier__$1h,
6885
+ const __vue_component__$1i = /*#__PURE__*/normalizeComponent(
6886
+ { render: __vue_render__$1c, staticRenderFns: __vue_staticRenderFns__$1c },
6887
+ __vue_inject_styles__$1i,
6888
+ __vue_script__$1g,
6889
+ __vue_scope_id__$1i,
6890
+ __vue_is_functional_template__$1i,
6891
+ __vue_module_identifier__$1i,
6892
6892
  false,
6893
6893
  createInjector);
6894
6894
 
6895
6895
  /* script */
6896
6896
 
6897
6897
  /* template */
6898
- var __vue_render__$1a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"lightbox"},[_c('header',[_c('div',{staticClass:"left"},[_vm._t("header.left")],2),_vm._v(" "),_c('div',{staticClass:"right"},[_vm._t("header.right"),_vm._v(" "),_c('button',{staticClass:"closer",on:{"click":function($event){return _vm.$emit('close')}}},[_vm._v("\n ×\n ")])],2)]),_vm._v(" "),_c('main',[_vm._t("main")],2)])};
6899
- var __vue_staticRenderFns__$1a = [];
6898
+ var __vue_render__$1b = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"lightbox"},[_c('header',[_c('div',{staticClass:"left"},[_vm._t("header.left")],2),_vm._v(" "),_c('div',{staticClass:"right"},[_vm._t("header.right"),_vm._v(" "),_c('button',{staticClass:"closer",on:{"click":function($event){return _vm.$emit('close')}}},[_vm._v("\n ×\n ")])],2)]),_vm._v(" "),_c('main',[_vm._t("main")],2)])};
6899
+ var __vue_staticRenderFns__$1b = [];
6900
6900
 
6901
6901
  /* style */
6902
- const __vue_inject_styles__$1g = function (inject) {
6902
+ const __vue_inject_styles__$1h = function (inject) {
6903
6903
  if (!inject) return
6904
6904
  inject("data-v-30782d92_0", { source: ".lightbox[data-v-30782d92]{position:fixed;left:0;top:0;right:0;bottom:0;background-color:#eef1f3;z-index:2000}.lightbox header[data-v-30782d92]{display:flex;justify-content:space-between;background-color:#fff;position:absolute;left:0;top:0;right:0;box-shadow:0 0 3px #1e1E1E41;z-index:1000;height:50px}.lightbox header .left[data-v-30782d92]{margin-left:10px}.lightbox header .right[data-v-30782d92]{margin-right:10px}.lightbox header>div[data-v-30782d92]{display:flex;align-items:center}.lightbox main[data-v-30782d92]{position:absolute;top:50px;left:0;right:0;bottom:0;overflow-y:scroll;z-index:1}.lightbox header button[data-v-30782d92]{background-color:transparent;border:none;outline:0;font-size:25px;font-weight:700;margin:10px;cursor:pointer;box-sizing:border-box}.lightbox header button[data-v-30782d92]:last-of-type{margin-right:0}", map: undefined, media: undefined });
6905
6905
 
6906
6906
  };
6907
6907
  /* scoped */
6908
- const __vue_scope_id__$1g = "data-v-30782d92";
6908
+ const __vue_scope_id__$1h = "data-v-30782d92";
6909
6909
  /* module identifier */
6910
- const __vue_module_identifier__$1g = undefined;
6910
+ const __vue_module_identifier__$1h = undefined;
6911
6911
  /* functional template */
6912
- const __vue_is_functional_template__$1g = false;
6912
+ const __vue_is_functional_template__$1h = false;
6913
6913
  /* style inject SSR */
6914
6914
 
6915
6915
  /* style inject shadow dom */
6916
6916
 
6917
6917
 
6918
6918
 
6919
- const __vue_component__$1g = /*#__PURE__*/normalizeComponent(
6920
- { render: __vue_render__$1a, staticRenderFns: __vue_staticRenderFns__$1a },
6921
- __vue_inject_styles__$1g,
6919
+ const __vue_component__$1h = /*#__PURE__*/normalizeComponent(
6920
+ { render: __vue_render__$1b, staticRenderFns: __vue_staticRenderFns__$1b },
6921
+ __vue_inject_styles__$1h,
6922
6922
  {},
6923
- __vue_scope_id__$1g,
6924
- __vue_is_functional_template__$1g,
6925
- __vue_module_identifier__$1g,
6923
+ __vue_scope_id__$1h,
6924
+ __vue_is_functional_template__$1h,
6925
+ __vue_module_identifier__$1h,
6926
6926
  false,
6927
6927
  createInjector);
6928
6928
 
@@ -6977,7 +6977,7 @@ var canPreview = function canPreview(_ref2) {
6977
6977
  });
6978
6978
  };
6979
6979
 
6980
- var script$1e = {
6980
+ var script$1f = {
6981
6981
  inheritAttrs: false,
6982
6982
 
6983
6983
  props: {
@@ -6999,18 +6999,18 @@ var script$1e = {
6999
6999
  };
7000
7000
 
7001
7001
  /* script */
7002
- const __vue_script__$1e = script$1e;
7002
+ const __vue_script__$1f = script$1f;
7003
7003
 
7004
7004
  /* template */
7005
7005
 
7006
7006
  /* style */
7007
- const __vue_inject_styles__$1f = undefined;
7007
+ const __vue_inject_styles__$1g = undefined;
7008
7008
  /* scoped */
7009
- const __vue_scope_id__$1f = undefined;
7009
+ const __vue_scope_id__$1g = undefined;
7010
7010
  /* module identifier */
7011
- const __vue_module_identifier__$1f = undefined;
7011
+ const __vue_module_identifier__$1g = undefined;
7012
7012
  /* functional template */
7013
- const __vue_is_functional_template__$1f = undefined;
7013
+ const __vue_is_functional_template__$1g = undefined;
7014
7014
  /* style inject */
7015
7015
 
7016
7016
  /* style inject SSR */
@@ -7019,41 +7019,41 @@ const __vue_script__$1e = script$1e;
7019
7019
 
7020
7020
 
7021
7021
 
7022
- const __vue_component__$1f = /*#__PURE__*/normalizeComponent(
7022
+ const __vue_component__$1g = /*#__PURE__*/normalizeComponent(
7023
7023
  {},
7024
- __vue_inject_styles__$1f,
7025
- __vue_script__$1e,
7026
- __vue_scope_id__$1f,
7027
- __vue_is_functional_template__$1f,
7028
- __vue_module_identifier__$1f,
7024
+ __vue_inject_styles__$1g,
7025
+ __vue_script__$1f,
7026
+ __vue_scope_id__$1g,
7027
+ __vue_is_functional_template__$1g,
7028
+ __vue_module_identifier__$1g,
7029
7029
  false,
7030
7030
  undefined);
7031
7031
 
7032
- var script$1d = {
7032
+ var script$1e = {
7033
7033
  components: {
7034
- CLightbox: __vue_component__$1g,
7035
- IMG: __vue_component__$1i,
7036
- PDF: __vue_component__$1h,
7034
+ CLightbox: __vue_component__$1h,
7035
+ IMG: __vue_component__$1j,
7036
+ PDF: __vue_component__$1i,
7037
7037
  },
7038
7038
 
7039
- extends: __vue_component__$1f,
7039
+ extends: __vue_component__$1g,
7040
7040
  };
7041
7041
 
7042
7042
  /* script */
7043
- const __vue_script__$1d = script$1d;
7043
+ const __vue_script__$1e = script$1e;
7044
7044
 
7045
7045
  /* template */
7046
- var __vue_render__$19 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-lightbox',_vm._g({scopedSlots:_vm._u([_vm._l((_vm.$scopedSlots),function(_,slot){return {key:slot,fn:function(scope){return [_vm._t(slot,null,null,scope)]}}})],null,true)},_vm.$listeners),[_vm._v(" "),_c(_vm.previewType,_vm._g(_vm._b({tag:"component",attrs:{"slot":"main"},slot:"main"},'component',_vm.$attrs,false),_vm.$listeners))],1)};
7047
- var __vue_staticRenderFns__$19 = [];
7046
+ var __vue_render__$1a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-lightbox',_vm._g({scopedSlots:_vm._u([_vm._l((_vm.$scopedSlots),function(_,slot){return {key:slot,fn:function(scope){return [_vm._t(slot,null,null,scope)]}}})],null,true)},_vm.$listeners),[_vm._v(" "),_c(_vm.previewType,_vm._g(_vm._b({tag:"component",attrs:{"slot":"main"},slot:"main"},'component',_vm.$attrs,false),_vm.$listeners))],1)};
7047
+ var __vue_staticRenderFns__$1a = [];
7048
7048
 
7049
7049
  /* style */
7050
- const __vue_inject_styles__$1e = undefined;
7050
+ const __vue_inject_styles__$1f = undefined;
7051
7051
  /* scoped */
7052
- const __vue_scope_id__$1e = undefined;
7052
+ const __vue_scope_id__$1f = undefined;
7053
7053
  /* module identifier */
7054
- const __vue_module_identifier__$1e = undefined;
7054
+ const __vue_module_identifier__$1f = undefined;
7055
7055
  /* functional template */
7056
- const __vue_is_functional_template__$1e = false;
7056
+ const __vue_is_functional_template__$1f = false;
7057
7057
  /* style inject */
7058
7058
 
7059
7059
  /* style inject SSR */
@@ -7062,40 +7062,40 @@ var __vue_staticRenderFns__$19 = [];
7062
7062
 
7063
7063
 
7064
7064
 
7065
- const __vue_component__$1e = /*#__PURE__*/normalizeComponent(
7066
- { render: __vue_render__$19, staticRenderFns: __vue_staticRenderFns__$19 },
7067
- __vue_inject_styles__$1e,
7068
- __vue_script__$1d,
7069
- __vue_scope_id__$1e,
7070
- __vue_is_functional_template__$1e,
7071
- __vue_module_identifier__$1e,
7065
+ const __vue_component__$1f = /*#__PURE__*/normalizeComponent(
7066
+ { render: __vue_render__$1a, staticRenderFns: __vue_staticRenderFns__$1a },
7067
+ __vue_inject_styles__$1f,
7068
+ __vue_script__$1e,
7069
+ __vue_scope_id__$1f,
7070
+ __vue_is_functional_template__$1f,
7071
+ __vue_module_identifier__$1f,
7072
7072
  false,
7073
7073
  undefined);
7074
7074
 
7075
- var script$1c = {
7075
+ var script$1d = {
7076
7076
  components: {
7077
- IMG: __vue_component__$1j,
7078
- PDF: __vue_component__$1h,
7077
+ IMG: __vue_component__$1k,
7078
+ PDF: __vue_component__$1i,
7079
7079
  },
7080
7080
 
7081
- extends: __vue_component__$1f,
7081
+ extends: __vue_component__$1g,
7082
7082
  };
7083
7083
 
7084
7084
  /* script */
7085
- const __vue_script__$1c = script$1c;
7085
+ const __vue_script__$1d = script$1d;
7086
7086
 
7087
7087
  /* template */
7088
- var __vue_render__$18 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inline h-100"},[_c('main',{staticClass:"h-100"},[_c(_vm.previewType,_vm._g(_vm._b({tag:"component",attrs:{"max-pages":1,"inline":_vm.inline,"initial-scale":1.5}},'component',_vm.$attrs,false),_vm.$listeners))],1)])};
7089
- var __vue_staticRenderFns__$18 = [];
7088
+ var __vue_render__$19 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inline h-100"},[_c('main',{staticClass:"h-100"},[_c(_vm.previewType,_vm._g(_vm._b({tag:"component",attrs:{"max-pages":1,"inline":_vm.inline,"initial-scale":1.5}},'component',_vm.$attrs,false),_vm.$listeners))],1)])};
7089
+ var __vue_staticRenderFns__$19 = [];
7090
7090
 
7091
7091
  /* style */
7092
- const __vue_inject_styles__$1d = undefined;
7092
+ const __vue_inject_styles__$1e = undefined;
7093
7093
  /* scoped */
7094
- const __vue_scope_id__$1d = undefined;
7094
+ const __vue_scope_id__$1e = undefined;
7095
7095
  /* module identifier */
7096
- const __vue_module_identifier__$1d = undefined;
7096
+ const __vue_module_identifier__$1e = undefined;
7097
7097
  /* functional template */
7098
- const __vue_is_functional_template__$1d = false;
7098
+ const __vue_is_functional_template__$1e = false;
7099
7099
  /* style inject */
7100
7100
 
7101
7101
  /* style inject SSR */
@@ -7104,17 +7104,17 @@ var __vue_staticRenderFns__$18 = [];
7104
7104
 
7105
7105
 
7106
7106
 
7107
- const __vue_component__$1d = /*#__PURE__*/normalizeComponent(
7108
- { render: __vue_render__$18, staticRenderFns: __vue_staticRenderFns__$18 },
7109
- __vue_inject_styles__$1d,
7110
- __vue_script__$1c,
7111
- __vue_scope_id__$1d,
7112
- __vue_is_functional_template__$1d,
7113
- __vue_module_identifier__$1d,
7107
+ const __vue_component__$1e = /*#__PURE__*/normalizeComponent(
7108
+ { render: __vue_render__$19, staticRenderFns: __vue_staticRenderFns__$19 },
7109
+ __vue_inject_styles__$1e,
7110
+ __vue_script__$1d,
7111
+ __vue_scope_id__$1e,
7112
+ __vue_is_functional_template__$1e,
7113
+ __vue_module_identifier__$1e,
7114
7114
  false,
7115
7115
  undefined);
7116
7116
 
7117
- var script$1b = {
7117
+ var script$1c = {
7118
7118
  props: {
7119
7119
  disabled: Boolean,
7120
7120
  okDisabled: Boolean,
@@ -7217,20 +7217,20 @@ var script$1b = {
7217
7217
  };
7218
7218
 
7219
7219
  /* script */
7220
- const __vue_script__$1b = script$1b;
7220
+ const __vue_script__$1c = script$1c;
7221
7221
 
7222
7222
  /* template */
7223
- var __vue_render__$17 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-inline-flex gap-1"},[(!_vm.inConfirmation)?_c('b-button',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: _vm.tooltip, container: '#body' }),expression:"{ title: tooltip, container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],class:(_vm.buttonClass + " " + (_vm.borderless ? 'border-0' : '') + " flex-fill"),attrs:{"data-test-id":_vm.dataTestId,"variant":_vm.variant,"size":_vm.size,"disabled":_vm.disabled || _vm.processing},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.onPrompt.apply(null, arguments)}}},[(_vm.processing)?_c('b-spinner',{staticClass:"align-middle",attrs:{"data-test-id":"spinner","small":""}}):[(_vm.showIcon || !_vm.text)?_c('font-awesome-icon',{class:_vm.iconClass,attrs:{"icon":_vm.icon}}):_vm._e(),_vm._v(" "),(_vm.text)?_c('span',{class:_vm.textClass},[_vm._v("\n "+_vm._s(_vm.text)+"\n ")]):_vm._e()]],2):[_c('b-button',{class:[ _vm.borderless && 'border-0', 'flex-fill' ],attrs:{"data-test-id":(_vm.dataTestId + "-confirm"),"variant":_vm.variantOk,"size":_vm.sizeConfirm,"disabled":_vm.okDisabled},on:{"blur":function($event){$event.preventDefault();return _vm.onCancel()},"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onConfirmation()}}},[_vm._t("yes",function(){return [_c('font-awesome-icon',{attrs:{"data-test-id":"confirm","icon":['fas', 'check']}})]})],2),_vm._v(" "),_c('b-button',{class:[ _vm.borderless && 'border-0', 'flex-fill' ],attrs:{"data-test-id":(_vm.dataTestId + "-cancel"),"variant":_vm.variantCancel,"size":_vm.sizeConfirm,"disabled":_vm.cancelDisabled},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onCancel()}}},[_vm._t("no",function(){return [_c('font-awesome-icon',{attrs:{"data-test-id":"reject","icon":['fas', 'times']}})]})],2)]],2)};
7224
- var __vue_staticRenderFns__$17 = [];
7223
+ var __vue_render__$18 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-inline-flex gap-1"},[(!_vm.inConfirmation)?_c('b-button',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: _vm.tooltip, container: '#body' }),expression:"{ title: tooltip, container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],class:(_vm.buttonClass + " " + (_vm.borderless ? 'border-0' : '') + " flex-fill"),attrs:{"data-test-id":_vm.dataTestId,"variant":_vm.variant,"size":_vm.size,"disabled":_vm.disabled || _vm.processing},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.onPrompt.apply(null, arguments)}}},[(_vm.processing)?_c('b-spinner',{staticClass:"align-middle",attrs:{"data-test-id":"spinner","small":""}}):[(_vm.showIcon || !_vm.text)?_c('font-awesome-icon',{class:_vm.iconClass,attrs:{"icon":_vm.icon}}):_vm._e(),_vm._v(" "),(_vm.text)?_c('span',{class:_vm.textClass},[_vm._v("\n "+_vm._s(_vm.text)+"\n ")]):_vm._e()]],2):[_c('b-button',{class:[ _vm.borderless && 'border-0', 'flex-fill' ],attrs:{"data-test-id":(_vm.dataTestId + "-confirm"),"variant":_vm.variantOk,"size":_vm.sizeConfirm,"disabled":_vm.okDisabled},on:{"blur":function($event){$event.preventDefault();return _vm.onCancel()},"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onConfirmation()}}},[_vm._t("yes",function(){return [_c('font-awesome-icon',{attrs:{"data-test-id":"confirm","icon":['fas', 'check']}})]})],2),_vm._v(" "),_c('b-button',{class:[ _vm.borderless && 'border-0', 'flex-fill' ],attrs:{"data-test-id":(_vm.dataTestId + "-cancel"),"variant":_vm.variantCancel,"size":_vm.sizeConfirm,"disabled":_vm.cancelDisabled},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onCancel()}}},[_vm._t("no",function(){return [_c('font-awesome-icon',{attrs:{"data-test-id":"reject","icon":['fas', 'times']}})]})],2)]],2)};
7224
+ var __vue_staticRenderFns__$18 = [];
7225
7225
 
7226
7226
  /* style */
7227
- const __vue_inject_styles__$1c = undefined;
7227
+ const __vue_inject_styles__$1d = undefined;
7228
7228
  /* scoped */
7229
- const __vue_scope_id__$1c = undefined;
7229
+ const __vue_scope_id__$1d = undefined;
7230
7230
  /* module identifier */
7231
- const __vue_module_identifier__$1c = undefined;
7231
+ const __vue_module_identifier__$1d = undefined;
7232
7232
  /* functional template */
7233
- const __vue_is_functional_template__$1c = false;
7233
+ const __vue_is_functional_template__$1d = false;
7234
7234
  /* style inject */
7235
7235
 
7236
7236
  /* style inject SSR */
@@ -7239,13 +7239,13 @@ var __vue_staticRenderFns__$17 = [];
7239
7239
 
7240
7240
 
7241
7241
 
7242
- const __vue_component__$1c = /*#__PURE__*/normalizeComponent(
7243
- { render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
7244
- __vue_inject_styles__$1c,
7245
- __vue_script__$1b,
7246
- __vue_scope_id__$1c,
7247
- __vue_is_functional_template__$1c,
7248
- __vue_module_identifier__$1c,
7242
+ const __vue_component__$1d = /*#__PURE__*/normalizeComponent(
7243
+ { render: __vue_render__$18, staticRenderFns: __vue_staticRenderFns__$18 },
7244
+ __vue_inject_styles__$1d,
7245
+ __vue_script__$1c,
7246
+ __vue_scope_id__$1d,
7247
+ __vue_is_functional_template__$1d,
7248
+ __vue_module_identifier__$1d,
7249
7249
  false,
7250
7250
  undefined);
7251
7251
 
@@ -7268,7 +7268,7 @@ var __vue_staticRenderFns__$17 = [];
7268
7268
  //
7269
7269
  //
7270
7270
 
7271
- var script$1a = {
7271
+ var script$1b = {
7272
7272
  props: {
7273
7273
  variant: {
7274
7274
  type: String,
@@ -7290,20 +7290,20 @@ var script$1a = {
7290
7290
  };
7291
7291
 
7292
7292
  /* script */
7293
- const __vue_script__$1a = script$1a;
7293
+ const __vue_script__$1b = script$1b;
7294
7294
 
7295
7295
  /* template */
7296
- var __vue_render__$16 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',_vm._g({staticClass:"d-inline-flex align-items-center justify-content-center",attrs:{"variant":_vm.variant,"disabled":_vm.disabled || _vm.processing,"size":_vm.size}},_vm.$listeners),[_vm._t("default"),_vm._v(" "),(_vm.processing)?_c('b-spinner',{staticClass:"ml-1",attrs:{"processing":_vm.processing,"small":""}}):_vm._e()],2)};
7297
- var __vue_staticRenderFns__$16 = [];
7296
+ var __vue_render__$17 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',_vm._g({staticClass:"d-inline-flex align-items-center justify-content-center",attrs:{"variant":_vm.variant,"disabled":_vm.disabled || _vm.processing,"size":_vm.size}},_vm.$listeners),[_vm._t("default"),_vm._v(" "),(_vm.processing)?_c('b-spinner',{staticClass:"ml-1",attrs:{"processing":_vm.processing,"small":""}}):_vm._e()],2)};
7297
+ var __vue_staticRenderFns__$17 = [];
7298
7298
 
7299
7299
  /* style */
7300
- const __vue_inject_styles__$1b = undefined;
7300
+ const __vue_inject_styles__$1c = undefined;
7301
7301
  /* scoped */
7302
- const __vue_scope_id__$1b = undefined;
7302
+ const __vue_scope_id__$1c = undefined;
7303
7303
  /* module identifier */
7304
- const __vue_module_identifier__$1b = undefined;
7304
+ const __vue_module_identifier__$1c = undefined;
7305
7305
  /* functional template */
7306
- const __vue_is_functional_template__$1b = false;
7306
+ const __vue_is_functional_template__$1c = false;
7307
7307
  /* style inject */
7308
7308
 
7309
7309
  /* style inject SSR */
@@ -7312,13 +7312,13 @@ var __vue_staticRenderFns__$16 = [];
7312
7312
 
7313
7313
 
7314
7314
 
7315
- const __vue_component__$1b = /*#__PURE__*/normalizeComponent(
7316
- { render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
7317
- __vue_inject_styles__$1b,
7318
- __vue_script__$1a,
7319
- __vue_scope_id__$1b,
7320
- __vue_is_functional_template__$1b,
7321
- __vue_module_identifier__$1b,
7315
+ const __vue_component__$1c = /*#__PURE__*/normalizeComponent(
7316
+ { render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
7317
+ __vue_inject_styles__$1c,
7318
+ __vue_script__$1b,
7319
+ __vue_scope_id__$1c,
7320
+ __vue_is_functional_template__$1c,
7321
+ __vue_module_identifier__$1c,
7322
7322
  false,
7323
7323
  undefined);
7324
7324
 
@@ -7366,7 +7366,7 @@ function setTime(time, value, noDate = false, noTime = false) {
7366
7366
  return moment(date + ' ' + time, 'YYYY-MM-DD HH:mm').utc().format();
7367
7367
  }
7368
7368
 
7369
- var script$19 = {
7369
+ var script$1a = {
7370
7370
  props: {
7371
7371
  value: {
7372
7372
  type: [String, Date],
@@ -7437,37 +7437,37 @@ var script$19 = {
7437
7437
  };
7438
7438
 
7439
7439
  /* script */
7440
- const __vue_script__$19 = script$19;
7440
+ const __vue_script__$1a = script$1a;
7441
7441
 
7442
7442
  /* template */
7443
- var __vue_render__$15 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-input-date-time d-flex flex-wrap w-100 gap-1"},[(!_vm.noDate)?_c('b-form-datepicker',{staticClass:"h-100 overflow-hidden",attrs:{"data-test-id":"picker-date","placeholder":_vm.labels.none,"date-format-options":{ year: 'numeric', month: 'numeric', day: 'numeric' },"min":_vm.minDate,"max":_vm.maxDate,"label-reset-button":_vm.labels.clear,"label-today-button":_vm.labels.today,"label-help":"","today-variant":"info","selected-variant":"extra-light","boundary":"window","hide-header":"","reset-button":"","today-button":"","show-decade-nav":""},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v;},expression:"date"}}):_vm._e(),_vm._v(" "),(!_vm.noTime)?_c('b-form-timepicker',{staticClass:"h-100 overflow-hidden",attrs:{"data-test-id":"picker-time","placeholder":_vm.labels.none,"label-reset-button":_vm.labels.clear,"label-now-button":_vm.labels.now,"boundary":"window","hide-header":"","no-close-button":"","reset-button":"","now-button":""},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v;},expression:"time"}}):_vm._e(),_vm._v(" "),_vm._t("default")],2)};
7444
- var __vue_staticRenderFns__$15 = [];
7443
+ var __vue_render__$16 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-input-date-time d-flex flex-wrap w-100 gap-1"},[(!_vm.noDate)?_c('b-form-datepicker',{staticClass:"h-100 overflow-hidden",attrs:{"data-test-id":"picker-date","placeholder":_vm.labels.none,"date-format-options":{ year: 'numeric', month: 'numeric', day: 'numeric' },"min":_vm.minDate,"max":_vm.maxDate,"label-reset-button":_vm.labels.clear,"label-today-button":_vm.labels.today,"label-help":"","today-variant":"info","selected-variant":"extra-light","boundary":"window","hide-header":"","reset-button":"","today-button":"","show-decade-nav":""},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v;},expression:"date"}}):_vm._e(),_vm._v(" "),(!_vm.noTime)?_c('b-form-timepicker',{staticClass:"h-100 overflow-hidden",attrs:{"data-test-id":"picker-time","placeholder":_vm.labels.none,"label-reset-button":_vm.labels.clear,"label-now-button":_vm.labels.now,"boundary":"window","hide-header":"","no-close-button":"","reset-button":"","now-button":""},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v;},expression:"time"}}):_vm._e(),_vm._v(" "),_vm._t("default")],2)};
7444
+ var __vue_staticRenderFns__$16 = [];
7445
7445
 
7446
7446
  /* style */
7447
- const __vue_inject_styles__$1a = function (inject) {
7447
+ const __vue_inject_styles__$1b = function (inject) {
7448
7448
  if (!inject) return
7449
7449
  inject("data-v-11e27d95_0", { source: ".c-input-date-time{min-width:120px}.c-input-date-time .btn{padding:.25rem .5rem}.c-input-date-time label{font-family:var(--font-regular);color:var(--black)!important}.c-input-date-time .b-form-datepicker,.c-input-date-time .b-form-timepicker{flex:1 0 130px}.c-input-date-time .b-calendar-inner{background-color:var(--white)}.c-input-date-time .b-calendar-inner .b-calendar-grid-body{height:14rem;display:flex;flex-direction:column;justify-content:center}", map: undefined, media: undefined });
7450
7450
 
7451
7451
  };
7452
7452
  /* scoped */
7453
- const __vue_scope_id__$1a = undefined;
7453
+ const __vue_scope_id__$1b = undefined;
7454
7454
  /* module identifier */
7455
- const __vue_module_identifier__$1a = undefined;
7455
+ const __vue_module_identifier__$1b = undefined;
7456
7456
  /* functional template */
7457
- const __vue_is_functional_template__$1a = false;
7457
+ const __vue_is_functional_template__$1b = false;
7458
7458
  /* style inject SSR */
7459
7459
 
7460
7460
  /* style inject shadow dom */
7461
7461
 
7462
7462
 
7463
7463
 
7464
- const __vue_component__$1a = /*#__PURE__*/normalizeComponent(
7465
- { render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
7466
- __vue_inject_styles__$1a,
7467
- __vue_script__$19,
7468
- __vue_scope_id__$1a,
7469
- __vue_is_functional_template__$1a,
7470
- __vue_module_identifier__$1a,
7464
+ const __vue_component__$1b = /*#__PURE__*/normalizeComponent(
7465
+ { render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
7466
+ __vue_inject_styles__$1b,
7467
+ __vue_script__$1a,
7468
+ __vue_scope_id__$1b,
7469
+ __vue_is_functional_template__$1b,
7470
+ __vue_module_identifier__$1b,
7471
7471
  false,
7472
7472
  createInjector);
7473
7473
 
@@ -7551,7 +7551,7 @@ n(css$5,{});
7551
7551
  //
7552
7552
 
7553
7553
 
7554
- var script$18 = {
7554
+ var script$19 = {
7555
7555
  name: 'CInputSelect',
7556
7556
 
7557
7557
  components: {
@@ -7718,40 +7718,40 @@ var script$18 = {
7718
7718
  };
7719
7719
 
7720
7720
  /* script */
7721
- const __vue_script__$18 = script$18;
7721
+ const __vue_script__$19 = script$19;
7722
7722
 
7723
7723
  /* template */
7724
- var __vue_render__$14 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vue-select',_vm._b({ref:"vueSelect",staticClass:"bg-white rounded",class:_vm.sizeClass,attrs:{"data-test-id":"select","clearable":_vm.clearable,"options":_vm.options,"searchable":_vm.searchable,"disabled":_vm.disabled,"selectable":_vm.selectable,"multiple":_vm.multiple,"loading":_vm.loading,"calculate-position":_vm.calculateDropdownPosition,"append-to-body":_vm.appendToBody},on:{"search":_vm.onSearch},scopedSlots:_vm._u([_vm._l((_vm.$scopedSlots),function(_,name){return {key:name,fn:function(data){return [_vm._t(name,null,null,data)]}}}),(_vm.badge)?{key:"option",fn:function(option){return [_c('span',{staticClass:"badge badge-pill",style:(_vm.getOptionStyle(option))},[_vm._v("\n "+_vm._s(option.text)+"\n ")])]}}:null,(!_vm.multiple && _vm.badge)?{key:"selected-option",fn:function(option){return [_c('span',{staticClass:"badge badge-pill",style:(_vm.getOptionStyle(option))},[_vm._v("\n "+_vm._s(option.text)+"\n ")])]}}:null,(_vm.multiple && _vm.badge)?{key:"selected-option-container",fn:function(ref){
7724
+ var __vue_render__$15 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vue-select',_vm._b({ref:"vueSelect",staticClass:"bg-white rounded",class:_vm.sizeClass,attrs:{"data-test-id":"select","clearable":_vm.clearable,"options":_vm.options,"searchable":_vm.searchable,"disabled":_vm.disabled,"selectable":_vm.selectable,"multiple":_vm.multiple,"loading":_vm.loading,"calculate-position":_vm.calculateDropdownPosition,"append-to-body":_vm.appendToBody},on:{"search":_vm.onSearch},scopedSlots:_vm._u([_vm._l((_vm.$scopedSlots),function(_,name){return {key:name,fn:function(data){return [_vm._t(name,null,null,data)]}}}),(_vm.badge)?{key:"option",fn:function(option){return [_c('span',{staticClass:"badge badge-pill",style:(_vm.getOptionStyle(option))},[_vm._v("\n "+_vm._s(option.text)+"\n ")])]}}:null,(!_vm.multiple && _vm.badge)?{key:"selected-option",fn:function(option){return [_c('span',{staticClass:"badge badge-pill",style:(_vm.getOptionStyle(option))},[_vm._v("\n "+_vm._s(option.text)+"\n ")])]}}:null,(_vm.multiple && _vm.badge)?{key:"selected-option-container",fn:function(ref){
7725
7725
  var option = ref.option;
7726
7726
  var deselect = ref.deselect;
7727
7727
  return [_c('span',{staticClass:"d-flex align-items-center badge badge-pill mx-1 mt-1 w-auto",style:(_vm.getOptionStyle(option))},[_vm._v("\n "+_vm._s(option.text)+"\n\n "),_c('font-awesome-icon',{staticClass:"pointer ml-2",attrs:{"icon":['fas', 'times']},on:{"click":function($event){return deselect(option)}}})],1)]}}:null],null,true),model:{value:(_vm._value),callback:function ($$v) {_vm._value=$$v;},expression:"_value"}},'vue-select',_vm.$attrs,false))};
7728
- var __vue_staticRenderFns__$14 = [];
7728
+ var __vue_staticRenderFns__$15 = [];
7729
7729
 
7730
7730
  /* style */
7731
- const __vue_inject_styles__$19 = function (inject) {
7731
+ const __vue_inject_styles__$1a = function (inject) {
7732
7732
  if (!inject) return
7733
7733
  inject("data-v-0fdac2b1_0", { source: ":root{--vs-dropdown-bg:var(--white);--vs-dropdown-option--active-bg:var(--light);--vs-state-disabled-color:var(--secondary);--vs-state-disabled-bg:var(--light);--vs-colors--light:var(--black);--vs-colors--dark:var(--black);--vs-dropdown-option-color:var(--black);--vs-dropdown-option--active-color:var(--black);--vs-selected-bg:var(--extra-light);--vs-search-input-color:var(--secondary);--vs-search-input-bg:var(--white)}.v-select{min-width:auto;position:relative;-ms-flex:1 1 auto;flex:1 1 auto;margin-bottom:0;font-size:.9rem!important;font-family:var(--font-regular)}.v-select .vs__selected-options{width:0;padding:0}.v-select .vs__selected{display:block;white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden;border:0;color:var(--black)}.v-select .vs__search{font-size:.9rem;border:0;padding:0 2px;padding-top:.375rem;margin:0}.v-select:not(.vs--open):not(.vs--loading) .vs__selected+.vs__search{width:0;margin:0;border:none;padding:0;height:0}.v-select .vs__dropdown-toggle{min-height:calc(1.5em + .75rem + 4px);padding:.375rem calc(.75rem - 2px);padding-top:0!important;border-width:2px;border-color:var(--extra-light)}.v-select .vs__dropdown-toggle .vs__selected{margin-top:.375rem;padding:0 2px}.v-select .vs__dropdown-toggle .vs__actions{padding-top:.375rem;padding-right:0}.v-select .vs__clear,.v-select .vs__open-indicator{fill:var(--black);display:inline-flex}.v-select .vs__clear{padding:0;border:0;background-color:transparent;cursor:pointer;margin-right:8px}.v-select.vs--single .vs__selected{margin-left:0;margin-right:0}.vs--open .vs__dropdown-toggle{border-color:var(--primary);border-radius:.25rem!important}.input-group>.v-select:not(:last-child) .vs__dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.vs__spinner{border:.7em solid var(--dark);border-left-color:var(--white)}.vs__spinner,.vs__spinner::after{width:4em;height:4em}.vs__dropdown-menu{z-index:1100}.vs__dropdown-menu .vs__dropdown-option.vs__dropdown-option--selected{background:var(--vs-dropdown-option--active-bg);color:var(--vs-dropdown-option--active-color)}.vs__dropdown-menu .vs__dropdown-option.vs__dropdown-option--disabled{cursor:var(--vs-state-disabled-cursor)!important;opacity:.5}.vs__dropdown-menu .vs__dropdown-option:active{color:var(--white);background-color:var(--primary)}.c-input-sm{font-size:.7875rem!important}.c-input-sm .vs__search{font-size:.7875rem;padding-top:.25rem}.c-input-sm .vs__dropdown-toggle{min-height:calc(1.5em + .5rem + 4px);padding:.25rem calc(.5rem - 2px);border-radius:.2rem}.c-input-sm .vs__dropdown-toggle .vs__selected{margin-top:.25rem}.c-input-sm .vs__dropdown-toggle .vs__actions{padding-top:.25rem}.c-input-lg{font-size:1.125rem!important}.c-input-lg .vs__search{font-size:1.125rem;padding-top:.5rem}.c-input-lg .vs__dropdown-toggle{min-height:calc(1.5em + 1rem + 4px);padding:.5rem calc(1rem - 2px);border-radius:.3rem}.c-input-lg .vs__dropdown-toggle .vs__selected{margin-top:.5rem}.c-input-lg .vs__dropdown-toggle .vs__actions{padding-top:.5rem}", map: undefined, media: undefined });
7734
7734
 
7735
7735
  };
7736
7736
  /* scoped */
7737
- const __vue_scope_id__$19 = undefined;
7737
+ const __vue_scope_id__$1a = undefined;
7738
7738
  /* module identifier */
7739
- const __vue_module_identifier__$19 = undefined;
7739
+ const __vue_module_identifier__$1a = undefined;
7740
7740
  /* functional template */
7741
- const __vue_is_functional_template__$19 = false;
7741
+ const __vue_is_functional_template__$1a = false;
7742
7742
  /* style inject SSR */
7743
7743
 
7744
7744
  /* style inject shadow dom */
7745
7745
 
7746
7746
 
7747
7747
 
7748
- const __vue_component__$19 = /*#__PURE__*/normalizeComponent(
7749
- { render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
7750
- __vue_inject_styles__$19,
7751
- __vue_script__$18,
7752
- __vue_scope_id__$19,
7753
- __vue_is_functional_template__$19,
7754
- __vue_module_identifier__$19,
7748
+ const __vue_component__$1a = /*#__PURE__*/normalizeComponent(
7749
+ { render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
7750
+ __vue_inject_styles__$1a,
7751
+ __vue_script__$19,
7752
+ __vue_scope_id__$1a,
7753
+ __vue_is_functional_template__$1a,
7754
+ __vue_module_identifier__$1a,
7755
7755
  false,
7756
7756
  createInjector);
7757
7757
 
@@ -7788,7 +7788,7 @@ var __vue_staticRenderFns__$14 = [];
7788
7788
  //
7789
7789
  //
7790
7790
 
7791
- var script$17 = {
7791
+ var script$18 = {
7792
7792
  name: 'CFormTableWrapper',
7793
7793
 
7794
7794
  props: {
@@ -7825,37 +7825,37 @@ var script$17 = {
7825
7825
  };
7826
7826
 
7827
7827
  /* script */
7828
- const __vue_script__$17 = script$17;
7828
+ const __vue_script__$18 = script$18;
7829
7829
 
7830
7830
  /* template */
7831
- var __vue_render__$13 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"list-background w-100 p-3 rounded border border-light"},[(_vm.loading)?_c('div',{staticClass:"d-flex justify-content-center align-items-center w-100"},[_c('b-spinner')],1):_vm._t("default"),_vm._v(" "),(!_vm.hideAddButton && !_vm.loading)?_c('b-button',{class:_vm.addButtonClass,attrs:{"variant":"primary","size":"sm","data-test-id":_vm.testID,"disabled":_vm.disableAddButton},on:{"click":function($event){return _vm.$emit('add-item')}}},[_c('font-awesome-icon',{staticClass:"mr-1",attrs:{"icon":['fas', 'plus']}}),_vm._v("\n\n "+_vm._s(_vm.labels.addButton || '')+"\n ")],1):_vm._e()],2)};
7832
- var __vue_staticRenderFns__$13 = [];
7831
+ var __vue_render__$14 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"list-background w-100 p-3 rounded border border-light"},[(_vm.loading)?_c('div',{staticClass:"d-flex justify-content-center align-items-center w-100"},[_c('b-spinner')],1):_vm._t("default"),_vm._v(" "),(!_vm.hideAddButton && !_vm.loading)?_c('b-button',{class:_vm.addButtonClass,attrs:{"variant":"primary","size":"sm","data-test-id":_vm.testID,"disabled":_vm.disableAddButton},on:{"click":function($event){return _vm.$emit('add-item')}}},[_c('font-awesome-icon',{staticClass:"mr-1",attrs:{"icon":['fas', 'plus']}}),_vm._v("\n\n "+_vm._s(_vm.labels.addButton || '')+"\n ")],1):_vm._e()],2)};
7832
+ var __vue_staticRenderFns__$14 = [];
7833
7833
 
7834
7834
  /* style */
7835
- const __vue_inject_styles__$18 = function (inject) {
7835
+ const __vue_inject_styles__$19 = function (inject) {
7836
7836
  if (!inject) return
7837
7837
  inject("data-v-7ae53668_0", { source: ".list-background[data-v-7ae53668]{background-color:var(--body-bg)}", map: undefined, media: undefined });
7838
7838
 
7839
7839
  };
7840
7840
  /* scoped */
7841
- const __vue_scope_id__$18 = "data-v-7ae53668";
7841
+ const __vue_scope_id__$19 = "data-v-7ae53668";
7842
7842
  /* module identifier */
7843
- const __vue_module_identifier__$18 = undefined;
7843
+ const __vue_module_identifier__$19 = undefined;
7844
7844
  /* functional template */
7845
- const __vue_is_functional_template__$18 = false;
7845
+ const __vue_is_functional_template__$19 = false;
7846
7846
  /* style inject SSR */
7847
7847
 
7848
7848
  /* style inject shadow dom */
7849
7849
 
7850
7850
 
7851
7851
 
7852
- const __vue_component__$18 = /*#__PURE__*/normalizeComponent(
7853
- { render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
7854
- __vue_inject_styles__$18,
7855
- __vue_script__$17,
7856
- __vue_scope_id__$18,
7857
- __vue_is_functional_template__$18,
7858
- __vue_module_identifier__$18,
7852
+ const __vue_component__$19 = /*#__PURE__*/normalizeComponent(
7853
+ { render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
7854
+ __vue_inject_styles__$19,
7855
+ __vue_script__$18,
7856
+ __vue_scope_id__$19,
7857
+ __vue_is_functional_template__$19,
7858
+ __vue_module_identifier__$19,
7859
7859
  false,
7860
7860
  createInjector);
7861
7861
 
@@ -7963,11 +7963,11 @@ var __vue_staticRenderFns__$13 = [];
7963
7963
  //
7964
7964
 
7965
7965
 
7966
- var script$16 = {
7966
+ var script$17 = {
7967
7967
  components: {
7968
7968
  Draggable,
7969
- CInputSelect: __vue_component__$19,
7970
- CFormTableWrapper: __vue_component__$18,
7969
+ CInputSelect: __vue_component__$1a,
7970
+ CFormTableWrapper: __vue_component__$19,
7971
7971
  },
7972
7972
 
7973
7973
  props: {
@@ -8077,20 +8077,20 @@ var script$16 = {
8077
8077
  };
8078
8078
 
8079
8079
  /* script */
8080
- const __vue_script__$16 = script$16;
8080
+ const __vue_script__$17 = script$17;
8081
8081
 
8082
8082
  /* template */
8083
- var __vue_render__$12 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-form-table-wrapper',{attrs:{"labels":{ addButton: _vm.labels.addButton },"hide-add-button":_vm.textInput},on:{"add-item":function($event){return _vm.items.push({ field: undefined, descending: false })}}},[(!_vm.textInput)?_c('b-form-group',{attrs:{"label":_vm.labels.title,"label-class":"text-primary"}},[_c('b-table-simple',{staticClass:"mb-0",attrs:{"borderless":"","small":"","responsive":""}},[_c('draggable',{attrs:{"list":_vm.items,"group":"sort","handle":".grab","tag":"tbody"},on:{"update:list":function($event){_vm.items=$event;}}},_vm._l((_vm.items),function(column,index){return _c('tr',{key:index},[_c('td',{staticClass:"grab text-center align-middle",staticStyle:{"width":"40px"}},[_c('font-awesome-icon',{staticClass:"text-secondary",attrs:{"icon":['fas', 'bars']}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle",staticStyle:{"min-width":"250px"}},[_c('c-input-select',{staticClass:"rounded",attrs:{"options":_vm.availableFields,"reduce":function (o) { return o.name; },"placeholder":_vm.labels.none},model:{value:(column.field),callback:function ($$v) {_vm.$set(column, "field", $$v);},expression:"column.field"}})],1),_vm._v(" "),_c('td',{staticClass:"text-center align-middle",staticStyle:{"min-width":"200px"}},[_c('b-form-radio-group',{staticClass:"bg-white",attrs:{"options":_vm.sortDirections,"buttons":"","button-variant":"outline-primary"},model:{value:(column.descending),callback:function ($$v) {_vm.$set(column, "descending", $$v);},expression:"column.descending"}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle text-right",staticStyle:{"min-width":"80px","width":"80px"}},[_c('c-input-confirm',{attrs:{"show-icon":""},on:{"confirmed":function($event){return _vm.items.splice(index, 1)}}})],1)])}),0)],1)],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(" "),(_vm.allowTextInput)?_c('div',{staticClass:"d-flex align-items-center mt-1"},[_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 ")])],1):_vm._e()],1)};
8084
- var __vue_staticRenderFns__$12 = [];
8083
+ var __vue_render__$13 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-form-table-wrapper',{attrs:{"labels":{ addButton: _vm.labels.addButton },"hide-add-button":_vm.textInput},on:{"add-item":function($event){return _vm.items.push({ field: undefined, descending: false })}}},[(!_vm.textInput)?_c('b-form-group',{attrs:{"label":_vm.labels.title,"label-class":"text-primary"}},[_c('b-table-simple',{staticClass:"mb-0",attrs:{"borderless":"","small":"","responsive":""}},[_c('draggable',{attrs:{"list":_vm.items,"group":"sort","handle":".grab","tag":"tbody"},on:{"update:list":function($event){_vm.items=$event;}}},_vm._l((_vm.items),function(column,index){return _c('tr',{key:index},[_c('td',{staticClass:"grab text-center align-middle",staticStyle:{"width":"40px"}},[_c('font-awesome-icon',{staticClass:"text-secondary",attrs:{"icon":['fas', 'bars']}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle",staticStyle:{"min-width":"250px"}},[_c('c-input-select',{staticClass:"rounded",attrs:{"options":_vm.availableFields,"reduce":function (o) { return o.name; },"placeholder":_vm.labels.none},model:{value:(column.field),callback:function ($$v) {_vm.$set(column, "field", $$v);},expression:"column.field"}})],1),_vm._v(" "),_c('td',{staticClass:"text-center align-middle",staticStyle:{"min-width":"200px"}},[_c('b-form-radio-group',{staticClass:"bg-white",attrs:{"options":_vm.sortDirections,"buttons":"","button-variant":"outline-primary"},model:{value:(column.descending),callback:function ($$v) {_vm.$set(column, "descending", $$v);},expression:"column.descending"}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle text-right",staticStyle:{"min-width":"80px","width":"80px"}},[_c('c-input-confirm',{attrs:{"show-icon":""},on:{"confirmed":function($event){return _vm.items.splice(index, 1)}}})],1)])}),0)],1)],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(" "),(_vm.allowTextInput)?_c('div',{staticClass:"d-flex align-items-center mt-1"},[_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 ")])],1):_vm._e()],1)};
8084
+ var __vue_staticRenderFns__$13 = [];
8085
8085
 
8086
8086
  /* style */
8087
- const __vue_inject_styles__$17 = undefined;
8087
+ const __vue_inject_styles__$18 = undefined;
8088
8088
  /* scoped */
8089
- const __vue_scope_id__$17 = undefined;
8089
+ const __vue_scope_id__$18 = undefined;
8090
8090
  /* module identifier */
8091
- const __vue_module_identifier__$17 = undefined;
8091
+ const __vue_module_identifier__$18 = undefined;
8092
8092
  /* functional template */
8093
- const __vue_is_functional_template__$17 = false;
8093
+ const __vue_is_functional_template__$18 = false;
8094
8094
  /* style inject */
8095
8095
 
8096
8096
  /* style inject SSR */
@@ -8099,13 +8099,13 @@ var __vue_staticRenderFns__$12 = [];
8099
8099
 
8100
8100
 
8101
8101
 
8102
- const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
8103
- { render: __vue_render__$12, staticRenderFns: __vue_staticRenderFns__$12 },
8104
- __vue_inject_styles__$17,
8105
- __vue_script__$16,
8106
- __vue_scope_id__$17,
8107
- __vue_is_functional_template__$17,
8108
- __vue_module_identifier__$17,
8102
+ const __vue_component__$18 = /*#__PURE__*/normalizeComponent(
8103
+ { render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
8104
+ __vue_inject_styles__$18,
8105
+ __vue_script__$17,
8106
+ __vue_scope_id__$18,
8107
+ __vue_is_functional_template__$18,
8108
+ __vue_module_identifier__$18,
8109
8109
  false,
8110
8110
  undefined);
8111
8111
 
@@ -8149,7 +8149,7 @@ var __vue_staticRenderFns__$12 = [];
8149
8149
  //
8150
8150
  //
8151
8151
 
8152
- var script$15 = {
8152
+ var script$16 = {
8153
8153
  name: 'CInputSearch',
8154
8154
 
8155
8155
  props: {
@@ -8243,44 +8243,44 @@ var script$15 = {
8243
8243
  };
8244
8244
 
8245
8245
  /* script */
8246
- const __vue_script__$15 = script$15;
8246
+ const __vue_script__$16 = script$16;
8247
8247
 
8248
8248
  /* template */
8249
- var __vue_render__$11 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-input-search d-flex position-relative",class:{ 'submittable': _vm.isSubmittable },staticStyle:{"min-width":"150px"}},[_c('b-input',{ref:"searchInput",staticClass:"pr-0 text-truncate",attrs:{"data-test-id":"input-search","type":_vm.inputType,"name":"search","value":_vm.value,"debounce":_vm.debounce,"disabled":_vm.disabled,"placeholder":_vm.placeholder,"autocomplete":_vm.autocomplete,"size":_vm.size},on:{"input":_vm.onInput,"update":_vm.search,"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.submitQuery.apply(null, arguments)}}}),_vm._v(" "),(_vm.showSubmittable)?_c('b-button',{staticClass:"search-button d-inline-flex align-items-center rounded-0 border-light",class:{ 'border-0 cursor-default': !_vm.isSubmittable },attrs:{"variant":_vm.isSubmittable ? 'outline-light' : 'link',"disabled":_vm.disabled},on:_vm._d({},[_vm.isSubmittable,_vm.submitQuery])},[_c('font-awesome-icon',{staticClass:"align-middle text-primary",attrs:{"icon":['fas', 'search']}})],1):_vm._e()],1)};
8250
- var __vue_staticRenderFns__$11 = [];
8249
+ var __vue_render__$12 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-input-search d-flex position-relative",class:{ 'submittable': _vm.isSubmittable },staticStyle:{"min-width":"150px"}},[_c('b-input',{ref:"searchInput",staticClass:"pr-0 text-truncate",attrs:{"data-test-id":"input-search","type":_vm.inputType,"name":"search","value":_vm.value,"debounce":_vm.debounce,"disabled":_vm.disabled,"placeholder":_vm.placeholder,"autocomplete":_vm.autocomplete,"size":_vm.size},on:{"input":_vm.onInput,"update":_vm.search,"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.submitQuery.apply(null, arguments)}}}),_vm._v(" "),(_vm.showSubmittable)?_c('b-button',{staticClass:"search-button d-inline-flex align-items-center rounded-0 border-light",class:{ 'border-0 cursor-default': !_vm.isSubmittable },attrs:{"variant":_vm.isSubmittable ? 'outline-light' : 'link',"disabled":_vm.disabled},on:_vm._d({},[_vm.isSubmittable,_vm.submitQuery])},[_c('font-awesome-icon',{staticClass:"align-middle text-primary",attrs:{"icon":['fas', 'search']}})],1):_vm._e()],1)};
8250
+ var __vue_staticRenderFns__$12 = [];
8251
8251
 
8252
8252
  /* style */
8253
- const __vue_inject_styles__$16 = function (inject) {
8253
+ const __vue_inject_styles__$17 = function (inject) {
8254
8254
  if (!inject) return
8255
8255
  inject("data-v-ec96b2dc_0", { source: "input[data-v-ec96b2dc]:focus::placeholder{color:transparent}.c-input-search .search-button[data-v-ec96b2dc]{position:absolute;right:2px;top:2px;bottom:2px;z-index:4;border-left-width:2px}.c-input-search[data-v-ec96b2dc] ::-webkit-search-cancel-button{-webkit-appearance:none;height:1em;width:1em;background:var(--primary);-webkit-mask-image:url(\"data:image/svg+xml;charset=UTF-8,%3csvg viewPort='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='1' y1='11' x2='11' y2='1' stroke='black' stroke-width='2'/%3e%3cline x1='1' y1='1' x2='11' y2='11' stroke='black' stroke-width='2'/%3e%3c/svg%3e\");mask-image:url(\"data:image/svg+xml;charset=UTF-8,%3csvg viewPort='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='1' y1='11' x2='11' y2='1' stroke='black' stroke-width='2'/%3e%3cline x1='1' y1='1' x2='11' y2='11' stroke='black' stroke-width='2'/%3e%3c/svg%3e\");cursor:pointer;margin-right:13px;margin-left:5px}.c-input-search.submittable[data-v-ec96b2dc] ::-webkit-search-cancel-button{margin-right:56px}.cursor-default[data-v-ec96b2dc]{cursor:default!important}", map: undefined, media: undefined });
8256
8256
 
8257
8257
  };
8258
8258
  /* scoped */
8259
- const __vue_scope_id__$16 = "data-v-ec96b2dc";
8259
+ const __vue_scope_id__$17 = "data-v-ec96b2dc";
8260
8260
  /* module identifier */
8261
- const __vue_module_identifier__$16 = undefined;
8261
+ const __vue_module_identifier__$17 = undefined;
8262
8262
  /* functional template */
8263
- const __vue_is_functional_template__$16 = false;
8263
+ const __vue_is_functional_template__$17 = false;
8264
8264
  /* style inject SSR */
8265
8265
 
8266
8266
  /* style inject shadow dom */
8267
8267
 
8268
8268
 
8269
8269
 
8270
- const __vue_component__$16 = /*#__PURE__*/normalizeComponent(
8271
- { render: __vue_render__$11, staticRenderFns: __vue_staticRenderFns__$11 },
8272
- __vue_inject_styles__$16,
8273
- __vue_script__$15,
8274
- __vue_scope_id__$16,
8275
- __vue_is_functional_template__$16,
8276
- __vue_module_identifier__$16,
8270
+ const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
8271
+ { render: __vue_render__$12, staticRenderFns: __vue_staticRenderFns__$12 },
8272
+ __vue_inject_styles__$17,
8273
+ __vue_script__$16,
8274
+ __vue_scope_id__$17,
8275
+ __vue_is_functional_template__$17,
8276
+ __vue_module_identifier__$17,
8277
8277
  false,
8278
8278
  createInjector);
8279
8279
 
8280
8280
  /**
8281
8281
  * Defines common props, methods between different toolbar item types
8282
8282
  */
8283
- var script$14 = {
8283
+ var script$15 = {
8284
8284
  props: {
8285
8285
  format: {
8286
8286
  type: Object,
@@ -8328,18 +8328,18 @@ var script$14 = {
8328
8328
  };
8329
8329
 
8330
8330
  /* script */
8331
- const __vue_script__$14 = script$14;
8331
+ const __vue_script__$15 = script$15;
8332
8332
 
8333
8333
  /* template */
8334
8334
 
8335
8335
  /* style */
8336
- const __vue_inject_styles__$15 = undefined;
8336
+ const __vue_inject_styles__$16 = undefined;
8337
8337
  /* scoped */
8338
- const __vue_scope_id__$15 = undefined;
8338
+ const __vue_scope_id__$16 = undefined;
8339
8339
  /* module identifier */
8340
- const __vue_module_identifier__$15 = undefined;
8340
+ const __vue_module_identifier__$16 = undefined;
8341
8341
  /* functional template */
8342
- const __vue_is_functional_template__$15 = undefined;
8342
+ const __vue_is_functional_template__$16 = undefined;
8343
8343
  /* style inject */
8344
8344
 
8345
8345
  /* style inject SSR */
@@ -8348,13 +8348,13 @@ const __vue_script__$14 = script$14;
8348
8348
 
8349
8349
 
8350
8350
 
8351
- const __vue_component__$15 = /*#__PURE__*/normalizeComponent(
8351
+ const __vue_component__$16 = /*#__PURE__*/normalizeComponent(
8352
8352
  {},
8353
- __vue_inject_styles__$15,
8354
- __vue_script__$14,
8355
- __vue_scope_id__$15,
8356
- __vue_is_functional_template__$15,
8357
- __vue_module_identifier__$15,
8353
+ __vue_inject_styles__$16,
8354
+ __vue_script__$15,
8355
+ __vue_scope_id__$16,
8356
+ __vue_is_functional_template__$16,
8357
+ __vue_module_identifier__$16,
8358
8358
  false,
8359
8359
  undefined);
8360
8360
 
@@ -8400,13 +8400,13 @@ n(css$4,{});
8400
8400
  * Component is used to display link formatters. It provides an interface to
8401
8401
  * input the URL that should be applied.
8402
8402
  */
8403
- var script$13 = {
8403
+ var script$14 = {
8404
8404
  name: 'TMarkColor',
8405
8405
 
8406
8406
  components: {
8407
8407
  Swatches,
8408
8408
  },
8409
- extends: __vue_component__$15,
8409
+ extends: __vue_component__$16,
8410
8410
 
8411
8411
  computed: {
8412
8412
  typeStyle () {
@@ -8416,38 +8416,38 @@ var script$13 = {
8416
8416
  };
8417
8417
 
8418
8418
  /* script */
8419
- const __vue_script__$13 = script$13;
8419
+ const __vue_script__$14 = script$14;
8420
8420
 
8421
8421
  /* template */
8422
- var __vue_render__$10 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"id":("color-popover-" + (_vm.format.type)),"variant":"link"}},[_c('span',{staticClass:"icon",class:_vm.typeStyle},[_vm._v("A")])]),_vm._v(" "),_c('b-popover',{ref:"popover",attrs:{"delay":0,"no-fade":"","custom-class":"tcl-popover","triggers":"focus","target":("color-popover-" + (_vm.format.type)),"placement":"bottom","container":null}},[_c('swatches',{attrs:{"swatch-size":"14","colors":"text-advanced","inline":""},on:{"input":function($event){return _vm.onClick(_vm.format.type, { color: $event })}}})],1)],1)};
8423
- var __vue_staticRenderFns__$10 = [];
8422
+ var __vue_render__$11 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"id":("color-popover-" + (_vm.format.type)),"variant":"link"}},[_c('span',{staticClass:"icon",class:_vm.typeStyle},[_vm._v("A")])]),_vm._v(" "),_c('b-popover',{ref:"popover",attrs:{"delay":0,"no-fade":"","custom-class":"tcl-popover","triggers":"focus","target":("color-popover-" + (_vm.format.type)),"placement":"bottom","container":null}},[_c('swatches',{attrs:{"swatch-size":"14","colors":"text-advanced","inline":""},on:{"input":function($event){return _vm.onClick(_vm.format.type, { color: $event })}}})],1)],1)};
8423
+ var __vue_staticRenderFns__$11 = [];
8424
8424
 
8425
8425
  /* style */
8426
- const __vue_inject_styles__$14 = function (inject) {
8426
+ const __vue_inject_styles__$15 = function (inject) {
8427
8427
  if (!inject) return
8428
8428
  inject("data-v-03ae8050_0", { source: ".icon[data-v-03ae8050]{padding:0 2px}.icon.color-icon[data-v-03ae8050]{border-bottom:1px solid #000}.icon.background-icon[data-v-03ae8050]{background-color:rgba(0,0,0,.07);padding:2px 3px}", map: undefined, media: undefined })
8429
8429
  ,inject("data-v-03ae8050_1", { source: ".tcl-popover .popover-body{padding:0!important}", map: undefined, media: undefined });
8430
8430
 
8431
8431
  };
8432
8432
  /* scoped */
8433
- const __vue_scope_id__$14 = "data-v-03ae8050";
8433
+ const __vue_scope_id__$15 = "data-v-03ae8050";
8434
8434
  /* module identifier */
8435
- const __vue_module_identifier__$14 = undefined;
8435
+ const __vue_module_identifier__$15 = undefined;
8436
8436
  /* functional template */
8437
- const __vue_is_functional_template__$14 = false;
8437
+ const __vue_is_functional_template__$15 = false;
8438
8438
  /* style inject SSR */
8439
8439
 
8440
8440
  /* style inject shadow dom */
8441
8441
 
8442
8442
 
8443
8443
 
8444
- const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
8445
- { render: __vue_render__$10, staticRenderFns: __vue_staticRenderFns__$10 },
8446
- __vue_inject_styles__$14,
8447
- __vue_script__$13,
8448
- __vue_scope_id__$14,
8449
- __vue_is_functional_template__$14,
8450
- __vue_module_identifier__$14,
8444
+ const __vue_component__$15 = /*#__PURE__*/normalizeComponent(
8445
+ { render: __vue_render__$11, staticRenderFns: __vue_staticRenderFns__$11 },
8446
+ __vue_inject_styles__$15,
8447
+ __vue_script__$14,
8448
+ __vue_scope_id__$15,
8449
+ __vue_is_functional_template__$15,
8450
+ __vue_module_identifier__$15,
8451
8451
  false,
8452
8452
  createInjector);
8453
8453
 
@@ -8475,26 +8475,26 @@ var __vue_staticRenderFns__$10 = [];
8475
8475
  /**
8476
8476
  * Component is used to display simple formatter options such as bold, italic, ...
8477
8477
  */
8478
- var script$12 = {
8478
+ var script$13 = {
8479
8479
  name: 'TMarkItem',
8480
- extends: __vue_component__$15,
8480
+ extends: __vue_component__$16,
8481
8481
  };
8482
8482
 
8483
8483
  /* script */
8484
- const __vue_script__$12 = script$12;
8484
+ const __vue_script__$13 = script$13;
8485
8485
 
8486
8486
  /* template */
8487
- var __vue_render__$$ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"variant":"link"},on:{"click":function($event){return _vm.onClick(_vm.format.type, _vm.format.attrs)}}},[_c('span',{class:_vm.activeClasses(_vm.format.attrs)},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])};
8488
- var __vue_staticRenderFns__$$ = [];
8487
+ var __vue_render__$10 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"variant":"link"},on:{"click":function($event){return _vm.onClick(_vm.format.type, _vm.format.attrs)}}},[_c('span',{class:_vm.activeClasses(_vm.format.attrs)},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])};
8488
+ var __vue_staticRenderFns__$10 = [];
8489
8489
 
8490
8490
  /* style */
8491
- const __vue_inject_styles__$13 = undefined;
8491
+ const __vue_inject_styles__$14 = undefined;
8492
8492
  /* scoped */
8493
- const __vue_scope_id__$13 = undefined;
8493
+ const __vue_scope_id__$14 = undefined;
8494
8494
  /* module identifier */
8495
- const __vue_module_identifier__$13 = undefined;
8495
+ const __vue_module_identifier__$14 = undefined;
8496
8496
  /* functional template */
8497
- const __vue_is_functional_template__$13 = false;
8497
+ const __vue_is_functional_template__$14 = false;
8498
8498
  /* style inject */
8499
8499
 
8500
8500
  /* style inject SSR */
@@ -8503,13 +8503,13 @@ var __vue_staticRenderFns__$$ = [];
8503
8503
 
8504
8504
 
8505
8505
 
8506
- const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
8507
- { render: __vue_render__$$, staticRenderFns: __vue_staticRenderFns__$$ },
8508
- __vue_inject_styles__$13,
8509
- __vue_script__$12,
8510
- __vue_scope_id__$13,
8511
- __vue_is_functional_template__$13,
8512
- __vue_module_identifier__$13,
8506
+ const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
8507
+ { render: __vue_render__$10, staticRenderFns: __vue_staticRenderFns__$10 },
8508
+ __vue_inject_styles__$14,
8509
+ __vue_script__$13,
8510
+ __vue_scope_id__$14,
8511
+ __vue_is_functional_template__$14,
8512
+ __vue_module_identifier__$14,
8513
8513
  false,
8514
8514
  undefined);
8515
8515
 
@@ -8563,9 +8563,9 @@ var __vue_staticRenderFns__$$ = [];
8563
8563
  * Component is used to display link formatters. It provides an interface to
8564
8564
  * input the URL that should be applied.
8565
8565
  */
8566
- var script$11 = {
8566
+ var script$12 = {
8567
8567
  name: 'TMarkLink',
8568
- extends: __vue_component__$15,
8568
+ extends: __vue_component__$16,
8569
8569
 
8570
8570
  props: {
8571
8571
  labels: {
@@ -8625,20 +8625,20 @@ var script$11 = {
8625
8625
  };
8626
8626
 
8627
8627
  /* script */
8628
- const __vue_script__$11 = script$11;
8628
+ const __vue_script__$12 = script$12;
8629
8629
 
8630
8630
  /* template */
8631
- var __vue_render__$_ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":"link-popover-container"}},[_c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"id":"link-popover","variant":"link"},on:{"click":_vm.showPopover}},[_c('span',{class:_vm.activeClasses(_vm.format.attrs)},[_c('font-awesome-icon',{attrs:{"icon":"link"}})],1)]),_vm._v(" "),(_vm.currentValue)?_c('b-popover',{ref:"popover",attrs:{"show":_vm.visible,"triggers":"focus","target":"link-popover","placement":"auto","container":"link-popover-container"},on:{"update:show":function($event){_vm.visible=$event;}}},[_c('b-input-group',{staticStyle:{"min-width":"250px"}},[_c('b-form-input',{attrs:{"type":"url","autofocus":"","placeholder":_vm.labels.urlPlaceholder},on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }$event.preventDefault();$event.stopPropagation();return _vm.link.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }$event.preventDefault();$event.stopPropagation();return _vm.close.apply(null, arguments)}]},model:{value:(_vm.attrs.href),callback:function ($$v) {_vm.$set(_vm.attrs, "href", $$v);},expression:"attrs.href"}}),_vm._v(" "),_c('b-input-group-append',[_c('b-button',{attrs:{"variant":"outline-success"},on:{"click":_vm.link}},[_vm._v("\n "+_vm._s(_vm.labels.ok)+"\n ")])],1)],1)],1):_vm._e()],1)};
8632
- var __vue_staticRenderFns__$_ = [];
8631
+ var __vue_render__$$ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":"link-popover-container"}},[_c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"id":"link-popover","variant":"link"},on:{"click":_vm.showPopover}},[_c('span',{class:_vm.activeClasses(_vm.format.attrs)},[_c('font-awesome-icon',{attrs:{"icon":"link"}})],1)]),_vm._v(" "),(_vm.currentValue)?_c('b-popover',{ref:"popover",attrs:{"show":_vm.visible,"triggers":"focus","target":"link-popover","placement":"auto","container":"link-popover-container"},on:{"update:show":function($event){_vm.visible=$event;}}},[_c('b-input-group',{staticStyle:{"min-width":"250px"}},[_c('b-form-input',{attrs:{"type":"url","autofocus":"","placeholder":_vm.labels.urlPlaceholder},on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }$event.preventDefault();$event.stopPropagation();return _vm.link.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }$event.preventDefault();$event.stopPropagation();return _vm.close.apply(null, arguments)}]},model:{value:(_vm.attrs.href),callback:function ($$v) {_vm.$set(_vm.attrs, "href", $$v);},expression:"attrs.href"}}),_vm._v(" "),_c('b-input-group-append',[_c('b-button',{attrs:{"variant":"outline-success"},on:{"click":_vm.link}},[_vm._v("\n "+_vm._s(_vm.labels.ok)+"\n ")])],1)],1)],1):_vm._e()],1)};
8632
+ var __vue_staticRenderFns__$$ = [];
8633
8633
 
8634
8634
  /* style */
8635
- const __vue_inject_styles__$12 = undefined;
8635
+ const __vue_inject_styles__$13 = undefined;
8636
8636
  /* scoped */
8637
- const __vue_scope_id__$12 = undefined;
8637
+ const __vue_scope_id__$13 = undefined;
8638
8638
  /* module identifier */
8639
- const __vue_module_identifier__$12 = undefined;
8639
+ const __vue_module_identifier__$13 = undefined;
8640
8640
  /* functional template */
8641
- const __vue_is_functional_template__$12 = false;
8641
+ const __vue_is_functional_template__$13 = false;
8642
8642
  /* style inject */
8643
8643
 
8644
8644
  /* style inject SSR */
@@ -8647,20 +8647,20 @@ var __vue_staticRenderFns__$_ = [];
8647
8647
 
8648
8648
 
8649
8649
 
8650
- const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
8651
- { render: __vue_render__$_, staticRenderFns: __vue_staticRenderFns__$_ },
8652
- __vue_inject_styles__$12,
8653
- __vue_script__$11,
8654
- __vue_scope_id__$12,
8655
- __vue_is_functional_template__$12,
8656
- __vue_module_identifier__$12,
8650
+ const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
8651
+ { render: __vue_render__$$, staticRenderFns: __vue_staticRenderFns__$$ },
8652
+ __vue_inject_styles__$13,
8653
+ __vue_script__$12,
8654
+ __vue_scope_id__$13,
8655
+ __vue_is_functional_template__$13,
8656
+ __vue_module_identifier__$13,
8657
8657
  false,
8658
8658
  undefined);
8659
8659
 
8660
8660
  var mark = {
8661
- Color: __vue_component__$14,
8662
- Item: __vue_component__$13,
8663
- Link: __vue_component__$12
8661
+ Color: __vue_component__$15,
8662
+ Item: __vue_component__$14,
8663
+ Link: __vue_component__$13
8664
8664
  };
8665
8665
 
8666
8666
  function findDiffStart(a, b, pos) {
@@ -12131,7 +12131,7 @@ var nodeTypes = getToolbar().filter(function (_ref) {
12131
12131
  /**
12132
12132
  * Defines common props, methods between different toolbar item types
12133
12133
  */
12134
- var script$10 = {
12134
+ var script$11 = {
12135
12135
  props: {
12136
12136
  format: {
12137
12137
  type: Object,
@@ -12238,18 +12238,18 @@ var script$10 = {
12238
12238
  };
12239
12239
 
12240
12240
  /* script */
12241
- const __vue_script__$10 = script$10;
12241
+ const __vue_script__$11 = script$11;
12242
12242
 
12243
12243
  /* template */
12244
12244
 
12245
12245
  /* style */
12246
- const __vue_inject_styles__$11 = undefined;
12246
+ const __vue_inject_styles__$12 = undefined;
12247
12247
  /* scoped */
12248
- const __vue_scope_id__$11 = undefined;
12248
+ const __vue_scope_id__$12 = undefined;
12249
12249
  /* module identifier */
12250
- const __vue_module_identifier__$11 = undefined;
12250
+ const __vue_module_identifier__$12 = undefined;
12251
12251
  /* functional template */
12252
- const __vue_is_functional_template__$11 = undefined;
12252
+ const __vue_is_functional_template__$12 = undefined;
12253
12253
  /* style inject */
12254
12254
 
12255
12255
  /* style inject SSR */
@@ -12258,13 +12258,13 @@ const __vue_script__$10 = script$10;
12258
12258
 
12259
12259
 
12260
12260
 
12261
- const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
12261
+ const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
12262
12262
  {},
12263
- __vue_inject_styles__$11,
12264
- __vue_script__$10,
12265
- __vue_scope_id__$11,
12266
- __vue_is_functional_template__$11,
12267
- __vue_module_identifier__$11,
12263
+ __vue_inject_styles__$12,
12264
+ __vue_script__$11,
12265
+ __vue_scope_id__$12,
12266
+ __vue_is_functional_template__$12,
12267
+ __vue_module_identifier__$12,
12268
12268
  false,
12269
12269
  undefined);
12270
12270
 
@@ -12292,26 +12292,26 @@ const __vue_script__$10 = script$10;
12292
12292
  /**
12293
12293
  * Component is used to display node types; paragraph, headding, ...
12294
12294
  */
12295
- var script$$ = {
12295
+ var script$10 = {
12296
12296
  name: 'TNodeItem',
12297
- extends: __vue_component__$11,
12297
+ extends: __vue_component__$12,
12298
12298
  };
12299
12299
 
12300
12300
  /* script */
12301
- const __vue_script__$$ = script$$;
12301
+ const __vue_script__$10 = script$10;
12302
12302
 
12303
12303
  /* template */
12304
- var __vue_render__$Z = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"variant":"link"},on:{"click":function($event){return _vm.onClick(_vm.format.type, _vm.format.attrs)}}},[_c('span',{class:_vm.activeClasses(_vm.format.attrs)},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])};
12305
- var __vue_staticRenderFns__$Z = [];
12304
+ var __vue_render__$_ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"variant":"link"},on:{"click":function($event){return _vm.onClick(_vm.format.type, _vm.format.attrs)}}},[_c('span',{class:_vm.activeClasses(_vm.format.attrs)},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])};
12305
+ var __vue_staticRenderFns__$_ = [];
12306
12306
 
12307
12307
  /* style */
12308
- const __vue_inject_styles__$10 = undefined;
12308
+ const __vue_inject_styles__$11 = undefined;
12309
12309
  /* scoped */
12310
- const __vue_scope_id__$10 = undefined;
12310
+ const __vue_scope_id__$11 = undefined;
12311
12311
  /* module identifier */
12312
- const __vue_module_identifier__$10 = undefined;
12312
+ const __vue_module_identifier__$11 = undefined;
12313
12313
  /* functional template */
12314
- const __vue_is_functional_template__$10 = false;
12314
+ const __vue_is_functional_template__$11 = false;
12315
12315
  /* style inject */
12316
12316
 
12317
12317
  /* style inject SSR */
@@ -12320,18 +12320,18 @@ var __vue_staticRenderFns__$Z = [];
12320
12320
 
12321
12321
 
12322
12322
 
12323
- const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
12324
- { render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
12325
- __vue_inject_styles__$10,
12326
- __vue_script__$$,
12327
- __vue_scope_id__$10,
12328
- __vue_is_functional_template__$10,
12329
- __vue_module_identifier__$10,
12323
+ const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
12324
+ { render: __vue_render__$_, staticRenderFns: __vue_staticRenderFns__$_ },
12325
+ __vue_inject_styles__$11,
12326
+ __vue_script__$10,
12327
+ __vue_scope_id__$11,
12328
+ __vue_is_functional_template__$11,
12329
+ __vue_module_identifier__$11,
12330
12330
  false,
12331
12331
  undefined);
12332
12332
 
12333
12333
  var node = {
12334
- Item: __vue_component__$10
12334
+ Item: __vue_component__$11
12335
12335
  };
12336
12336
 
12337
12337
  //
@@ -12377,10 +12377,10 @@ var node = {
12377
12377
  /**
12378
12378
  * Component is used to display node alignment formatting
12379
12379
  */
12380
- var script$_ = {
12380
+ var script$$ = {
12381
12381
  name: 'TNattrAlignment',
12382
12382
 
12383
- extends: __vue_component__$11,
12383
+ extends: __vue_component__$12,
12384
12384
 
12385
12385
  props: {
12386
12386
  isActive: {
@@ -12434,20 +12434,20 @@ var script$_ = {
12434
12434
  };
12435
12435
 
12436
12436
  /* script */
12437
- const __vue_script__$_ = script$_;
12437
+ const __vue_script__$$ = script$$;
12438
12438
 
12439
12439
  /* template */
12440
- var __vue_render__$Y = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-dropdown',{attrs:{"menu-class":"text-center","variant":"link","boundary":"window"},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[_c('span',{class:_vm.rootActiveClasses()},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])]},proxy:true}])},[_vm._v(" "),_vm._l((_vm.format.variants),function(v){return _c('b-dropdown-item-button',{key:v.variant,on:{"click":function($event){return _vm.dispatchTransaction(v)}}},[_c('span',{class:_vm.activeClasses(v.attrs)},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":v.icon}}):_c('span',[_vm._v("\n "+_vm._s(v.label)+"\n ")])],1)])})],2)};
12441
- var __vue_staticRenderFns__$Y = [];
12440
+ var __vue_render__$Z = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-dropdown',{attrs:{"menu-class":"text-center","variant":"link","boundary":"window"},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[_c('span',{class:_vm.rootActiveClasses()},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])]},proxy:true}])},[_vm._v(" "),_vm._l((_vm.format.variants),function(v){return _c('b-dropdown-item-button',{key:v.variant,on:{"click":function($event){return _vm.dispatchTransaction(v)}}},[_c('span',{class:_vm.activeClasses(v.attrs)},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":v.icon}}):_c('span',[_vm._v("\n "+_vm._s(v.label)+"\n ")])],1)])})],2)};
12441
+ var __vue_staticRenderFns__$Z = [];
12442
12442
 
12443
12443
  /* style */
12444
- const __vue_inject_styles__$$ = undefined;
12444
+ const __vue_inject_styles__$10 = undefined;
12445
12445
  /* scoped */
12446
- const __vue_scope_id__$$ = undefined;
12446
+ const __vue_scope_id__$10 = undefined;
12447
12447
  /* module identifier */
12448
- const __vue_module_identifier__$$ = undefined;
12448
+ const __vue_module_identifier__$10 = undefined;
12449
12449
  /* functional template */
12450
- const __vue_is_functional_template__$$ = false;
12450
+ const __vue_is_functional_template__$10 = false;
12451
12451
  /* style inject */
12452
12452
 
12453
12453
  /* style inject SSR */
@@ -12456,13 +12456,13 @@ var __vue_staticRenderFns__$Y = [];
12456
12456
 
12457
12457
 
12458
12458
 
12459
- const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
12460
- { render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
12461
- __vue_inject_styles__$$,
12462
- __vue_script__$_,
12463
- __vue_scope_id__$$,
12464
- __vue_is_functional_template__$$,
12465
- __vue_module_identifier__$$,
12459
+ const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
12460
+ { render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
12461
+ __vue_inject_styles__$10,
12462
+ __vue_script__$$,
12463
+ __vue_scope_id__$10,
12464
+ __vue_is_functional_template__$10,
12465
+ __vue_module_identifier__$10,
12466
12466
  false,
12467
12467
  undefined);
12468
12468
 
@@ -12501,9 +12501,9 @@ var __vue_staticRenderFns__$Y = [];
12501
12501
  /**
12502
12502
  * Component is used to display node alignment formatting
12503
12503
  */
12504
- var script$Z = {
12504
+ var script$_ = {
12505
12505
  name: 'TNattrTable',
12506
- extends: __vue_component__$11,
12506
+ extends: __vue_component__$12,
12507
12507
 
12508
12508
  props: {
12509
12509
  isActive: {
@@ -12562,20 +12562,20 @@ var script$Z = {
12562
12562
  };
12563
12563
 
12564
12564
  /* script */
12565
- const __vue_script__$Z = script$Z;
12565
+ const __vue_script__$_ = script$_;
12566
12566
 
12567
12567
  /* template */
12568
- var __vue_render__$X = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-dropdown',{attrs:{"menu-class":"text-center","variant":"link","boundary":"window"},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[_c('span',{class:_vm.rootActiveClasses()},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])]},proxy:true}])},[_vm._v(" "),_vm._l((_vm.format.variants),function(v){return _c('b-dropdown-item-button',{key:v.variant,on:{"click":function($event){return _vm.emitClick(v)}}},[_vm._v("\n "+_vm._s(v.label)+"\n ")])})],2)};
12569
- var __vue_staticRenderFns__$X = [];
12568
+ var __vue_render__$Y = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-dropdown',{attrs:{"menu-class":"text-center","variant":"link","boundary":"window"},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[_c('span',{class:_vm.rootActiveClasses()},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])]},proxy:true}])},[_vm._v(" "),_vm._l((_vm.format.variants),function(v){return _c('b-dropdown-item-button',{key:v.variant,on:{"click":function($event){return _vm.emitClick(v)}}},[_vm._v("\n "+_vm._s(v.label)+"\n ")])})],2)};
12569
+ var __vue_staticRenderFns__$Y = [];
12570
12570
 
12571
12571
  /* style */
12572
- const __vue_inject_styles__$_ = undefined;
12572
+ const __vue_inject_styles__$$ = undefined;
12573
12573
  /* scoped */
12574
- const __vue_scope_id__$_ = undefined;
12574
+ const __vue_scope_id__$$ = undefined;
12575
12575
  /* module identifier */
12576
- const __vue_module_identifier__$_ = undefined;
12576
+ const __vue_module_identifier__$$ = undefined;
12577
12577
  /* functional template */
12578
- const __vue_is_functional_template__$_ = false;
12578
+ const __vue_is_functional_template__$$ = false;
12579
12579
  /* style inject */
12580
12580
 
12581
12581
  /* style inject SSR */
@@ -12584,19 +12584,19 @@ var __vue_staticRenderFns__$X = [];
12584
12584
 
12585
12585
 
12586
12586
 
12587
- const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
12588
- { render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
12589
- __vue_inject_styles__$_,
12590
- __vue_script__$Z,
12591
- __vue_scope_id__$_,
12592
- __vue_is_functional_template__$_,
12593
- __vue_module_identifier__$_,
12587
+ const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
12588
+ { render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
12589
+ __vue_inject_styles__$$,
12590
+ __vue_script__$_,
12591
+ __vue_scope_id__$$,
12592
+ __vue_is_functional_template__$$,
12593
+ __vue_module_identifier__$$,
12594
12594
  false,
12595
12595
  undefined);
12596
12596
 
12597
12597
  var nodeAttr = {
12598
- Alignment: __vue_component__$$,
12599
- Table: __vue_component__$_
12598
+ Alignment: __vue_component__$10,
12599
+ Table: __vue_component__$$
12600
12600
  };
12601
12601
 
12602
12602
  var cc = {
@@ -12631,7 +12631,7 @@ var cc = {
12631
12631
  //
12632
12632
 
12633
12633
 
12634
- var script$Y = {
12634
+ var script$Z = {
12635
12635
  inheritAttrs: true,
12636
12636
 
12637
12637
  props: {
@@ -12717,20 +12717,20 @@ var script$Y = {
12717
12717
  };
12718
12718
 
12719
12719
  /* script */
12720
- const __vue_script__$Y = script$Y;
12720
+ const __vue_script__$Z = script$Z;
12721
12721
 
12722
12722
  /* template */
12723
- var __vue_render__$W = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-wrap"},[_vm._l((_vm.formats),function(f,i){return _c(_vm.getItem(f),_vm._b({key:("" + (f.name) + i),tag:"component",attrs:{"format":f,"labels":_vm.labels,"current-value":_vm.currentValue},on:{"click":_vm.triggerCommand}},'component',_vm.$props,false))}),_vm._v(" "),_c('b-button',{staticClass:"text-dark font-weight-bold",attrs:{"variant":"link"},on:{"click":_vm.removeMarks}},[_c('font-awesome-icon',{attrs:{"icon":"remove-format"}})],1)],2)};
12724
- var __vue_staticRenderFns__$W = [];
12723
+ var __vue_render__$X = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-wrap"},[_vm._l((_vm.formats),function(f,i){return _c(_vm.getItem(f),_vm._b({key:("" + (f.name) + i),tag:"component",attrs:{"format":f,"labels":_vm.labels,"current-value":_vm.currentValue},on:{"click":_vm.triggerCommand}},'component',_vm.$props,false))}),_vm._v(" "),_c('b-button',{staticClass:"text-dark font-weight-bold",attrs:{"variant":"link"},on:{"click":_vm.removeMarks}},[_c('font-awesome-icon',{attrs:{"icon":"remove-format"}})],1)],2)};
12724
+ var __vue_staticRenderFns__$X = [];
12725
12725
 
12726
12726
  /* style */
12727
- const __vue_inject_styles__$Z = undefined;
12727
+ const __vue_inject_styles__$_ = undefined;
12728
12728
  /* scoped */
12729
- const __vue_scope_id__$Z = undefined;
12729
+ const __vue_scope_id__$_ = undefined;
12730
12730
  /* module identifier */
12731
- const __vue_module_identifier__$Z = undefined;
12731
+ const __vue_module_identifier__$_ = undefined;
12732
12732
  /* functional template */
12733
- const __vue_is_functional_template__$Z = false;
12733
+ const __vue_is_functional_template__$_ = false;
12734
12734
  /* style inject */
12735
12735
 
12736
12736
  /* style inject SSR */
@@ -12739,13 +12739,13 @@ var __vue_staticRenderFns__$W = [];
12739
12739
 
12740
12740
 
12741
12741
 
12742
- const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
12743
- { render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
12744
- __vue_inject_styles__$Z,
12745
- __vue_script__$Y,
12746
- __vue_scope_id__$Z,
12747
- __vue_is_functional_template__$Z,
12748
- __vue_module_identifier__$Z,
12742
+ const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
12743
+ { render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
12744
+ __vue_inject_styles__$_,
12745
+ __vue_script__$Z,
12746
+ __vue_scope_id__$_,
12747
+ __vue_is_functional_template__$_,
12748
+ __vue_module_identifier__$_,
12749
12749
  false,
12750
12750
  undefined);
12751
12751
 
@@ -12785,12 +12785,12 @@ var __vue_staticRenderFns__$W = [];
12785
12785
  //
12786
12786
 
12787
12787
 
12788
- var script$X = {
12788
+ var script$Y = {
12789
12789
  name: 'CRichTextInput',
12790
12790
 
12791
12791
  components: {
12792
12792
  EditorContent: tiptap.EditorContent,
12793
- RToolbar: __vue_component__$Z,
12793
+ RToolbar: __vue_component__$_,
12794
12794
  EditorMenuBar: tiptap.EditorMenuBar,
12795
12795
  },
12796
12796
 
@@ -12876,25 +12876,25 @@ var script$X = {
12876
12876
  };
12877
12877
 
12878
12878
  /* script */
12879
- const __vue_script__$X = script$X;
12879
+ const __vue_script__$Y = script$Y;
12880
12880
 
12881
12881
  /* template */
12882
- var __vue_render__$V = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:"editor rt-content",attrs:{"no-body":""}},[(_vm.editor)?[_c('b-card-header',{attrs:{"header-class":"p-0 border-bottom"}},[_c('editor-menu-bar',{attrs:{"editor":_vm.editor},scopedSlots:_vm._u([{key:"default",fn:function(ref){
12882
+ var __vue_render__$W = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:"editor rt-content",attrs:{"no-body":""}},[(_vm.editor)?[_c('b-card-header',{attrs:{"header-class":"p-0 border-bottom"}},[_c('editor-menu-bar',{attrs:{"editor":_vm.editor},scopedSlots:_vm._u([{key:"default",fn:function(ref){
12883
12883
  var commands = ref.commands;
12884
12884
  var isActive = ref.isActive;
12885
12885
  var getMarkAttrs = ref.getMarkAttrs;
12886
12886
  var getNodeAttrs = ref.getNodeAttrs;
12887
12887
  return [_c('r-toolbar',{attrs:{"editor":_vm.editor,"formats":_vm.toolbar,"commands":commands,"is-active":isActive,"get-mark-attrs":getMarkAttrs,"get-node-attrs":getNodeAttrs,"labels":_vm.labels,"current-value":_vm.currentValue}})]}}],null,false,2342935495)})],1),_vm._v(" "),_c('b-card-body',[_c('editor-content',{staticClass:"editor__content",attrs:{"editor":_vm.editor}})],1)]:_vm._e()],2)};
12888
- var __vue_staticRenderFns__$V = [];
12888
+ var __vue_staticRenderFns__$W = [];
12889
12889
 
12890
12890
  /* style */
12891
- const __vue_inject_styles__$Y = undefined;
12891
+ const __vue_inject_styles__$Z = undefined;
12892
12892
  /* scoped */
12893
- const __vue_scope_id__$Y = undefined;
12893
+ const __vue_scope_id__$Z = undefined;
12894
12894
  /* module identifier */
12895
- const __vue_module_identifier__$Y = undefined;
12895
+ const __vue_module_identifier__$Z = undefined;
12896
12896
  /* functional template */
12897
- const __vue_is_functional_template__$Y = false;
12897
+ const __vue_is_functional_template__$Z = false;
12898
12898
  /* style inject */
12899
12899
 
12900
12900
  /* style inject SSR */
@@ -12903,13 +12903,13 @@ var __vue_staticRenderFns__$V = [];
12903
12903
 
12904
12904
 
12905
12905
 
12906
- const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
12907
- { render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
12908
- __vue_inject_styles__$Y,
12909
- __vue_script__$X,
12910
- __vue_scope_id__$Y,
12911
- __vue_is_functional_template__$Y,
12912
- __vue_module_identifier__$Y,
12906
+ const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
12907
+ { render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
12908
+ __vue_inject_styles__$Z,
12909
+ __vue_script__$Y,
12910
+ __vue_scope_id__$Z,
12911
+ __vue_is_functional_template__$Z,
12912
+ __vue_module_identifier__$Z,
12913
12913
  false,
12914
12914
  undefined);
12915
12915
 
@@ -12944,7 +12944,7 @@ var __vue_staticRenderFns__$V = [];
12944
12944
  //
12945
12945
  //
12946
12946
 
12947
- var script$W = {
12947
+ var script$X = {
12948
12948
  props: {
12949
12949
  value: {
12950
12950
  type: Boolean,
@@ -12983,20 +12983,20 @@ var script$W = {
12983
12983
  };
12984
12984
 
12985
12985
  /* script */
12986
- const __vue_script__$W = script$W;
12986
+ const __vue_script__$X = script$X;
12987
12987
 
12988
12988
  /* template */
12989
- var __vue_render__$U = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex align-items-center"},[_c('span',{staticClass:"mb-0 inline-block text-primary",class:_vm.offClass},[_vm._v("\n "+_vm._s(_vm.labels.off)+"\n ")]),_vm._v(" "),_c('b-form-checkbox',_vm._g(_vm._b({attrs:{"checked":_vm.value,"value":!_vm.invert,"unchecked-value":_vm.invert}},'b-form-checkbox',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2),_vm._v(" "),_c('span',{staticClass:"mb-0 inline-block strong text-primary",class:_vm.onClass},[_vm._v("\n "+_vm._s(_vm.labels.on)+"\n ")])],1)};
12990
- var __vue_staticRenderFns__$U = [];
12989
+ var __vue_render__$V = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex align-items-center"},[_c('span',{staticClass:"mb-0 inline-block text-primary",class:_vm.offClass},[_vm._v("\n "+_vm._s(_vm.labels.off)+"\n ")]),_vm._v(" "),_c('b-form-checkbox',_vm._g(_vm._b({attrs:{"checked":_vm.value,"value":!_vm.invert,"unchecked-value":_vm.invert}},'b-form-checkbox',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2),_vm._v(" "),_c('span',{staticClass:"mb-0 inline-block strong text-primary",class:_vm.onClass},[_vm._v("\n "+_vm._s(_vm.labels.on)+"\n ")])],1)};
12990
+ var __vue_staticRenderFns__$V = [];
12991
12991
 
12992
12992
  /* style */
12993
- const __vue_inject_styles__$X = undefined;
12993
+ const __vue_inject_styles__$Y = undefined;
12994
12994
  /* scoped */
12995
- const __vue_scope_id__$X = undefined;
12995
+ const __vue_scope_id__$Y = undefined;
12996
12996
  /* module identifier */
12997
- const __vue_module_identifier__$X = undefined;
12997
+ const __vue_module_identifier__$Y = undefined;
12998
12998
  /* functional template */
12999
- const __vue_is_functional_template__$X = false;
12999
+ const __vue_is_functional_template__$Y = false;
13000
13000
  /* style inject */
13001
13001
 
13002
13002
  /* style inject SSR */
@@ -13005,13 +13005,13 @@ var __vue_staticRenderFns__$U = [];
13005
13005
 
13006
13006
 
13007
13007
 
13008
- const __vue_component__$X = /*#__PURE__*/normalizeComponent(
13009
- { render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
13010
- __vue_inject_styles__$X,
13011
- __vue_script__$W,
13012
- __vue_scope_id__$X,
13013
- __vue_is_functional_template__$X,
13014
- __vue_module_identifier__$X,
13008
+ const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
13009
+ { render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
13010
+ __vue_inject_styles__$Y,
13011
+ __vue_script__$X,
13012
+ __vue_scope_id__$Y,
13013
+ __vue_is_functional_template__$Y,
13014
+ __vue_module_identifier__$Y,
13015
13015
  false,
13016
13016
  undefined);
13017
13017
 
@@ -13145,7 +13145,7 @@ var __vue_staticRenderFns__$U = [];
13145
13145
  //
13146
13146
 
13147
13147
 
13148
- var script$V = {
13148
+ var script$W = {
13149
13149
  name: 'CInputColorPicker',
13150
13150
 
13151
13151
  components: {
@@ -13297,38 +13297,38 @@ var script$V = {
13297
13297
  };
13298
13298
 
13299
13299
  /* script */
13300
- const __vue_script__$V = script$V;
13300
+ const __vue_script__$W = script$W;
13301
13301
 
13302
13302
  /* template */
13303
- var __vue_render__$T = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"d-flex align-items-center"},[_c('b-button',{staticClass:"p-0 rounded-circle bg-white border-white shadow-none",style:(("color: " + _vm.currentColor + "; fill: " + _vm.currentColor + ";")),on:{"click":_vm.toggleMenu}},[_c('svg',{staticClass:"border border-light rounded-circle",style:({ width: _vm.width, height: _vm.height }),attrs:{"viewBox":"0 0 32 32"}},[_c('pattern',{attrs:{"id":"checkerboard","width":"12","height":"12","patternUnits":"userSpaceOnUse","fill":"FFF"}},[_c('rect',{attrs:{"fill":"#7080707f","x":"0","width":"6","height":"6","y":"0"}}),_vm._v(" "),_c('rect',{attrs:{"fill":"#7080707f","x":"6","width":"6","height":"6","y":"6"}})]),_vm._v(" "),_c('circle',{attrs:{"cx":"16","cy":"16","r":"16","fill":"url(#checkerboard)"}}),_vm._v(" "),_c('circle',{attrs:{"cx":"16","cy":"16","r":"16"}})])]),_vm._v(" "),(_vm.showText)?_c('span',{staticClass:"ml-2"},[_vm._v("\n "+_vm._s(_vm.value)+"\n ")]):_vm._e()],1),_vm._v(" "),_c('b-modal',{attrs:{"visible":_vm.showModal,"title":_vm.translations.modalTitle,"centered":"","size":"md","body-class":"p-0","no-fade":""},on:{"hide":_vm.closeMenu},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [(_vm.defaultValue)?_c('b-button',{attrs:{"variant":"light"},on:{"click":function($event){return _vm.setColor()}}},[_vm._v("\n "+_vm._s(_vm.translations.defaultBtnLabel)+"\n ")]):_vm._e(),_vm._v(" "),_vm._t("footer"),_vm._v(" "),_c('b-button',{staticClass:"ml-auto text-primary border-0",attrs:{"variant":"outline-light"},on:{"click":_vm.closeMenu}},[_vm._v("\n "+_vm._s(_vm.translations.cancelBtnLabel)+"\n ")]),_vm._v(" "),_c('b-button',{attrs:{"variant":"primary"},on:{"click":_vm.saveColor}},[_vm._v("\n "+_vm._s(_vm.translations.saveBtnLabel)+"\n ")])]},proxy:true}],null,true)},[_c('chrome',{staticClass:"w-100 shadow-none",attrs:{"value":_vm.currentColor},on:{"input":_vm.updateColor}}),_vm._v(" "),(_vm.themes.length > 0)?_c('div',{staticClass:"d-flex flex-column border-top p-3 gap-2"},_vm._l((_vm.themes),function(theme){return _c('b-form-group',{key:theme.id,staticClass:"mb-0",attrs:{"label":_vm.translations[theme.id],"label-class":"text-primary"}},[_c('div',{staticClass:"d-flex flex-wrap border"},_vm._l((_vm.themeVariables),function(variable){return _c('b-button',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: variable.label, container: '#body' }),expression:"{ title: variable.label, container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],key:variable.key,staticClass:"swatch flex-grow-1 rounded-0",style:({ backgroundColor: theme.values[variable.key], borderColor: theme.values[variable.key] }),on:{"click":function($event){return _vm.setColor(theme.values[variable.key])}}})}),1)])}),1):_vm._e()],1)],1)};
13304
- var __vue_staticRenderFns__$T = [];
13303
+ var __vue_render__$U = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"d-flex align-items-center"},[_c('b-button',{staticClass:"p-0 rounded-circle bg-white border-white shadow-none",style:(("color: " + _vm.currentColor + "; fill: " + _vm.currentColor + ";")),on:{"click":_vm.toggleMenu}},[_c('svg',{staticClass:"border border-light rounded-circle",style:({ width: _vm.width, height: _vm.height }),attrs:{"viewBox":"0 0 32 32"}},[_c('pattern',{attrs:{"id":"checkerboard","width":"12","height":"12","patternUnits":"userSpaceOnUse","fill":"FFF"}},[_c('rect',{attrs:{"fill":"#7080707f","x":"0","width":"6","height":"6","y":"0"}}),_vm._v(" "),_c('rect',{attrs:{"fill":"#7080707f","x":"6","width":"6","height":"6","y":"6"}})]),_vm._v(" "),_c('circle',{attrs:{"cx":"16","cy":"16","r":"16","fill":"url(#checkerboard)"}}),_vm._v(" "),_c('circle',{attrs:{"cx":"16","cy":"16","r":"16"}})])]),_vm._v(" "),(_vm.showText)?_c('span',{staticClass:"ml-2"},[_vm._v("\n "+_vm._s(_vm.value)+"\n ")]):_vm._e()],1),_vm._v(" "),_c('b-modal',{attrs:{"visible":_vm.showModal,"title":_vm.translations.modalTitle,"centered":"","size":"md","body-class":"p-0","no-fade":""},on:{"hide":_vm.closeMenu},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [(_vm.defaultValue)?_c('b-button',{attrs:{"variant":"light"},on:{"click":function($event){return _vm.setColor()}}},[_vm._v("\n "+_vm._s(_vm.translations.defaultBtnLabel)+"\n ")]):_vm._e(),_vm._v(" "),_vm._t("footer"),_vm._v(" "),_c('b-button',{staticClass:"ml-auto text-primary border-0",attrs:{"variant":"outline-light"},on:{"click":_vm.closeMenu}},[_vm._v("\n "+_vm._s(_vm.translations.cancelBtnLabel)+"\n ")]),_vm._v(" "),_c('b-button',{attrs:{"variant":"primary"},on:{"click":_vm.saveColor}},[_vm._v("\n "+_vm._s(_vm.translations.saveBtnLabel)+"\n ")])]},proxy:true}],null,true)},[_c('chrome',{staticClass:"w-100 shadow-none",attrs:{"value":_vm.currentColor},on:{"input":_vm.updateColor}}),_vm._v(" "),(_vm.themes.length > 0)?_c('div',{staticClass:"d-flex flex-column border-top p-3 gap-2"},_vm._l((_vm.themes),function(theme){return _c('b-form-group',{key:theme.id,staticClass:"mb-0",attrs:{"label":_vm.translations[theme.id],"label-class":"text-primary"}},[_c('div',{staticClass:"d-flex flex-wrap border"},_vm._l((_vm.themeVariables),function(variable){return _c('b-button',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: variable.label, container: '#body' }),expression:"{ title: variable.label, container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],key:variable.key,staticClass:"swatch flex-grow-1 rounded-0",style:({ backgroundColor: theme.values[variable.key], borderColor: theme.values[variable.key] }),on:{"click":function($event){return _vm.setColor(theme.values[variable.key])}}})}),1)])}),1):_vm._e()],1)],1)};
13304
+ var __vue_staticRenderFns__$U = [];
13305
13305
 
13306
13306
  /* style */
13307
- const __vue_inject_styles__$W = function (inject) {
13307
+ const __vue_inject_styles__$X = function (inject) {
13308
13308
  if (!inject) return
13309
13309
  inject("data-v-6d23dfcd_0", { source: ".swatch[data-v-6d23dfcd]{height:58px;min-width:50px}", map: undefined, media: undefined })
13310
13310
  ,inject("data-v-6d23dfcd_1", { source: ".vc-chrome{font-family:var(--font-medium)!important}.vc-chrome .vc-chrome-body{background:var(--white)!important}.vc-chrome .vc-chrome-body .vc-input__input{color:var(--black)!important;background-color:var(--white)!important}.vc-chrome .vc-chrome-body .vc-input__label{color:var(--black)!important}.vc-chrome .vc-chrome-body .vc-chrome-toggle-btn path{fill:var(--black)!important}.vc-chrome .vc-chrome-body .vc-chrome-toggle-btn .vc-chrome-toggle-icon-highlight{background:var(--light)!important}", map: undefined, media: undefined });
13311
13311
 
13312
13312
  };
13313
13313
  /* scoped */
13314
- const __vue_scope_id__$W = "data-v-6d23dfcd";
13314
+ const __vue_scope_id__$X = "data-v-6d23dfcd";
13315
13315
  /* module identifier */
13316
- const __vue_module_identifier__$W = undefined;
13316
+ const __vue_module_identifier__$X = undefined;
13317
13317
  /* functional template */
13318
- const __vue_is_functional_template__$W = false;
13318
+ const __vue_is_functional_template__$X = false;
13319
13319
  /* style inject SSR */
13320
13320
 
13321
13321
  /* style inject shadow dom */
13322
13322
 
13323
13323
 
13324
13324
 
13325
- const __vue_component__$W = /*#__PURE__*/normalizeComponent(
13326
- { render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
13327
- __vue_inject_styles__$W,
13328
- __vue_script__$V,
13329
- __vue_scope_id__$W,
13330
- __vue_is_functional_template__$W,
13331
- __vue_module_identifier__$W,
13325
+ const __vue_component__$X = /*#__PURE__*/normalizeComponent(
13326
+ { render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
13327
+ __vue_inject_styles__$X,
13328
+ __vue_script__$W,
13329
+ __vue_scope_id__$X,
13330
+ __vue_is_functional_template__$X,
13331
+ __vue_module_identifier__$X,
13332
13332
  false,
13333
13333
  createInjector);
13334
13334
 
@@ -13366,7 +13366,7 @@ var __vue_staticRenderFns__$T = [];
13366
13366
 
13367
13367
  fontawesomeSvgCore.library.add(freeSolidSvgIcons.faExpandAlt);
13368
13368
 
13369
- var script$U = {
13369
+ var script$V = {
13370
13370
  components: {
13371
13371
  AceEditor,
13372
13372
  },
@@ -13629,38 +13629,38 @@ var script$U = {
13629
13629
  };
13630
13630
 
13631
13631
  /* script */
13632
- const __vue_script__$U = script$U;
13632
+ const __vue_script__$V = script$V;
13633
13633
 
13634
13634
  /* template */
13635
- var __vue_render__$S = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('ace-editor',_vm._g({ref:"aceeditor",class:{ 'border-0 rounded-0': !_vm.border },attrs:{"lang":_vm.lang,"mode":_vm.lang,"theme":"chrome","width":"100%","height":_vm.height},on:{"init":_vm.editorInit},model:{value:(_vm.editorValue),callback:function ($$v) {_vm.editorValue=$$v;},expression:"editorValue"}},_vm.$listeners)),_vm._v(" "),(_vm.showPopout)?_c('b-button',{staticClass:"popout position-absolute px-2 py-1 mr-3",attrs:{"variant":"link"},on:{"click":function($event){return _vm.$emit('open')}}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'expand-alt']}})],1):_vm._e()],1)};
13636
- var __vue_staticRenderFns__$S = [];
13635
+ var __vue_render__$T = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('ace-editor',_vm._g({ref:"aceeditor",class:{ 'border-0 rounded-0': !_vm.border },attrs:{"lang":_vm.lang,"mode":_vm.lang,"theme":"chrome","width":"100%","height":_vm.height},on:{"init":_vm.editorInit},model:{value:(_vm.editorValue),callback:function ($$v) {_vm.editorValue=$$v;},expression:"editorValue"}},_vm.$listeners)),_vm._v(" "),(_vm.showPopout)?_c('b-button',{staticClass:"popout position-absolute px-2 py-1 mr-3",attrs:{"variant":"link"},on:{"click":function($event){return _vm.$emit('open')}}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'expand-alt']}})],1):_vm._e()],1)};
13636
+ var __vue_staticRenderFns__$T = [];
13637
13637
 
13638
13638
  /* style */
13639
- const __vue_inject_styles__$V = function (inject) {
13639
+ const __vue_inject_styles__$W = function (inject) {
13640
13640
  if (!inject) return
13641
13641
  inject("data-v-0a4a06ee_0", { source: ".popout[data-v-0a4a06ee]{z-index:7;bottom:0;right:0}", map: undefined, media: undefined })
13642
13642
  ,inject("data-v-0a4a06ee_1", { source: ".ace_editor{color:var(--black)!important;background-color:var(--white)!important;border-radius:.25rem;border:2px solid var(--extra-light);font-size:initial!important}.ace_editor .ace_gutter{background-color:var(--light)!important;color:var(--black)!important}.ace_editor .ace_gutter .ace_gutter-active-line{background-color:var(--extra-light)!important}.ace_editor .ace_hidden-cursors .ace_cursor{color:var(--white)!important}.ace_editor .ace_cursor{color:var(--black)!important}.ace_autocomplete{border:none!important}.ace_autocomplete .ace_active-line{background-color:var(--extra-light)!important}.ace_autocomplete .ace_line-hover{border:none!important;background-color:var(--extra-light)!important}.ace_autocomplete .ace_completion-highlight{color:var(--primary)!important}", map: undefined, media: undefined });
13643
13643
 
13644
13644
  };
13645
13645
  /* scoped */
13646
- const __vue_scope_id__$V = "data-v-0a4a06ee";
13646
+ const __vue_scope_id__$W = "data-v-0a4a06ee";
13647
13647
  /* module identifier */
13648
- const __vue_module_identifier__$V = undefined;
13648
+ const __vue_module_identifier__$W = undefined;
13649
13649
  /* functional template */
13650
- const __vue_is_functional_template__$V = false;
13650
+ const __vue_is_functional_template__$W = false;
13651
13651
  /* style inject SSR */
13652
13652
 
13653
13653
  /* style inject shadow dom */
13654
13654
 
13655
13655
 
13656
13656
 
13657
- const __vue_component__$V = /*#__PURE__*/normalizeComponent(
13658
- { render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
13659
- __vue_inject_styles__$V,
13660
- __vue_script__$U,
13661
- __vue_scope_id__$V,
13662
- __vue_is_functional_template__$V,
13663
- __vue_module_identifier__$V,
13657
+ const __vue_component__$W = /*#__PURE__*/normalizeComponent(
13658
+ { render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
13659
+ __vue_inject_styles__$W,
13660
+ __vue_script__$V,
13661
+ __vue_scope_id__$W,
13662
+ __vue_is_functional_template__$W,
13663
+ __vue_module_identifier__$W,
13664
13664
  false,
13665
13665
  createInjector);
13666
13666
 
@@ -13681,9 +13681,9 @@ var __vue_staticRenderFns__$S = [];
13681
13681
  //
13682
13682
 
13683
13683
 
13684
- var script$T = {
13684
+ var script$U = {
13685
13685
  components: {
13686
- CAceEditor: __vue_component__$V,
13686
+ CAceEditor: __vue_component__$W,
13687
13687
  },
13688
13688
 
13689
13689
  props: {
@@ -13827,20 +13827,20 @@ var script$T = {
13827
13827
  };
13828
13828
 
13829
13829
  /* script */
13830
- const __vue_script__$T = script$T;
13830
+ const __vue_script__$U = script$U;
13831
13831
 
13832
13832
  /* template */
13833
- var __vue_render__$R = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('c-ace-editor',_vm._g(_vm._b({attrs:{"auto-complete":"","init-expressions":"","auto-complete-suggestions":_vm.autoCompleteSuggestions},model:{value:(_vm.editorValue),callback:function ($$v) {_vm.editorValue=$$v;},expression:"editorValue"}},'c-ace-editor',Object.assign({}, _vm.$attrs, _vm.$props),false),_vm.$listeners))],1)};
13834
- var __vue_staticRenderFns__$R = [];
13833
+ var __vue_render__$S = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('c-ace-editor',_vm._g(_vm._b({attrs:{"auto-complete":"","init-expressions":"","auto-complete-suggestions":_vm.autoCompleteSuggestions},model:{value:(_vm.editorValue),callback:function ($$v) {_vm.editorValue=$$v;},expression:"editorValue"}},'c-ace-editor',Object.assign({}, _vm.$attrs, _vm.$props),false),_vm.$listeners))],1)};
13834
+ var __vue_staticRenderFns__$S = [];
13835
13835
 
13836
13836
  /* style */
13837
- const __vue_inject_styles__$U = undefined;
13837
+ const __vue_inject_styles__$V = undefined;
13838
13838
  /* scoped */
13839
- const __vue_scope_id__$U = undefined;
13839
+ const __vue_scope_id__$V = undefined;
13840
13840
  /* module identifier */
13841
- const __vue_module_identifier__$U = undefined;
13841
+ const __vue_module_identifier__$V = undefined;
13842
13842
  /* functional template */
13843
- const __vue_is_functional_template__$U = false;
13843
+ const __vue_is_functional_template__$V = false;
13844
13844
  /* style inject */
13845
13845
 
13846
13846
  /* style inject SSR */
@@ -13849,13 +13849,13 @@ var __vue_staticRenderFns__$R = [];
13849
13849
 
13850
13850
 
13851
13851
 
13852
- const __vue_component__$U = /*#__PURE__*/normalizeComponent(
13853
- { render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
13854
- __vue_inject_styles__$U,
13855
- __vue_script__$T,
13856
- __vue_scope_id__$U,
13857
- __vue_is_functional_template__$U,
13858
- __vue_module_identifier__$U,
13852
+ const __vue_component__$V = /*#__PURE__*/normalizeComponent(
13853
+ { render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
13854
+ __vue_inject_styles__$V,
13855
+ __vue_script__$U,
13856
+ __vue_scope_id__$V,
13857
+ __vue_is_functional_template__$V,
13858
+ __vue_module_identifier__$V,
13859
13859
  false,
13860
13860
  undefined);
13861
13861
 
@@ -13894,7 +13894,7 @@ var __vue_staticRenderFns__$R = [];
13894
13894
  //
13895
13895
  //
13896
13896
 
13897
- var script$S = {
13897
+ var script$T = {
13898
13898
  name: 'CButtonSubmit',
13899
13899
 
13900
13900
  props: {
@@ -13947,20 +13947,20 @@ var script$S = {
13947
13947
  };
13948
13948
 
13949
13949
  /* script */
13950
- const __vue_script__$S = script$S;
13950
+ const __vue_script__$T = script$T;
13951
13951
 
13952
13952
  /* template */
13953
- var __vue_render__$Q = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{class:_vm.buttonClass,attrs:{"data-test-id":"button-submit","type":"submit","variant":_vm.variant,"disabled":_vm.disabled || _vm.processing || _vm.success,"size":_vm.size,"block":_vm.block,"title":_vm.title},on:{"click":function($event){$event.preventDefault();return _vm.$emit('submit')}}},[(_vm.processing)?_c('b-spinner',{staticClass:"align-middle",attrs:{"data-test-id":"spinner","small":""}}):(_vm.success)?_c('font-awesome-icon',{attrs:{"data-test-id":"icon-success","icon":['fas', 'check']}}):(_vm.text)?_c('span',{attrs:{"data-test-id":"button-text"}},[_vm._v("\n "+_vm._s(_vm.text)+"\n ")]):_vm._e()],1)};
13954
- var __vue_staticRenderFns__$Q = [];
13953
+ var __vue_render__$R = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{class:_vm.buttonClass,attrs:{"data-test-id":"button-submit","type":"submit","variant":_vm.variant,"disabled":_vm.disabled || _vm.processing || _vm.success,"size":_vm.size,"block":_vm.block,"title":_vm.title},on:{"click":function($event){$event.preventDefault();return _vm.$emit('submit')}}},[(_vm.processing)?_c('b-spinner',{staticClass:"align-middle",attrs:{"data-test-id":"spinner","small":""}}):(_vm.success)?_c('font-awesome-icon',{attrs:{"data-test-id":"icon-success","icon":['fas', 'check']}}):(_vm.text)?_c('span',{attrs:{"data-test-id":"button-text"}},[_vm._v("\n "+_vm._s(_vm.text)+"\n ")]):_vm._e()],1)};
13954
+ var __vue_staticRenderFns__$R = [];
13955
13955
 
13956
13956
  /* style */
13957
- const __vue_inject_styles__$T = undefined;
13957
+ const __vue_inject_styles__$U = undefined;
13958
13958
  /* scoped */
13959
- const __vue_scope_id__$T = undefined;
13959
+ const __vue_scope_id__$U = undefined;
13960
13960
  /* module identifier */
13961
- const __vue_module_identifier__$T = undefined;
13961
+ const __vue_module_identifier__$U = undefined;
13962
13962
  /* functional template */
13963
- const __vue_is_functional_template__$T = false;
13963
+ const __vue_is_functional_template__$U = false;
13964
13964
  /* style inject */
13965
13965
 
13966
13966
  /* style inject SSR */
@@ -13969,13 +13969,13 @@ var __vue_staticRenderFns__$Q = [];
13969
13969
 
13970
13970
 
13971
13971
 
13972
- const __vue_component__$T = /*#__PURE__*/normalizeComponent(
13973
- { render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
13974
- __vue_inject_styles__$T,
13975
- __vue_script__$S,
13976
- __vue_scope_id__$T,
13977
- __vue_is_functional_template__$T,
13978
- __vue_module_identifier__$T,
13972
+ const __vue_component__$U = /*#__PURE__*/normalizeComponent(
13973
+ { render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
13974
+ __vue_inject_styles__$U,
13975
+ __vue_script__$T,
13976
+ __vue_scope_id__$U,
13977
+ __vue_is_functional_template__$U,
13978
+ __vue_module_identifier__$U,
13979
13979
  false,
13980
13980
  undefined);
13981
13981
 
@@ -13999,7 +13999,7 @@ var __vue_staticRenderFns__$Q = [];
13999
13999
  //
14000
14000
 
14001
14001
 
14002
- var script$R = {
14002
+ var script$S = {
14003
14003
  props: {
14004
14004
  value: {
14005
14005
  type: [Array, String, Object],
@@ -14098,11 +14098,153 @@ var script$R = {
14098
14098
  },
14099
14099
  };
14100
14100
 
14101
+ /* script */
14102
+ const __vue_script__$S = script$S;
14103
+
14104
+ /* template */
14105
+ var __vue_render__$Q = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-input-select',{ref:"picker",attrs:{"value":_vm.value,"options":_vm.roles,"placeholder":_vm.placeholder,"get-option-key":function (r) { return r.roleID; },"get-option-label":function (r) { return _vm.getRoleLabel(r); },"filterable":false,"selectable":_vm.selectable,"multiple":_vm.multiple,"clearable":_vm.clearable,"loading":_vm.loading},on:{"search":_vm.search,"input":_vm.updateValue}})};
14106
+ var __vue_staticRenderFns__$Q = [];
14107
+
14108
+ /* style */
14109
+ const __vue_inject_styles__$T = undefined;
14110
+ /* scoped */
14111
+ const __vue_scope_id__$T = undefined;
14112
+ /* module identifier */
14113
+ const __vue_module_identifier__$T = undefined;
14114
+ /* functional template */
14115
+ const __vue_is_functional_template__$T = false;
14116
+ /* style inject */
14117
+
14118
+ /* style inject SSR */
14119
+
14120
+ /* style inject shadow dom */
14121
+
14122
+
14123
+
14124
+ const __vue_component__$T = /*#__PURE__*/normalizeComponent(
14125
+ { render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
14126
+ __vue_inject_styles__$T,
14127
+ __vue_script__$S,
14128
+ __vue_scope_id__$T,
14129
+ __vue_is_functional_template__$T,
14130
+ __vue_module_identifier__$T,
14131
+ false,
14132
+ undefined);
14133
+
14134
+ //
14135
+ //
14136
+ //
14137
+ //
14138
+ //
14139
+ //
14140
+ //
14141
+ //
14142
+ //
14143
+ //
14144
+ //
14145
+ //
14146
+ //
14147
+ //
14148
+ //
14149
+ //
14150
+
14151
+
14152
+ var script$R = {
14153
+ name: 'CInputUser',
14154
+
14155
+ props: {
14156
+ value: {
14157
+ type: String,
14158
+ default: null,
14159
+ },
14160
+
14161
+ placeholder: {
14162
+ type: String,
14163
+ default: '',
14164
+ },
14165
+ },
14166
+
14167
+ data () {
14168
+ return {
14169
+ processing: false,
14170
+
14171
+ user: {
14172
+ options: [],
14173
+ value: undefined,
14174
+
14175
+ filter: {
14176
+ query: null,
14177
+ limit: 20,
14178
+ },
14179
+ },
14180
+ }
14181
+ },
14182
+
14183
+ created () {
14184
+ this.fetchUsers().then(() => {
14185
+ this.getUserByID(this.value);
14186
+ });
14187
+ },
14188
+
14189
+ methods: {
14190
+ search: _.debounce(function (query) {
14191
+ if (query !== this.user.filter.query) {
14192
+ this.user.filter.query = query;
14193
+ this.user.filter.page = 1;
14194
+ }
14195
+
14196
+ this.fetchUsers();
14197
+ }, 300),
14198
+
14199
+ fetchUsers () {
14200
+ this.processing = true;
14201
+
14202
+ return this.$SystemAPI.userList(this.user.filter).then(({ set }) => {
14203
+ this.user.options = set.map(m => Object.freeze(m));
14204
+ }).finally(() => {
14205
+ setTimeout(() => {
14206
+ this.processing = false;
14207
+ }, 500);
14208
+ })
14209
+ },
14210
+
14211
+ getUserByID (userID) {
14212
+ if (!userID || userID === cortezaJs.NoID) {
14213
+ this.user.value = undefined;
14214
+ return
14215
+ }
14216
+
14217
+ const user = this.user.options.find(o => o.userID === userID);
14218
+
14219
+ if (user) {
14220
+ this.user.value = user;
14221
+ } else {
14222
+ return this.$SystemAPI.userRead({ userID }).then(user => {
14223
+ this.user.value = user;
14224
+ this.user.options.push(Object.freeze(user));
14225
+ })
14226
+ }
14227
+ },
14228
+
14229
+ onUserUpdate ({ userID }) {
14230
+ this.$emit('input', userID);
14231
+ },
14232
+
14233
+ getOptionKey ({ userID }) {
14234
+ return userID
14235
+ },
14236
+
14237
+ getOptionLabel ({ userID, email, name, username }) {
14238
+ return name || username || email || `<@${userID}>`
14239
+ },
14240
+ },
14241
+ };
14242
+
14101
14243
  /* script */
14102
14244
  const __vue_script__$R = script$R;
14103
14245
 
14104
14246
  /* template */
14105
- var __vue_render__$P = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-input-select',{ref:"picker",attrs:{"value":_vm.value,"options":_vm.roles,"placeholder":_vm.placeholder,"get-option-key":function (r) { return r.roleID; },"get-option-label":function (r) { return _vm.getRoleLabel(r); },"filterable":false,"selectable":_vm.selectable,"multiple":_vm.multiple,"clearable":_vm.clearable,"loading":_vm.loading},on:{"search":_vm.search,"input":_vm.updateValue}})};
14247
+ var __vue_render__$P = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-input-select',_vm._b({attrs:{"data-test-id":"select-user","options":_vm.user.options,"get-option-label":_vm.getOptionLabel,"get-option-key":_vm.getOptionKey,"placeholder":_vm.placeholder,"loading":_vm.processing,"filterable":false},on:{"search":_vm.search,"input":_vm.onUserUpdate},model:{value:(_vm.user.value),callback:function ($$v) {_vm.$set(_vm.user, "value", $$v);},expression:"user.value"}},'c-input-select',_vm.$attrs,false))};
14106
14248
  var __vue_staticRenderFns__$P = [];
14107
14249
 
14108
14250
  /* style */
@@ -14509,8 +14651,8 @@ var script$M = {
14509
14651
 
14510
14652
  components: {
14511
14653
  Rules: __vue_component__$O,
14512
- CInputSelect: __vue_component__$19,
14513
- CInputRole: __vue_component__$S,
14654
+ CInputSelect: __vue_component__$1a,
14655
+ CInputRole: __vue_component__$T,
14514
14656
  },
14515
14657
 
14516
14658
  props: {
@@ -14870,17 +15012,17 @@ var script$M = {
14870
15012
  const __vue_script__$M = script$M;
14871
15013
 
14872
15014
  /* template */
14873
- var __vue_render__$K = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-modal',{staticClass:"h-100 overflow-hidden",attrs:{"id":"permissions-modal","visible":_vm.showModal,"size":"xl","title":_vm.translatedTitle,"lazy":"","scrollable":"","no-fade":"","body-class":"d-flex flex-column p-0"},on:{"hide":_vm.onHide},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [_c('b-button',{attrs:{"data-test-id":"button-cancel","variant":"light"},on:{"click":_vm.onHide}},[_vm._v("\n "+_vm._s(_vm.labels.cancel)+"\n ")]),_vm._v(" "),_c('c-button-submit',{attrs:{"data-test-id":"button-save","disabled":_vm.submitDisabled,"processing":_vm.submitting,"text":_vm.labels.save},on:{"submit":_vm.onSubmit}})]},proxy:true}])},[_c('b-row',{staticClass:"bg-light border-bottom",attrs:{"no-gutters":""}},[_c('b-col',{staticClass:"p-3",attrs:{"lg":"4"}},[_vm._v("\n "+_vm._s(_vm.labels.edit.description)+"\n ")]),_vm._v(" "),_c('b-col',{staticClass:"d-none d-lg-block border-left p-3"},[_vm._v("\n "+_vm._s(_vm.labels.evaluate.description)+"\n ")])],1),_vm._v(" "),_c('b-row',{staticClass:"bg-light",attrs:{"no-gutters":"","align-v":"stretch"}},[_c('b-col',{staticClass:"d-flex align-items-center p-3 border-bottom",attrs:{"lg":"4"}},[_c('b-form-group',{staticClass:"mb-0 w-100",attrs:{"label":_vm.labels.edit.label,"label-class":"text-primary"}},[_c('c-input-role',{attrs:{"data-test-id":"select-user-list-roles","visible":_vm.isRoleVisible,"clearable":false,"preselect":""},on:{"input":_vm.onRoleChange},model:{value:(_vm.currentRoleID),callback:function ($$v) {_vm.currentRoleID=$$v;},expression:"currentRoleID"}})],1)],1),_vm._v(" "),_vm._l((_vm.evaluate),function(e,i){return _c('b-col',{key:i,staticClass:"pointer hide-eval border-bottom d-none d-lg-flex flex-column align-items-center justify-content-center overflow-hidden border-left p-3",attrs:{"data-test-id":"icon-remove","lg":"2"},on:{"click":function($event){return _vm.onHideEval(i)}}},[_vm._l((_vm.getEvalName(e)),function(n,index){return _c('label',{key:index,staticClass:"pointer text-center text-primary mb-1",attrs:{"title":n}},[_vm._v("\n "+_vm._s(n)+"\n ")])}),_vm._v(" "),_c('font-awesome-icon',{staticClass:"text-secondary rotate mt-1",attrs:{"icon":['fas', 'plus']}})],2)}),_vm._v(" "),(_vm.evaluate.length < 4)?_c('b-col',{directives:[{name:"b-modal",rawName:"v-b-modal.permissions-modal-eval",modifiers:{"permissions-modal-eval":true}}],staticClass:"d-none d-lg-flex pointer border-bottom flex-column align-items-center justify-content-center overflow-hidden border-left p-3",attrs:{"data-test-id":"icon-add"}},[_c('label',{staticClass:"pointer text-center text-primary mb-1"},[_vm._v("\n "+_vm._s(_vm.labels.add.label)+"\n ")]),_vm._v(" "),_c('font-awesome-icon',{staticClass:"text-success d-block mx-auto mt-1",attrs:{"icon":['fas', 'plus']}})],1):_vm._e()],2),_vm._v(" "),(_vm.processing)?_c('div',{staticClass:"d-flex flex-column align-items-center justify-content-center h-100 py-4",staticStyle:{"min-height":"50vh"}},[_c('b-spinner'),_vm._v(" "),_c('div',[_vm._v("\n "+_vm._s(_vm.labels.loading)+"\n ")])],1):_c('b-row',{attrs:{"no-gutters":""}},[_c('b-col',{staticClass:"p-3",attrs:{"lg":"4"}},[_c('rules',{attrs:{"rules":_vm.rules},on:{"update:rules":function($event){_vm.rules=$event;}}})],1),_vm._v(" "),_vm._l((_vm.evaluate),function(e,i){return _c('b-col',{key:i,staticClass:"d-none d-lg-flex border-left p-3 bg-light not-allowed",attrs:{"lg":"2"}},[_c('div',{staticClass:"d-flex flex-column align-items-center justify-content-between mt-4 w-100"},_vm._l((e.rules),function(r){return _c('h5',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: _vm.getRuleTooltip(r.access === 'unknown-context', !!e.userID), container: '#body' }),expression:"{ title: getRuleTooltip(r.access === 'unknown-context', !!e.userID), container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],key:r.operation,staticClass:"text-center mb-1 mt-2 w-100"},[(r.access === 'unknown-context')?_c('font-awesome-icon',{staticClass:"text-secondary",attrs:{"icon":['fas', 'question']}}):(r.access === 'allow')?_c('font-awesome-icon',{staticClass:"text-success",attrs:{"icon":['fas', 'check']}}):_c('font-awesome-icon',{staticClass:"text-danger",attrs:{"icon":['fas', 'times']}})],1)}),0)])}),_vm._v(" "),_c('b-col',{staticClass:"d-none d-lg-block pt-4 border-left"})],2)],1),_vm._v(" "),_c('b-modal',{attrs:{"id":"permissions-modal-eval","title":_vm.labels.add.title,"centered":"","no-fade":""},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [_c('c-button-submit',{attrs:{"data-test-id":"button-save","disabled":!_vm.addEnabled,"processing":_vm.processing,"text":_vm.labels.add.save},on:{"submit":_vm.onAddEval}})]},proxy:true}])},[_c('b-form-group',{staticClass:"mb-0",attrs:{"label":_vm.labels.add.role.label,"label-class":"text-primary"}},[_c('c-input-role',{attrs:{"data-test-id":"select-role","placeholder":_vm.labels.add.role.placeholder,"multiple":"","disabled":!!_vm.add.userID},model:{value:(_vm.add.roleID),callback:function ($$v) {_vm.$set(_vm.add, "roleID", $$v);},expression:"add.roleID"}})],1),_vm._v(" "),_c('b-form-group',{staticClass:"mt-3 mb-0",attrs:{"label":_vm.labels.add.user.label,"label-class":"text-primary"}},[_c('c-input-select',{attrs:{"data-test-id":"select-user","disabled":!!_vm.add.roleID.length,"options":_vm.userOptions,"get-option-label":_vm.getUserLabel,"get-option-key":_vm.getOptionUserKey,"placeholder":_vm.labels.add.user.placeholder,"filterable":false},on:{"search":_vm.searchUsers},model:{value:(_vm.add.userID),callback:function ($$v) {_vm.$set(_vm.add, "userID", $$v);},expression:"add.userID"}})],1)],1)],1)};
15015
+ var __vue_render__$K = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-modal',{staticClass:"h-100 overflow-hidden",attrs:{"id":"permissions-modal","visible":_vm.showModal,"size":"xl","title":_vm.translatedTitle,"lazy":"","scrollable":"","no-fade":"","body-class":"d-flex flex-column p-0"},on:{"hide":_vm.onHide},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [_c('b-button',{attrs:{"data-test-id":"button-cancel","variant":"light"},on:{"click":_vm.onHide}},[_vm._v("\n "+_vm._s(_vm.labels.cancel)+"\n ")]),_vm._v(" "),_c('c-button-submit',{attrs:{"data-test-id":"button-save","disabled":_vm.submitDisabled,"processing":_vm.submitting,"text":_vm.labels.save},on:{"submit":_vm.onSubmit}})]},proxy:true}])},[_c('b-row',{staticClass:"bg-light border-bottom",attrs:{"no-gutters":""}},[_c('b-col',{staticClass:"p-3",attrs:{"lg":"4"}},[_vm._v("\n "+_vm._s(_vm.labels.edit.description)+"\n ")]),_vm._v(" "),_c('b-col',{staticClass:"d-none d-lg-block border-left p-3"},[_vm._v("\n "+_vm._s(_vm.labels.evaluate.description)+"\n ")])],1),_vm._v(" "),_c('b-row',{staticClass:"bg-light",attrs:{"no-gutters":"","align-v":"stretch"}},[_c('b-col',{staticClass:"d-flex align-items-center p-3 border-bottom",attrs:{"lg":"4"}},[_c('b-form-group',{staticClass:"mb-0 w-100",attrs:{"label":_vm.labels.edit.label,"label-class":"text-primary"}},[_c('c-input-role',{attrs:{"data-test-id":"select-user-list-roles","visible":_vm.isRoleVisible,"clearable":false,"preselect":""},on:{"input":_vm.onRoleChange},model:{value:(_vm.currentRoleID),callback:function ($$v) {_vm.currentRoleID=$$v;},expression:"currentRoleID"}})],1)],1),_vm._v(" "),_vm._l((_vm.evaluate),function(e,i){return _c('b-col',{key:i,staticClass:"pointer hide-eval border-bottom d-none d-lg-flex flex-column align-items-center justify-content-center overflow-hidden border-left p-3",attrs:{"data-test-id":"icon-remove","lg":"2"},on:{"click":function($event){return _vm.onHideEval(i)}}},[_vm._l((_vm.getEvalName(e)),function(n,index){return _c('label',{key:index,staticClass:"pointer text-center text-primary mb-1",attrs:{"title":n}},[_vm._v("\n "+_vm._s(n)+"\n ")])}),_vm._v(" "),_c('font-awesome-icon',{staticClass:"text-secondary rotate mt-1",attrs:{"icon":['fas', 'plus']}})],2)}),_vm._v(" "),(_vm.evaluate.length < 4)?_c('b-col',{directives:[{name:"b-modal",rawName:"v-b-modal.permissions-modal-eval",modifiers:{"permissions-modal-eval":true}}],staticClass:"d-none d-lg-flex pointer border-bottom flex-column align-items-center justify-content-center overflow-hidden border-left p-3",attrs:{"data-test-id":"icon-add"}},[_c('label',{staticClass:"pointer text-center text-primary mb-1"},[_vm._v("\n "+_vm._s(_vm.labels.add.label)+"\n ")]),_vm._v(" "),_c('font-awesome-icon',{staticClass:"text-success d-block mx-auto mt-1",attrs:{"icon":['fas', 'plus']}})],1):_vm._e()],2),_vm._v(" "),(_vm.processing)?_c('div',{staticClass:"d-flex flex-column align-items-center justify-content-center h-100 py-4",staticStyle:{"min-height":"50vh"}},[_c('b-spinner'),_vm._v(" "),_c('div',[_vm._v("\n "+_vm._s(_vm.labels.loading)+"\n ")])],1):_c('b-row',{attrs:{"no-gutters":""}},[_c('b-col',{staticClass:"p-3",attrs:{"lg":"4"}},[_c('rules',{attrs:{"rules":_vm.rules},on:{"update:rules":function($event){_vm.rules=$event;}}})],1),_vm._v(" "),_vm._l((_vm.evaluate),function(e,i){return _c('b-col',{key:i,staticClass:"d-none d-lg-flex border-left p-3 bg-light not-allowed",attrs:{"lg":"2"}},[_c('div',{staticClass:"d-flex flex-column align-items-center justify-content-between mt-4 w-100"},_vm._l((e.rules),function(r){return _c('h5',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: _vm.getRuleTooltip(r.access === 'unknown-context', !!e.userID), container: '#body' }),expression:"{ title: getRuleTooltip(r.access === 'unknown-context', !!e.userID), container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],key:r.operation,staticClass:"text-center mb-1 mt-2 w-100"},[(r.access === 'unknown-context')?_c('font-awesome-icon',{staticClass:"text-secondary",attrs:{"icon":['fas', 'question']}}):(r.access === 'allow')?_c('font-awesome-icon',{staticClass:"text-success",attrs:{"icon":['fas', 'check']}}):_c('font-awesome-icon',{staticClass:"text-danger",attrs:{"icon":['fas', 'times']}})],1)}),0)])}),_vm._v(" "),_c('b-col',{staticClass:"d-none d-lg-block pt-4 border-left"})],2)],1),_vm._v(" "),_c('b-modal',{attrs:{"id":"permissions-modal-eval","title":_vm.labels.add.title,"centered":"","no-fade":""},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [_c('c-button-submit',{attrs:{"data-test-id":"button-save","disabled":!_vm.addEnabled,"processing":_vm.processing,"text":_vm.labels.add.save},on:{"submit":_vm.onAddEval}})]},proxy:true}])},[_c('b-form-group',{staticClass:"mb-0",attrs:{"label":_vm.labels.add.role.label,"label-class":"text-primary"}},[_c('c-input-role',{attrs:{"data-test-id":"select-role","placeholder":_vm.labels.add.role.placeholder,"multiple":"","disabled":!!_vm.add.userID},model:{value:(_vm.add.roleID),callback:function ($$v) {_vm.$set(_vm.add, "roleID", $$v);},expression:"add.roleID"}})],1),_vm._v(" "),_c('b-form-group',{staticClass:"mt-3 mb-0",attrs:{"label":_vm.labels.add.user.label,"label-class":"text-primary"}},[_c('c-input-select',{attrs:{"data-test-id":"select-user","disabled":!!_vm.add.roleID.length,"options":_vm.userOptions,"get-option-label":_vm.getUserLabel,"placeholder":_vm.labels.add.user.placeholder,"filterable":false},on:{"search":_vm.searchUsers},model:{value:(_vm.add.userID),callback:function ($$v) {_vm.$set(_vm.add, "userID", $$v);},expression:"add.userID"}})],1)],1)],1)};
14874
15016
  var __vue_staticRenderFns__$K = [];
14875
15017
 
14876
15018
  /* style */
14877
15019
  const __vue_inject_styles__$N = function (inject) {
14878
15020
  if (!inject) return
14879
- inject("data-v-3d836f5d_0", { source: ".not-allowed[data-v-3d836f5d]{cursor:not-allowed}.pointer[data-v-3d836f5d]{cursor:pointer}.rotate[data-v-3d836f5d]{transform:rotate(45deg)}.hide-eval:hover .rotate[data-v-3d836f5d]{color:var(--primary)!important}", map: undefined, media: undefined });
15021
+ inject("data-v-11574fdb_0", { source: ".not-allowed[data-v-11574fdb]{cursor:not-allowed}.pointer[data-v-11574fdb]{cursor:pointer}.rotate[data-v-11574fdb]{transform:rotate(45deg)}.hide-eval:hover .rotate[data-v-11574fdb]{color:var(--primary)!important}", map: undefined, media: undefined });
14880
15022
 
14881
15023
  };
14882
15024
  /* scoped */
14883
- const __vue_scope_id__$N = "data-v-3d836f5d";
15025
+ const __vue_scope_id__$N = "data-v-11574fdb";
14884
15026
  /* module identifier */
14885
15027
  const __vue_module_identifier__$N = undefined;
14886
15028
  /* functional template */
@@ -14943,7 +15085,7 @@ var script$L = {
14943
15085
  },
14944
15086
 
14945
15087
  pRaw (k, defValue = undefined, defType = undefined) {
14946
- if (this.payload && this.payload[k] && this.payload[k] !== undefined) {
15088
+ if (k && this.payload && this.payload[k] && this.payload[k] !== undefined) {
14947
15089
  return this.payload[k]
14948
15090
  }
14949
15091
 
@@ -14992,7 +15134,7 @@ var script$K = {
14992
15134
  const __vue_script__$K = script$K;
14993
15135
 
14994
15136
  /* template */
14995
- var __vue_render__$J = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"d-flex justify-content-end gap-1"},[_c('b-button',{attrs:{"variant":_vm.pVal('buttonVariant', 'primary'),"disabled":_vm.loading},on:{"click":function($event){_vm.$emit('submit', { confirmed: _vm.pRaw('buttonValue', true, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'OK'))+"\n ")])],1)])};
15137
+ var __vue_render__$J = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-button',{staticClass:"ml-auto",attrs:{"variant":_vm.pVal('buttonVariant', 'primary'),"disabled":_vm.loading},on:{"click":function($event){_vm.$emit('submit', { confirmed: _vm.pRaw(undefined, true, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Ok'))+"\n ")])],1)};
14996
15138
  var __vue_staticRenderFns__$J = [];
14997
15139
 
14998
15140
  /* style */
@@ -15030,7 +15172,7 @@ var script$J = {
15030
15172
  const __vue_script__$J = script$J;
15031
15173
 
15032
15174
  /* template */
15033
- var __vue_render__$I = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-between justify-content-center gap-2"},[_c('b-button',{attrs:{"variant":_vm.pVal('confirmButtonVariant', 'primary'),"disabled":_vm.loading},on:{"click":function($event){_vm.$emit('submit', { value: _vm.pRaw('confirmButtonValue', true, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('confirmButtonLabel', 'Yes'))+"\n ")]),_vm._v(" "),_c('b-button',{attrs:{"disabled":_vm.loading,"variant":_vm.pVal('rejectButtonVariant', 'light')},on:{"click":function($event){_vm.$emit('submit', { value: _vm.pRaw('rejectButtonValue', false, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('rejectButtonLabel', 'No'))+"\n ")])],1)])};
15175
+ var __vue_render__$I = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"d-flex flex-wrap align-items-center gap-2"},[_c('b-button',{staticClass:"flex-grow-1",attrs:{"variant":_vm.pVal('confirmButtonVariant', 'primary'),"disabled":_vm.loading},on:{"click":function($event){_vm.$emit('submit', { value: _vm.pRaw('confirmButtonValue', true, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('confirmButtonLabel', 'Yes'))+"\n ")]),_vm._v(" "),_c('b-button',{staticClass:"flex-grow-1",attrs:{"disabled":_vm.loading,"variant":_vm.pVal('rejectButtonVariant', 'light')},on:{"click":function($event){_vm.$emit('submit', { value: _vm.pRaw('rejectButtonValue', false, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('rejectButtonLabel', 'No'))+"\n ")])],1)])};
15034
15176
  var __vue_staticRenderFns__$I = [];
15035
15177
 
15036
15178
  /* style */
@@ -15140,9 +15282,10 @@ var script$H = {
15140
15282
  name: 'CPromptComposeRecordPicker',
15141
15283
 
15142
15284
  components: {
15143
- CInputSelect: __vue_component__$19,
15285
+ CInputSelect: __vue_component__$1a,
15144
15286
  CPagination: __vue_component__$J,
15145
15287
  },
15288
+
15146
15289
  extends: __vue_component__$M,
15147
15290
 
15148
15291
  data () {
@@ -15342,10 +15485,6 @@ var script$H = {
15342
15485
  this.filter.pageCursor = next ? this.filter.nextPage : this.filter.prevPage;
15343
15486
  },
15344
15487
 
15345
- getOptionKey ({ recordID }) {
15346
- return recordID
15347
- },
15348
-
15349
15488
  setDefaultValues () {
15350
15489
  this.processing = false;
15351
15490
  this.query = '';
@@ -15362,7 +15501,7 @@ var script$H = {
15362
15501
  const __vue_script__$H = script$H;
15363
15502
 
15364
15503
  /* template */
15365
- var __vue_render__$G = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"d-flex flex-column gap-1"},[_c('c-input-select',{staticClass:"w-100 mb-3",attrs:{"options":_vm.options,"get-option-key":_vm.getOptionKey,"loading":_vm.processing,"append-to-body":"","option-value":"recordID","option-text":"label","placeholder":"Select record","filterable":false,"reduce":function (r) { return r.recordID; }},on:{"search":_vm.search},scopedSlots:_vm._u([{key:"list-footer",fn:function(){return [(_vm.showPagination)?_c('c-pagination',{attrs:{"has-prev-page":_vm.hasPrevPage,"has-next-page":_vm.hasNextPage},on:{"prev":function($event){return _vm.goToPage(false)},"next":function($event){return _vm.goToPage(true)}}}):_vm._e()]},proxy:true}]),model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}}),_vm._v(" "),_c('b-button',{staticClass:"ml-auto",attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){_vm.$emit('submit', { value: _vm.encodeValue() });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)])};
15504
+ var __vue_render__$G = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.pVal('label', ''),"label-class":"text-primary"}},[_c('c-input-select',{staticClass:"w-100",attrs:{"options":_vm.options,"get-option-key":function (r) { return r.recordID; },"loading":_vm.processing,"append-to-body":"","option-value":"recordID","placeholder":_vm.pVal('placeholder', 'Select a record'),"filterable":false,"reduce":function (r) { return r.recordID; }},on:{"search":_vm.search},scopedSlots:_vm._u([{key:"list-footer",fn:function(){return [(_vm.showPagination)?_c('c-pagination',{attrs:{"has-prev-page":_vm.hasPrevPage,"has-next-page":_vm.hasNextPage},on:{"prev":function($event){return _vm.goToPage(false)},"next":function($event){return _vm.goToPage(true)}}}):_vm._e()]},proxy:true}]),model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}})],1),_vm._v(" "),_c('b-button',{staticClass:"ml-auto",attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){_vm.$emit('submit', { value: _vm.encodeValue() });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)};
15366
15505
  var __vue_staticRenderFns__$G = [];
15367
15506
 
15368
15507
  /* style */
@@ -15437,7 +15576,7 @@ var script$G = {
15437
15576
  const __vue_script__$G = script$G;
15438
15577
 
15439
15578
  /* template */
15440
- var __vue_render__$F = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.label,"label-class":"text-primary"}},[_c('b-input',{attrs:{"type":_vm.type,"disabled":_vm.loading},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}})],1),_vm._v(" "),_c('b-button',{attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){return _vm.$emit('submit', { value: { '@value': _vm.value, '@type': 'String' }})}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)};
15579
+ var __vue_render__$F = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.label,"label-class":"text-primary"}},[_c('b-input',{attrs:{"type":_vm.type,"disabled":_vm.loading},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}})],1),_vm._v(" "),_c('b-button',{staticClass:"ml-auto",attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){return _vm.$emit('submit', { value: { '@value': _vm.value, '@type': 'String' }})}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)};
15441
15580
  var __vue_staticRenderFns__$F = [];
15442
15581
 
15443
15582
  /* style */
@@ -15517,6 +15656,11 @@ const validTypes = [
15517
15656
 
15518
15657
  var script$E = {
15519
15658
  name: 'CPromptOptions',
15659
+
15660
+ components: {
15661
+ CInputSelect: __vue_component__$1a,
15662
+ },
15663
+
15520
15664
  extends: __vue_component__$M,
15521
15665
 
15522
15666
  data () {
@@ -15526,9 +15670,10 @@ var script$E = {
15526
15670
  },
15527
15671
 
15528
15672
  computed: {
15529
- options () {
15673
+ itemOptions () {
15530
15674
  const out = [];
15531
15675
  const options = this.pVal('options', {});
15676
+
15532
15677
  for (const value in options) {
15533
15678
  out.push({ value, text: options[value] });
15534
15679
  }
@@ -15536,7 +15681,7 @@ var script$E = {
15536
15681
  return out
15537
15682
  },
15538
15683
 
15539
- type () {
15684
+ inputType () {
15540
15685
  const t = this.pVal('type', 'text');
15541
15686
  if (validTypes.indexOf(t) === -1) {
15542
15687
  return 'select'
@@ -15582,7 +15727,7 @@ var script$E = {
15582
15727
  const __vue_script__$E = script$E;
15583
15728
 
15584
15729
  /* template */
15585
- var __vue_render__$D = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.pVal('label', 'Input'),"label-class":"text-primary"}},[(_vm.type === 'select')?_c('b-form-select',{attrs:{"options":_vm.options,"disabled":_vm.loading,"multiple":_vm.multiple},scopedSlots:_vm._u([(!_vm.multiple)?{key:"first",fn:function(){return [_c('b-form-select-option',{attrs:{"value":undefined,"disabled":""}},[_vm._v("\n -- Please select an option --\n ")])]},proxy:true}:null],null,true),model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}}):_vm._e(),_vm._v(" "),(_vm.type === 'radio')?_c('b-form-radio-group',{attrs:{"disabled":_vm.loading,"options":_vm.options},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}}):_vm._e()],1),_vm._v(" "),_c('b-button',{attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){_vm.$emit('submit', { value: _vm.encodeValue() });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)};
15730
+ var __vue_render__$D = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.pVal('label', 'Input'),"label-class":"text-primary"}},[(_vm.inputType === 'select')?_c('c-input-select',{staticClass:"w-100",attrs:{"options":_vm.itemOptions,"disabled":_vm.loading,"multiple":_vm.multiple,"append-to-body":"","label":"text","get-option-key":function (r) { return r.value; },"placeholder":_vm.pVal('placeholder', 'Select an option'),"reduce":function (r) { return r.value; }},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}}):(_vm.inputType === 'radio')?_c('b-form-radio-group',{attrs:{"options":_vm.itemOptions,"disabled":_vm.loading},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}}):_vm._e()],1),_vm._v(" "),_c('b-button',{staticClass:"ml-auto",attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){_vm.$emit('submit', { value: _vm.encodeValue() });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)};
15586
15731
  var __vue_staticRenderFns__$D = [];
15587
15732
 
15588
15733
  /* style */
@@ -16296,7 +16441,6 @@ const prompts = Object.freeze([
16296
16441
  { name: 'message', types: ['String'], required: true },
16297
16442
  { name: 'buttonLabel', types: ['String'] },
16298
16443
  { name: 'buttonVariant', types: ['String'], meta: { visual: { input: { type: 'select', properties: { options: variants }, default: 'primary' } } } },
16299
- { name: 'buttonValue', types: ['Any'] },
16300
16444
  ],
16301
16445
  },
16302
16446
  {
@@ -16329,6 +16473,9 @@ const prompts = Object.freeze([
16329
16473
  { name: 'labelField', types: ['Handle'], required: true },
16330
16474
  { name: 'queryFields', types: ['Array'] },
16331
16475
  { name: 'prefilter', types: ['String'] },
16476
+ { name: 'label', types: ['String'] },
16477
+ { name: 'placeholder', types: ['String'] },
16478
+ { name: 'buttonLabel', types: ['String'] },
16332
16479
  ],
16333
16480
  results: [
16334
16481
  { name: 'value', types: ['ComposeRecord'] },
@@ -16367,6 +16514,7 @@ const prompts = Object.freeze([
16367
16514
  },
16368
16515
  },
16369
16516
  { name: 'inputValue', types: ['String'] },
16517
+ { name: 'buttonLabel', types: ['String'] },
16370
16518
  ],
16371
16519
  results: [
16372
16520
  { name: 'value', types: ['Any'] },
@@ -16400,8 +16548,10 @@ const prompts = Object.freeze([
16400
16548
  },
16401
16549
  },
16402
16550
  { name: 'value', types: ['String', 'Array'] },
16551
+ { name: 'placeholder', types: ['String'] },
16403
16552
  { name: 'options', types: ['KV'] },
16404
16553
  { name: 'multiselect', types: ['Boolean'] },
16554
+ { name: 'buttonLabel', types: ['String'] },
16405
16555
  ],
16406
16556
  results: [
16407
16557
  { name: 'value', types: ['Any'] },
@@ -16791,7 +16941,7 @@ var script$y = {
16791
16941
  },
16792
16942
 
16793
16943
  props: {
16794
- sidebarPinned: {
16944
+ sidebarExpanded: {
16795
16945
  type: Boolean,
16796
16946
  required: true,
16797
16947
  default: false,
@@ -16918,7 +17068,7 @@ var script$y = {
16918
17068
  const __vue_script__$y = script$y;
16919
17069
 
16920
17070
  /* template */
16921
- var __vue_render__$x = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header-navigation d-flex flex-wrap align-items-center py-2 px-3 gap-2"},[_c('div',{staticClass:"sidebar-spacer",class:{ 'expanded': _vm.sidebarPinned }}),_vm._v(" "),_c('h2',{staticClass:"title mb-0"},[_vm._t("title")],2),_vm._v(" "),_c('div',{staticClass:"tools-wrapper ml-auto"},[_vm._t("tools")],2),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center ml-auto gap-1"},[(!_vm.hideAppSelector && !_vm.settings.hideAppSelector)?_c('b-button',{staticClass:"text-dark border-0 px-1",attrs:{"data-test-id":"app-selector","variant":"outline-extra-light","href":_vm.appSelectorURL}},[_vm._v("\n "+_vm._s(_vm.labels.appMenu)+"\n ")]):_vm._e(),_vm._v(" "),_vm._t("right-tools"),_vm._v(" "),(!_vm.settings.hideNotifications)?_c('c-notification-button'):_vm._e(),_vm._v(" "),(!_vm.settings.hideHelp)?_c('b-dropdown',{staticClass:"nav-icon text-sm-nowrap",attrs:{"data-test-id":"dropdown-helper","size":"lg","variant":"outline-extra-light","toggle-class":"text-decoration-none text-dark rounded-circle border-0 w-100","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark mt-2","right":"","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-center"},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['far', 'question-circle']}}),_vm._v(" "),_c('span',{staticClass:"sr-only"},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")])],1)]},proxy:true}],null,false,1129756517)},[_vm._v(" "),_c('div',[_vm._t("help-dropdown")],2),_vm._v(" "),_vm._l((_vm.helpLinks),function(helpLink,index){return _c('b-dropdown-item',{key:index,attrs:{"href":_vm._f("checkValidURL")(helpLink.url),"target":helpLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(helpLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideForumLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-forum","href":"https://forum.cortezaproject.org/","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideDocumentationLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-docs","href":_vm.documentationURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpDocumentation)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideFeedbackLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-feedback","href":"mailto:info@cortezaproject.org","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpFeedback)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.onlyVersion)?_c('b-dropdown-divider'):_vm._e(),_vm._v(" "),_c('b-dropdown-item',{staticClass:"small",attrs:{"disabled":""}},[_vm._v("\n "+_vm._s(_vm.labels.helpVersion)+"\n "),_c('br'),_vm._v("\n "+_vm._s(_vm.frontendVersion)+"\n ")])],2):_vm._e(),_vm._v(" "),(!_vm.settings.hideProfile)?_c('b-dropdown',{staticClass:"nav-user-icon",attrs:{"data-test-id":"dropdown-profile","variant":_vm.avatarExists ? 'link' : 'outline-extra-light',"toggle-class":("nav-icon text-decoration-none text-dark rounded-circle border " + (_vm.avatarExists ? 'p-0' : '')),"size":"lg","right":"","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark mt-2","no-caret":""},on:{"hide":_vm.preventDropdownClose},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [(_vm.avatarExists)?_c('div',{staticClass:"avatar d-flex h-100",style:({
17071
+ var __vue_render__$x = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header-navigation d-flex flex-wrap align-items-center py-2 px-3 gap-2"},[_c('div',{staticClass:"sidebar-spacer",class:{ 'expanded': _vm.sidebarExpanded }}),_vm._v(" "),_c('h2',{staticClass:"title mb-0"},[_vm._t("title")],2),_vm._v(" "),_c('div',{staticClass:"tools-wrapper ml-auto"},[_vm._t("tools")],2),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center ml-auto gap-1"},[(!_vm.hideAppSelector && !_vm.settings.hideAppSelector)?_c('b-button',{staticClass:"text-dark border-0 px-1",attrs:{"data-test-id":"app-selector","variant":"outline-extra-light","href":_vm.appSelectorURL}},[_vm._v("\n "+_vm._s(_vm.labels.appMenu)+"\n ")]):_vm._e(),_vm._v(" "),_vm._t("right-tools"),_vm._v(" "),(!_vm.settings.hideNotifications)?_c('c-notification-button'):_vm._e(),_vm._v(" "),(!_vm.settings.hideHelp)?_c('b-dropdown',{staticClass:"nav-icon text-sm-nowrap",attrs:{"data-test-id":"dropdown-helper","size":"lg","variant":"outline-extra-light","toggle-class":"text-decoration-none text-dark rounded-circle border-0 w-100","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark mt-2","right":"","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-center"},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['far', 'question-circle']}}),_vm._v(" "),_c('span',{staticClass:"sr-only"},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")])],1)]},proxy:true}],null,false,1129756517)},[_vm._v(" "),_c('div',[_vm._t("help-dropdown")],2),_vm._v(" "),_vm._l((_vm.helpLinks),function(helpLink,index){return _c('b-dropdown-item',{key:index,attrs:{"href":_vm._f("checkValidURL")(helpLink.url),"target":helpLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(helpLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideForumLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-forum","href":"https://forum.cortezaproject.org/","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideDocumentationLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-docs","href":_vm.documentationURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpDocumentation)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideFeedbackLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-feedback","href":"mailto:info@cortezaproject.org","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpFeedback)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.onlyVersion)?_c('b-dropdown-divider'):_vm._e(),_vm._v(" "),_c('b-dropdown-item',{staticClass:"small",attrs:{"disabled":""}},[_vm._v("\n "+_vm._s(_vm.labels.helpVersion)+"\n "),_c('br'),_vm._v("\n "+_vm._s(_vm.frontendVersion)+"\n ")])],2):_vm._e(),_vm._v(" "),(!_vm.settings.hideProfile)?_c('b-dropdown',{staticClass:"nav-user-icon",attrs:{"data-test-id":"dropdown-profile","variant":_vm.avatarExists ? 'link' : 'outline-extra-light',"toggle-class":("nav-icon text-decoration-none text-dark rounded-circle border " + (_vm.avatarExists ? 'p-0' : '')),"size":"lg","right":"","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark mt-2","no-caret":""},on:{"hide":_vm.preventDropdownClose},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [(_vm.avatarExists)?_c('div',{staticClass:"avatar d-flex h-100",style:({
16922
17072
  'background-image': _vm.avatarExists ? ("url(" + _vm.profileAvatarUrl + ")") : 'none',
16923
17073
  })}):_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,1615905304)},[_vm._v(" "),_c('b-dropdown-text',{staticClass:"text-muted mb-2",attrs:{"data-test-id":"dropdown-item-username"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsLoggedInAs)+"\n ")]),_vm._v(" "),_c('div',[_vm._t("avatar-dropdown")],2),_vm._v(" "),_vm._l((_vm.profileLinks),function(profileLink,index){return _c('b-dropdown-item',{key:index,attrs:{"href":_vm._f("checkValidURL")(profileLink.url),"target":profileLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(profileLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideProfileLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-profile-user","href":_vm.userProfileURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsProfile)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideChangePasswordLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-profile-change-password","href":_vm.changePasswordURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsChangePassword)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideThemeSelector)?_c('b-dropdown',{staticClass:"d-flex",attrs:{"id":"theme-dropleft","variant":"link","text":"Theme","dropleft":"","no-caret":"","toggle-class":"text-decoration-none text-left dropdown-item rounded-0"},on:{"show":function($event){_vm.isThemeDropdownVisible = true;},"hide":function($event){_vm.isThemeDropdownVisible = false;},"click":function($event){$event.preventDefault();$event.stopPropagation();}}},_vm._l((_vm.themes),function(theme){return _c('b-dropdown-item-button',{key:theme.id,attrs:{"disabled":_vm.currentTheme === theme.id},on:{"click":function($event){return _vm.saveThemeMode(theme.id)}}},[_vm._v("\n "+_vm._s(theme.label)+"\n ")])}),1):_vm._e(),_vm._v(" "),_c('b-dropdown-divider'),_vm._v(" "),_c('b-dropdown-item-button',{staticClass:"mt-2",attrs:{"data-test-id":"dropdown-profile-logout"},on:{"click":function($event){return _vm.$auth.logout()}}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsLogout)+"\n ")])],2):_vm._e()],2)])};
16924
17074
  var __vue_staticRenderFns__$x = [];
@@ -16926,12 +17076,12 @@ var __vue_staticRenderFns__$x = [];
16926
17076
  /* style */
16927
17077
  const __vue_inject_styles__$z = function (inject) {
16928
17078
  if (!inject) return
16929
- inject("data-v-2aa7b5d6_0", { source: ".nav-icon[data-v-2aa7b5d6]{width:calc(var(--topbar-height) - 24px);height:calc(var(--topbar-height) - 24px)}.nav-user-icon[data-v-2aa7b5d6]{min-width:calc(var(--topbar-height) - 16px);min-height:calc(var(--topbar-height) - 16px)}.header-navigation[data-v-2aa7b5d6]{width:100vw;min-height:var(--topbar-height);background-color:var(--topbar-bg)}.header-navigation .sidebar-spacer[data-v-2aa7b5d6]{display:none;min-width:calc(var(--sidebar-width) - 60px)}.header-navigation .sidebar-spacer.expanded[data-v-2aa7b5d6]{display:block}.avatar[data-v-2aa7b5d6]{border-radius:50%;background-size:cover;background-repeat:no-repeat;background-position:center}.avatar[data-v-2aa7b5d6]:hover{opacity:.8;transition:opacity .25s ease-in-out;-moz-transition:opacity .25s ease-in-out;-webkit-transition:opacity .25s ease-in-out}.title[data-v-2aa7b5d6]{display:flex;align-items:center;min-height:calc(var(--topbar-height) - 16px);padding-left:47px}.title .vue-portal-target[data-v-2aa7b5d6]{display:-webkit-box;display:-ms-flexbox;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;text-overflow:ellipsis}.tools-wrapper[data-v-2aa7b5d6]{flex-grow:1}.tools-wrapper .vue-portal-target[data-v-2aa7b5d6]{display:flex;justify-content:end;align-items:center;flex-wrap:wrap}", map: undefined, media: undefined })
16930
- ,inject("data-v-2aa7b5d6_1", { source: ".topbar-dropdown-menu{z-index:1100}#theme-dropleft .btn{font-family:var(--font-regular)}", map: undefined, media: undefined });
17079
+ inject("data-v-2ac14c0d_0", { source: ".nav-icon[data-v-2ac14c0d]{width:calc(var(--topbar-height) - 24px);height:calc(var(--topbar-height) - 24px)}.nav-user-icon[data-v-2ac14c0d]{min-width:calc(var(--topbar-height) - 16px);min-height:calc(var(--topbar-height) - 16px)}.header-navigation[data-v-2ac14c0d]{width:100vw;min-height:var(--topbar-height);background-color:var(--topbar-bg)}.header-navigation .sidebar-spacer[data-v-2ac14c0d]{display:none;min-width:calc(var(--sidebar-width) - 60px)}.header-navigation .sidebar-spacer.expanded[data-v-2ac14c0d]{display:block}.avatar[data-v-2ac14c0d]{border-radius:50%;background-size:cover;background-repeat:no-repeat;background-position:center}.avatar[data-v-2ac14c0d]:hover{opacity:.8;transition:opacity .25s ease-in-out;-moz-transition:opacity .25s ease-in-out;-webkit-transition:opacity .25s ease-in-out}.title[data-v-2ac14c0d]{display:flex;align-items:center;min-height:calc(var(--topbar-height) - 16px);padding-left:47px}.title>*[data-v-2ac14c0d]{padding:.25rem 0;display:-webkit-box;display:-ms-flexbox;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;text-overflow:ellipsis}.tools-wrapper[data-v-2ac14c0d]{flex-grow:1}.tools-wrapper>*[data-v-2ac14c0d]{display:flex;justify-content:end;align-items:center;flex-wrap:wrap}", map: undefined, media: undefined })
17080
+ ,inject("data-v-2ac14c0d_1", { source: ".topbar-dropdown-menu{z-index:1100}#theme-dropleft .btn{font-family:var(--font-regular)}", map: undefined, media: undefined });
16931
17081
 
16932
17082
  };
16933
17083
  /* scoped */
16934
- const __vue_scope_id__$z = "data-v-2aa7b5d6";
17084
+ const __vue_scope_id__$z = "data-v-2ac14c0d";
16935
17085
  /* module identifier */
16936
17086
  const __vue_module_identifier__$z = undefined;
16937
17087
  /* functional template */
@@ -17065,10 +17215,6 @@ var __vue_staticRenderFns__$x = [];
17065
17215
  //
17066
17216
  //
17067
17217
  //
17068
- //
17069
- //
17070
- //
17071
- //
17072
17218
 
17073
17219
 
17074
17220
  var script$x = {
@@ -17078,11 +17224,6 @@ var script$x = {
17078
17224
  default: false,
17079
17225
  },
17080
17226
 
17081
- pinned: {
17082
- type: Boolean,
17083
- default: false,
17084
- },
17085
-
17086
17227
  expandOnClick: {
17087
17228
  type: Boolean,
17088
17229
  default: false,
@@ -17111,7 +17252,6 @@ var script$x = {
17111
17252
 
17112
17253
  data () {
17113
17254
  return {
17114
- sidebarSettings: {},
17115
17255
  isMobile: false,
17116
17256
  }
17117
17257
  },
@@ -17124,20 +17264,6 @@ var script$x = {
17124
17264
 
17125
17265
  set (expanded) {
17126
17266
  this.$emit('update:expanded', expanded);
17127
-
17128
- if (!expanded) {
17129
- this.isPinned = false;
17130
- }
17131
- },
17132
- },
17133
-
17134
- isPinned: {
17135
- get () {
17136
- return this.pinned
17137
- },
17138
-
17139
- set (pinned) {
17140
- this.$emit('update:pinned', pinned);
17141
17267
  },
17142
17268
  },
17143
17269
  },
@@ -17156,8 +17282,9 @@ var script$x = {
17156
17282
  },
17157
17283
  },
17158
17284
 
17159
- created () {
17160
- this.checkSidebar();
17285
+ mounted () {
17286
+ this.checkSidebar(true);
17287
+ this.checkIfMobile();
17161
17288
 
17162
17289
  this.$root.$on('close-sidebar', this.closeSidebar);
17163
17290
  window.addEventListener('resize', this.checkIfMobile);
@@ -17170,81 +17297,23 @@ var script$x = {
17170
17297
 
17171
17298
  methods: {
17172
17299
  checkIfMobile: _.throttle(function () {
17173
- this.isMobile = window.innerWidth < 1024 || /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
17174
-
17175
- if (this.isMobile) {
17176
- this.closeSidebar();
17177
- }
17300
+ this.isMobile = window.innerWidth < 1024;
17178
17301
  }, 500),
17179
17302
 
17180
- checkSidebar () {
17303
+ checkSidebar (initial = false) {
17181
17304
  // If sidebar should be disabled on route, close and unpin when navigating to route
17182
17305
  if (this.disabledRoutes.includes(this.$route.name)) {
17183
- this.isPinned = false;
17184
17306
  this.isExpanded = false;
17185
- } else if (this.expandOnClick && !this.isExpanded) {
17186
- this.defaultSidebarAppearance();
17187
- }
17188
-
17189
- this.checkIfMobile();
17190
- },
17191
-
17192
- onHover: _.throttle(function (expand) {
17193
- if (!expand && !this.pinned && this.expandOnClick) {
17194
- setTimeout(() => {
17195
- this.isExpanded = expand;
17196
- }, expand ? 0 : 100);
17197
- }
17198
- }, 300),
17199
-
17200
- togglePin () {
17201
- if (this.expandOnClick && !this.isExpanded) {
17307
+ } else if (!this.isMobile && initial) {
17202
17308
  this.isExpanded = true;
17203
17309
  }
17204
-
17205
- if (!this.isMobile) {
17206
- this.isPinned = !this.isPinned;
17207
- this.saveSettings(this.isPinned);
17208
- }
17209
- },
17210
-
17211
- defaultSidebarAppearance () {
17212
- const localStorageSettings = JSON.parse(window.localStorage.getItem('sidebarSettings'));
17213
-
17214
- if (localStorageSettings) {
17215
- this.sidebarSettings = localStorageSettings;
17216
- }
17217
-
17218
- const appSidebar = (localStorageSettings || {})[this.$root.$options.name];
17219
-
17220
- if (!this.isMobile) {
17221
- if (appSidebar) {
17222
- this.isExpanded = appSidebar.pinned;
17223
- this.isPinned = appSidebar.pinned;
17224
- } else {
17225
- this.openSidebar();
17226
- }
17227
- } else {
17228
- this.closeSidebar();
17229
- }
17230
- },
17231
-
17232
- saveSettings (pinned) {
17233
- if (this.sidebarSettings[this.$root.$options.name]) {
17234
- this.sidebarSettings[this.$root.$options.name].pinned = pinned;
17235
- } else {
17236
- this.sidebarSettings[this.$root.$options.name] = { pinned };
17237
- }
17238
- window.localStorage.setItem('sidebarSettings', JSON.stringify(this.sidebarSettings));
17239
17310
  },
17240
17311
 
17241
17312
  openSidebar () {
17242
- this.isPinned = true;
17243
17313
  this.isExpanded = true;
17244
17314
  },
17245
17315
 
17246
17316
  closeSidebar () {
17247
- this.isPinned = false;
17248
17317
  this.isExpanded = false;
17249
17318
  },
17250
17319
  },
@@ -17254,18 +17323,18 @@ var script$x = {
17254
17323
  const __vue_script__$x = script$x;
17255
17324
 
17256
17325
  /* template */
17257
- var __vue_render__$w = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{on:{"mouseleave":function($event){return _vm.onHover(false)}}},[_c('b-sidebar',{attrs:{"data-test-id":"sidebar","sidebar-class":("sidebar " + (_vm.isExpanded ? 'expanded' : '')),"header-class":("d-block sidebar-header " + (_vm.isExpanded ? 'expanded border-bottom p-2' : '')),"body-class":("" + (_vm.isExpanded ? 'px-3' : '')),"footer-class":("rounded-right " + (_vm.isExpanded ? 'px-2' : '')),"no-header":!_vm.isExpanded,"backdrop":_vm.isMobile,"backdrop-variant":"white","shadow":_vm.isExpanded && 'sm',"no-slide":"","right":_vm.right,"no-close-on-route-change":"","no-close-on-esc":""},scopedSlots:_vm._u([{key:"header",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-between pl-2",staticStyle:{"height":"47px"}},[_c('img',{staticClass:"logo w-auto border-0",attrs:{"data-test-id":"img-main-logo","src":_vm.logo}}),_vm._v(" "),_c('b-button',{staticClass:"d-flex align-items-center justify-content-center p-2 border-0 text-secondary",attrs:{"variant":"outline-light"},on:{"click":function($event){return _vm.closeSidebar()}}},[_c('font-awesome-icon',{staticClass:"h6 mb-0",attrs:{"icon":['fas', 'times']}})],1)],1),_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.expandOnClick && !_vm.disabledRoutes.includes(_vm.$route.name))?_c('b-button',{staticClass:"d-flex align-items-center border-0 text-primary",attrs:{"data-test-id":"button-sidebar-open","variant":"outline-extra-light","size":"lg"},on:{"click":function($event){return _vm.togglePin()}}},[_c('font-awesome-icon',{staticClass:"h4 mb-0",attrs:{"icon":['fas', 'bars']}})],1):(!_vm.disabledRoutes.includes(_vm.$route.name))?_c('b-button',{staticClass:"d-flex align-items-center p-2 border-0 text-primary",attrs:{"data-test-id":"button-home","variant":"outline-extra-light","size":"lg","to":{ name: 'root' }}},[_c('font-awesome-icon',{staticClass:"h4 mb-0",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)])};
17326
+ var __vue_render__$w = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-sidebar',{attrs:{"data-test-id":"sidebar","sidebar-class":("sidebar " + (_vm.isExpanded ? 'expanded' : '')),"header-class":("d-block sidebar-header " + (_vm.isExpanded ? 'expanded border-bottom p-2' : '')),"body-class":("" + (_vm.isExpanded ? 'px-3' : '')),"footer-class":("rounded-right " + (_vm.isExpanded ? 'px-2' : '')),"no-header":!_vm.isExpanded,"backdrop":_vm.isMobile,"backdrop-variant":"white","shadow":_vm.isExpanded && 'sm',"no-slide":"","right":_vm.right,"no-close-on-route-change":"","no-close-on-esc":""},scopedSlots:_vm._u([{key:"header",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-between pl-2",staticStyle:{"height":"47px"}},[_c('img',{staticClass:"logo w-auto border-0",attrs:{"data-test-id":"img-main-logo","src":_vm.logo}}),_vm._v(" "),_c('b-button',{staticClass:"d-flex align-items-center justify-content-center p-2 border-0 text-secondary",attrs:{"variant":"outline-light"},on:{"click":function($event){return _vm.closeSidebar()}}},[_c('font-awesome-icon',{staticClass:"h6 mb-0",attrs:{"icon":['fas', 'times']}})],1)],1),_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),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center justify-content-center tab position-absolute p-2"},[(_vm.disabledRoutes.includes(_vm.$route.name))?_c('div',{staticClass:"d-flex align-items-center border-0 p-2"},[_c('img',{staticClass:"icon w-auto border-0",attrs:{"src":_vm.icon}})]):(_vm.expandOnClick)?_c('b-button',{staticClass:"d-flex align-items-center border-0 text-primary",attrs:{"data-test-id":"button-sidebar-open","variant":"outline-extra-light","size":"lg"},on:{"click":function($event){return _vm.openSidebar()}}},[_c('font-awesome-icon',{staticClass:"h4 mb-0",attrs:{"icon":['fas', 'bars']}})],1):_c('b-button',{staticClass:"d-flex align-items-center p-2 border-0 text-primary",attrs:{"data-test-id":"button-home","variant":"outline-extra-light","size":"lg","to":{ name: 'root' }}},[_c('font-awesome-icon',{staticClass:"h4 mb-0",attrs:{"icon":['fas', 'home']}})],1)],1)],1)};
17258
17327
  var __vue_staticRenderFns__$w = [];
17259
17328
 
17260
17329
  /* style */
17261
17330
  const __vue_inject_styles__$y = function (inject) {
17262
17331
  if (!inject) return
17263
- inject("data-v-3c3a3193_0", { source: ".tab[data-v-3c3a3193]{z-index:1021;top:0;height:64px;width:66px}.icon[data-v-3c3a3193]{max-height:40px;max-width:40px}.logo[data-v-3c3a3193]{max-height:40px}.sidebar-header[data-v-3c3a3193]{height:64px}", map: undefined, media: undefined })
17264
- ,inject("data-v-3c3a3193_1", { source: ".b-sidebar{background-color:var(--white)!important}.b-sidebar-backdrop{opacity:.75!important}.sidebar{display:flex!important;left:calc(-320px)!important;transition:left .2s cubic-bezier(.4,0,.2,1)}.sidebar.expanded{left:0!important;transition:left .2s cubic-bezier(.4,0,.2,1)}[dir=rtl] .sidebar{right:calc(-320px)!important;left:auto!important;transition:right .2s cubic-bezier(.4,0,.2,1)}[dir=rtl] .sidebar.expanded{right:0!important;transition:right .2s cubic-bezier(.4,0,.2,1)}", map: undefined, media: undefined });
17332
+ inject("data-v-c2dbe544_0", { source: ".tab[data-v-c2dbe544]{z-index:1021;top:0;height:64px;width:66px}.icon[data-v-c2dbe544]{max-height:40px;max-width:40px}.logo[data-v-c2dbe544]{max-height:40px}.sidebar-header[data-v-c2dbe544]{height:64px}", map: undefined, media: undefined })
17333
+ ,inject("data-v-c2dbe544_1", { source: ".b-sidebar{background-color:var(--white)!important}.b-sidebar-backdrop{opacity:.75!important}.sidebar{display:flex!important;left:calc(-320px)!important;transition:left .2s cubic-bezier(.4,0,.2,1)}.sidebar.expanded{left:0!important;transition:left .2s cubic-bezier(.4,0,.2,1)}[dir=rtl] .sidebar{right:calc(-320px)!important;left:auto!important;transition:right .2s cubic-bezier(.4,0,.2,1)}[dir=rtl] .sidebar.expanded{right:0!important;transition:right .2s cubic-bezier(.4,0,.2,1)}", map: undefined, media: undefined });
17265
17334
 
17266
17335
  };
17267
17336
  /* scoped */
17268
- const __vue_scope_id__$y = "data-v-3c3a3193";
17337
+ const __vue_scope_id__$y = "data-v-c2dbe544";
17269
17338
  /* module identifier */
17270
17339
  const __vue_module_identifier__$y = undefined;
17271
17340
  /* functional template */
@@ -17363,6 +17432,9 @@ var __vue_staticRenderFns__$w = [];
17363
17432
  //
17364
17433
  //
17365
17434
  //
17435
+ //
17436
+ //
17437
+ //
17366
17438
 
17367
17439
  var script$w = {
17368
17440
  name: 'CSidebarNavItems',
@@ -17379,6 +17451,10 @@ var script$w = {
17379
17451
  required: true,
17380
17452
  default: () => [],
17381
17453
  },
17454
+ root: {
17455
+ type: Boolean,
17456
+ default: true,
17457
+ },
17382
17458
  defaultRouteName: {
17383
17459
  type: String,
17384
17460
  required: true,
@@ -17400,7 +17476,7 @@ var script$w = {
17400
17476
  immediate: true,
17401
17477
  handler (items = []) {
17402
17478
  items.forEach(({ page, params, children }) => {
17403
- const px = this.pageIndex(page);
17479
+ const px = this.pageKey(page);
17404
17480
  // Apply startExpanded only if page isn't currently expanded
17405
17481
  this.$set(this.collapses, px, this.startExpanded || page.expanded || this.showChildren({ params, children }));
17406
17482
  });
@@ -17409,18 +17485,18 @@ var script$w = {
17409
17485
  },
17410
17486
 
17411
17487
  methods: {
17412
- closeSidebar () {
17488
+ onItemClick () {
17413
17489
  if (window.innerWidth < 576) {
17414
17490
  this.$root.$emit('close-sidebar');
17415
17491
  }
17416
17492
  },
17417
17493
 
17418
- pageIndex (p) {
17494
+ pageKey (p) {
17419
17495
  return p.pageID || p.name || p.title
17420
17496
  },
17421
17497
 
17422
17498
  toggle (p) {
17423
- const px = this.pageIndex(p);
17499
+ const px = this.pageKey(p);
17424
17500
  this.$set(this.collapses, px, !this.collapses[px]);
17425
17501
  },
17426
17502
 
@@ -17443,21 +17519,21 @@ var script$w = {
17443
17519
  const __vue_script__$w = script$w;
17444
17520
 
17445
17521
  /* template */
17446
- var __vue_render__$v = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nav-sidebar"},_vm._l((_vm.items),function(ref){
17522
+ var __vue_render__$v = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nav-sidebar",class:{ 'mt-1': _vm.root }},_vm._l((_vm.items),function(ref){
17447
17523
  var page = ref.page; if ( page === void 0 ) page = {};
17448
17524
  var params = ref.params; if ( params === void 0 ) params = {};
17449
17525
  var children = ref.children; if ( children === void 0 ) children = [];
17450
- return _c('b-button',{key:_vm.pageIndex(page),staticClass:"w-100 text-decoration-none p-0 pt-2 pb-1 nav-item",attrs:{"variant":"link","active-class":"nav-active","exact-active-class":"nav-active","title":page.title,"to":{ name: page.name || _vm.defaultRouteName, params: params }}},[_c('span',{staticClass:"d-inline-block w-75",on:{"click":function($event){return _vm.closeSidebar()}}},[(page.icon)?[(Array.isArray(page.icon))?_c('font-awesome-icon',{staticClass:"icon",attrs:{"icon":page.icon}}):[_c('img',{staticClass:"mr-1",staticStyle:{"height":"1.5em","width":"1.5em"},attrs:{"src":page.icon}})]]:_vm._e(),_vm._v(" "),_c('label',{staticClass:"title mb-0 pointer"},[_vm._v("\n "+_vm._s(page.title)+"\n ")])],2),_vm._v(" "),(children.length)?[_c('b-button',{staticClass:"p-0 border-0 float-right mr-1",attrs:{"variant":"outline-light","size":"sm"},on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }$event.stopPropagation();$event.preventDefault();return _vm.toggle(page)}}},[(!_vm.collapses[_vm.pageIndex(page)])?_c('font-awesome-icon',{staticClass:"pointer-none text-dark",attrs:{"icon":['fas', 'chevron-down']}}):_c('font-awesome-icon',{staticClass:"pointer-none text-primary",attrs:{"icon":['fas', 'chevron-up']}})],1),_vm._v(" "),_c('b-collapse',{attrs:{"visible":_vm.collapses[_vm.pageIndex(page)]},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();}}},[_c('c-sidebar-nav-items',_vm._g({staticClass:"ml-2",attrs:{"items":children,"start-expanded":_vm.startExpanded,"default-route-name":_vm.defaultRouteName}},_vm.$listeners))],1)]:_vm._e()],2)}),1)};
17526
+ return _c('div',{key:_vm.pageKey(page),class:{ 'mb-1': _vm.root }},[_c('div',{staticClass:"d-flex align-items-start pointer pb-1"},[_c('b-button',{staticClass:"nav-item d-flex align-items-center text-decoration-none rounded flex-grow-1 text-left pl-1 py-1 gap-1",attrs:{"variant":"link","active-class":"nav-active","exact-active-class":"nav-exact-active","title":page.title,"to":{ name: page.name || _vm.defaultRouteName, params: params }},on:{"click":function($event){return _vm.onItemClick()}}},[(page.icon)?[(Array.isArray(page.icon))?_c('font-awesome-icon',{staticClass:"icon",staticStyle:{"height":"1rem","width":"1rem"},attrs:{"icon":page.icon}}):_c('img',{staticClass:"mr-1",staticStyle:{"height":"1rem","width":"1rem"},attrs:{"src":page.icon}})]:_vm._e(),_vm._v(" "),_c('label',{staticClass:"title pointer mb-0",class:{ 'root': _vm.root }},[_vm._v("\n "+_vm._s(page.title)+"\n ")])],2),_vm._v(" "),(children.length)?_c('b-button',{staticClass:"p-0 border-0 ml-auto",staticStyle:{"min-width":"2rem","min-height":"2rem"},attrs:{"variant":"outline-light"},on:{"click":function($event){return _vm.toggle(page)}}},[(!_vm.collapses[_vm.pageKey(page)])?_c('font-awesome-icon',{staticClass:"text-dark",attrs:{"icon":['fas', 'chevron-down']}}):_c('font-awesome-icon',{staticClass:"text-primary",attrs:{"icon":['fas', 'chevron-up']}})],1):_vm._e()],1),_vm._v(" "),(children.length)?_c('b-collapse',{attrs:{"visible":_vm.collapses[_vm.pageKey(page)]}},[_c('c-sidebar-nav-items',_vm._g({staticClass:"py-1 ml-2",attrs:{"items":children,"start-expanded":_vm.startExpanded,"default-route-name":_vm.defaultRouteName,"root":false}},_vm.$listeners))],1):_vm._e()],1)}),0)};
17451
17527
  var __vue_staticRenderFns__$v = [];
17452
17528
 
17453
17529
  /* style */
17454
17530
  const __vue_inject_styles__$x = function (inject) {
17455
17531
  if (!inject) return
17456
- inject("data-v-53a07dad_0", { source: ".pointer-none[data-v-53a07dad]{pointer-events:none}.svg-inline--fa[data-v-53a07dad]{width:30px}.nav-item>span .icon[data-v-53a07dad]{color:var(--black)}.nav-item>span .title[data-v-53a07dad]{font-family:var(--font-regular)!important;color:var(--black)}.nav-item:hover>span .icon[data-v-53a07dad]{color:var(--primary)}.nav-item:hover>span .title[data-v-53a07dad]{font-family:var(--font-semibold)!important;color:var(--primary);transition:color .25s}.nav-active>span>.icon[data-v-53a07dad]{color:var(--primary)}.nav-active>span>.title[data-v-53a07dad]{font-family:var(--font-semibold)!important;color:var(--primary);transition:color .5s}.nav-item[data-v-53a07dad]{text-align:left}[dir=rtl] .nav-item[data-v-53a07dad]{text-align:right}", map: undefined, media: undefined });
17532
+ inject("data-v-493aa700_0", { source: ".nav-sidebar .nav-item[data-v-493aa700]{transition:background-color .25s ease-in-out}.nav-sidebar .nav-item .icon[data-v-493aa700]{color:var(--black);transition:color .25s}.nav-sidebar .nav-item .title[data-v-493aa700]{color:var(--black);font-family:var(--font-regular)!important;transition:color .25s;text-align:left}.nav-sidebar .nav-item[data-v-493aa700]:hover{background-color:var(--light)}.nav-sidebar .nav-active .icon[data-v-493aa700]{color:var(--primary)}.nav-sidebar .nav-active .title[data-v-493aa700]{font-family:var(--font-medium)!important;color:var(--primary)}", map: undefined, media: undefined });
17457
17533
 
17458
17534
  };
17459
17535
  /* scoped */
17460
- const __vue_scope_id__$x = "data-v-53a07dad";
17536
+ const __vue_scope_id__$x = "data-v-493aa700";
17461
17537
  /* module identifier */
17462
17538
  const __vue_module_identifier__$x = undefined;
17463
17539
  /* functional template */
@@ -18155,7 +18231,7 @@ var script$n = {
18155
18231
  components: {
18156
18232
  draggable: Draggable,
18157
18233
  CItemPickerItem: __vue_component__$p,
18158
- CInputSearch: __vue_component__$16,
18234
+ CInputSearch: __vue_component__$17,
18159
18235
  },
18160
18236
 
18161
18237
  props: {
@@ -19451,7 +19527,7 @@ var __vue_staticRenderFns__$i = [];
19451
19527
 
19452
19528
  var script$g = {
19453
19529
  components: {
19454
- CInputSelect: __vue_component__$19,
19530
+ CInputSelect: __vue_component__$1a,
19455
19531
  },
19456
19532
 
19457
19533
  props: {
@@ -19812,7 +19888,7 @@ var script$f = {
19812
19888
  name: 'ResourceList',
19813
19889
 
19814
19890
  components: {
19815
- CInputSearch: __vue_component__$16,
19891
+ CInputSearch: __vue_component__$17,
19816
19892
  },
19817
19893
 
19818
19894
  props: {
@@ -20493,7 +20569,7 @@ n(css$3,{});
20493
20569
  var script$c = {
20494
20570
  components: {
20495
20571
  LControl: vue2Leaflet.LControl,
20496
- CInputSearch: __vue_component__$16,
20572
+ CInputSearch: __vue_component__$17,
20497
20573
  LPolygon: vue2Leaflet.LPolygon,
20498
20574
  LTileLayer: vue2Leaflet.LTileLayer,
20499
20575
  LMarker: vue2Leaflet.LMarker,
@@ -21280,7 +21356,7 @@ var script$8 = {
21280
21356
  },
21281
21357
 
21282
21358
  components: {
21283
- CInputConfirm: __vue_component__$1c,
21359
+ CInputConfirm: __vue_component__$1d,
21284
21360
  },
21285
21361
 
21286
21362
  props: {
@@ -22321,34 +22397,35 @@ var index$6 = {
22321
22397
  var index$5 = /*#__PURE__*/Object.freeze({
22322
22398
  __proto__: null,
22323
22399
  C3: index$6,
22324
- CAceEditor: __vue_component__$V,
22325
- CButtonSubmit: __vue_component__$T,
22400
+ CAceEditor: __vue_component__$W,
22401
+ CButtonSubmit: __vue_component__$U,
22326
22402
  CChart: __vue_component__$m,
22327
- CCorredorManualButtons: __vue_component__$1l,
22328
- CExtendSession: __vue_component__$1m,
22329
- CFormTableWrapper: __vue_component__$18,
22403
+ CCorredorManualButtons: __vue_component__$1m,
22404
+ CExtendSession: __vue_component__$1n,
22405
+ CFormTableWrapper: __vue_component__$19,
22330
22406
  CHint: __vue_component__$d,
22331
- CInputCheckbox: __vue_component__$X,
22332
- CInputColorPicker: __vue_component__$W,
22333
- CInputConfirm: __vue_component__$1c,
22334
- CInputDateTime: __vue_component__$1a,
22335
- CInputExpression: __vue_component__$U,
22336
- CInputPresort: __vue_component__$17,
22337
- CInputProcessing: __vue_component__$1b,
22338
- CInputRole: __vue_component__$S,
22339
- CInputSearch: __vue_component__$16,
22340
- CInputSelect: __vue_component__$19,
22407
+ CInputCheckbox: __vue_component__$Y,
22408
+ CInputColorPicker: __vue_component__$X,
22409
+ CInputConfirm: __vue_component__$1d,
22410
+ CInputDateTime: __vue_component__$1b,
22411
+ CInputExpression: __vue_component__$V,
22412
+ CInputPresort: __vue_component__$18,
22413
+ CInputProcessing: __vue_component__$1c,
22414
+ CInputRole: __vue_component__$T,
22415
+ CInputSearch: __vue_component__$17,
22416
+ CInputSelect: __vue_component__$1a,
22417
+ CInputUser: __vue_component__$S,
22341
22418
  CItemPicker: __vue_component__$o,
22342
22419
  CItemPickerItem: __vue_component__$p,
22343
- CLightbox: __vue_component__$1g,
22420
+ CLightbox: __vue_component__$1h,
22344
22421
  CLoaderLogo: __vue_component__$B,
22345
22422
  CMap: __vue_component__$c,
22346
22423
  CNotificationButton: __vue_component__$A,
22347
22424
  CNotificationSidebar: __vue_component__$6,
22348
22425
  CPermissionsButton: __vue_component__$R,
22349
22426
  CPermissionsModal: __vue_component__$N,
22350
- CPreviewInline: __vue_component__$1d,
22351
- CPreviewLightbox: __vue_component__$1e,
22427
+ CPreviewInline: __vue_component__$1e,
22428
+ CPreviewLightbox: __vue_component__$1f,
22352
22429
  CProgress: __vue_component__$f,
22353
22430
  CPromptModal: __vue_component__$D,
22354
22431
  CPromptToast: __vue_component__$E,
@@ -22359,7 +22436,7 @@ var index$5 = /*#__PURE__*/Object.freeze({
22359
22436
  CReportTable: __vue_component__$j,
22360
22437
  CReportText: __vue_component__$i,
22361
22438
  CResourceList: __vue_component__$g,
22362
- CRichTextInput: __vue_component__$Y,
22439
+ CRichTextInput: __vue_component__$Z,
22363
22440
  CSensitivityLevelPicker: __vue_component__$h,
22364
22441
  CSidebar: __vue_component__$y,
22365
22442
  CSidebarNavItems: __vue_component__$x,