@cortezaproject/corteza-vue 2024.9.5-dev.1 → 2024.9.5-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/components/c3/C3.d.ts +5 -0
  2. package/dist/components/filePreview/common/index.d.ts +2 -0
  3. package/dist/components/filePreview/common/types/PDF/helpers.d.ts +53 -0
  4. package/dist/components/filePreview/common/types/index.d.ts +3 -0
  5. package/dist/components/index.d.ts +1 -1
  6. package/dist/components/input/CRichTextInput/RToolbar/TMark/loader.d.ts +10 -0
  7. package/dist/components/input/CRichTextInput/RToolbar/TNode/loader.d.ts +6 -0
  8. package/dist/components/input/CRichTextInput/RToolbar/TNodeAttr/loader.d.ts +6 -0
  9. package/dist/components/input/CRichTextInput/RToolbar/loader.d.ts +9 -0
  10. package/dist/components/input/CRichTextInput/extensions/heading.d.ts +12 -0
  11. package/dist/components/input/CRichTextInput/extensions/htmlPaster.d.ts +4 -0
  12. package/dist/components/input/CRichTextInput/extensions/index.d.ts +6 -0
  13. package/dist/components/input/CRichTextInput/extensions/link.d.ts +6 -0
  14. package/dist/components/input/CRichTextInput/extensions/paragraph.d.ts +9 -0
  15. package/dist/components/input/CRichTextInput/extensions/textBackground.d.ts +23 -0
  16. package/dist/components/input/CRichTextInput/extensions/textColor.d.ts +23 -0
  17. package/dist/components/input/CRichTextInput/extensions/utils.d.ts +15 -0
  18. package/dist/components/input/CRichTextInput/lib/formats.d.ts +85 -0
  19. package/dist/components/input/CRichTextInput/lib/index.d.ts +1 -0
  20. package/dist/components/input/index.d.ts +1 -0
  21. package/dist/components/itemPicker/C3.d.ts +1 -0
  22. package/dist/components/itemPicker/CItemPicker.c3.d.ts +32 -0
  23. package/dist/components/toaster/actions/index.d.ts +3 -0
  24. package/dist/index.cjs +801 -597
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.js +801 -597
  27. package/dist/index.js.map +1 -1
  28. package/dist/mixins/corredor.d.ts +49 -0
  29. package/dist/mixins/files.d.ts +19 -0
  30. package/dist/mixins/vue-select-position.d.ts +11 -0
  31. package/dist/node_modules/@tiptap/pm/state/index.d.ts +1 -0
  32. package/dist/plugins/reminder.d.ts +66 -0
  33. package/dist/plugins/settings.d.ts +27 -0
  34. package/dist/src/components/index.d.ts +1 -1
  35. package/dist/src/components/input/index.d.ts +1 -0
  36. package/package.json +15 -12
package/dist/index.js CHANGED
@@ -21,13 +21,14 @@ import { TableKit } from '@tiptap/extension-table';
21
21
  import TextAlign from '@tiptap/extension-text-align';
22
22
  import { TextStyleKit } from '@tiptap/extension-text-style';
23
23
  import StarterKit from '@tiptap/starter-kit';
24
+ import { Placeholder } from '@tiptap/extension-placeholder';
24
25
  import AceEditor from 'vue2-ace-editor';
25
26
  import { library } from '@fortawesome/fontawesome-svg-core';
26
27
  import { faExpandAlt, faLock, faMoon, faSun } from '@fortawesome/free-solid-svg-icons';
27
28
  import { mapActions, mapGetters, mapMutations } from 'vuex';
28
29
  import numeral from 'numeral';
29
- import { OpenStreetMapProvider } from 'leaflet-geosearch';
30
30
  import { divIcon, latLng, latLngBounds } from 'leaflet';
31
+ import { OpenStreetMapProvider } from 'leaflet-geosearch';
31
32
  import { LTooltip, LMap, LMarker, LTileLayer, LPolygon, LControl } from 'vue2-leaflet';
32
33
  import pino from 'pino';
33
34
  import fzy from 'fuzzysort';
@@ -5741,7 +5742,7 @@ var index$7 = /*#__PURE__*/Object.freeze({
5741
5742
  //
5742
5743
 
5743
5744
 
5744
- var script$1m = {
5745
+ var script$1n = {
5745
5746
  name: 'CExtendSession',
5746
5747
 
5747
5748
  props: {
@@ -5918,20 +5919,20 @@ function normalizeComponent(template, style, script, scopeId, isFunctionalTempla
5918
5919
  }
5919
5920
 
5920
5921
  /* script */
5921
- const __vue_script__$1m = script$1m;
5922
+ const __vue_script__$1n = script$1n;
5922
5923
 
5923
5924
  /* template */
5924
- var __vue_render__$1h = 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)};
5925
- var __vue_staticRenderFns__$1h = [];
5925
+ var __vue_render__$1i = 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)};
5926
+ var __vue_staticRenderFns__$1i = [];
5926
5927
 
5927
5928
  /* style */
5928
- const __vue_inject_styles__$1o = undefined;
5929
+ const __vue_inject_styles__$1p = undefined;
5929
5930
  /* scoped */
5930
- const __vue_scope_id__$1o = undefined;
5931
+ const __vue_scope_id__$1p = undefined;
5931
5932
  /* module identifier */
5932
- const __vue_module_identifier__$1o = undefined;
5933
+ const __vue_module_identifier__$1p = undefined;
5933
5934
  /* functional template */
5934
- const __vue_is_functional_template__$1o = false;
5935
+ const __vue_is_functional_template__$1p = false;
5935
5936
  /* style inject */
5936
5937
 
5937
5938
  /* style inject SSR */
@@ -5940,17 +5941,17 @@ var __vue_staticRenderFns__$1h = [];
5940
5941
 
5941
5942
 
5942
5943
 
5943
- const __vue_component__$1o = /*#__PURE__*/normalizeComponent(
5944
- { render: __vue_render__$1h, staticRenderFns: __vue_staticRenderFns__$1h },
5945
- __vue_inject_styles__$1o,
5946
- __vue_script__$1m,
5947
- __vue_scope_id__$1o,
5948
- __vue_is_functional_template__$1o,
5949
- __vue_module_identifier__$1o,
5944
+ const __vue_component__$1p = /*#__PURE__*/normalizeComponent(
5945
+ { render: __vue_render__$1i, staticRenderFns: __vue_staticRenderFns__$1i },
5946
+ __vue_inject_styles__$1p,
5947
+ __vue_script__$1n,
5948
+ __vue_scope_id__$1p,
5949
+ __vue_is_functional_template__$1p,
5950
+ __vue_module_identifier__$1p,
5950
5951
  false,
5951
5952
  undefined);
5952
5953
 
5953
- var script$1l = {
5954
+ var script$1m = {
5954
5955
  props: {
5955
5956
  resourceType: {
5956
5957
  type: String,
@@ -5991,20 +5992,20 @@ var script$1l = {
5991
5992
  };
5992
5993
 
5993
5994
  /* script */
5994
- const __vue_script__$1l = script$1l;
5995
+ const __vue_script__$1m = script$1m;
5995
5996
 
5996
5997
  /* template */
5997
- var __vue_render__$1g = 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()};
5998
- var __vue_staticRenderFns__$1g = [];
5998
+ var __vue_render__$1h = 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()};
5999
+ var __vue_staticRenderFns__$1h = [];
5999
6000
 
6000
6001
  /* style */
6001
- const __vue_inject_styles__$1n = undefined;
6002
+ const __vue_inject_styles__$1o = undefined;
6002
6003
  /* scoped */
6003
- const __vue_scope_id__$1n = undefined;
6004
+ const __vue_scope_id__$1o = undefined;
6004
6005
  /* module identifier */
6005
- const __vue_module_identifier__$1n = undefined;
6006
+ const __vue_module_identifier__$1o = undefined;
6006
6007
  /* functional template */
6007
- const __vue_is_functional_template__$1n = false;
6008
+ const __vue_is_functional_template__$1o = false;
6008
6009
  /* style inject */
6009
6010
 
6010
6011
  /* style inject SSR */
@@ -6013,17 +6014,17 @@ var __vue_staticRenderFns__$1g = [];
6013
6014
 
6014
6015
 
6015
6016
 
6016
- const __vue_component__$1n = /*#__PURE__*/normalizeComponent(
6017
- { render: __vue_render__$1g, staticRenderFns: __vue_staticRenderFns__$1g },
6018
- __vue_inject_styles__$1n,
6019
- __vue_script__$1l,
6020
- __vue_scope_id__$1n,
6021
- __vue_is_functional_template__$1n,
6022
- __vue_module_identifier__$1n,
6017
+ const __vue_component__$1o = /*#__PURE__*/normalizeComponent(
6018
+ { render: __vue_render__$1h, staticRenderFns: __vue_staticRenderFns__$1h },
6019
+ __vue_inject_styles__$1o,
6020
+ __vue_script__$1m,
6021
+ __vue_scope_id__$1o,
6022
+ __vue_is_functional_template__$1o,
6023
+ __vue_module_identifier__$1o,
6023
6024
  false,
6024
6025
  undefined);
6025
6026
 
6026
- var script$1k = {
6027
+ var script$1l = {
6027
6028
  props: {
6028
6029
  labels: {
6029
6030
  type: Object,
@@ -6069,18 +6070,18 @@ var script$1k = {
6069
6070
  };
6070
6071
 
6071
6072
  /* script */
6072
- const __vue_script__$1k = script$1k;
6073
+ const __vue_script__$1l = script$1l;
6073
6074
 
6074
6075
  /* template */
6075
6076
 
6076
6077
  /* style */
6077
- const __vue_inject_styles__$1m = undefined;
6078
+ const __vue_inject_styles__$1n = undefined;
6078
6079
  /* scoped */
6079
- const __vue_scope_id__$1m = undefined;
6080
+ const __vue_scope_id__$1n = undefined;
6080
6081
  /* module identifier */
6081
- const __vue_module_identifier__$1m = undefined;
6082
+ const __vue_module_identifier__$1n = undefined;
6082
6083
  /* functional template */
6083
- const __vue_is_functional_template__$1m = undefined;
6084
+ const __vue_is_functional_template__$1n = undefined;
6084
6085
  /* style inject */
6085
6086
 
6086
6087
  /* style inject SSR */
@@ -6089,18 +6090,18 @@ const __vue_script__$1k = script$1k;
6089
6090
 
6090
6091
 
6091
6092
 
6092
- const __vue_component__$1m = /*#__PURE__*/normalizeComponent(
6093
+ const __vue_component__$1n = /*#__PURE__*/normalizeComponent(
6093
6094
  {},
6094
- __vue_inject_styles__$1m,
6095
- __vue_script__$1k,
6096
- __vue_scope_id__$1m,
6097
- __vue_is_functional_template__$1m,
6098
- __vue_module_identifier__$1m,
6095
+ __vue_inject_styles__$1n,
6096
+ __vue_script__$1l,
6097
+ __vue_scope_id__$1n,
6098
+ __vue_is_functional_template__$1n,
6099
+ __vue_module_identifier__$1n,
6099
6100
  false,
6100
6101
  undefined);
6101
6102
 
6102
- var script$1j = {
6103
- extends: __vue_component__$1m,
6103
+ var script$1k = {
6104
+ extends: __vue_component__$1n,
6104
6105
 
6105
6106
  props: {
6106
6107
  alt: {
@@ -6209,46 +6210,46 @@ function addStyle(id, css) {
6209
6210
  }
6210
6211
 
6211
6212
  /* script */
6212
- const __vue_script__$1j = script$1j;
6213
+ const __vue_script__$1k = script$1k;
6213
6214
 
6214
6215
  /* template */
6215
- var __vue_render__$1f = 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;}}})])};
6216
- var __vue_staticRenderFns__$1f = [];
6216
+ var __vue_render__$1g = 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;}}})])};
6217
+ var __vue_staticRenderFns__$1g = [];
6217
6218
 
6218
6219
  /* style */
6219
- const __vue_inject_styles__$1l = function (inject) {
6220
+ const __vue_inject_styles__$1m = function (inject) {
6220
6221
  if (!inject) return
6221
6222
  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 });
6222
6223
 
6223
6224
  };
6224
6225
  /* scoped */
6225
- const __vue_scope_id__$1l = "data-v-5b22ddfb";
6226
+ const __vue_scope_id__$1m = "data-v-5b22ddfb";
6226
6227
  /* module identifier */
6227
- const __vue_module_identifier__$1l = undefined;
6228
+ const __vue_module_identifier__$1m = undefined;
6228
6229
  /* functional template */
6229
- const __vue_is_functional_template__$1l = false;
6230
+ const __vue_is_functional_template__$1m = false;
6230
6231
  /* style inject SSR */
6231
6232
 
6232
6233
  /* style inject shadow dom */
6233
6234
 
6234
6235
 
6235
6236
 
6236
- const __vue_component__$1l = /*#__PURE__*/normalizeComponent(
6237
- { render: __vue_render__$1f, staticRenderFns: __vue_staticRenderFns__$1f },
6238
- __vue_inject_styles__$1l,
6239
- __vue_script__$1j,
6240
- __vue_scope_id__$1l,
6241
- __vue_is_functional_template__$1l,
6242
- __vue_module_identifier__$1l,
6237
+ const __vue_component__$1m = /*#__PURE__*/normalizeComponent(
6238
+ { render: __vue_render__$1g, staticRenderFns: __vue_staticRenderFns__$1g },
6239
+ __vue_inject_styles__$1m,
6240
+ __vue_script__$1k,
6241
+ __vue_scope_id__$1m,
6242
+ __vue_is_functional_template__$1m,
6243
+ __vue_module_identifier__$1m,
6243
6244
  false,
6244
6245
  createInjector);
6245
6246
 
6246
- var script$1i = {
6247
+ var script$1j = {
6247
6248
  components: {
6248
6249
  PhotoSwipe,
6249
6250
  },
6250
6251
 
6251
- extends: __vue_component__$1m,
6252
+ extends: __vue_component__$1n,
6252
6253
 
6253
6254
  data () {
6254
6255
  return {
@@ -6304,37 +6305,37 @@ var script$1i = {
6304
6305
  };
6305
6306
 
6306
6307
  /* script */
6307
- const __vue_script__$1i = script$1i;
6308
+ const __vue_script__$1j = script$1j;
6308
6309
 
6309
6310
  /* template */
6310
- var __vue_render__$1e = 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)};
6311
- var __vue_staticRenderFns__$1e = [];
6311
+ var __vue_render__$1f = 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)};
6312
+ var __vue_staticRenderFns__$1f = [];
6312
6313
 
6313
6314
  /* style */
6314
- const __vue_inject_styles__$1k = function (inject) {
6315
+ const __vue_inject_styles__$1l = function (inject) {
6315
6316
  if (!inject) return
6316
6317
  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 });
6317
6318
 
6318
6319
  };
6319
6320
  /* scoped */
6320
- const __vue_scope_id__$1k = undefined;
6321
+ const __vue_scope_id__$1l = undefined;
6321
6322
  /* module identifier */
6322
- const __vue_module_identifier__$1k = undefined;
6323
+ const __vue_module_identifier__$1l = undefined;
6323
6324
  /* functional template */
6324
- const __vue_is_functional_template__$1k = false;
6325
+ const __vue_is_functional_template__$1l = false;
6325
6326
  /* style inject SSR */
6326
6327
 
6327
6328
  /* style inject shadow dom */
6328
6329
 
6329
6330
 
6330
6331
 
6331
- const __vue_component__$1k = /*#__PURE__*/normalizeComponent(
6332
- { render: __vue_render__$1e, staticRenderFns: __vue_staticRenderFns__$1e },
6333
- __vue_inject_styles__$1k,
6334
- __vue_script__$1i,
6335
- __vue_scope_id__$1k,
6336
- __vue_is_functional_template__$1k,
6337
- __vue_module_identifier__$1k,
6332
+ const __vue_component__$1l = /*#__PURE__*/normalizeComponent(
6333
+ { render: __vue_render__$1f, staticRenderFns: __vue_staticRenderFns__$1f },
6334
+ __vue_inject_styles__$1l,
6335
+ __vue_script__$1j,
6336
+ __vue_scope_id__$1l,
6337
+ __vue_is_functional_template__$1l,
6338
+ __vue_module_identifier__$1l,
6338
6339
  false,
6339
6340
  createInjector);
6340
6341
 
@@ -6428,8 +6429,8 @@ function sleep (t) {
6428
6429
  return new Promise(resolve => setTimeout(resolve, t))
6429
6430
  }
6430
6431
 
6431
- var script$1h = {
6432
- extends: __vue_component__$1m,
6432
+ var script$1i = {
6433
+ extends: __vue_component__$1n,
6433
6434
 
6434
6435
  props: {
6435
6436
  retryBackoff: {
@@ -6679,72 +6680,72 @@ var script$1h = {
6679
6680
  };
6680
6681
 
6681
6682
  /* script */
6682
- const __vue_script__$1h = script$1h;
6683
+ const __vue_script__$1i = script$1i;
6683
6684
 
6684
6685
  /* template */
6685
- var __vue_render__$1d = 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()])};
6686
- var __vue_staticRenderFns__$1d = [];
6686
+ var __vue_render__$1e = 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()])};
6687
+ var __vue_staticRenderFns__$1e = [];
6687
6688
 
6688
6689
  /* style */
6689
- const __vue_inject_styles__$1j = function (inject) {
6690
+ const __vue_inject_styles__$1k = function (inject) {
6690
6691
  if (!inject) return
6691
6692
  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 })
6692
6693
  ,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 });
6693
6694
 
6694
6695
  };
6695
6696
  /* scoped */
6696
- const __vue_scope_id__$1j = "data-v-6b03f585";
6697
+ const __vue_scope_id__$1k = "data-v-6b03f585";
6697
6698
  /* module identifier */
6698
- const __vue_module_identifier__$1j = undefined;
6699
+ const __vue_module_identifier__$1k = undefined;
6699
6700
  /* functional template */
6700
- const __vue_is_functional_template__$1j = false;
6701
+ const __vue_is_functional_template__$1k = false;
6701
6702
  /* style inject SSR */
6702
6703
 
6703
6704
  /* style inject shadow dom */
6704
6705
 
6705
6706
 
6706
6707
 
6707
- const __vue_component__$1j = /*#__PURE__*/normalizeComponent(
6708
- { render: __vue_render__$1d, staticRenderFns: __vue_staticRenderFns__$1d },
6709
- __vue_inject_styles__$1j,
6710
- __vue_script__$1h,
6711
- __vue_scope_id__$1j,
6712
- __vue_is_functional_template__$1j,
6713
- __vue_module_identifier__$1j,
6708
+ const __vue_component__$1k = /*#__PURE__*/normalizeComponent(
6709
+ { render: __vue_render__$1e, staticRenderFns: __vue_staticRenderFns__$1e },
6710
+ __vue_inject_styles__$1k,
6711
+ __vue_script__$1i,
6712
+ __vue_scope_id__$1k,
6713
+ __vue_is_functional_template__$1k,
6714
+ __vue_module_identifier__$1k,
6714
6715
  false,
6715
6716
  createInjector);
6716
6717
 
6717
6718
  /* script */
6718
6719
 
6719
6720
  /* template */
6720
- var __vue_render__$1c = 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)])};
6721
- var __vue_staticRenderFns__$1c = [];
6721
+ var __vue_render__$1d = 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)])};
6722
+ var __vue_staticRenderFns__$1d = [];
6722
6723
 
6723
6724
  /* style */
6724
- const __vue_inject_styles__$1i = function (inject) {
6725
+ const __vue_inject_styles__$1j = function (inject) {
6725
6726
  if (!inject) return
6726
6727
  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 });
6727
6728
 
6728
6729
  };
6729
6730
  /* scoped */
6730
- const __vue_scope_id__$1i = "data-v-30782d92";
6731
+ const __vue_scope_id__$1j = "data-v-30782d92";
6731
6732
  /* module identifier */
6732
- const __vue_module_identifier__$1i = undefined;
6733
+ const __vue_module_identifier__$1j = undefined;
6733
6734
  /* functional template */
6734
- const __vue_is_functional_template__$1i = false;
6735
+ const __vue_is_functional_template__$1j = false;
6735
6736
  /* style inject SSR */
6736
6737
 
6737
6738
  /* style inject shadow dom */
6738
6739
 
6739
6740
 
6740
6741
 
6741
- const __vue_component__$1i = /*#__PURE__*/normalizeComponent(
6742
- { render: __vue_render__$1c, staticRenderFns: __vue_staticRenderFns__$1c },
6743
- __vue_inject_styles__$1i,
6742
+ const __vue_component__$1j = /*#__PURE__*/normalizeComponent(
6743
+ { render: __vue_render__$1d, staticRenderFns: __vue_staticRenderFns__$1d },
6744
+ __vue_inject_styles__$1j,
6744
6745
  {},
6745
- __vue_scope_id__$1i,
6746
- __vue_is_functional_template__$1i,
6747
- __vue_module_identifier__$1i,
6746
+ __vue_scope_id__$1j,
6747
+ __vue_is_functional_template__$1j,
6748
+ __vue_module_identifier__$1j,
6748
6749
  false,
6749
6750
  createInjector);
6750
6751
 
@@ -6799,7 +6800,7 @@ var canPreview = function canPreview(_ref2) {
6799
6800
  });
6800
6801
  };
6801
6802
 
6802
- var script$1g = {
6803
+ var script$1h = {
6803
6804
  inheritAttrs: false,
6804
6805
 
6805
6806
  props: {
@@ -6821,18 +6822,18 @@ var script$1g = {
6821
6822
  };
6822
6823
 
6823
6824
  /* script */
6824
- const __vue_script__$1g = script$1g;
6825
+ const __vue_script__$1h = script$1h;
6825
6826
 
6826
6827
  /* template */
6827
6828
 
6828
6829
  /* style */
6829
- const __vue_inject_styles__$1h = undefined;
6830
+ const __vue_inject_styles__$1i = undefined;
6830
6831
  /* scoped */
6831
- const __vue_scope_id__$1h = undefined;
6832
+ const __vue_scope_id__$1i = undefined;
6832
6833
  /* module identifier */
6833
- const __vue_module_identifier__$1h = undefined;
6834
+ const __vue_module_identifier__$1i = undefined;
6834
6835
  /* functional template */
6835
- const __vue_is_functional_template__$1h = undefined;
6836
+ const __vue_is_functional_template__$1i = undefined;
6836
6837
  /* style inject */
6837
6838
 
6838
6839
  /* style inject SSR */
@@ -6841,41 +6842,41 @@ const __vue_script__$1g = script$1g;
6841
6842
 
6842
6843
 
6843
6844
 
6844
- const __vue_component__$1h = /*#__PURE__*/normalizeComponent(
6845
+ const __vue_component__$1i = /*#__PURE__*/normalizeComponent(
6845
6846
  {},
6846
- __vue_inject_styles__$1h,
6847
- __vue_script__$1g,
6848
- __vue_scope_id__$1h,
6849
- __vue_is_functional_template__$1h,
6850
- __vue_module_identifier__$1h,
6847
+ __vue_inject_styles__$1i,
6848
+ __vue_script__$1h,
6849
+ __vue_scope_id__$1i,
6850
+ __vue_is_functional_template__$1i,
6851
+ __vue_module_identifier__$1i,
6851
6852
  false,
6852
6853
  undefined);
6853
6854
 
6854
- var script$1f = {
6855
+ var script$1g = {
6855
6856
  components: {
6856
- CLightbox: __vue_component__$1i,
6857
- IMG: __vue_component__$1k,
6858
- PDF: __vue_component__$1j,
6857
+ CLightbox: __vue_component__$1j,
6858
+ IMG: __vue_component__$1l,
6859
+ PDF: __vue_component__$1k,
6859
6860
  },
6860
6861
 
6861
- extends: __vue_component__$1h,
6862
+ extends: __vue_component__$1i,
6862
6863
  };
6863
6864
 
6864
6865
  /* script */
6865
- const __vue_script__$1f = script$1f;
6866
+ const __vue_script__$1g = script$1g;
6866
6867
 
6867
6868
  /* template */
6868
- var __vue_render__$1b = 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)};
6869
- var __vue_staticRenderFns__$1b = [];
6869
+ var __vue_render__$1c = 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)};
6870
+ var __vue_staticRenderFns__$1c = [];
6870
6871
 
6871
6872
  /* style */
6872
- const __vue_inject_styles__$1g = undefined;
6873
+ const __vue_inject_styles__$1h = undefined;
6873
6874
  /* scoped */
6874
- const __vue_scope_id__$1g = undefined;
6875
+ const __vue_scope_id__$1h = undefined;
6875
6876
  /* module identifier */
6876
- const __vue_module_identifier__$1g = undefined;
6877
+ const __vue_module_identifier__$1h = undefined;
6877
6878
  /* functional template */
6878
- const __vue_is_functional_template__$1g = false;
6879
+ const __vue_is_functional_template__$1h = false;
6879
6880
  /* style inject */
6880
6881
 
6881
6882
  /* style inject SSR */
@@ -6884,40 +6885,40 @@ var __vue_staticRenderFns__$1b = [];
6884
6885
 
6885
6886
 
6886
6887
 
6887
- const __vue_component__$1g = /*#__PURE__*/normalizeComponent(
6888
- { render: __vue_render__$1b, staticRenderFns: __vue_staticRenderFns__$1b },
6889
- __vue_inject_styles__$1g,
6890
- __vue_script__$1f,
6891
- __vue_scope_id__$1g,
6892
- __vue_is_functional_template__$1g,
6893
- __vue_module_identifier__$1g,
6888
+ const __vue_component__$1h = /*#__PURE__*/normalizeComponent(
6889
+ { render: __vue_render__$1c, staticRenderFns: __vue_staticRenderFns__$1c },
6890
+ __vue_inject_styles__$1h,
6891
+ __vue_script__$1g,
6892
+ __vue_scope_id__$1h,
6893
+ __vue_is_functional_template__$1h,
6894
+ __vue_module_identifier__$1h,
6894
6895
  false,
6895
6896
  undefined);
6896
6897
 
6897
- var script$1e = {
6898
+ var script$1f = {
6898
6899
  components: {
6899
- IMG: __vue_component__$1l,
6900
- PDF: __vue_component__$1j,
6900
+ IMG: __vue_component__$1m,
6901
+ PDF: __vue_component__$1k,
6901
6902
  },
6902
6903
 
6903
- extends: __vue_component__$1h,
6904
+ extends: __vue_component__$1i,
6904
6905
  };
6905
6906
 
6906
6907
  /* script */
6907
- const __vue_script__$1e = script$1e;
6908
+ const __vue_script__$1f = script$1f;
6908
6909
 
6909
6910
  /* template */
6910
- var __vue_render__$1a = 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)])};
6911
- var __vue_staticRenderFns__$1a = [];
6911
+ var __vue_render__$1b = 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)])};
6912
+ var __vue_staticRenderFns__$1b = [];
6912
6913
 
6913
6914
  /* style */
6914
- const __vue_inject_styles__$1f = undefined;
6915
+ const __vue_inject_styles__$1g = undefined;
6915
6916
  /* scoped */
6916
- const __vue_scope_id__$1f = undefined;
6917
+ const __vue_scope_id__$1g = undefined;
6917
6918
  /* module identifier */
6918
- const __vue_module_identifier__$1f = undefined;
6919
+ const __vue_module_identifier__$1g = undefined;
6919
6920
  /* functional template */
6920
- const __vue_is_functional_template__$1f = false;
6921
+ const __vue_is_functional_template__$1g = false;
6921
6922
  /* style inject */
6922
6923
 
6923
6924
  /* style inject SSR */
@@ -6926,17 +6927,17 @@ var __vue_staticRenderFns__$1a = [];
6926
6927
 
6927
6928
 
6928
6929
 
6929
- const __vue_component__$1f = /*#__PURE__*/normalizeComponent(
6930
- { render: __vue_render__$1a, staticRenderFns: __vue_staticRenderFns__$1a },
6931
- __vue_inject_styles__$1f,
6932
- __vue_script__$1e,
6933
- __vue_scope_id__$1f,
6934
- __vue_is_functional_template__$1f,
6935
- __vue_module_identifier__$1f,
6930
+ const __vue_component__$1g = /*#__PURE__*/normalizeComponent(
6931
+ { render: __vue_render__$1b, staticRenderFns: __vue_staticRenderFns__$1b },
6932
+ __vue_inject_styles__$1g,
6933
+ __vue_script__$1f,
6934
+ __vue_scope_id__$1g,
6935
+ __vue_is_functional_template__$1g,
6936
+ __vue_module_identifier__$1g,
6936
6937
  false,
6937
6938
  undefined);
6938
6939
 
6939
- var script$1d = {
6940
+ var script$1e = {
6940
6941
  props: {
6941
6942
  disabled: Boolean,
6942
6943
  okDisabled: Boolean,
@@ -7039,20 +7040,20 @@ var script$1d = {
7039
7040
  };
7040
7041
 
7041
7042
  /* script */
7042
- const __vue_script__$1d = script$1d;
7043
+ const __vue_script__$1e = script$1e;
7043
7044
 
7044
7045
  /* template */
7045
- var __vue_render__$19 = 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)};
7046
- 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('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)};
7047
+ var __vue_staticRenderFns__$1a = [];
7047
7048
 
7048
7049
  /* style */
7049
- const __vue_inject_styles__$1e = undefined;
7050
+ const __vue_inject_styles__$1f = undefined;
7050
7051
  /* scoped */
7051
- const __vue_scope_id__$1e = undefined;
7052
+ const __vue_scope_id__$1f = undefined;
7052
7053
  /* module identifier */
7053
- const __vue_module_identifier__$1e = undefined;
7054
+ const __vue_module_identifier__$1f = undefined;
7054
7055
  /* functional template */
7055
- const __vue_is_functional_template__$1e = false;
7056
+ const __vue_is_functional_template__$1f = false;
7056
7057
  /* style inject */
7057
7058
 
7058
7059
  /* style inject SSR */
@@ -7061,14 +7062,14 @@ var __vue_staticRenderFns__$19 = [];
7061
7062
 
7062
7063
 
7063
7064
 
7064
- const __vue_component__$1e = /*#__PURE__*/normalizeComponent(
7065
- { render: __vue_render__$19, staticRenderFns: __vue_staticRenderFns__$19 },
7066
- __vue_inject_styles__$1e,
7067
- __vue_script__$1d,
7068
- __vue_scope_id__$1e,
7069
- __vue_is_functional_template__$1e,
7070
- __vue_module_identifier__$1e,
7071
- false,
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
+ false,
7072
7073
  undefined);
7073
7074
 
7074
7075
  //
@@ -7090,7 +7091,7 @@ var __vue_staticRenderFns__$19 = [];
7090
7091
  //
7091
7092
  //
7092
7093
 
7093
- var script$1c = {
7094
+ var script$1d = {
7094
7095
  props: {
7095
7096
  variant: {
7096
7097
  type: String,
@@ -7112,20 +7113,20 @@ var script$1c = {
7112
7113
  };
7113
7114
 
7114
7115
  /* script */
7115
- const __vue_script__$1c = script$1c;
7116
+ const __vue_script__$1d = script$1d;
7116
7117
 
7117
7118
  /* template */
7118
- var __vue_render__$18 = 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)};
7119
- var __vue_staticRenderFns__$18 = [];
7119
+ var __vue_render__$19 = 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)};
7120
+ var __vue_staticRenderFns__$19 = [];
7120
7121
 
7121
7122
  /* style */
7122
- const __vue_inject_styles__$1d = undefined;
7123
+ const __vue_inject_styles__$1e = undefined;
7123
7124
  /* scoped */
7124
- const __vue_scope_id__$1d = undefined;
7125
+ const __vue_scope_id__$1e = undefined;
7125
7126
  /* module identifier */
7126
- const __vue_module_identifier__$1d = undefined;
7127
+ const __vue_module_identifier__$1e = undefined;
7127
7128
  /* functional template */
7128
- const __vue_is_functional_template__$1d = false;
7129
+ const __vue_is_functional_template__$1e = false;
7129
7130
  /* style inject */
7130
7131
 
7131
7132
  /* style inject SSR */
@@ -7134,13 +7135,13 @@ var __vue_staticRenderFns__$18 = [];
7134
7135
 
7135
7136
 
7136
7137
 
7137
- const __vue_component__$1d = /*#__PURE__*/normalizeComponent(
7138
- { render: __vue_render__$18, staticRenderFns: __vue_staticRenderFns__$18 },
7139
- __vue_inject_styles__$1d,
7140
- __vue_script__$1c,
7141
- __vue_scope_id__$1d,
7142
- __vue_is_functional_template__$1d,
7143
- __vue_module_identifier__$1d,
7138
+ const __vue_component__$1e = /*#__PURE__*/normalizeComponent(
7139
+ { render: __vue_render__$19, staticRenderFns: __vue_staticRenderFns__$19 },
7140
+ __vue_inject_styles__$1e,
7141
+ __vue_script__$1d,
7142
+ __vue_scope_id__$1e,
7143
+ __vue_is_functional_template__$1e,
7144
+ __vue_module_identifier__$1e,
7144
7145
  false,
7145
7146
  undefined);
7146
7147
 
@@ -7188,7 +7189,7 @@ function setTime(time, value, noDate = false, noTime = false) {
7188
7189
  return moment(date + ' ' + time, 'YYYY-MM-DD HH:mm').utc().format();
7189
7190
  }
7190
7191
 
7191
- var script$1b = {
7192
+ var script$1c = {
7192
7193
  props: {
7193
7194
  value: {
7194
7195
  type: [String, Date],
@@ -7273,37 +7274,37 @@ var script$1b = {
7273
7274
  };
7274
7275
 
7275
7276
  /* script */
7276
- const __vue_script__$1b = script$1b;
7277
+ const __vue_script__$1c = script$1c;
7277
7278
 
7278
7279
  /* template */
7279
- var __vue_render__$17 = 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,"locale":_vm.browserLocale,"start-weekday":_vm.weekStartDay,"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,"locale":_vm.browserLocale,"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)};
7280
- var __vue_staticRenderFns__$17 = [];
7280
+ var __vue_render__$18 = 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,"locale":_vm.browserLocale,"start-weekday":_vm.weekStartDay,"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,"locale":_vm.browserLocale,"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)};
7281
+ var __vue_staticRenderFns__$18 = [];
7281
7282
 
7282
7283
  /* style */
7283
- const __vue_inject_styles__$1c = function (inject) {
7284
+ const __vue_inject_styles__$1d = function (inject) {
7284
7285
  if (!inject) return
7285
7286
  inject("data-v-7de35dbd_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 });
7286
7287
 
7287
7288
  };
7288
7289
  /* scoped */
7289
- const __vue_scope_id__$1c = undefined;
7290
+ const __vue_scope_id__$1d = undefined;
7290
7291
  /* module identifier */
7291
- const __vue_module_identifier__$1c = undefined;
7292
+ const __vue_module_identifier__$1d = undefined;
7292
7293
  /* functional template */
7293
- const __vue_is_functional_template__$1c = false;
7294
+ const __vue_is_functional_template__$1d = false;
7294
7295
  /* style inject SSR */
7295
7296
 
7296
7297
  /* style inject shadow dom */
7297
7298
 
7298
7299
 
7299
7300
 
7300
- const __vue_component__$1c = /*#__PURE__*/normalizeComponent(
7301
- { render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
7302
- __vue_inject_styles__$1c,
7303
- __vue_script__$1b,
7304
- __vue_scope_id__$1c,
7305
- __vue_is_functional_template__$1c,
7306
- __vue_module_identifier__$1c,
7301
+ const __vue_component__$1d = /*#__PURE__*/normalizeComponent(
7302
+ { render: __vue_render__$18, staticRenderFns: __vue_staticRenderFns__$18 },
7303
+ __vue_inject_styles__$1d,
7304
+ __vue_script__$1c,
7305
+ __vue_scope_id__$1d,
7306
+ __vue_is_functional_template__$1d,
7307
+ __vue_module_identifier__$1d,
7307
7308
  false,
7308
7309
  createInjector);
7309
7310
 
@@ -7387,7 +7388,7 @@ n(css$4,{});
7387
7388
  //
7388
7389
 
7389
7390
 
7390
- var script$1a = {
7391
+ var script$1b = {
7391
7392
  name: 'CInputSelect',
7392
7393
 
7393
7394
  components: {
@@ -7554,40 +7555,40 @@ var script$1a = {
7554
7555
  };
7555
7556
 
7556
7557
  /* script */
7557
- const __vue_script__$1a = script$1a;
7558
+ const __vue_script__$1b = script$1b;
7558
7559
 
7559
7560
  /* template */
7560
- var __vue_render__$16 = 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){
7561
+ var __vue_render__$17 = 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){
7561
7562
  var option = ref.option;
7562
7563
  var deselect = ref.deselect;
7563
7564
  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))};
7564
- var __vue_staticRenderFns__$16 = [];
7565
+ var __vue_staticRenderFns__$17 = [];
7565
7566
 
7566
7567
  /* style */
7567
- const __vue_inject_styles__$1b = function (inject) {
7568
+ const __vue_inject_styles__$1c = function (inject) {
7568
7569
  if (!inject) return
7569
7570
  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 });
7570
7571
 
7571
7572
  };
7572
7573
  /* scoped */
7573
- const __vue_scope_id__$1b = undefined;
7574
+ const __vue_scope_id__$1c = undefined;
7574
7575
  /* module identifier */
7575
- const __vue_module_identifier__$1b = undefined;
7576
+ const __vue_module_identifier__$1c = undefined;
7576
7577
  /* functional template */
7577
- const __vue_is_functional_template__$1b = false;
7578
+ const __vue_is_functional_template__$1c = false;
7578
7579
  /* style inject SSR */
7579
7580
 
7580
7581
  /* style inject shadow dom */
7581
7582
 
7582
7583
 
7583
7584
 
7584
- const __vue_component__$1b = /*#__PURE__*/normalizeComponent(
7585
- { render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
7586
- __vue_inject_styles__$1b,
7587
- __vue_script__$1a,
7588
- __vue_scope_id__$1b,
7589
- __vue_is_functional_template__$1b,
7590
- __vue_module_identifier__$1b,
7585
+ const __vue_component__$1c = /*#__PURE__*/normalizeComponent(
7586
+ { render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
7587
+ __vue_inject_styles__$1c,
7588
+ __vue_script__$1b,
7589
+ __vue_scope_id__$1c,
7590
+ __vue_is_functional_template__$1c,
7591
+ __vue_module_identifier__$1c,
7591
7592
  false,
7592
7593
  createInjector);
7593
7594
 
@@ -7624,7 +7625,7 @@ var __vue_staticRenderFns__$16 = [];
7624
7625
  //
7625
7626
  //
7626
7627
 
7627
- var script$19 = {
7628
+ var script$1a = {
7628
7629
  name: 'CFormTableWrapper',
7629
7630
 
7630
7631
  props: {
@@ -7661,37 +7662,37 @@ var script$19 = {
7661
7662
  };
7662
7663
 
7663
7664
  /* script */
7664
- const __vue_script__$19 = script$19;
7665
+ const __vue_script__$1a = script$1a;
7665
7666
 
7666
7667
  /* template */
7667
- var __vue_render__$15 = 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)};
7668
- var __vue_staticRenderFns__$15 = [];
7668
+ var __vue_render__$16 = 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)};
7669
+ var __vue_staticRenderFns__$16 = [];
7669
7670
 
7670
7671
  /* style */
7671
- const __vue_inject_styles__$1a = function (inject) {
7672
+ const __vue_inject_styles__$1b = function (inject) {
7672
7673
  if (!inject) return
7673
7674
  inject("data-v-7ae53668_0", { source: ".list-background[data-v-7ae53668]{background-color:var(--body-bg)}", map: undefined, media: undefined });
7674
7675
 
7675
7676
  };
7676
7677
  /* scoped */
7677
- const __vue_scope_id__$1a = "data-v-7ae53668";
7678
+ const __vue_scope_id__$1b = "data-v-7ae53668";
7678
7679
  /* module identifier */
7679
- const __vue_module_identifier__$1a = undefined;
7680
+ const __vue_module_identifier__$1b = undefined;
7680
7681
  /* functional template */
7681
- const __vue_is_functional_template__$1a = false;
7682
+ const __vue_is_functional_template__$1b = false;
7682
7683
  /* style inject SSR */
7683
7684
 
7684
7685
  /* style inject shadow dom */
7685
7686
 
7686
7687
 
7687
7688
 
7688
- const __vue_component__$1a = /*#__PURE__*/normalizeComponent(
7689
- { render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
7690
- __vue_inject_styles__$1a,
7691
- __vue_script__$19,
7692
- __vue_scope_id__$1a,
7693
- __vue_is_functional_template__$1a,
7694
- __vue_module_identifier__$1a,
7689
+ const __vue_component__$1b = /*#__PURE__*/normalizeComponent(
7690
+ { render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
7691
+ __vue_inject_styles__$1b,
7692
+ __vue_script__$1a,
7693
+ __vue_scope_id__$1b,
7694
+ __vue_is_functional_template__$1b,
7695
+ __vue_module_identifier__$1b,
7695
7696
  false,
7696
7697
  createInjector);
7697
7698
 
@@ -7799,11 +7800,11 @@ var __vue_staticRenderFns__$15 = [];
7799
7800
  //
7800
7801
 
7801
7802
 
7802
- var script$18 = {
7803
+ var script$19 = {
7803
7804
  components: {
7804
7805
  Draggable,
7805
- CInputSelect: __vue_component__$1b,
7806
- CFormTableWrapper: __vue_component__$1a,
7806
+ CInputSelect: __vue_component__$1c,
7807
+ CFormTableWrapper: __vue_component__$1b,
7807
7808
  },
7808
7809
 
7809
7810
  props: {
@@ -7913,20 +7914,20 @@ var script$18 = {
7913
7914
  };
7914
7915
 
7915
7916
  /* script */
7916
- const __vue_script__$18 = script$18;
7917
+ const __vue_script__$19 = script$19;
7917
7918
 
7918
7919
  /* template */
7919
- var __vue_render__$14 = 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)};
7920
- var __vue_staticRenderFns__$14 = [];
7920
+ var __vue_render__$15 = 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)};
7921
+ var __vue_staticRenderFns__$15 = [];
7921
7922
 
7922
7923
  /* style */
7923
- const __vue_inject_styles__$19 = undefined;
7924
+ const __vue_inject_styles__$1a = undefined;
7924
7925
  /* scoped */
7925
- const __vue_scope_id__$19 = undefined;
7926
+ const __vue_scope_id__$1a = undefined;
7926
7927
  /* module identifier */
7927
- const __vue_module_identifier__$19 = undefined;
7928
+ const __vue_module_identifier__$1a = undefined;
7928
7929
  /* functional template */
7929
- const __vue_is_functional_template__$19 = false;
7930
+ const __vue_is_functional_template__$1a = false;
7930
7931
  /* style inject */
7931
7932
 
7932
7933
  /* style inject SSR */
@@ -7935,13 +7936,13 @@ var __vue_staticRenderFns__$14 = [];
7935
7936
 
7936
7937
 
7937
7938
 
7938
- const __vue_component__$19 = /*#__PURE__*/normalizeComponent(
7939
- { render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
7940
- __vue_inject_styles__$19,
7941
- __vue_script__$18,
7942
- __vue_scope_id__$19,
7943
- __vue_is_functional_template__$19,
7944
- __vue_module_identifier__$19,
7939
+ const __vue_component__$1a = /*#__PURE__*/normalizeComponent(
7940
+ { render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
7941
+ __vue_inject_styles__$1a,
7942
+ __vue_script__$19,
7943
+ __vue_scope_id__$1a,
7944
+ __vue_is_functional_template__$1a,
7945
+ __vue_module_identifier__$1a,
7945
7946
  false,
7946
7947
  undefined);
7947
7948
 
@@ -7985,7 +7986,7 @@ var __vue_staticRenderFns__$14 = [];
7985
7986
  //
7986
7987
  //
7987
7988
 
7988
- var script$17 = {
7989
+ var script$18 = {
7989
7990
  name: 'CInputSearch',
7990
7991
 
7991
7992
  props: {
@@ -8079,37 +8080,37 @@ var script$17 = {
8079
8080
  };
8080
8081
 
8081
8082
  /* script */
8082
- const __vue_script__$17 = script$17;
8083
+ const __vue_script__$18 = script$18;
8083
8084
 
8084
8085
  /* template */
8085
- var __vue_render__$13 = 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)};
8086
- var __vue_staticRenderFns__$13 = [];
8086
+ var __vue_render__$14 = 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)};
8087
+ var __vue_staticRenderFns__$14 = [];
8087
8088
 
8088
8089
  /* style */
8089
- const __vue_inject_styles__$18 = function (inject) {
8090
+ const __vue_inject_styles__$19 = function (inject) {
8090
8091
  if (!inject) return
8091
8092
  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 });
8092
8093
 
8093
8094
  };
8094
8095
  /* scoped */
8095
- const __vue_scope_id__$18 = "data-v-ec96b2dc";
8096
+ const __vue_scope_id__$19 = "data-v-ec96b2dc";
8096
8097
  /* module identifier */
8097
- const __vue_module_identifier__$18 = undefined;
8098
+ const __vue_module_identifier__$19 = undefined;
8098
8099
  /* functional template */
8099
- const __vue_is_functional_template__$18 = false;
8100
+ const __vue_is_functional_template__$19 = false;
8100
8101
  /* style inject SSR */
8101
8102
 
8102
8103
  /* style inject shadow dom */
8103
8104
 
8104
8105
 
8105
8106
 
8106
- const __vue_component__$18 = /*#__PURE__*/normalizeComponent(
8107
- { render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
8108
- __vue_inject_styles__$18,
8109
- __vue_script__$17,
8110
- __vue_scope_id__$18,
8111
- __vue_is_functional_template__$18,
8112
- __vue_module_identifier__$18,
8107
+ const __vue_component__$19 = /*#__PURE__*/normalizeComponent(
8108
+ { render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
8109
+ __vue_inject_styles__$19,
8110
+ __vue_script__$18,
8111
+ __vue_scope_id__$19,
8112
+ __vue_is_functional_template__$19,
8113
+ __vue_module_identifier__$19,
8113
8114
  false,
8114
8115
  createInjector);
8115
8116
 
@@ -8244,7 +8245,7 @@ var __vue_staticRenderFns__$13 = [];
8244
8245
  //
8245
8246
 
8246
8247
 
8247
- var script$16 = {
8248
+ var script$17 = {
8248
8249
  name: 'CInputColorPicker',
8249
8250
 
8250
8251
  components: {
@@ -8396,45 +8397,45 @@ var script$16 = {
8396
8397
  };
8397
8398
 
8398
8399
  /* script */
8399
- const __vue_script__$16 = script$16;
8400
+ const __vue_script__$17 = script$17;
8400
8401
 
8401
8402
  /* template */
8402
- var __vue_render__$12 = 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.value + "; fill: " + _vm.value + ";")),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","hide-header":!Boolean(_vm.translations.modalTitle),"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 || 'Default')+"\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 || 'Cancel')+"\n ")]),_vm._v(" "),_c('b-button',{attrs:{"variant":"primary"},on:{"click":_vm.saveColor}},[_vm._v("\n "+_vm._s(_vm.translations.saveBtnLabel || 'Save')+"\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)};
8403
- var __vue_staticRenderFns__$12 = [];
8403
+ var __vue_render__$13 = 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.value + "; fill: " + _vm.value + ";")),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","hide-header":!Boolean(_vm.translations.modalTitle),"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 || 'Default')+"\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 || 'Cancel')+"\n ")]),_vm._v(" "),_c('b-button',{attrs:{"variant":"primary"},on:{"click":_vm.saveColor}},[_vm._v("\n "+_vm._s(_vm.translations.saveBtnLabel || 'Save')+"\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)};
8404
+ var __vue_staticRenderFns__$13 = [];
8404
8405
 
8405
8406
  /* style */
8406
- const __vue_inject_styles__$17 = function (inject) {
8407
+ const __vue_inject_styles__$18 = function (inject) {
8407
8408
  if (!inject) return
8408
8409
  inject("data-v-0db7b6ea_0", { source: ".swatch[data-v-0db7b6ea]{height:58px;min-width:50px}", map: undefined, media: undefined })
8409
8410
  ,inject("data-v-0db7b6ea_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 });
8410
8411
 
8411
8412
  };
8412
8413
  /* scoped */
8413
- const __vue_scope_id__$17 = "data-v-0db7b6ea";
8414
+ const __vue_scope_id__$18 = "data-v-0db7b6ea";
8414
8415
  /* module identifier */
8415
- const __vue_module_identifier__$17 = undefined;
8416
+ const __vue_module_identifier__$18 = undefined;
8416
8417
  /* functional template */
8417
- const __vue_is_functional_template__$17 = false;
8418
+ const __vue_is_functional_template__$18 = false;
8418
8419
  /* style inject SSR */
8419
8420
 
8420
8421
  /* style inject shadow dom */
8421
8422
 
8422
8423
 
8423
8424
 
8424
- const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
8425
- { render: __vue_render__$12, staticRenderFns: __vue_staticRenderFns__$12 },
8426
- __vue_inject_styles__$17,
8427
- __vue_script__$16,
8428
- __vue_scope_id__$17,
8429
- __vue_is_functional_template__$17,
8430
- __vue_module_identifier__$17,
8425
+ const __vue_component__$18 = /*#__PURE__*/normalizeComponent(
8426
+ { render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
8427
+ __vue_inject_styles__$18,
8428
+ __vue_script__$17,
8429
+ __vue_scope_id__$18,
8430
+ __vue_is_functional_template__$18,
8431
+ __vue_module_identifier__$18,
8431
8432
  false,
8432
8433
  createInjector);
8433
8434
 
8434
8435
  /**
8435
8436
  * Defines common props, methods between different toolbar item types
8436
8437
  */
8437
- var script$15 = {
8438
+ var script$16 = {
8438
8439
  props: {
8439
8440
  editor: {
8440
8441
  type: Object,
@@ -8488,18 +8489,18 @@ var script$15 = {
8488
8489
  };
8489
8490
 
8490
8491
  /* script */
8491
- const __vue_script__$15 = script$15;
8492
+ const __vue_script__$16 = script$16;
8492
8493
 
8493
8494
  /* template */
8494
8495
 
8495
8496
  /* style */
8496
- const __vue_inject_styles__$16 = undefined;
8497
+ const __vue_inject_styles__$17 = undefined;
8497
8498
  /* scoped */
8498
- const __vue_scope_id__$16 = undefined;
8499
+ const __vue_scope_id__$17 = undefined;
8499
8500
  /* module identifier */
8500
- const __vue_module_identifier__$16 = undefined;
8501
+ const __vue_module_identifier__$17 = undefined;
8501
8502
  /* functional template */
8502
- const __vue_is_functional_template__$16 = undefined;
8503
+ const __vue_is_functional_template__$17 = undefined;
8503
8504
  /* style inject */
8504
8505
 
8505
8506
  /* style inject SSR */
@@ -8508,13 +8509,13 @@ const __vue_script__$15 = script$15;
8508
8509
 
8509
8510
 
8510
8511
 
8511
- const __vue_component__$16 = /*#__PURE__*/normalizeComponent(
8512
+ const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
8512
8513
  {},
8513
- __vue_inject_styles__$16,
8514
- __vue_script__$15,
8515
- __vue_scope_id__$16,
8516
- __vue_is_functional_template__$16,
8517
- __vue_module_identifier__$16,
8514
+ __vue_inject_styles__$17,
8515
+ __vue_script__$16,
8516
+ __vue_scope_id__$17,
8517
+ __vue_is_functional_template__$17,
8518
+ __vue_module_identifier__$17,
8518
8519
  false,
8519
8520
  undefined);
8520
8521
 
@@ -8553,14 +8554,14 @@ const __vue_script__$15 = script$15;
8553
8554
  //
8554
8555
 
8555
8556
 
8556
- var script$14 = {
8557
+ var script$15 = {
8557
8558
  name: 'TMarkColor',
8558
8559
 
8559
8560
  components: {
8560
- CInputColorPicker: __vue_component__$17,
8561
+ CInputColorPicker: __vue_component__$18,
8561
8562
  },
8562
8563
 
8563
- extends: __vue_component__$16,
8564
+ extends: __vue_component__$17,
8564
8565
 
8565
8566
  props: {
8566
8567
  background: {
@@ -8610,40 +8611,40 @@ var script$14 = {
8610
8611
  };
8611
8612
 
8612
8613
  /* script */
8613
- const __vue_script__$14 = script$14;
8614
+ const __vue_script__$15 = script$15;
8614
8615
 
8615
8616
  /* template */
8616
- 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"},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.showPicker.apply(null, arguments)}}},[_c('span',{staticClass:"icon",class:_vm.typeStyle,style:({
8617
+ var __vue_render__$12 = 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"},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.showPicker.apply(null, arguments)}}},[_c('span',{staticClass:"icon",class:_vm.typeStyle,style:({
8617
8618
  backgroundColor: _vm.background ? _vm.selectedColor : 'transparent',
8618
8619
  borderColor: _vm.background ? 'transparent' : _vm.selectedColor,
8619
8620
  })},[_vm._v("\n A\n ")])]),_vm._v(" "),_c('c-input-color-picker',{ref:"picker",staticClass:"d-none",attrs:{"value":_vm.selectedColor,"default-value":_vm.getDefaultColor(),"show-text":false,"width":'0px',"height":'0px'},on:{"input":_vm.applyFromPicker}})],1)};
8620
- var __vue_staticRenderFns__$11 = [];
8621
+ var __vue_staticRenderFns__$12 = [];
8621
8622
 
8622
8623
  /* style */
8623
- const __vue_inject_styles__$15 = function (inject) {
8624
+ const __vue_inject_styles__$16 = function (inject) {
8624
8625
  if (!inject) return
8625
8626
  inject("data-v-f18be530_0", { source: ".icon[data-v-f18be530]{padding:0 2px}.icon.color-icon[data-v-f18be530]{border-bottom:2px solid var(--dark)}.icon.background-icon[data-v-f18be530]{padding:2px 3px}", map: undefined, media: undefined });
8626
8627
 
8627
8628
  };
8628
8629
  /* scoped */
8629
- const __vue_scope_id__$15 = "data-v-f18be530";
8630
+ const __vue_scope_id__$16 = "data-v-f18be530";
8630
8631
  /* module identifier */
8631
- const __vue_module_identifier__$15 = undefined;
8632
+ const __vue_module_identifier__$16 = undefined;
8632
8633
  /* functional template */
8633
- const __vue_is_functional_template__$15 = false;
8634
+ const __vue_is_functional_template__$16 = false;
8634
8635
  /* style inject SSR */
8635
8636
 
8636
8637
  /* style inject shadow dom */
8637
8638
 
8638
8639
 
8639
8640
 
8640
- const __vue_component__$15 = /*#__PURE__*/normalizeComponent(
8641
- { render: __vue_render__$11, staticRenderFns: __vue_staticRenderFns__$11 },
8642
- __vue_inject_styles__$15,
8643
- __vue_script__$14,
8644
- __vue_scope_id__$15,
8645
- __vue_is_functional_template__$15,
8646
- __vue_module_identifier__$15,
8641
+ const __vue_component__$16 = /*#__PURE__*/normalizeComponent(
8642
+ { render: __vue_render__$12, staticRenderFns: __vue_staticRenderFns__$12 },
8643
+ __vue_inject_styles__$16,
8644
+ __vue_script__$15,
8645
+ __vue_scope_id__$16,
8646
+ __vue_is_functional_template__$16,
8647
+ __vue_module_identifier__$16,
8647
8648
  false,
8648
8649
  createInjector);
8649
8650
 
@@ -8671,26 +8672,26 @@ var __vue_staticRenderFns__$11 = [];
8671
8672
  /**
8672
8673
  * Component is used to display simple formatter options such as bold, italic, ...
8673
8674
  */
8674
- var script$13 = {
8675
+ var script$14 = {
8675
8676
  name: 'TMarkItem',
8676
- extends: __vue_component__$16,
8677
+ extends: __vue_component__$17,
8677
8678
  };
8678
8679
 
8679
8680
  /* script */
8680
- const __vue_script__$13 = script$13;
8681
+ const __vue_script__$14 = script$14;
8681
8682
 
8682
8683
  /* template */
8683
- 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)])};
8684
- var __vue_staticRenderFns__$10 = [];
8684
+ var __vue_render__$11 = 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)])};
8685
+ var __vue_staticRenderFns__$11 = [];
8685
8686
 
8686
8687
  /* style */
8687
- const __vue_inject_styles__$14 = undefined;
8688
+ const __vue_inject_styles__$15 = undefined;
8688
8689
  /* scoped */
8689
- const __vue_scope_id__$14 = undefined;
8690
+ const __vue_scope_id__$15 = undefined;
8690
8691
  /* module identifier */
8691
- const __vue_module_identifier__$14 = undefined;
8692
+ const __vue_module_identifier__$15 = undefined;
8692
8693
  /* functional template */
8693
- const __vue_is_functional_template__$14 = false;
8694
+ const __vue_is_functional_template__$15 = false;
8694
8695
  /* style inject */
8695
8696
 
8696
8697
  /* style inject SSR */
@@ -8699,13 +8700,13 @@ var __vue_staticRenderFns__$10 = [];
8699
8700
 
8700
8701
 
8701
8702
 
8702
- const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
8703
- { render: __vue_render__$10, staticRenderFns: __vue_staticRenderFns__$10 },
8704
- __vue_inject_styles__$14,
8705
- __vue_script__$13,
8706
- __vue_scope_id__$14,
8707
- __vue_is_functional_template__$14,
8708
- __vue_module_identifier__$14,
8703
+ const __vue_component__$15 = /*#__PURE__*/normalizeComponent(
8704
+ { render: __vue_render__$11, staticRenderFns: __vue_staticRenderFns__$11 },
8705
+ __vue_inject_styles__$15,
8706
+ __vue_script__$14,
8707
+ __vue_scope_id__$15,
8708
+ __vue_is_functional_template__$15,
8709
+ __vue_module_identifier__$15,
8709
8710
  false,
8710
8711
  undefined);
8711
8712
 
@@ -8760,9 +8761,9 @@ var __vue_staticRenderFns__$10 = [];
8760
8761
  * Component is used to display link formatters. It provides an interface to
8761
8762
  * input the URL that should be applied.
8762
8763
  */
8763
- var script$12 = {
8764
+ var script$13 = {
8764
8765
  name: 'TMarkLink',
8765
- extends: __vue_component__$16,
8766
+ extends: __vue_component__$17,
8766
8767
 
8767
8768
  props: {
8768
8769
  labels: {
@@ -8822,20 +8823,20 @@ var script$12 = {
8822
8823
  };
8823
8824
 
8824
8825
  /* script */
8825
- const __vue_script__$12 = script$12;
8826
+ const __vue_script__$13 = script$13;
8826
8827
 
8827
8828
  /* template */
8828
- 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","custom-class":"bg-white"},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)};
8829
- var __vue_staticRenderFns__$$ = [];
8829
+ var __vue_render__$10 = 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","custom-class":"bg-white"},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)};
8830
+ var __vue_staticRenderFns__$10 = [];
8830
8831
 
8831
8832
  /* style */
8832
- const __vue_inject_styles__$13 = undefined;
8833
+ const __vue_inject_styles__$14 = undefined;
8833
8834
  /* scoped */
8834
- const __vue_scope_id__$13 = undefined;
8835
+ const __vue_scope_id__$14 = undefined;
8835
8836
  /* module identifier */
8836
- const __vue_module_identifier__$13 = undefined;
8837
+ const __vue_module_identifier__$14 = undefined;
8837
8838
  /* functional template */
8838
- const __vue_is_functional_template__$13 = false;
8839
+ const __vue_is_functional_template__$14 = false;
8839
8840
  /* style inject */
8840
8841
 
8841
8842
  /* style inject SSR */
@@ -8844,20 +8845,20 @@ var __vue_staticRenderFns__$$ = [];
8844
8845
 
8845
8846
 
8846
8847
 
8847
- const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
8848
- { render: __vue_render__$$, staticRenderFns: __vue_staticRenderFns__$$ },
8849
- __vue_inject_styles__$13,
8850
- __vue_script__$12,
8851
- __vue_scope_id__$13,
8852
- __vue_is_functional_template__$13,
8853
- __vue_module_identifier__$13,
8848
+ const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
8849
+ { render: __vue_render__$10, staticRenderFns: __vue_staticRenderFns__$10 },
8850
+ __vue_inject_styles__$14,
8851
+ __vue_script__$13,
8852
+ __vue_scope_id__$14,
8853
+ __vue_is_functional_template__$14,
8854
+ __vue_module_identifier__$14,
8854
8855
  false,
8855
8856
  undefined);
8856
8857
 
8857
8858
  var mark = {
8858
- Color: __vue_component__$15,
8859
- Item: __vue_component__$14,
8860
- Link: __vue_component__$13
8859
+ Color: __vue_component__$16,
8860
+ Item: __vue_component__$15,
8861
+ Link: __vue_component__$14
8861
8862
  };
8862
8863
 
8863
8864
  //
@@ -8882,7 +8883,7 @@ var mark = {
8882
8883
  //
8883
8884
  //
8884
8885
 
8885
- var script$11 = {
8886
+ var script$12 = {
8886
8887
  name: 'MentionList',
8887
8888
 
8888
8889
  props: {
@@ -8964,40 +8965,40 @@ var script$11 = {
8964
8965
  };
8965
8966
 
8966
8967
  /* script */
8967
- const __vue_script__$11 = script$11;
8968
+ const __vue_script__$12 = script$12;
8968
8969
 
8969
8970
  /* template */
8970
- var __vue_render__$_ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.items.length)?_c('div',{staticClass:"mention-dropdown"},_vm._l((_vm.items),function(item,index){return _c('button',{key:index,class:[
8971
+ var __vue_render__$$ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.items.length)?_c('div',{staticClass:"mention-dropdown"},_vm._l((_vm.items),function(item,index){return _c('button',{key:index,class:[
8971
8972
  'mention-option',
8972
8973
  { 'mention-option--highlighted': index === _vm.selectedIndex }
8973
8974
  ],attrs:{"type":"button"},on:{"click":function($event){return _vm.handleClick(index, $event)},"mouseenter":function($event){_vm.selectedIndex = index;}}},[_vm._v("\n "+_vm._s(_vm.getDisplayName(item))+"\n ")])}),0):_vm._e()};
8974
- var __vue_staticRenderFns__$_ = [];
8975
+ var __vue_staticRenderFns__$$ = [];
8975
8976
 
8976
8977
  /* style */
8977
- const __vue_inject_styles__$12 = function (inject) {
8978
+ const __vue_inject_styles__$13 = function (inject) {
8978
8979
  if (!inject) return
8979
- inject("data-v-74eaa7ca_0", { source: ".mention-dropdown[data-v-74eaa7ca]{background:var(--white);border:1px solid var(--extra-light);border-radius:.25rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075);max-height:200px;overflow-y:auto;font-size:.9rem;font-family:var(--font-regular)}.mention-option[data-v-74eaa7ca]{display:block;width:100%;background:var(--white);color:var(--black);padding:.5rem .75rem;border:none;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mention-option.mention-option--highlighted[data-v-74eaa7ca],.mention-option[data-v-74eaa7ca]:hover{background:var(--light);color:var(--black)}.mention-option[data-v-74eaa7ca]:active,.mention-option[data-v-74eaa7ca]:focus{color:var(--white);background-color:var(--primary);outline:0}", map: undefined, media: undefined });
8980
+ inject("data-v-d2ebe8ce_0", { source: ".mention-dropdown[data-v-d2ebe8ce]{background:var(--white);border:1px solid var(--extra-light);border-radius:.25rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075);max-height:200px;overflow-y:auto;font-size:.9rem;font-family:var(--font-regular)}.mention-option[data-v-d2ebe8ce]{display:block;width:100%;background:var(--white);color:var(--black);padding:.5rem .75rem;border:none;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mention-option.mention-option--highlighted[data-v-d2ebe8ce],.mention-option[data-v-d2ebe8ce]:hover{background:var(--light);color:var(--black)}.mention-option[data-v-d2ebe8ce]:active,.mention-option[data-v-d2ebe8ce]:focus{color:var(--white);background-color:var(--primary);outline:0}", map: undefined, media: undefined });
8980
8981
 
8981
8982
  };
8982
8983
  /* scoped */
8983
- const __vue_scope_id__$12 = "data-v-74eaa7ca";
8984
+ const __vue_scope_id__$13 = "data-v-d2ebe8ce";
8984
8985
  /* module identifier */
8985
- const __vue_module_identifier__$12 = undefined;
8986
+ const __vue_module_identifier__$13 = undefined;
8986
8987
  /* functional template */
8987
- const __vue_is_functional_template__$12 = false;
8988
+ const __vue_is_functional_template__$13 = false;
8988
8989
  /* style inject SSR */
8989
8990
 
8990
8991
  /* style inject shadow dom */
8991
8992
 
8992
8993
 
8993
8994
 
8994
- const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
8995
- { render: __vue_render__$_, staticRenderFns: __vue_staticRenderFns__$_ },
8996
- __vue_inject_styles__$12,
8997
- __vue_script__$11,
8998
- __vue_scope_id__$12,
8999
- __vue_is_functional_template__$12,
9000
- __vue_module_identifier__$12,
8995
+ const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
8996
+ { render: __vue_render__$$, staticRenderFns: __vue_staticRenderFns__$$ },
8997
+ __vue_inject_styles__$13,
8998
+ __vue_script__$12,
8999
+ __vue_scope_id__$13,
9000
+ __vue_is_functional_template__$13,
9001
+ __vue_module_identifier__$13,
9001
9002
  false,
9002
9003
  createInjector);
9003
9004
 
@@ -9032,7 +9033,7 @@ var suggestion = {
9032
9033
  return {
9033
9034
  onStart: function onStart(props) {
9034
9035
  var _props$editor$view$do;
9035
- component = new VueRenderer(__vue_component__$12, {
9036
+ component = new VueRenderer(__vue_component__$13, {
9036
9037
  parent: ((_props$editor$view$do = props.editor.view.dom.ownerDocument.defaultView) === null || _props$editor$view$do === void 0 ? void 0 : _props$editor$view$do.Vue) || undefined,
9037
9038
  propsData: props
9038
9039
  });
@@ -9049,7 +9050,7 @@ var suggestion = {
9049
9050
  popup.style.minWidth = '200px';
9050
9051
  popup.style.pointerEvents = 'auto';
9051
9052
  document.body.appendChild(popup);
9052
- var handleSelection = function handleSelection(event, eventType) {
9053
+ var handleSelection = function handleSelection(event) {
9053
9054
  var options = popup.querySelectorAll('.mention-option');
9054
9055
  options.forEach(function (option, index) {
9055
9056
  if (option.contains(event.target) || option === event.target) {
@@ -9071,9 +9072,6 @@ var suggestion = {
9071
9072
  popup.addEventListener('mouseup', function (event) {
9072
9073
  return handleSelection(event);
9073
9074
  });
9074
-
9075
- // Track mousedown but don't prevent default to allow click events
9076
- popup.addEventListener('mousedown', function (event) {});
9077
9075
  popperInstance = createPopper(virtualElement, popup, {
9078
9076
  placement: 'bottom-start',
9079
9077
  modifiers: [{
@@ -9127,7 +9125,9 @@ var suggestion = {
9127
9125
 
9128
9126
 
9129
9127
  // Defines a set of formats that our document supports
9130
- var getFormats = function getFormats() {
9128
+ var getFormats = function getFormats(_ref) {
9129
+ var _ref$placeholder = _ref.placeholder,
9130
+ placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder;
9131
9131
  return [StarterKit, TextStyleKit, TaskList, TaskItem.configure({
9132
9132
  nested: true
9133
9133
  }), TextAlign.configure({
@@ -9141,6 +9141,8 @@ var getFormats = function getFormats() {
9141
9141
  class: 'mention'
9142
9142
  },
9143
9143
  suggestion: suggestion
9144
+ }), Placeholder.configure({
9145
+ placeholder: placeholder
9144
9146
  })];
9145
9147
  };
9146
9148
 
@@ -9306,18 +9308,18 @@ var getToolbar = function getToolbar() {
9306
9308
  label: '__'
9307
9309
  }];
9308
9310
  };
9309
- var nodeTypes = getToolbar().filter(function (_ref) {
9310
- var node = _ref.node;
9311
+ var nodeTypes = getToolbar().filter(function (_ref2) {
9312
+ var node = _ref2.node;
9311
9313
  return node;
9312
- }).map(function (_ref2) {
9313
- var type = _ref2.type;
9314
+ }).map(function (_ref3) {
9315
+ var type = _ref3.type;
9314
9316
  return type;
9315
9317
  });
9316
9318
 
9317
9319
  /**
9318
9320
  * Defines common props, methods between different toolbar item types
9319
9321
  */
9320
- var script$10 = {
9322
+ var script$11 = {
9321
9323
  props: {
9322
9324
  editor: {
9323
9325
  type: Object,
@@ -9430,18 +9432,18 @@ var script$10 = {
9430
9432
  };
9431
9433
 
9432
9434
  /* script */
9433
- const __vue_script__$10 = script$10;
9435
+ const __vue_script__$11 = script$11;
9434
9436
 
9435
9437
  /* template */
9436
9438
 
9437
9439
  /* style */
9438
- const __vue_inject_styles__$11 = undefined;
9440
+ const __vue_inject_styles__$12 = undefined;
9439
9441
  /* scoped */
9440
- const __vue_scope_id__$11 = undefined;
9442
+ const __vue_scope_id__$12 = undefined;
9441
9443
  /* module identifier */
9442
- const __vue_module_identifier__$11 = undefined;
9444
+ const __vue_module_identifier__$12 = undefined;
9443
9445
  /* functional template */
9444
- const __vue_is_functional_template__$11 = undefined;
9446
+ const __vue_is_functional_template__$12 = undefined;
9445
9447
  /* style inject */
9446
9448
 
9447
9449
  /* style inject SSR */
@@ -9450,13 +9452,13 @@ const __vue_script__$10 = script$10;
9450
9452
 
9451
9453
 
9452
9454
 
9453
- const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
9455
+ const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
9454
9456
  {},
9455
- __vue_inject_styles__$11,
9456
- __vue_script__$10,
9457
- __vue_scope_id__$11,
9458
- __vue_is_functional_template__$11,
9459
- __vue_module_identifier__$11,
9457
+ __vue_inject_styles__$12,
9458
+ __vue_script__$11,
9459
+ __vue_scope_id__$12,
9460
+ __vue_is_functional_template__$12,
9461
+ __vue_module_identifier__$12,
9460
9462
  false,
9461
9463
  undefined);
9462
9464
 
@@ -9484,26 +9486,26 @@ const __vue_script__$10 = script$10;
9484
9486
  /**
9485
9487
  * Component is used to display node types; paragraph, headding, ...
9486
9488
  */
9487
- var script$$ = {
9489
+ var script$10 = {
9488
9490
  name: 'TNodeItem',
9489
- extends: __vue_component__$11,
9491
+ extends: __vue_component__$12,
9490
9492
  };
9491
9493
 
9492
9494
  /* script */
9493
- const __vue_script__$$ = script$$;
9495
+ const __vue_script__$10 = script$10;
9494
9496
 
9495
9497
  /* template */
9496
- 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)])};
9497
- var __vue_staticRenderFns__$Z = [];
9498
+ 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)])};
9499
+ var __vue_staticRenderFns__$_ = [];
9498
9500
 
9499
9501
  /* style */
9500
- const __vue_inject_styles__$10 = undefined;
9502
+ const __vue_inject_styles__$11 = undefined;
9501
9503
  /* scoped */
9502
- const __vue_scope_id__$10 = undefined;
9504
+ const __vue_scope_id__$11 = undefined;
9503
9505
  /* module identifier */
9504
- const __vue_module_identifier__$10 = undefined;
9506
+ const __vue_module_identifier__$11 = undefined;
9505
9507
  /* functional template */
9506
- const __vue_is_functional_template__$10 = false;
9508
+ const __vue_is_functional_template__$11 = false;
9507
9509
  /* style inject */
9508
9510
 
9509
9511
  /* style inject SSR */
@@ -9512,18 +9514,18 @@ var __vue_staticRenderFns__$Z = [];
9512
9514
 
9513
9515
 
9514
9516
 
9515
- const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
9516
- { render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
9517
- __vue_inject_styles__$10,
9518
- __vue_script__$$,
9519
- __vue_scope_id__$10,
9520
- __vue_is_functional_template__$10,
9521
- __vue_module_identifier__$10,
9517
+ const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
9518
+ { render: __vue_render__$_, staticRenderFns: __vue_staticRenderFns__$_ },
9519
+ __vue_inject_styles__$11,
9520
+ __vue_script__$10,
9521
+ __vue_scope_id__$11,
9522
+ __vue_is_functional_template__$11,
9523
+ __vue_module_identifier__$11,
9522
9524
  false,
9523
9525
  undefined);
9524
9526
 
9525
9527
  var node = {
9526
- Item: __vue_component__$10
9528
+ Item: __vue_component__$11
9527
9529
  };
9528
9530
 
9529
9531
  //
@@ -9568,10 +9570,10 @@ var node = {
9568
9570
  /**
9569
9571
  * Component is used to display node alignment formatting
9570
9572
  */
9571
- var script$_ = {
9573
+ var script$$ = {
9572
9574
  name: 'TNattrAlignment',
9573
9575
 
9574
- extends: __vue_component__$11,
9576
+ extends: __vue_component__$12,
9575
9577
 
9576
9578
  props: {
9577
9579
  isActive: {
@@ -9604,20 +9606,20 @@ var script$_ = {
9604
9606
  };
9605
9607
 
9606
9608
  /* script */
9607
- const __vue_script__$_ = script$_;
9609
+ const __vue_script__$$ = script$$;
9608
9610
 
9609
9611
  /* template */
9610
- 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 bg-white","variant":"link","boundary":"window","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[_c('span',{class:{ 'text-primary': !!_vm.activeType && _vm.activeType !== 'left' }},[(_vm.activeIcon)?_c('font-awesome-icon',{attrs:{"icon":_vm.activeIcon}}):_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.$emit('click', { type: 'alignment', attrs: 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)};
9611
- var __vue_staticRenderFns__$Y = [];
9612
+ 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 bg-white","variant":"link","boundary":"window","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[_c('span',{class:{ 'text-primary': !!_vm.activeType && _vm.activeType !== 'left' }},[(_vm.activeIcon)?_c('font-awesome-icon',{attrs:{"icon":_vm.activeIcon}}):_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.$emit('click', { type: 'alignment', attrs: 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)};
9613
+ var __vue_staticRenderFns__$Z = [];
9612
9614
 
9613
9615
  /* style */
9614
- const __vue_inject_styles__$$ = undefined;
9616
+ const __vue_inject_styles__$10 = undefined;
9615
9617
  /* scoped */
9616
- const __vue_scope_id__$$ = undefined;
9618
+ const __vue_scope_id__$10 = undefined;
9617
9619
  /* module identifier */
9618
- const __vue_module_identifier__$$ = undefined;
9620
+ const __vue_module_identifier__$10 = undefined;
9619
9621
  /* functional template */
9620
- const __vue_is_functional_template__$$ = false;
9622
+ const __vue_is_functional_template__$10 = false;
9621
9623
  /* style inject */
9622
9624
 
9623
9625
  /* style inject SSR */
@@ -9626,13 +9628,13 @@ var __vue_staticRenderFns__$Y = [];
9626
9628
 
9627
9629
 
9628
9630
 
9629
- const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
9630
- { render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
9631
- __vue_inject_styles__$$,
9632
- __vue_script__$_,
9633
- __vue_scope_id__$$,
9634
- __vue_is_functional_template__$$,
9635
- __vue_module_identifier__$$,
9631
+ const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
9632
+ { render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
9633
+ __vue_inject_styles__$10,
9634
+ __vue_script__$$,
9635
+ __vue_scope_id__$10,
9636
+ __vue_is_functional_template__$10,
9637
+ __vue_module_identifier__$10,
9636
9638
  false,
9637
9639
  undefined);
9638
9640
 
@@ -9670,9 +9672,9 @@ var __vue_staticRenderFns__$Y = [];
9670
9672
  /**
9671
9673
  * Component is used to display node alignment formatting
9672
9674
  */
9673
- var script$Z = {
9675
+ var script$_ = {
9674
9676
  name: 'TNattrTable',
9675
- extends: __vue_component__$11,
9677
+ extends: __vue_component__$12,
9676
9678
 
9677
9679
  props: {
9678
9680
  isActive: {
@@ -9730,20 +9732,20 @@ var script$Z = {
9730
9732
  };
9731
9733
 
9732
9734
  /* script */
9733
- const __vue_script__$Z = script$Z;
9735
+ const __vue_script__$_ = script$_;
9734
9736
 
9735
9737
  /* template */
9736
- 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 bg-white","variant":"link","boundary":"window","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[(_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)};
9737
- var __vue_staticRenderFns__$X = [];
9738
+ 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 bg-white","variant":"link","boundary":"window","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[(_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)};
9739
+ var __vue_staticRenderFns__$Y = [];
9738
9740
 
9739
9741
  /* style */
9740
- const __vue_inject_styles__$_ = undefined;
9742
+ const __vue_inject_styles__$$ = undefined;
9741
9743
  /* scoped */
9742
- const __vue_scope_id__$_ = undefined;
9744
+ const __vue_scope_id__$$ = undefined;
9743
9745
  /* module identifier */
9744
- const __vue_module_identifier__$_ = undefined;
9746
+ const __vue_module_identifier__$$ = undefined;
9745
9747
  /* functional template */
9746
- const __vue_is_functional_template__$_ = false;
9748
+ const __vue_is_functional_template__$$ = false;
9747
9749
  /* style inject */
9748
9750
 
9749
9751
  /* style inject SSR */
@@ -9752,19 +9754,19 @@ var __vue_staticRenderFns__$X = [];
9752
9754
 
9753
9755
 
9754
9756
 
9755
- const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
9756
- { render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
9757
- __vue_inject_styles__$_,
9758
- __vue_script__$Z,
9759
- __vue_scope_id__$_,
9760
- __vue_is_functional_template__$_,
9761
- __vue_module_identifier__$_,
9757
+ const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
9758
+ { render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
9759
+ __vue_inject_styles__$$,
9760
+ __vue_script__$_,
9761
+ __vue_scope_id__$$,
9762
+ __vue_is_functional_template__$$,
9763
+ __vue_module_identifier__$$,
9762
9764
  false,
9763
9765
  undefined);
9764
9766
 
9765
9767
  var nodeAttr = {
9766
- Alignment: __vue_component__$$,
9767
- Table: __vue_component__$_
9768
+ Alignment: __vue_component__$10,
9769
+ Table: __vue_component__$$
9768
9770
  };
9769
9771
 
9770
9772
  var cc = {
@@ -9802,7 +9804,7 @@ var cc = {
9802
9804
  //
9803
9805
 
9804
9806
 
9805
- var script$Y = {
9807
+ var script$Z = {
9806
9808
  inheritAttrs: true,
9807
9809
 
9808
9810
  props: {
@@ -9925,37 +9927,37 @@ var script$Y = {
9925
9927
  };
9926
9928
 
9927
9929
  /* script */
9928
- const __vue_script__$Y = script$Y;
9930
+ const __vue_script__$Z = script$Z;
9929
9931
 
9930
9932
  /* template */
9931
- 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",staticClass:"toolbar-item",attrs:{"format":f,"is-active":_vm.isActive(),"get-mark-attrs":_vm.getMarkAttrs,"labels":_vm.labels,"current-value":_vm.currentValue},on:{"click":_vm.triggerCommand}},'component',Object.assign({}, _vm.$props, f.props),false))}),_vm._v(" "),_c('b-button',{staticClass:"toolbar-item text-dark font-weight-bold",attrs:{"variant":"link"},on:{"click":_vm.removeMarks}},[_c('font-awesome-icon',{attrs:{"icon":"remove-format"}})],1)],2)};
9932
- var __vue_staticRenderFns__$W = [];
9933
+ 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",staticClass:"toolbar-item",attrs:{"format":f,"is-active":_vm.isActive(),"get-mark-attrs":_vm.getMarkAttrs,"labels":_vm.labels,"current-value":_vm.currentValue},on:{"click":_vm.triggerCommand}},'component',Object.assign({}, _vm.$props, f.props),false))}),_vm._v(" "),_c('b-button',{staticClass:"toolbar-item text-dark font-weight-bold",attrs:{"variant":"link"},on:{"click":_vm.removeMarks}},[_c('font-awesome-icon',{attrs:{"icon":"remove-format"}})],1)],2)};
9934
+ var __vue_staticRenderFns__$X = [];
9933
9935
 
9934
9936
  /* style */
9935
- const __vue_inject_styles__$Z = function (inject) {
9937
+ const __vue_inject_styles__$_ = function (inject) {
9936
9938
  if (!inject) return
9937
9939
  inject("data-v-07608cf7_0", { source: ".toolbar-item{cursor:pointer;display:flex;align-items:center;justify-content:center;padding:.25rem!important;width:2.25rem!important;height:2.25rem!important;border-radius:.25rem!important}.toolbar-item:hover{background-color:var(--light)!important}", map: undefined, media: undefined });
9938
9940
 
9939
9941
  };
9940
9942
  /* scoped */
9941
- const __vue_scope_id__$Z = undefined;
9943
+ const __vue_scope_id__$_ = undefined;
9942
9944
  /* module identifier */
9943
- const __vue_module_identifier__$Z = undefined;
9945
+ const __vue_module_identifier__$_ = undefined;
9944
9946
  /* functional template */
9945
- const __vue_is_functional_template__$Z = false;
9947
+ const __vue_is_functional_template__$_ = false;
9946
9948
  /* style inject SSR */
9947
9949
 
9948
9950
  /* style inject shadow dom */
9949
9951
 
9950
9952
 
9951
9953
 
9952
- const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
9953
- { render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
9954
- __vue_inject_styles__$Z,
9955
- __vue_script__$Y,
9956
- __vue_scope_id__$Z,
9957
- __vue_is_functional_template__$Z,
9958
- __vue_module_identifier__$Z,
9954
+ const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
9955
+ { render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
9956
+ __vue_inject_styles__$_,
9957
+ __vue_script__$Z,
9958
+ __vue_scope_id__$_,
9959
+ __vue_is_functional_template__$_,
9960
+ __vue_module_identifier__$_,
9959
9961
  false,
9960
9962
  createInjector);
9961
9963
 
@@ -9988,12 +9990,12 @@ var __vue_staticRenderFns__$W = [];
9988
9990
  //
9989
9991
 
9990
9992
 
9991
- var script$X = {
9993
+ var script$Y = {
9992
9994
  name: 'CRichTextInput',
9993
9995
 
9994
9996
  components: {
9995
9997
  EditorContent,
9996
- RToolbar: __vue_component__$Z,
9998
+ RToolbar: __vue_component__$_,
9997
9999
  },
9998
10000
 
9999
10001
  props: {
@@ -10022,12 +10024,18 @@ var script$X = {
10022
10024
  type: String,
10023
10025
  default: '',
10024
10026
  },
10027
+
10028
+ placeholder: {
10029
+ type: String,
10030
+ default: '',
10031
+ },
10025
10032
  },
10026
10033
 
10027
10034
  data () {
10028
- const formats = getFormats();
10029
10035
  return {
10030
- formats,
10036
+ formats: getFormats({
10037
+ placeholder: this.placeholder,
10038
+ }),
10031
10039
  toolbar: getToolbar(),
10032
10040
  // Helper to determine if current content differs from prop's content
10033
10041
  emittedContent: false,
@@ -10065,7 +10073,7 @@ var script$X = {
10065
10073
  init () {
10066
10074
  this.editor = new Editor({
10067
10075
  extensions: this.formats,
10068
- content: this.value || ' ',
10076
+ content: this.value || '',
10069
10077
  parseOptions: {
10070
10078
  preserveWhitespace: 'full',
10071
10079
  },
@@ -10082,9 +10090,6 @@ var script$X = {
10082
10090
  onUpdate () {
10083
10091
  this.currentValue = this.editor.getHTML();
10084
10092
 
10085
- // Makes sure to default to '' as the value if no text is present, for validation purposes
10086
- this.currentValue = this.currentValue !== '<p><br></p>' ? this.currentValue : '';
10087
-
10088
10093
  this.emittedContent = true;
10089
10094
  this.$emit('input', this.currentValue);
10090
10095
  },
@@ -10092,37 +10097,37 @@ var script$X = {
10092
10097
  };
10093
10098
 
10094
10099
  /* script */
10095
- const __vue_script__$X = script$X;
10100
+ const __vue_script__$Y = script$Y;
10096
10101
 
10097
10102
  /* template */
10098
- var __vue_render__$V = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:"border border-light rounded",attrs:{"header-class":"p-0 border-bottom","body-class":"p-0"},scopedSlots:_vm._u([(_vm.editor)?{key:"header",fn:function(){return [_c('r-toolbar',{attrs:{"editor":_vm.editor,"formats":_vm.toolbar,"labels":_vm.labels,"current-value":_vm.currentValue}})]},proxy:true}:null],null,true)},[_vm._v(" "),_c('editor-content',{staticClass:"rt-editor-content rt-content p-2",class:_vm.bodyClass,style:({ minHeight: _vm.minBodyHeight, maxHeight: _vm.maxBodyHeight }),attrs:{"editor":_vm.editor}})],1)};
10099
- var __vue_staticRenderFns__$V = [];
10103
+ var __vue_render__$W = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:"border border-light rounded",attrs:{"header-class":"p-0 border-bottom","body-class":"p-0"},scopedSlots:_vm._u([(_vm.editor)?{key:"header",fn:function(){return [_c('r-toolbar',{attrs:{"editor":_vm.editor,"formats":_vm.toolbar,"labels":_vm.labels,"current-value":_vm.currentValue}})]},proxy:true}:null],null,true)},[_vm._v(" "),_c('editor-content',{staticClass:"rt-editor-content rt-content p-2",class:_vm.bodyClass,style:({ minHeight: _vm.minBodyHeight, maxHeight: _vm.maxBodyHeight }),attrs:{"editor":_vm.editor}})],1)};
10104
+ var __vue_staticRenderFns__$W = [];
10100
10105
 
10101
10106
  /* style */
10102
- const __vue_inject_styles__$Y = function (inject) {
10107
+ const __vue_inject_styles__$Z = function (inject) {
10103
10108
  if (!inject) return
10104
- inject("data-v-24e7f922_0", { source: ".rt-editor-content{height:100%}.rt-editor-content .ProseMirror{height:100%}.rt-editor-content input[type=checkbox]{pointer-events:auto!important;cursor:pointer!important}", map: undefined, media: undefined });
10109
+ inject("data-v-00da415b_0", { source: ".rt-editor-content{height:100%}.rt-editor-content .ProseMirror{height:100%}.rt-editor-content input[type=checkbox]{pointer-events:auto!important;cursor:pointer!important}", map: undefined, media: undefined });
10105
10110
 
10106
10111
  };
10107
10112
  /* scoped */
10108
- const __vue_scope_id__$Y = undefined;
10113
+ const __vue_scope_id__$Z = undefined;
10109
10114
  /* module identifier */
10110
- const __vue_module_identifier__$Y = undefined;
10115
+ const __vue_module_identifier__$Z = undefined;
10111
10116
  /* functional template */
10112
- const __vue_is_functional_template__$Y = false;
10117
+ const __vue_is_functional_template__$Z = false;
10113
10118
  /* style inject SSR */
10114
10119
 
10115
10120
  /* style inject shadow dom */
10116
10121
 
10117
10122
 
10118
10123
 
10119
- const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
10120
- { render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
10121
- __vue_inject_styles__$Y,
10122
- __vue_script__$X,
10123
- __vue_scope_id__$Y,
10124
- __vue_is_functional_template__$Y,
10125
- __vue_module_identifier__$Y,
10124
+ const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
10125
+ { render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
10126
+ __vue_inject_styles__$Z,
10127
+ __vue_script__$Y,
10128
+ __vue_scope_id__$Z,
10129
+ __vue_is_functional_template__$Z,
10130
+ __vue_module_identifier__$Z,
10126
10131
  false,
10127
10132
  createInjector);
10128
10133
 
@@ -10157,7 +10162,7 @@ var __vue_staticRenderFns__$V = [];
10157
10162
  //
10158
10163
  //
10159
10164
 
10160
- var script$W = {
10165
+ var script$X = {
10161
10166
  props: {
10162
10167
  value: {
10163
10168
  type: Boolean,
@@ -10196,20 +10201,20 @@ var script$W = {
10196
10201
  };
10197
10202
 
10198
10203
  /* script */
10199
- const __vue_script__$W = script$W;
10204
+ const __vue_script__$X = script$X;
10200
10205
 
10201
10206
  /* template */
10202
- 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)};
10203
- var __vue_staticRenderFns__$U = [];
10207
+ 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)};
10208
+ var __vue_staticRenderFns__$V = [];
10204
10209
 
10205
10210
  /* style */
10206
- const __vue_inject_styles__$X = undefined;
10211
+ const __vue_inject_styles__$Y = undefined;
10207
10212
  /* scoped */
10208
- const __vue_scope_id__$X = undefined;
10213
+ const __vue_scope_id__$Y = undefined;
10209
10214
  /* module identifier */
10210
- const __vue_module_identifier__$X = undefined;
10215
+ const __vue_module_identifier__$Y = undefined;
10211
10216
  /* functional template */
10212
- const __vue_is_functional_template__$X = false;
10217
+ const __vue_is_functional_template__$Y = false;
10213
10218
  /* style inject */
10214
10219
 
10215
10220
  /* style inject SSR */
@@ -10218,13 +10223,13 @@ var __vue_staticRenderFns__$U = [];
10218
10223
 
10219
10224
 
10220
10225
 
10221
- const __vue_component__$X = /*#__PURE__*/normalizeComponent(
10222
- { render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
10223
- __vue_inject_styles__$X,
10224
- __vue_script__$W,
10225
- __vue_scope_id__$X,
10226
- __vue_is_functional_template__$X,
10227
- __vue_module_identifier__$X,
10226
+ const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
10227
+ { render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
10228
+ __vue_inject_styles__$Y,
10229
+ __vue_script__$X,
10230
+ __vue_scope_id__$Y,
10231
+ __vue_is_functional_template__$Y,
10232
+ __vue_module_identifier__$Y,
10228
10233
  false,
10229
10234
  undefined);
10230
10235
 
@@ -10262,7 +10267,7 @@ var __vue_staticRenderFns__$U = [];
10262
10267
 
10263
10268
  library.add(faExpandAlt);
10264
10269
 
10265
- var script$V = {
10270
+ var script$W = {
10266
10271
  components: {
10267
10272
  AceEditor,
10268
10273
  },
@@ -10525,38 +10530,38 @@ var script$V = {
10525
10530
  };
10526
10531
 
10527
10532
  /* script */
10528
- const __vue_script__$V = script$V;
10533
+ const __vue_script__$W = script$W;
10529
10534
 
10530
10535
  /* template */
10531
- 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)};
10532
- var __vue_staticRenderFns__$T = [];
10536
+ var __vue_render__$U = 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)};
10537
+ var __vue_staticRenderFns__$U = [];
10533
10538
 
10534
10539
  /* style */
10535
- const __vue_inject_styles__$W = function (inject) {
10540
+ const __vue_inject_styles__$X = function (inject) {
10536
10541
  if (!inject) return
10537
10542
  inject("data-v-0a4a06ee_0", { source: ".popout[data-v-0a4a06ee]{z-index:7;bottom:0;right:0}", map: undefined, media: undefined })
10538
10543
  ,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 });
10539
10544
 
10540
10545
  };
10541
10546
  /* scoped */
10542
- const __vue_scope_id__$W = "data-v-0a4a06ee";
10547
+ const __vue_scope_id__$X = "data-v-0a4a06ee";
10543
10548
  /* module identifier */
10544
- const __vue_module_identifier__$W = undefined;
10549
+ const __vue_module_identifier__$X = undefined;
10545
10550
  /* functional template */
10546
- const __vue_is_functional_template__$W = false;
10551
+ const __vue_is_functional_template__$X = false;
10547
10552
  /* style inject SSR */
10548
10553
 
10549
- /* style inject shadow dom */
10550
-
10551
-
10552
-
10553
- const __vue_component__$W = /*#__PURE__*/normalizeComponent(
10554
- { render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
10555
- __vue_inject_styles__$W,
10556
- __vue_script__$V,
10557
- __vue_scope_id__$W,
10558
- __vue_is_functional_template__$W,
10559
- __vue_module_identifier__$W,
10554
+ /* style inject shadow dom */
10555
+
10556
+
10557
+
10558
+ const __vue_component__$X = /*#__PURE__*/normalizeComponent(
10559
+ { render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
10560
+ __vue_inject_styles__$X,
10561
+ __vue_script__$W,
10562
+ __vue_scope_id__$X,
10563
+ __vue_is_functional_template__$X,
10564
+ __vue_module_identifier__$X,
10560
10565
  false,
10561
10566
  createInjector);
10562
10567
 
@@ -10577,9 +10582,9 @@ var __vue_staticRenderFns__$T = [];
10577
10582
  //
10578
10583
 
10579
10584
 
10580
- var script$U = {
10585
+ var script$V = {
10581
10586
  components: {
10582
- CAceEditor: __vue_component__$W,
10587
+ CAceEditor: __vue_component__$X,
10583
10588
  },
10584
10589
 
10585
10590
  props: {
@@ -10723,20 +10728,20 @@ var script$U = {
10723
10728
  };
10724
10729
 
10725
10730
  /* script */
10726
- const __vue_script__$U = script$U;
10731
+ const __vue_script__$V = script$V;
10727
10732
 
10728
10733
  /* template */
10729
- 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)};
10730
- var __vue_staticRenderFns__$S = [];
10734
+ 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('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)};
10735
+ var __vue_staticRenderFns__$T = [];
10731
10736
 
10732
10737
  /* style */
10733
- const __vue_inject_styles__$V = undefined;
10738
+ const __vue_inject_styles__$W = undefined;
10734
10739
  /* scoped */
10735
- const __vue_scope_id__$V = undefined;
10740
+ const __vue_scope_id__$W = undefined;
10736
10741
  /* module identifier */
10737
- const __vue_module_identifier__$V = undefined;
10742
+ const __vue_module_identifier__$W = undefined;
10738
10743
  /* functional template */
10739
- const __vue_is_functional_template__$V = false;
10744
+ const __vue_is_functional_template__$W = false;
10740
10745
  /* style inject */
10741
10746
 
10742
10747
  /* style inject SSR */
@@ -10745,13 +10750,13 @@ var __vue_staticRenderFns__$S = [];
10745
10750
 
10746
10751
 
10747
10752
 
10748
- const __vue_component__$V = /*#__PURE__*/normalizeComponent(
10749
- { render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
10750
- __vue_inject_styles__$V,
10751
- __vue_script__$U,
10752
- __vue_scope_id__$V,
10753
- __vue_is_functional_template__$V,
10754
- __vue_module_identifier__$V,
10753
+ const __vue_component__$W = /*#__PURE__*/normalizeComponent(
10754
+ { render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
10755
+ __vue_inject_styles__$W,
10756
+ __vue_script__$V,
10757
+ __vue_scope_id__$W,
10758
+ __vue_is_functional_template__$W,
10759
+ __vue_module_identifier__$W,
10755
10760
  false,
10756
10761
  undefined);
10757
10762
 
@@ -10790,7 +10795,7 @@ var __vue_staticRenderFns__$S = [];
10790
10795
  //
10791
10796
  //
10792
10797
 
10793
- var script$T = {
10798
+ var script$U = {
10794
10799
  name: 'CButtonSubmit',
10795
10800
 
10796
10801
  props: {
@@ -10843,20 +10848,20 @@ var script$T = {
10843
10848
  };
10844
10849
 
10845
10850
  /* script */
10846
- const __vue_script__$T = script$T;
10851
+ const __vue_script__$U = script$U;
10847
10852
 
10848
10853
  /* template */
10849
- 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)};
10850
- var __vue_staticRenderFns__$R = [];
10854
+ var __vue_render__$S = 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)};
10855
+ var __vue_staticRenderFns__$S = [];
10851
10856
 
10852
10857
  /* style */
10853
- const __vue_inject_styles__$U = undefined;
10858
+ const __vue_inject_styles__$V = undefined;
10854
10859
  /* scoped */
10855
- const __vue_scope_id__$U = undefined;
10860
+ const __vue_scope_id__$V = undefined;
10856
10861
  /* module identifier */
10857
- const __vue_module_identifier__$U = undefined;
10862
+ const __vue_module_identifier__$V = undefined;
10858
10863
  /* functional template */
10859
- const __vue_is_functional_template__$U = false;
10864
+ const __vue_is_functional_template__$V = false;
10860
10865
  /* style inject */
10861
10866
 
10862
10867
  /* style inject SSR */
@@ -10865,13 +10870,13 @@ var __vue_staticRenderFns__$R = [];
10865
10870
 
10866
10871
 
10867
10872
 
10868
- const __vue_component__$U = /*#__PURE__*/normalizeComponent(
10869
- { render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
10870
- __vue_inject_styles__$U,
10871
- __vue_script__$T,
10872
- __vue_scope_id__$U,
10873
- __vue_is_functional_template__$U,
10874
- __vue_module_identifier__$U,
10873
+ const __vue_component__$V = /*#__PURE__*/normalizeComponent(
10874
+ { render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
10875
+ __vue_inject_styles__$V,
10876
+ __vue_script__$U,
10877
+ __vue_scope_id__$V,
10878
+ __vue_is_functional_template__$V,
10879
+ __vue_module_identifier__$V,
10875
10880
  false,
10876
10881
  undefined);
10877
10882
 
@@ -10895,7 +10900,7 @@ var __vue_staticRenderFns__$R = [];
10895
10900
  //
10896
10901
 
10897
10902
 
10898
- var script$S = {
10903
+ var script$T = {
10899
10904
  props: {
10900
10905
  value: {
10901
10906
  type: [Array, String, Object],
@@ -10980,9 +10985,9 @@ var script$S = {
10980
10985
  }, 400),
10981
10986
 
10982
10987
  updateValue (role) {
10983
- // reset picker value for better value presentation
10984
- if (this.$refs.picker && this.clearOnSelect) {
10985
- this.$refs.picker._data._value = undefined;
10988
+ // reset role-select value for better value presentation
10989
+ if (this.clearOnSelect && this.$refs.roleSelect) {
10990
+ this.$refs.roleSelect._data._value = undefined;
10986
10991
  }
10987
10992
 
10988
10993
  this.$emit('input', role);
@@ -10995,20 +11000,20 @@ var script$S = {
10995
11000
  };
10996
11001
 
10997
11002
  /* script */
10998
- const __vue_script__$S = script$S;
11003
+ const __vue_script__$T = script$T;
10999
11004
 
11000
11005
  /* template */
11001
- 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}})};
11002
- var __vue_staticRenderFns__$Q = [];
11006
+ var __vue_render__$R = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-input-select',{ref:"roleSelect",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}})};
11007
+ var __vue_staticRenderFns__$R = [];
11003
11008
 
11004
11009
  /* style */
11005
- const __vue_inject_styles__$T = undefined;
11010
+ const __vue_inject_styles__$U = undefined;
11006
11011
  /* scoped */
11007
- const __vue_scope_id__$T = undefined;
11012
+ const __vue_scope_id__$U = undefined;
11008
11013
  /* module identifier */
11009
- const __vue_module_identifier__$T = undefined;
11014
+ const __vue_module_identifier__$U = undefined;
11010
11015
  /* functional template */
11011
- const __vue_is_functional_template__$T = false;
11016
+ const __vue_is_functional_template__$U = false;
11012
11017
  /* style inject */
11013
11018
 
11014
11019
  /* style inject SSR */
@@ -11017,13 +11022,13 @@ var __vue_staticRenderFns__$Q = [];
11017
11022
 
11018
11023
 
11019
11024
 
11020
- const __vue_component__$T = /*#__PURE__*/normalizeComponent(
11021
- { render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
11022
- __vue_inject_styles__$T,
11023
- __vue_script__$S,
11024
- __vue_scope_id__$T,
11025
- __vue_is_functional_template__$T,
11026
- __vue_module_identifier__$T,
11025
+ const __vue_component__$U = /*#__PURE__*/normalizeComponent(
11026
+ { render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
11027
+ __vue_inject_styles__$U,
11028
+ __vue_script__$T,
11029
+ __vue_scope_id__$U,
11030
+ __vue_is_functional_template__$U,
11031
+ __vue_module_identifier__$U,
11027
11032
  false,
11028
11033
  undefined);
11029
11034
 
@@ -11043,9 +11048,10 @@ var __vue_staticRenderFns__$Q = [];
11043
11048
  //
11044
11049
  //
11045
11050
  //
11051
+ //
11046
11052
 
11047
11053
 
11048
- var script$R = {
11054
+ var script$S = {
11049
11055
  name: 'CInputUser',
11050
11056
 
11051
11057
  props: {
@@ -11058,6 +11064,11 @@ var script$R = {
11058
11064
  type: String,
11059
11065
  default: '',
11060
11066
  },
11067
+
11068
+ clearOnSelect: {
11069
+ type: Boolean,
11070
+ default: false,
11071
+ },
11061
11072
  },
11062
11073
 
11063
11074
  data () {
@@ -11122,8 +11133,13 @@ var script$R = {
11122
11133
  }
11123
11134
  },
11124
11135
 
11125
- onUserUpdate ({ userID }) {
11126
- this.$emit('input', userID);
11136
+ onUserUpdate (user) {
11137
+ if (this.clearOnSelect && this.$refs.userSelect) {
11138
+ this.$refs.userSelect._data._value = undefined;
11139
+ }
11140
+
11141
+ this.$emit('input', user.userID);
11142
+ this.$emit('input-object', user);
11127
11143
  },
11128
11144
 
11129
11145
  getOptionKey ({ userID }) {
@@ -11136,11 +11152,162 @@ var script$R = {
11136
11152
  },
11137
11153
  };
11138
11154
 
11155
+ /* script */
11156
+ const __vue_script__$S = script$S;
11157
+
11158
+ /* template */
11159
+ var __vue_render__$Q = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-input-select',_vm._b({ref:"userSelect",attrs:{"value":_vm.user.value,"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}},'c-input-select',_vm.$attrs,false))};
11160
+ var __vue_staticRenderFns__$Q = [];
11161
+
11162
+ /* style */
11163
+ const __vue_inject_styles__$T = undefined;
11164
+ /* scoped */
11165
+ const __vue_scope_id__$T = undefined;
11166
+ /* module identifier */
11167
+ const __vue_module_identifier__$T = undefined;
11168
+ /* functional template */
11169
+ const __vue_is_functional_template__$T = false;
11170
+ /* style inject */
11171
+
11172
+ /* style inject SSR */
11173
+
11174
+ /* style inject shadow dom */
11175
+
11176
+
11177
+
11178
+ const __vue_component__$T = /*#__PURE__*/normalizeComponent(
11179
+ { render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
11180
+ __vue_inject_styles__$T,
11181
+ __vue_script__$S,
11182
+ __vue_scope_id__$T,
11183
+ __vue_is_functional_template__$T,
11184
+ __vue_module_identifier__$T,
11185
+ false,
11186
+ undefined);
11187
+
11188
+ //
11189
+ //
11190
+ //
11191
+ //
11192
+ //
11193
+ //
11194
+ //
11195
+ //
11196
+ //
11197
+ //
11198
+ //
11199
+ //
11200
+ //
11201
+ //
11202
+ //
11203
+ //
11204
+
11205
+
11206
+ var script$R = {
11207
+ name: 'CInputUserGroup',
11208
+
11209
+ props: {
11210
+ value: {
11211
+ type: String,
11212
+ default: null,
11213
+ },
11214
+
11215
+ placeholder: {
11216
+ type: String,
11217
+ default: '',
11218
+ },
11219
+ },
11220
+
11221
+ data () {
11222
+ return {
11223
+ processing: false,
11224
+
11225
+ userGroup: {
11226
+ options: [],
11227
+ value: undefined,
11228
+
11229
+ filter: {
11230
+ query: null,
11231
+ limit: 20,
11232
+ },
11233
+ },
11234
+ }
11235
+ },
11236
+
11237
+ created () {
11238
+ this.fetchUserGroups().then(() => {
11239
+ this.getUserGroupByID(this.value);
11240
+ });
11241
+ },
11242
+
11243
+ methods: {
11244
+ search: debounce(function (query) {
11245
+ if (query !== this.userGroup.filter.query) {
11246
+ this.userGroup.filter.query = query;
11247
+ this.userGroup.filter.page = 1;
11248
+ }
11249
+
11250
+ this.fetchUserGroups();
11251
+ }, 300),
11252
+
11253
+ fetchUserGroups() {
11254
+ this.processing = true;
11255
+
11256
+ return this.$SystemAPI
11257
+ .userGroupList(this.userGroup.filter)
11258
+ .then(({ set }) => {
11259
+ this.userGroup.options = set.map((m) => Object.freeze(m));
11260
+ })
11261
+ .finally(() => {
11262
+ setTimeout(() => {
11263
+ this.processing = false;
11264
+ }, 500);
11265
+ })
11266
+ },
11267
+
11268
+ getUserGroupByID (userGroupID) {
11269
+ if (!userGroupID || userGroupID === NoID) {
11270
+ this.userGroup.value = this.userGroup.options.find(
11271
+ ({ selfID }) => selfID === NoID,
11272
+ );
11273
+
11274
+ this.$emit('input', this.userGroup.value?.userGroupID);
11275
+ return
11276
+ }
11277
+
11278
+ const userGroup = this.userGroup.options.find(o => o.userGroupID === userGroupID);
11279
+
11280
+ if (userGroup) {
11281
+ this.userGroup.value = userGroup;
11282
+ } else {
11283
+ return this.$SystemAPI.userGroupRead({ userGroupID }).then((userGroup) => {
11284
+ this.userGroup.options.push(Object.freeze(userGroup));
11285
+ this.userGroup.value = this.userGroup.options.find(
11286
+ ({ selfID }) => selfID === NoID,
11287
+ );
11288
+ })
11289
+ }
11290
+ },
11291
+
11292
+ onUserGroupUpdate ({ userGroupID }) {
11293
+ this.$emit('input', userGroupID);
11294
+ },
11295
+
11296
+ getOptionKey ({ userGroupID }) {
11297
+ return userGroupID
11298
+ },
11299
+
11300
+ getOptionLabel ({ handle, meta = {}, userGroupID }) {
11301
+ return meta.short || handle || userGroupID
11302
+ },
11303
+ },
11304
+ };
11305
+
11139
11306
  /* script */
11140
11307
  const __vue_script__$R = script$R;
11141
11308
 
11142
11309
  /* template */
11143
- 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))};
11310
+ 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-group","options":_vm.userGroup.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.onUserGroupUpdate},model:{value:(_vm.userGroup.value),callback:function ($$v) {_vm.$set(_vm.userGroup, "value", $$v);},expression:"userGroup.value"}},'c-input-select',_vm.$attrs,false))};
11144
11311
  var __vue_staticRenderFns__$P = [];
11145
11312
 
11146
11313
  /* style */
@@ -11547,8 +11714,8 @@ var script$M = {
11547
11714
 
11548
11715
  components: {
11549
11716
  Rules: __vue_component__$O,
11550
- CInputSelect: __vue_component__$1b,
11551
- CInputRole: __vue_component__$T,
11717
+ CInputSelect: __vue_component__$1c,
11718
+ CInputRole: __vue_component__$U,
11552
11719
  },
11553
11720
 
11554
11721
  props: {
@@ -11969,6 +12136,10 @@ var script$L = {
11969
12136
  message () {
11970
12137
  return this.pVal('message', '')
11971
12138
  },
12139
+
12140
+ label () {
12141
+ return this.pVal('label', '')
12142
+ },
11972
12143
  },
11973
12144
 
11974
12145
  methods: {
@@ -12178,7 +12349,7 @@ var script$H = {
12178
12349
  name: 'CPromptComposeRecordPicker',
12179
12350
 
12180
12351
  components: {
12181
- CInputSelect: __vue_component__$1b,
12352
+ CInputSelect: __vue_component__$1c,
12182
12353
  CPagination: __vue_component__$J,
12183
12354
  },
12184
12355
 
@@ -12221,6 +12392,10 @@ var script$H = {
12221
12392
  hasNextPage () {
12222
12393
  return !!this.filter.nextPage
12223
12394
  },
12395
+
12396
+ placeholder () {
12397
+ return this.pVal('placeholder', 'Select a record')
12398
+ },
12224
12399
  },
12225
12400
 
12226
12401
  watch: {
@@ -12288,7 +12463,7 @@ var script$H = {
12288
12463
  return { '@type': 'Any', '@value': null }
12289
12464
  }
12290
12465
 
12291
- const record = this.options.find(({ recordID }) => recordID === this.value);
12466
+ const { record = {} } = this.options.find(({ recordID }) => recordID === this.value) || {};
12292
12467
 
12293
12468
  return { '@type': 'ComposeRecord', '@value': record }
12294
12469
  },
@@ -12397,7 +12572,7 @@ var script$H = {
12397
12572
  const __vue_script__$H = script$H;
12398
12573
 
12399
12574
  /* template */
12400
- 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)};
12575
+ 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.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.placeholder,"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)};
12401
12576
  var __vue_staticRenderFns__$G = [];
12402
12577
 
12403
12578
  /* style */
@@ -12441,7 +12616,7 @@ var script$G = {
12441
12616
  name: 'CPromptInput',
12442
12617
 
12443
12618
  components: {
12444
- CInputDateTime: __vue_component__$1c,
12619
+ CInputDateTime: __vue_component__$1d,
12445
12620
  },
12446
12621
 
12447
12622
  extends: __vue_component__$M,
@@ -12461,10 +12636,6 @@ var script$G = {
12461
12636
 
12462
12637
  return t
12463
12638
  },
12464
-
12465
- label () {
12466
- return this.pVal('label', '')
12467
- },
12468
12639
  },
12469
12640
 
12470
12641
  beforeMount () {
@@ -12564,7 +12735,7 @@ var script$E = {
12564
12735
  name: 'CPromptOptions',
12565
12736
 
12566
12737
  components: {
12567
- CInputSelect: __vue_component__$1b,
12738
+ CInputSelect: __vue_component__$1c,
12568
12739
  },
12569
12740
 
12570
12741
  extends: __vue_component__$M,
@@ -12599,6 +12770,10 @@ var script$E = {
12599
12770
  multiple () {
12600
12771
  return this.pVal('multiselect', false)
12601
12772
  },
12773
+
12774
+ placeholder () {
12775
+ return this.pVal('placeholder', 'Select an option')
12776
+ },
12602
12777
  },
12603
12778
 
12604
12779
  beforeMount () {
@@ -12633,7 +12808,7 @@ var script$E = {
12633
12808
  const __vue_script__$E = script$E;
12634
12809
 
12635
12810
  /* template */
12636
- 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)};
12811
+ 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.label,"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.placeholder,"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)};
12637
12812
  var __vue_staticRenderFns__$D = [];
12638
12813
 
12639
12814
  /* style */
@@ -13211,6 +13386,7 @@ var __vue_staticRenderFns__$B = [];
13211
13386
  //
13212
13387
  //
13213
13388
  //
13389
+ //
13214
13390
 
13215
13391
 
13216
13392
  /**
@@ -15137,7 +15313,7 @@ var script$n = {
15137
15313
  components: {
15138
15314
  draggable: Draggable,
15139
15315
  CItemPickerItem: __vue_component__$p,
15140
- CInputSearch: __vue_component__$18,
15316
+ CInputSearch: __vue_component__$19,
15141
15317
  },
15142
15318
 
15143
15319
  props: {
@@ -16433,7 +16609,7 @@ var __vue_staticRenderFns__$i = [];
16433
16609
 
16434
16610
  var script$g = {
16435
16611
  components: {
16436
- CInputSelect: __vue_component__$1b,
16612
+ CInputSelect: __vue_component__$1c,
16437
16613
  },
16438
16614
 
16439
16615
  props: {
@@ -16794,7 +16970,7 @@ var script$f = {
16794
16970
  name: 'ResourceList',
16795
16971
 
16796
16972
  components: {
16797
- CInputSearch: __vue_component__$18,
16973
+ CInputSearch: __vue_component__$19,
16798
16974
  },
16799
16975
 
16800
16976
  props: {
@@ -17475,12 +17651,29 @@ n(css$3,{});
17475
17651
  //
17476
17652
  //
17477
17653
  //
17654
+ //
17655
+ //
17656
+ //
17657
+ //
17658
+ //
17659
+ //
17660
+ //
17661
+ //
17662
+ //
17663
+ //
17664
+ //
17665
+ //
17666
+ //
17667
+ //
17668
+ //
17669
+ //
17670
+ //
17478
17671
 
17479
17672
 
17480
17673
  var script$c = {
17481
17674
  components: {
17482
17675
  LControl,
17483
- CInputSearch: __vue_component__$18,
17676
+ CInputSearch: __vue_component__$19,
17484
17677
  LPolygon,
17485
17678
  LTileLayer,
17486
17679
  LMarker,
@@ -17531,6 +17724,7 @@ var script$c = {
17531
17724
  query: '',
17532
17725
  provider: new OpenStreetMapProvider(),
17533
17726
  results: [],
17727
+ marker: null,
17534
17728
  },
17535
17729
  }
17536
17730
  },
@@ -17573,6 +17767,7 @@ var script$c = {
17573
17767
  onGeoSearch (query) {
17574
17768
  if (!query) {
17575
17769
  this.geoSearch.results = [];
17770
+ this.geoSearch.marker = null;
17576
17771
  return
17577
17772
  }
17578
17773
 
@@ -17592,6 +17787,7 @@ var script$c = {
17592
17787
  placeGeoSearchMarker (result) {
17593
17788
  const zoom = this.$refs.map.mapObject._zoom >= 15 ? this.$refs.map.mapObject._zoom : 15;
17594
17789
  this.$refs.map.mapObject.flyTo([result.latlng.lat, result.latlng.lng], zoom, { animate: false });
17790
+ this.geoSearch.marker = { title: result.label, latlng: result.latlng };
17595
17791
  this.geoSearch.results = [];
17596
17792
  this.onMapClick(result);
17597
17793
  },
@@ -17605,7 +17801,7 @@ var script$c = {
17605
17801
  },
17606
17802
 
17607
17803
  onLocationFound ({ latitude, longitude }) {
17608
- const zoom = this.$refs.map.mapObject._zoom >= 13 ? this.$refs.map.mapObject._zoom : 13;
17804
+ const zoom = this.$refs.map.mapObject._zoom >= 15 ? this.$refs.map.mapObject._zoom : 15;
17609
17805
  this.$refs.map.mapObject.flyTo([latitude, longitude], zoom);
17610
17806
  this.$emit('location-found', { latlng: { lat: latitude, lng: longitude } });
17611
17807
  },
@@ -17630,7 +17826,11 @@ var script$c = {
17630
17826
  this.$emit('on-map-click', e);
17631
17827
  },
17632
17828
 
17633
- getIcon (markerColor = '#4883C5') {
17829
+ getCSSVariable (variable) {
17830
+ return getComputedStyle(document.documentElement).getPropertyValue(variable)
17831
+ },
17832
+
17833
+ getIcon (markerColor = this.getCSSVariable('--primary')) {
17634
17834
  const markerIconHtml = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 34.892337" height="60" width="40" style="margin-top: -40px;margin-left: -15px;height: 35px;">
17635
17835
  <g transform="translate(-814.59595,-274.38623)">
17636
17836
  <g transform="matrix(1.1855854,0,0,1.1855854,-151.17715,-57.3976)">
@@ -17672,21 +17872,24 @@ var script$c = {
17672
17872
  const __vue_script__$c = script$c;
17673
17873
 
17674
17874
  /* template */
17675
- var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[(!_vm.hideGeoSearch)?_c('div',{staticClass:"geosearch-container",on:{"mouseover":_vm.disableMap,"mouseleave":_vm.enableMap}},[_c('c-input-search',{attrs:{"placeholder":_vm.labels.geosearchInputPlaceholder,"autocomplete":'off',"debounce":300},on:{"input":_vm.onGeoSearch},model:{value:(_vm.geoSearch.query),callback:function ($$v) {_vm.$set(_vm.geoSearch, "query", $$v);},expression:"geoSearch.query"}}),_vm._v(" "),_c('div',{staticClass:"geosearch-results"},_vm._l((_vm.geoSearch.results),function(result,idx){return _c('div',{key:idx,staticClass:"geosearch-result",on:{"click":function($event){return _vm.placeGeoSearchMarker(result)}}},[_vm._v("\n "+_vm._s(result.label)+"\n ")])}),0)],1):_vm._e(),_vm._v(" "),_c('l-map',{ref:"map",staticClass:"w-100 h-100",attrs:{"zoom":_vm.mapOptions.zoom,"center":_vm.mapOptions.center,"min-zoom":_vm.mapOptions.minZoom,"max-zoom":_vm.mapOptions.maxZoom,"bounds":_vm.mapOptions.bounds,"max-bounds":_vm.mapOptions.maxBounds},on:{"click":_vm.onMapClick,"locationfound":_vm.onLocationFound,"update:zoom":_vm.onZoom,"update:center":_vm.onCenter,"update:bounds":_vm.onBoundsUpdate}},[_c('l-tile-layer',{attrs:{"url":"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png","attribution":_vm.mapOptions.attribution}}),_vm._v(" "),_vm._l((_vm.polygons),function(geometry,i){return _c('l-polygon',{key:("polygon-" + i),attrs:{"lat-lngs":geometry.map(function (value) { return value.geometry; }),"color":(geometry.find(function (g) { return g; }) || {}).color}})}),_vm._v(" "),_vm._l((_vm.markerValues),function(marker,i){return _c('l-marker',{key:("marker-" + i),attrs:{"lat-lng":marker.value,"icon":_vm.getIcon(marker.color),"opacity":marker.opacity || 1.0},on:{"click":function($event){return _vm.onMarkerClick(i, marker)}}},[(_vm.$scopedSlots['marker-tooltip'])?_c('l-tooltip',{attrs:{"options":{
17875
+ var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[(!_vm.hideGeoSearch)?_c('div',{staticClass:"geosearch-container",on:{"mouseover":_vm.disableMap,"mouseleave":_vm.enableMap}},[_c('c-input-search',{attrs:{"placeholder":_vm.labels.geosearchInputPlaceholder,"autocomplete":'off',"debounce":300},on:{"input":_vm.onGeoSearch},model:{value:(_vm.geoSearch.query),callback:function ($$v) {_vm.$set(_vm.geoSearch, "query", $$v);},expression:"geoSearch.query"}}),_vm._v(" "),_c('div',{staticClass:"geosearch-results"},_vm._l((_vm.geoSearch.results),function(result,idx){return _c('div',{key:idx,staticClass:"geosearch-result",on:{"click":function($event){return _vm.placeGeoSearchMarker(result)}}},[_vm._v("\n "+_vm._s(result.label)+"\n ")])}),0)],1):_vm._e(),_vm._v(" "),_c('l-map',{ref:"map",staticClass:"w-100 h-100",attrs:{"zoom":_vm.mapOptions.zoom,"center":_vm.mapOptions.center,"min-zoom":_vm.mapOptions.minZoom,"max-zoom":_vm.mapOptions.maxZoom,"bounds":_vm.mapOptions.bounds,"max-bounds":_vm.mapOptions.maxBounds},on:{"click":_vm.onMapClick,"locationfound":_vm.onLocationFound,"update:zoom":_vm.onZoom,"update:center":_vm.onCenter,"update:bounds":_vm.onBoundsUpdate}},[_c('l-tile-layer',{attrs:{"url":"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png","attribution":_vm.mapOptions.attribution}}),_vm._v(" "),_vm._l((_vm.polygons),function(geometry,i){return _c('l-polygon',{key:("polygon-" + i),attrs:{"lat-lngs":geometry.map(function (value) { return value.geometry; }),"color":(geometry.find(function (g) { return g; }) || {}).color}})}),_vm._v(" "),_vm._l((_vm.markerValues),function(marker,i){return _c('l-marker',{key:("marker-" + i),attrs:{"lat-lng":marker.value,"icon":_vm.getIcon(marker.color),"opacity":marker.opacity || 1.0},on:{"click":function($event){return _vm.onMarkerClick(i, marker)}}},[(_vm.$scopedSlots['marker-tooltip'] || marker.title)?_c('l-tooltip',{attrs:{"options":{
17876
+ offset: [-1, 5],
17877
+ direction: 'bottom',
17878
+ }}},[_vm._t("marker-tooltip",function(){return [_vm._v("\n "+_vm._s(marker.title)+"\n ")]},{"marker":marker})],2):_vm._e()],1)}),_vm._v(" "),(_vm.geoSearch.marker)?_c('l-marker',{attrs:{"lat-lng":_vm.geoSearch.marker.latlng,"icon":_vm.getIcon(_vm.getCSSVariable('--secondary'))}},[_c('l-tooltip',{attrs:{"options":{
17676
17879
  offset: [-1, 5],
17677
17880
  direction: 'bottom',
17678
- }}},[_vm._t("marker-tooltip",null,{"marker":marker})],2):_vm._e()],1)}),_vm._v(" "),_c('l-control',{staticClass:"leaflet-bar"},[(!_vm.hideCurrentLocationButton)?_c('a',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: _vm.labels.tooltip && _vm.labels.tooltip.goToCurrentLocation, container: '#body' }),expression:"{ title: labels.tooltip && labels.tooltip.goToCurrentLocation, container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],staticClass:"d-flex justify-content-center align-items-center",attrs:{"role":"button"},on:{"click":_vm.goToCurrentLocation}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'location-crosshairs']}})],1):_vm._e()])],2)],1)};
17881
+ }}},[_vm._v("\n "+_vm._s(_vm.geoSearch.marker.title)+"\n ")])],1):_vm._e(),_vm._v(" "),_c('l-control',{staticClass:"leaflet-bar"},[(!_vm.hideCurrentLocationButton)?_c('a',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: _vm.labels.tooltip && _vm.labels.tooltip.goToCurrentLocation, container: '#body' }),expression:"{ title: labels.tooltip && labels.tooltip.goToCurrentLocation, container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],staticClass:"d-flex justify-content-center align-items-center",attrs:{"role":"button"},on:{"click":_vm.goToCurrentLocation}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'location-crosshairs']}})],1):_vm._e()])],2)],1)};
17679
17882
  var __vue_staticRenderFns__$c = [];
17680
17883
 
17681
17884
  /* style */
17682
17885
  const __vue_inject_styles__$c = function (inject) {
17683
17886
  if (!inject) return
17684
- inject("data-v-79fb7c90_0", { source: ".leaflet-touch .leaflet-bar{border:1px solid transparent;border-radius:.3rem}.leaflet-bar a{background-color:var(--white)!important;color:var(--primary)!important;text-decoration:none!important}.leaflet-bar a:hover{background-color:var(--white)!important;transition:background-color .15s ease}.geosearch-result:hover{background-color:var(--light)!important;color:var(--black)}.geosearch-result:active{color:var(--white)!important;background-color:var(--primary)!important}", map: undefined, media: undefined })
17685
- ,inject("data-v-79fb7c90_1", { source: ".geosearch-container[data-v-79fb7c90]{position:absolute;display:block;height:auto;width:50%;max-width:400px;cursor:auto;z-index:10000;left:25%;top:10px}.geosearch-results[data-v-79fb7c90]{margin:1px;border-radius:2px;background-color:var(--white);max-height:50%;overflow:auto}.geosearch-result[data-v-79fb7c90]{border-radius:2px;line-height:32px;padding:0 8px;font-size:12px;white-space:nowrap}.geosearch-result[data-v-79fb7c90]:hover{background-color:var(--gray-200);cursor:pointer}", map: undefined, media: undefined });
17887
+ inject("data-v-d1dfb006_0", { source: ".leaflet-touch .leaflet-bar{border:1px solid transparent;border-radius:.3rem}.leaflet-bar a{background-color:var(--white)!important;color:var(--primary)!important;text-decoration:none!important}.leaflet-bar a:hover{background-color:var(--white)!important;transition:background-color .15s ease}.geosearch-result:hover{background-color:var(--light)!important;color:var(--black)}.geosearch-result:active{color:var(--white)!important;background-color:var(--primary)!important}", map: undefined, media: undefined })
17888
+ ,inject("data-v-d1dfb006_1", { source: ".geosearch-container[data-v-d1dfb006]{position:absolute;display:block;height:auto;width:50%;max-width:400px;cursor:auto;z-index:10000;left:25%;top:10px}.geosearch-results[data-v-d1dfb006]{margin:1px;border-radius:2px;background-color:var(--white);max-height:50%;overflow:auto}.geosearch-result[data-v-d1dfb006]{border-radius:2px;line-height:32px;padding:0 8px;font-size:12px;white-space:nowrap}.geosearch-result[data-v-d1dfb006]:hover{background-color:var(--gray-200);cursor:pointer}", map: undefined, media: undefined });
17686
17889
 
17687
17890
  };
17688
17891
  /* scoped */
17689
- const __vue_scope_id__$c = "data-v-79fb7c90";
17892
+ const __vue_scope_id__$c = "data-v-d1dfb006";
17690
17893
  /* module identifier */
17691
17894
  const __vue_module_identifier__$c = undefined;
17692
17895
  /* functional template */
@@ -18267,7 +18470,7 @@ var script$8 = {
18267
18470
  },
18268
18471
 
18269
18472
  components: {
18270
- CInputConfirm: __vue_component__$1e,
18473
+ CInputConfirm: __vue_component__$1f,
18271
18474
  },
18272
18475
 
18273
18476
  props: {
@@ -19308,35 +19511,36 @@ var index$6 = {
19308
19511
  var index$5 = /*#__PURE__*/Object.freeze({
19309
19512
  __proto__: null,
19310
19513
  C3: index$6,
19311
- CAceEditor: __vue_component__$W,
19312
- CButtonSubmit: __vue_component__$U,
19514
+ CAceEditor: __vue_component__$X,
19515
+ CButtonSubmit: __vue_component__$V,
19313
19516
  CChart: __vue_component__$m,
19314
- CCorredorManualButtons: __vue_component__$1n,
19315
- CExtendSession: __vue_component__$1o,
19316
- CFormTableWrapper: __vue_component__$1a,
19517
+ CCorredorManualButtons: __vue_component__$1o,
19518
+ CExtendSession: __vue_component__$1p,
19519
+ CFormTableWrapper: __vue_component__$1b,
19317
19520
  CHint: __vue_component__$d,
19318
- CInputCheckbox: __vue_component__$X,
19319
- CInputColorPicker: __vue_component__$17,
19320
- CInputConfirm: __vue_component__$1e,
19321
- CInputDateTime: __vue_component__$1c,
19322
- CInputExpression: __vue_component__$V,
19323
- CInputPresort: __vue_component__$19,
19324
- CInputProcessing: __vue_component__$1d,
19325
- CInputRole: __vue_component__$T,
19326
- CInputSearch: __vue_component__$18,
19327
- CInputSelect: __vue_component__$1b,
19328
- CInputUser: __vue_component__$S,
19521
+ CInputCheckbox: __vue_component__$Y,
19522
+ CInputColorPicker: __vue_component__$18,
19523
+ CInputConfirm: __vue_component__$1f,
19524
+ CInputDateTime: __vue_component__$1d,
19525
+ CInputExpression: __vue_component__$W,
19526
+ CInputPresort: __vue_component__$1a,
19527
+ CInputProcessing: __vue_component__$1e,
19528
+ CInputRole: __vue_component__$U,
19529
+ CInputSearch: __vue_component__$19,
19530
+ CInputSelect: __vue_component__$1c,
19531
+ CInputUser: __vue_component__$T,
19532
+ CInputUserGroup: __vue_component__$S,
19329
19533
  CItemPicker: __vue_component__$o,
19330
19534
  CItemPickerItem: __vue_component__$p,
19331
- CLightbox: __vue_component__$1i,
19535
+ CLightbox: __vue_component__$1j,
19332
19536
  CLoaderLogo: __vue_component__$B,
19333
19537
  CMap: __vue_component__$c,
19334
19538
  CNotificationButton: __vue_component__$A,
19335
19539
  CNotificationSidebar: __vue_component__$6,
19336
19540
  CPermissionsButton: __vue_component__$R,
19337
19541
  CPermissionsModal: __vue_component__$N,
19338
- CPreviewInline: __vue_component__$1f,
19339
- CPreviewLightbox: __vue_component__$1g,
19542
+ CPreviewInline: __vue_component__$1g,
19543
+ CPreviewLightbox: __vue_component__$1h,
19340
19544
  CProgress: __vue_component__$f,
19341
19545
  CPromptModal: __vue_component__$D,
19342
19546
  CPromptToast: __vue_component__$E,
@@ -19347,7 +19551,7 @@ var index$5 = /*#__PURE__*/Object.freeze({
19347
19551
  CReportTable: __vue_component__$j,
19348
19552
  CReportText: __vue_component__$i,
19349
19553
  CResourceList: __vue_component__$g,
19350
- CRichTextInput: __vue_component__$Y,
19554
+ CRichTextInput: __vue_component__$Z,
19351
19555
  CSensitivityLevelPicker: __vue_component__$h,
19352
19556
  CSidebar: __vue_component__$y,
19353
19557
  CSidebarNavItems: __vue_component__$x,