@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.cjs CHANGED
@@ -23,13 +23,14 @@ var extensionTable = require('@tiptap/extension-table');
23
23
  var TextAlign = require('@tiptap/extension-text-align');
24
24
  var extensionTextStyle = require('@tiptap/extension-text-style');
25
25
  var StarterKit = require('@tiptap/starter-kit');
26
+ var extensionPlaceholder = require('@tiptap/extension-placeholder');
26
27
  var AceEditor = require('vue2-ace-editor');
27
28
  var fontawesomeSvgCore = require('@fortawesome/fontawesome-svg-core');
28
29
  var freeSolidSvgIcons = require('@fortawesome/free-solid-svg-icons');
29
30
  var vuex = require('vuex');
30
31
  var numeral = require('numeral');
31
- var leafletGeosearch = require('leaflet-geosearch');
32
32
  var leaflet = require('leaflet');
33
+ var leafletGeosearch = require('leaflet-geosearch');
33
34
  var vue2Leaflet = require('vue2-leaflet');
34
35
  var pino = require('pino');
35
36
  var fzy = require('fuzzysort');
@@ -5763,7 +5764,7 @@ var index$7 = /*#__PURE__*/Object.freeze({
5763
5764
  //
5764
5765
 
5765
5766
 
5766
- var script$1m = {
5767
+ var script$1n = {
5767
5768
  name: 'CExtendSession',
5768
5769
 
5769
5770
  props: {
@@ -5940,20 +5941,20 @@ function normalizeComponent(template, style, script, scopeId, isFunctionalTempla
5940
5941
  }
5941
5942
 
5942
5943
  /* script */
5943
- const __vue_script__$1m = script$1m;
5944
+ const __vue_script__$1n = script$1n;
5944
5945
 
5945
5946
  /* template */
5946
- 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)};
5947
- var __vue_staticRenderFns__$1h = [];
5947
+ 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)};
5948
+ var __vue_staticRenderFns__$1i = [];
5948
5949
 
5949
5950
  /* style */
5950
- const __vue_inject_styles__$1o = undefined;
5951
+ const __vue_inject_styles__$1p = undefined;
5951
5952
  /* scoped */
5952
- const __vue_scope_id__$1o = undefined;
5953
+ const __vue_scope_id__$1p = undefined;
5953
5954
  /* module identifier */
5954
- const __vue_module_identifier__$1o = undefined;
5955
+ const __vue_module_identifier__$1p = undefined;
5955
5956
  /* functional template */
5956
- const __vue_is_functional_template__$1o = false;
5957
+ const __vue_is_functional_template__$1p = false;
5957
5958
  /* style inject */
5958
5959
 
5959
5960
  /* style inject SSR */
@@ -5962,17 +5963,17 @@ var __vue_staticRenderFns__$1h = [];
5962
5963
 
5963
5964
 
5964
5965
 
5965
- const __vue_component__$1o = /*#__PURE__*/normalizeComponent(
5966
- { render: __vue_render__$1h, staticRenderFns: __vue_staticRenderFns__$1h },
5967
- __vue_inject_styles__$1o,
5968
- __vue_script__$1m,
5969
- __vue_scope_id__$1o,
5970
- __vue_is_functional_template__$1o,
5971
- __vue_module_identifier__$1o,
5966
+ const __vue_component__$1p = /*#__PURE__*/normalizeComponent(
5967
+ { render: __vue_render__$1i, staticRenderFns: __vue_staticRenderFns__$1i },
5968
+ __vue_inject_styles__$1p,
5969
+ __vue_script__$1n,
5970
+ __vue_scope_id__$1p,
5971
+ __vue_is_functional_template__$1p,
5972
+ __vue_module_identifier__$1p,
5972
5973
  false,
5973
5974
  undefined);
5974
5975
 
5975
- var script$1l = {
5976
+ var script$1m = {
5976
5977
  props: {
5977
5978
  resourceType: {
5978
5979
  type: String,
@@ -6013,20 +6014,20 @@ var script$1l = {
6013
6014
  };
6014
6015
 
6015
6016
  /* script */
6016
- const __vue_script__$1l = script$1l;
6017
+ const __vue_script__$1m = script$1m;
6017
6018
 
6018
6019
  /* template */
6019
- 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()};
6020
- var __vue_staticRenderFns__$1g = [];
6020
+ 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()};
6021
+ var __vue_staticRenderFns__$1h = [];
6021
6022
 
6022
6023
  /* style */
6023
- const __vue_inject_styles__$1n = undefined;
6024
+ const __vue_inject_styles__$1o = undefined;
6024
6025
  /* scoped */
6025
- const __vue_scope_id__$1n = undefined;
6026
+ const __vue_scope_id__$1o = undefined;
6026
6027
  /* module identifier */
6027
- const __vue_module_identifier__$1n = undefined;
6028
+ const __vue_module_identifier__$1o = undefined;
6028
6029
  /* functional template */
6029
- const __vue_is_functional_template__$1n = false;
6030
+ const __vue_is_functional_template__$1o = false;
6030
6031
  /* style inject */
6031
6032
 
6032
6033
  /* style inject SSR */
@@ -6035,17 +6036,17 @@ var __vue_staticRenderFns__$1g = [];
6035
6036
 
6036
6037
 
6037
6038
 
6038
- const __vue_component__$1n = /*#__PURE__*/normalizeComponent(
6039
- { render: __vue_render__$1g, staticRenderFns: __vue_staticRenderFns__$1g },
6040
- __vue_inject_styles__$1n,
6041
- __vue_script__$1l,
6042
- __vue_scope_id__$1n,
6043
- __vue_is_functional_template__$1n,
6044
- __vue_module_identifier__$1n,
6039
+ const __vue_component__$1o = /*#__PURE__*/normalizeComponent(
6040
+ { render: __vue_render__$1h, staticRenderFns: __vue_staticRenderFns__$1h },
6041
+ __vue_inject_styles__$1o,
6042
+ __vue_script__$1m,
6043
+ __vue_scope_id__$1o,
6044
+ __vue_is_functional_template__$1o,
6045
+ __vue_module_identifier__$1o,
6045
6046
  false,
6046
6047
  undefined);
6047
6048
 
6048
- var script$1k = {
6049
+ var script$1l = {
6049
6050
  props: {
6050
6051
  labels: {
6051
6052
  type: Object,
@@ -6091,18 +6092,18 @@ var script$1k = {
6091
6092
  };
6092
6093
 
6093
6094
  /* script */
6094
- const __vue_script__$1k = script$1k;
6095
+ const __vue_script__$1l = script$1l;
6095
6096
 
6096
6097
  /* template */
6097
6098
 
6098
6099
  /* style */
6099
- const __vue_inject_styles__$1m = undefined;
6100
+ const __vue_inject_styles__$1n = undefined;
6100
6101
  /* scoped */
6101
- const __vue_scope_id__$1m = undefined;
6102
+ const __vue_scope_id__$1n = undefined;
6102
6103
  /* module identifier */
6103
- const __vue_module_identifier__$1m = undefined;
6104
+ const __vue_module_identifier__$1n = undefined;
6104
6105
  /* functional template */
6105
- const __vue_is_functional_template__$1m = undefined;
6106
+ const __vue_is_functional_template__$1n = undefined;
6106
6107
  /* style inject */
6107
6108
 
6108
6109
  /* style inject SSR */
@@ -6111,18 +6112,18 @@ const __vue_script__$1k = script$1k;
6111
6112
 
6112
6113
 
6113
6114
 
6114
- const __vue_component__$1m = /*#__PURE__*/normalizeComponent(
6115
+ const __vue_component__$1n = /*#__PURE__*/normalizeComponent(
6115
6116
  {},
6116
- __vue_inject_styles__$1m,
6117
- __vue_script__$1k,
6118
- __vue_scope_id__$1m,
6119
- __vue_is_functional_template__$1m,
6120
- __vue_module_identifier__$1m,
6117
+ __vue_inject_styles__$1n,
6118
+ __vue_script__$1l,
6119
+ __vue_scope_id__$1n,
6120
+ __vue_is_functional_template__$1n,
6121
+ __vue_module_identifier__$1n,
6121
6122
  false,
6122
6123
  undefined);
6123
6124
 
6124
- var script$1j = {
6125
- extends: __vue_component__$1m,
6125
+ var script$1k = {
6126
+ extends: __vue_component__$1n,
6126
6127
 
6127
6128
  props: {
6128
6129
  alt: {
@@ -6231,46 +6232,46 @@ function addStyle(id, css) {
6231
6232
  }
6232
6233
 
6233
6234
  /* script */
6234
- const __vue_script__$1j = script$1j;
6235
+ const __vue_script__$1k = script$1k;
6235
6236
 
6236
6237
  /* template */
6237
- 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;}}})])};
6238
- var __vue_staticRenderFns__$1f = [];
6238
+ 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;}}})])};
6239
+ var __vue_staticRenderFns__$1g = [];
6239
6240
 
6240
6241
  /* style */
6241
- const __vue_inject_styles__$1l = function (inject) {
6242
+ const __vue_inject_styles__$1m = function (inject) {
6242
6243
  if (!inject) return
6243
6244
  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 });
6244
6245
 
6245
6246
  };
6246
6247
  /* scoped */
6247
- const __vue_scope_id__$1l = "data-v-5b22ddfb";
6248
+ const __vue_scope_id__$1m = "data-v-5b22ddfb";
6248
6249
  /* module identifier */
6249
- const __vue_module_identifier__$1l = undefined;
6250
+ const __vue_module_identifier__$1m = undefined;
6250
6251
  /* functional template */
6251
- const __vue_is_functional_template__$1l = false;
6252
+ const __vue_is_functional_template__$1m = false;
6252
6253
  /* style inject SSR */
6253
6254
 
6254
6255
  /* style inject shadow dom */
6255
6256
 
6256
6257
 
6257
6258
 
6258
- const __vue_component__$1l = /*#__PURE__*/normalizeComponent(
6259
- { render: __vue_render__$1f, staticRenderFns: __vue_staticRenderFns__$1f },
6260
- __vue_inject_styles__$1l,
6261
- __vue_script__$1j,
6262
- __vue_scope_id__$1l,
6263
- __vue_is_functional_template__$1l,
6264
- __vue_module_identifier__$1l,
6259
+ const __vue_component__$1m = /*#__PURE__*/normalizeComponent(
6260
+ { render: __vue_render__$1g, staticRenderFns: __vue_staticRenderFns__$1g },
6261
+ __vue_inject_styles__$1m,
6262
+ __vue_script__$1k,
6263
+ __vue_scope_id__$1m,
6264
+ __vue_is_functional_template__$1m,
6265
+ __vue_module_identifier__$1m,
6265
6266
  false,
6266
6267
  createInjector);
6267
6268
 
6268
- var script$1i = {
6269
+ var script$1j = {
6269
6270
  components: {
6270
6271
  PhotoSwipe: vPhotoswipe.PhotoSwipe,
6271
6272
  },
6272
6273
 
6273
- extends: __vue_component__$1m,
6274
+ extends: __vue_component__$1n,
6274
6275
 
6275
6276
  data () {
6276
6277
  return {
@@ -6326,37 +6327,37 @@ var script$1i = {
6326
6327
  };
6327
6328
 
6328
6329
  /* script */
6329
- const __vue_script__$1i = script$1i;
6330
+ const __vue_script__$1j = script$1j;
6330
6331
 
6331
6332
  /* template */
6332
- 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)};
6333
- var __vue_staticRenderFns__$1e = [];
6333
+ 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)};
6334
+ var __vue_staticRenderFns__$1f = [];
6334
6335
 
6335
6336
  /* style */
6336
- const __vue_inject_styles__$1k = function (inject) {
6337
+ const __vue_inject_styles__$1l = function (inject) {
6337
6338
  if (!inject) return
6338
6339
  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 });
6339
6340
 
6340
6341
  };
6341
6342
  /* scoped */
6342
- const __vue_scope_id__$1k = undefined;
6343
+ const __vue_scope_id__$1l = undefined;
6343
6344
  /* module identifier */
6344
- const __vue_module_identifier__$1k = undefined;
6345
+ const __vue_module_identifier__$1l = undefined;
6345
6346
  /* functional template */
6346
- const __vue_is_functional_template__$1k = false;
6347
+ const __vue_is_functional_template__$1l = false;
6347
6348
  /* style inject SSR */
6348
6349
 
6349
6350
  /* style inject shadow dom */
6350
6351
 
6351
6352
 
6352
6353
 
6353
- const __vue_component__$1k = /*#__PURE__*/normalizeComponent(
6354
- { render: __vue_render__$1e, staticRenderFns: __vue_staticRenderFns__$1e },
6355
- __vue_inject_styles__$1k,
6356
- __vue_script__$1i,
6357
- __vue_scope_id__$1k,
6358
- __vue_is_functional_template__$1k,
6359
- __vue_module_identifier__$1k,
6354
+ const __vue_component__$1l = /*#__PURE__*/normalizeComponent(
6355
+ { render: __vue_render__$1f, staticRenderFns: __vue_staticRenderFns__$1f },
6356
+ __vue_inject_styles__$1l,
6357
+ __vue_script__$1j,
6358
+ __vue_scope_id__$1l,
6359
+ __vue_is_functional_template__$1l,
6360
+ __vue_module_identifier__$1l,
6360
6361
  false,
6361
6362
  createInjector);
6362
6363
 
@@ -6450,8 +6451,8 @@ function sleep (t) {
6450
6451
  return new Promise(resolve => setTimeout(resolve, t))
6451
6452
  }
6452
6453
 
6453
- var script$1h = {
6454
- extends: __vue_component__$1m,
6454
+ var script$1i = {
6455
+ extends: __vue_component__$1n,
6455
6456
 
6456
6457
  props: {
6457
6458
  retryBackoff: {
@@ -6701,72 +6702,72 @@ var script$1h = {
6701
6702
  };
6702
6703
 
6703
6704
  /* script */
6704
- const __vue_script__$1h = script$1h;
6705
+ const __vue_script__$1i = script$1i;
6705
6706
 
6706
6707
  /* template */
6707
- 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()])};
6708
- var __vue_staticRenderFns__$1d = [];
6708
+ 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()])};
6709
+ var __vue_staticRenderFns__$1e = [];
6709
6710
 
6710
6711
  /* style */
6711
- const __vue_inject_styles__$1j = function (inject) {
6712
+ const __vue_inject_styles__$1k = function (inject) {
6712
6713
  if (!inject) return
6713
6714
  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 })
6714
6715
  ,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 });
6715
6716
 
6716
6717
  };
6717
6718
  /* scoped */
6718
- const __vue_scope_id__$1j = "data-v-6b03f585";
6719
+ const __vue_scope_id__$1k = "data-v-6b03f585";
6719
6720
  /* module identifier */
6720
- const __vue_module_identifier__$1j = undefined;
6721
+ const __vue_module_identifier__$1k = undefined;
6721
6722
  /* functional template */
6722
- const __vue_is_functional_template__$1j = false;
6723
+ const __vue_is_functional_template__$1k = false;
6723
6724
  /* style inject SSR */
6724
6725
 
6725
6726
  /* style inject shadow dom */
6726
6727
 
6727
6728
 
6728
6729
 
6729
- const __vue_component__$1j = /*#__PURE__*/normalizeComponent(
6730
- { render: __vue_render__$1d, staticRenderFns: __vue_staticRenderFns__$1d },
6731
- __vue_inject_styles__$1j,
6732
- __vue_script__$1h,
6733
- __vue_scope_id__$1j,
6734
- __vue_is_functional_template__$1j,
6735
- __vue_module_identifier__$1j,
6730
+ const __vue_component__$1k = /*#__PURE__*/normalizeComponent(
6731
+ { render: __vue_render__$1e, staticRenderFns: __vue_staticRenderFns__$1e },
6732
+ __vue_inject_styles__$1k,
6733
+ __vue_script__$1i,
6734
+ __vue_scope_id__$1k,
6735
+ __vue_is_functional_template__$1k,
6736
+ __vue_module_identifier__$1k,
6736
6737
  false,
6737
6738
  createInjector);
6738
6739
 
6739
6740
  /* script */
6740
6741
 
6741
6742
  /* template */
6742
- 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)])};
6743
- var __vue_staticRenderFns__$1c = [];
6743
+ 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)])};
6744
+ var __vue_staticRenderFns__$1d = [];
6744
6745
 
6745
6746
  /* style */
6746
- const __vue_inject_styles__$1i = function (inject) {
6747
+ const __vue_inject_styles__$1j = function (inject) {
6747
6748
  if (!inject) return
6748
6749
  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 });
6749
6750
 
6750
6751
  };
6751
6752
  /* scoped */
6752
- const __vue_scope_id__$1i = "data-v-30782d92";
6753
+ const __vue_scope_id__$1j = "data-v-30782d92";
6753
6754
  /* module identifier */
6754
- const __vue_module_identifier__$1i = undefined;
6755
+ const __vue_module_identifier__$1j = undefined;
6755
6756
  /* functional template */
6756
- const __vue_is_functional_template__$1i = false;
6757
+ const __vue_is_functional_template__$1j = false;
6757
6758
  /* style inject SSR */
6758
6759
 
6759
6760
  /* style inject shadow dom */
6760
6761
 
6761
6762
 
6762
6763
 
6763
- const __vue_component__$1i = /*#__PURE__*/normalizeComponent(
6764
- { render: __vue_render__$1c, staticRenderFns: __vue_staticRenderFns__$1c },
6765
- __vue_inject_styles__$1i,
6764
+ const __vue_component__$1j = /*#__PURE__*/normalizeComponent(
6765
+ { render: __vue_render__$1d, staticRenderFns: __vue_staticRenderFns__$1d },
6766
+ __vue_inject_styles__$1j,
6766
6767
  {},
6767
- __vue_scope_id__$1i,
6768
- __vue_is_functional_template__$1i,
6769
- __vue_module_identifier__$1i,
6768
+ __vue_scope_id__$1j,
6769
+ __vue_is_functional_template__$1j,
6770
+ __vue_module_identifier__$1j,
6770
6771
  false,
6771
6772
  createInjector);
6772
6773
 
@@ -6821,7 +6822,7 @@ var canPreview = function canPreview(_ref2) {
6821
6822
  });
6822
6823
  };
6823
6824
 
6824
- var script$1g = {
6825
+ var script$1h = {
6825
6826
  inheritAttrs: false,
6826
6827
 
6827
6828
  props: {
@@ -6843,18 +6844,18 @@ var script$1g = {
6843
6844
  };
6844
6845
 
6845
6846
  /* script */
6846
- const __vue_script__$1g = script$1g;
6847
+ const __vue_script__$1h = script$1h;
6847
6848
 
6848
6849
  /* template */
6849
6850
 
6850
6851
  /* style */
6851
- const __vue_inject_styles__$1h = undefined;
6852
+ const __vue_inject_styles__$1i = undefined;
6852
6853
  /* scoped */
6853
- const __vue_scope_id__$1h = undefined;
6854
+ const __vue_scope_id__$1i = undefined;
6854
6855
  /* module identifier */
6855
- const __vue_module_identifier__$1h = undefined;
6856
+ const __vue_module_identifier__$1i = undefined;
6856
6857
  /* functional template */
6857
- const __vue_is_functional_template__$1h = undefined;
6858
+ const __vue_is_functional_template__$1i = undefined;
6858
6859
  /* style inject */
6859
6860
 
6860
6861
  /* style inject SSR */
@@ -6863,41 +6864,41 @@ const __vue_script__$1g = script$1g;
6863
6864
 
6864
6865
 
6865
6866
 
6866
- const __vue_component__$1h = /*#__PURE__*/normalizeComponent(
6867
+ const __vue_component__$1i = /*#__PURE__*/normalizeComponent(
6867
6868
  {},
6868
- __vue_inject_styles__$1h,
6869
- __vue_script__$1g,
6870
- __vue_scope_id__$1h,
6871
- __vue_is_functional_template__$1h,
6872
- __vue_module_identifier__$1h,
6869
+ __vue_inject_styles__$1i,
6870
+ __vue_script__$1h,
6871
+ __vue_scope_id__$1i,
6872
+ __vue_is_functional_template__$1i,
6873
+ __vue_module_identifier__$1i,
6873
6874
  false,
6874
6875
  undefined);
6875
6876
 
6876
- var script$1f = {
6877
+ var script$1g = {
6877
6878
  components: {
6878
- CLightbox: __vue_component__$1i,
6879
- IMG: __vue_component__$1k,
6880
- PDF: __vue_component__$1j,
6879
+ CLightbox: __vue_component__$1j,
6880
+ IMG: __vue_component__$1l,
6881
+ PDF: __vue_component__$1k,
6881
6882
  },
6882
6883
 
6883
- extends: __vue_component__$1h,
6884
+ extends: __vue_component__$1i,
6884
6885
  };
6885
6886
 
6886
6887
  /* script */
6887
- const __vue_script__$1f = script$1f;
6888
+ const __vue_script__$1g = script$1g;
6888
6889
 
6889
6890
  /* template */
6890
- 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)};
6891
- var __vue_staticRenderFns__$1b = [];
6891
+ 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)};
6892
+ var __vue_staticRenderFns__$1c = [];
6892
6893
 
6893
6894
  /* style */
6894
- const __vue_inject_styles__$1g = undefined;
6895
+ const __vue_inject_styles__$1h = undefined;
6895
6896
  /* scoped */
6896
- const __vue_scope_id__$1g = undefined;
6897
+ const __vue_scope_id__$1h = undefined;
6897
6898
  /* module identifier */
6898
- const __vue_module_identifier__$1g = undefined;
6899
+ const __vue_module_identifier__$1h = undefined;
6899
6900
  /* functional template */
6900
- const __vue_is_functional_template__$1g = false;
6901
+ const __vue_is_functional_template__$1h = false;
6901
6902
  /* style inject */
6902
6903
 
6903
6904
  /* style inject SSR */
@@ -6906,40 +6907,40 @@ var __vue_staticRenderFns__$1b = [];
6906
6907
 
6907
6908
 
6908
6909
 
6909
- const __vue_component__$1g = /*#__PURE__*/normalizeComponent(
6910
- { render: __vue_render__$1b, staticRenderFns: __vue_staticRenderFns__$1b },
6911
- __vue_inject_styles__$1g,
6912
- __vue_script__$1f,
6913
- __vue_scope_id__$1g,
6914
- __vue_is_functional_template__$1g,
6915
- __vue_module_identifier__$1g,
6910
+ const __vue_component__$1h = /*#__PURE__*/normalizeComponent(
6911
+ { render: __vue_render__$1c, staticRenderFns: __vue_staticRenderFns__$1c },
6912
+ __vue_inject_styles__$1h,
6913
+ __vue_script__$1g,
6914
+ __vue_scope_id__$1h,
6915
+ __vue_is_functional_template__$1h,
6916
+ __vue_module_identifier__$1h,
6916
6917
  false,
6917
6918
  undefined);
6918
6919
 
6919
- var script$1e = {
6920
+ var script$1f = {
6920
6921
  components: {
6921
- IMG: __vue_component__$1l,
6922
- PDF: __vue_component__$1j,
6922
+ IMG: __vue_component__$1m,
6923
+ PDF: __vue_component__$1k,
6923
6924
  },
6924
6925
 
6925
- extends: __vue_component__$1h,
6926
+ extends: __vue_component__$1i,
6926
6927
  };
6927
6928
 
6928
6929
  /* script */
6929
- const __vue_script__$1e = script$1e;
6930
+ const __vue_script__$1f = script$1f;
6930
6931
 
6931
6932
  /* template */
6932
- 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)])};
6933
- var __vue_staticRenderFns__$1a = [];
6933
+ 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)])};
6934
+ var __vue_staticRenderFns__$1b = [];
6934
6935
 
6935
6936
  /* style */
6936
- const __vue_inject_styles__$1f = undefined;
6937
+ const __vue_inject_styles__$1g = undefined;
6937
6938
  /* scoped */
6938
- const __vue_scope_id__$1f = undefined;
6939
+ const __vue_scope_id__$1g = undefined;
6939
6940
  /* module identifier */
6940
- const __vue_module_identifier__$1f = undefined;
6941
+ const __vue_module_identifier__$1g = undefined;
6941
6942
  /* functional template */
6942
- const __vue_is_functional_template__$1f = false;
6943
+ const __vue_is_functional_template__$1g = false;
6943
6944
  /* style inject */
6944
6945
 
6945
6946
  /* style inject SSR */
@@ -6948,17 +6949,17 @@ var __vue_staticRenderFns__$1a = [];
6948
6949
 
6949
6950
 
6950
6951
 
6951
- const __vue_component__$1f = /*#__PURE__*/normalizeComponent(
6952
- { render: __vue_render__$1a, staticRenderFns: __vue_staticRenderFns__$1a },
6953
- __vue_inject_styles__$1f,
6954
- __vue_script__$1e,
6955
- __vue_scope_id__$1f,
6956
- __vue_is_functional_template__$1f,
6957
- __vue_module_identifier__$1f,
6952
+ const __vue_component__$1g = /*#__PURE__*/normalizeComponent(
6953
+ { render: __vue_render__$1b, staticRenderFns: __vue_staticRenderFns__$1b },
6954
+ __vue_inject_styles__$1g,
6955
+ __vue_script__$1f,
6956
+ __vue_scope_id__$1g,
6957
+ __vue_is_functional_template__$1g,
6958
+ __vue_module_identifier__$1g,
6958
6959
  false,
6959
6960
  undefined);
6960
6961
 
6961
- var script$1d = {
6962
+ var script$1e = {
6962
6963
  props: {
6963
6964
  disabled: Boolean,
6964
6965
  okDisabled: Boolean,
@@ -7061,20 +7062,20 @@ var script$1d = {
7061
7062
  };
7062
7063
 
7063
7064
  /* script */
7064
- const __vue_script__$1d = script$1d;
7065
+ const __vue_script__$1e = script$1e;
7065
7066
 
7066
7067
  /* template */
7067
- 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)};
7068
- var __vue_staticRenderFns__$19 = [];
7068
+ 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)};
7069
+ var __vue_staticRenderFns__$1a = [];
7069
7070
 
7070
7071
  /* style */
7071
- const __vue_inject_styles__$1e = undefined;
7072
+ const __vue_inject_styles__$1f = undefined;
7072
7073
  /* scoped */
7073
- const __vue_scope_id__$1e = undefined;
7074
+ const __vue_scope_id__$1f = undefined;
7074
7075
  /* module identifier */
7075
- const __vue_module_identifier__$1e = undefined;
7076
+ const __vue_module_identifier__$1f = undefined;
7076
7077
  /* functional template */
7077
- const __vue_is_functional_template__$1e = false;
7078
+ const __vue_is_functional_template__$1f = false;
7078
7079
  /* style inject */
7079
7080
 
7080
7081
  /* style inject SSR */
@@ -7083,14 +7084,14 @@ var __vue_staticRenderFns__$19 = [];
7083
7084
 
7084
7085
 
7085
7086
 
7086
- const __vue_component__$1e = /*#__PURE__*/normalizeComponent(
7087
- { render: __vue_render__$19, staticRenderFns: __vue_staticRenderFns__$19 },
7088
- __vue_inject_styles__$1e,
7089
- __vue_script__$1d,
7090
- __vue_scope_id__$1e,
7091
- __vue_is_functional_template__$1e,
7092
- __vue_module_identifier__$1e,
7093
- false,
7087
+ const __vue_component__$1f = /*#__PURE__*/normalizeComponent(
7088
+ { render: __vue_render__$1a, staticRenderFns: __vue_staticRenderFns__$1a },
7089
+ __vue_inject_styles__$1f,
7090
+ __vue_script__$1e,
7091
+ __vue_scope_id__$1f,
7092
+ __vue_is_functional_template__$1f,
7093
+ __vue_module_identifier__$1f,
7094
+ false,
7094
7095
  undefined);
7095
7096
 
7096
7097
  //
@@ -7112,7 +7113,7 @@ var __vue_staticRenderFns__$19 = [];
7112
7113
  //
7113
7114
  //
7114
7115
 
7115
- var script$1c = {
7116
+ var script$1d = {
7116
7117
  props: {
7117
7118
  variant: {
7118
7119
  type: String,
@@ -7134,20 +7135,20 @@ var script$1c = {
7134
7135
  };
7135
7136
 
7136
7137
  /* script */
7137
- const __vue_script__$1c = script$1c;
7138
+ const __vue_script__$1d = script$1d;
7138
7139
 
7139
7140
  /* template */
7140
- 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)};
7141
- var __vue_staticRenderFns__$18 = [];
7141
+ 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)};
7142
+ var __vue_staticRenderFns__$19 = [];
7142
7143
 
7143
7144
  /* style */
7144
- const __vue_inject_styles__$1d = undefined;
7145
+ const __vue_inject_styles__$1e = undefined;
7145
7146
  /* scoped */
7146
- const __vue_scope_id__$1d = undefined;
7147
+ const __vue_scope_id__$1e = undefined;
7147
7148
  /* module identifier */
7148
- const __vue_module_identifier__$1d = undefined;
7149
+ const __vue_module_identifier__$1e = undefined;
7149
7150
  /* functional template */
7150
- const __vue_is_functional_template__$1d = false;
7151
+ const __vue_is_functional_template__$1e = false;
7151
7152
  /* style inject */
7152
7153
 
7153
7154
  /* style inject SSR */
@@ -7156,13 +7157,13 @@ var __vue_staticRenderFns__$18 = [];
7156
7157
 
7157
7158
 
7158
7159
 
7159
- const __vue_component__$1d = /*#__PURE__*/normalizeComponent(
7160
- { render: __vue_render__$18, staticRenderFns: __vue_staticRenderFns__$18 },
7161
- __vue_inject_styles__$1d,
7162
- __vue_script__$1c,
7163
- __vue_scope_id__$1d,
7164
- __vue_is_functional_template__$1d,
7165
- __vue_module_identifier__$1d,
7160
+ const __vue_component__$1e = /*#__PURE__*/normalizeComponent(
7161
+ { render: __vue_render__$19, staticRenderFns: __vue_staticRenderFns__$19 },
7162
+ __vue_inject_styles__$1e,
7163
+ __vue_script__$1d,
7164
+ __vue_scope_id__$1e,
7165
+ __vue_is_functional_template__$1e,
7166
+ __vue_module_identifier__$1e,
7166
7167
  false,
7167
7168
  undefined);
7168
7169
 
@@ -7210,7 +7211,7 @@ function setTime(time, value, noDate = false, noTime = false) {
7210
7211
  return moment(date + ' ' + time, 'YYYY-MM-DD HH:mm').utc().format();
7211
7212
  }
7212
7213
 
7213
- var script$1b = {
7214
+ var script$1c = {
7214
7215
  props: {
7215
7216
  value: {
7216
7217
  type: [String, Date],
@@ -7295,37 +7296,37 @@ var script$1b = {
7295
7296
  };
7296
7297
 
7297
7298
  /* script */
7298
- const __vue_script__$1b = script$1b;
7299
+ const __vue_script__$1c = script$1c;
7299
7300
 
7300
7301
  /* template */
7301
- 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)};
7302
- var __vue_staticRenderFns__$17 = [];
7302
+ 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)};
7303
+ var __vue_staticRenderFns__$18 = [];
7303
7304
 
7304
7305
  /* style */
7305
- const __vue_inject_styles__$1c = function (inject) {
7306
+ const __vue_inject_styles__$1d = function (inject) {
7306
7307
  if (!inject) return
7307
7308
  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 });
7308
7309
 
7309
7310
  };
7310
7311
  /* scoped */
7311
- const __vue_scope_id__$1c = undefined;
7312
+ const __vue_scope_id__$1d = undefined;
7312
7313
  /* module identifier */
7313
- const __vue_module_identifier__$1c = undefined;
7314
+ const __vue_module_identifier__$1d = undefined;
7314
7315
  /* functional template */
7315
- const __vue_is_functional_template__$1c = false;
7316
+ const __vue_is_functional_template__$1d = false;
7316
7317
  /* style inject SSR */
7317
7318
 
7318
7319
  /* style inject shadow dom */
7319
7320
 
7320
7321
 
7321
7322
 
7322
- const __vue_component__$1c = /*#__PURE__*/normalizeComponent(
7323
- { render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
7324
- __vue_inject_styles__$1c,
7325
- __vue_script__$1b,
7326
- __vue_scope_id__$1c,
7327
- __vue_is_functional_template__$1c,
7328
- __vue_module_identifier__$1c,
7323
+ const __vue_component__$1d = /*#__PURE__*/normalizeComponent(
7324
+ { render: __vue_render__$18, staticRenderFns: __vue_staticRenderFns__$18 },
7325
+ __vue_inject_styles__$1d,
7326
+ __vue_script__$1c,
7327
+ __vue_scope_id__$1d,
7328
+ __vue_is_functional_template__$1d,
7329
+ __vue_module_identifier__$1d,
7329
7330
  false,
7330
7331
  createInjector);
7331
7332
 
@@ -7409,7 +7410,7 @@ n(css$4,{});
7409
7410
  //
7410
7411
 
7411
7412
 
7412
- var script$1a = {
7413
+ var script$1b = {
7413
7414
  name: 'CInputSelect',
7414
7415
 
7415
7416
  components: {
@@ -7576,40 +7577,40 @@ var script$1a = {
7576
7577
  };
7577
7578
 
7578
7579
  /* script */
7579
- const __vue_script__$1a = script$1a;
7580
+ const __vue_script__$1b = script$1b;
7580
7581
 
7581
7582
  /* template */
7582
- 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){
7583
+ 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){
7583
7584
  var option = ref.option;
7584
7585
  var deselect = ref.deselect;
7585
7586
  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))};
7586
- var __vue_staticRenderFns__$16 = [];
7587
+ var __vue_staticRenderFns__$17 = [];
7587
7588
 
7588
7589
  /* style */
7589
- const __vue_inject_styles__$1b = function (inject) {
7590
+ const __vue_inject_styles__$1c = function (inject) {
7590
7591
  if (!inject) return
7591
7592
  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 });
7592
7593
 
7593
7594
  };
7594
7595
  /* scoped */
7595
- const __vue_scope_id__$1b = undefined;
7596
+ const __vue_scope_id__$1c = undefined;
7596
7597
  /* module identifier */
7597
- const __vue_module_identifier__$1b = undefined;
7598
+ const __vue_module_identifier__$1c = undefined;
7598
7599
  /* functional template */
7599
- const __vue_is_functional_template__$1b = false;
7600
+ const __vue_is_functional_template__$1c = false;
7600
7601
  /* style inject SSR */
7601
7602
 
7602
7603
  /* style inject shadow dom */
7603
7604
 
7604
7605
 
7605
7606
 
7606
- const __vue_component__$1b = /*#__PURE__*/normalizeComponent(
7607
- { render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
7608
- __vue_inject_styles__$1b,
7609
- __vue_script__$1a,
7610
- __vue_scope_id__$1b,
7611
- __vue_is_functional_template__$1b,
7612
- __vue_module_identifier__$1b,
7607
+ const __vue_component__$1c = /*#__PURE__*/normalizeComponent(
7608
+ { render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
7609
+ __vue_inject_styles__$1c,
7610
+ __vue_script__$1b,
7611
+ __vue_scope_id__$1c,
7612
+ __vue_is_functional_template__$1c,
7613
+ __vue_module_identifier__$1c,
7613
7614
  false,
7614
7615
  createInjector);
7615
7616
 
@@ -7646,7 +7647,7 @@ var __vue_staticRenderFns__$16 = [];
7646
7647
  //
7647
7648
  //
7648
7649
 
7649
- var script$19 = {
7650
+ var script$1a = {
7650
7651
  name: 'CFormTableWrapper',
7651
7652
 
7652
7653
  props: {
@@ -7683,37 +7684,37 @@ var script$19 = {
7683
7684
  };
7684
7685
 
7685
7686
  /* script */
7686
- const __vue_script__$19 = script$19;
7687
+ const __vue_script__$1a = script$1a;
7687
7688
 
7688
7689
  /* template */
7689
- 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)};
7690
- var __vue_staticRenderFns__$15 = [];
7690
+ 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)};
7691
+ var __vue_staticRenderFns__$16 = [];
7691
7692
 
7692
7693
  /* style */
7693
- const __vue_inject_styles__$1a = function (inject) {
7694
+ const __vue_inject_styles__$1b = function (inject) {
7694
7695
  if (!inject) return
7695
7696
  inject("data-v-7ae53668_0", { source: ".list-background[data-v-7ae53668]{background-color:var(--body-bg)}", map: undefined, media: undefined });
7696
7697
 
7697
7698
  };
7698
7699
  /* scoped */
7699
- const __vue_scope_id__$1a = "data-v-7ae53668";
7700
+ const __vue_scope_id__$1b = "data-v-7ae53668";
7700
7701
  /* module identifier */
7701
- const __vue_module_identifier__$1a = undefined;
7702
+ const __vue_module_identifier__$1b = undefined;
7702
7703
  /* functional template */
7703
- const __vue_is_functional_template__$1a = false;
7704
+ const __vue_is_functional_template__$1b = false;
7704
7705
  /* style inject SSR */
7705
7706
 
7706
7707
  /* style inject shadow dom */
7707
7708
 
7708
7709
 
7709
7710
 
7710
- const __vue_component__$1a = /*#__PURE__*/normalizeComponent(
7711
- { render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
7712
- __vue_inject_styles__$1a,
7713
- __vue_script__$19,
7714
- __vue_scope_id__$1a,
7715
- __vue_is_functional_template__$1a,
7716
- __vue_module_identifier__$1a,
7711
+ const __vue_component__$1b = /*#__PURE__*/normalizeComponent(
7712
+ { render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
7713
+ __vue_inject_styles__$1b,
7714
+ __vue_script__$1a,
7715
+ __vue_scope_id__$1b,
7716
+ __vue_is_functional_template__$1b,
7717
+ __vue_module_identifier__$1b,
7717
7718
  false,
7718
7719
  createInjector);
7719
7720
 
@@ -7821,11 +7822,11 @@ var __vue_staticRenderFns__$15 = [];
7821
7822
  //
7822
7823
 
7823
7824
 
7824
- var script$18 = {
7825
+ var script$19 = {
7825
7826
  components: {
7826
7827
  Draggable,
7827
- CInputSelect: __vue_component__$1b,
7828
- CFormTableWrapper: __vue_component__$1a,
7828
+ CInputSelect: __vue_component__$1c,
7829
+ CFormTableWrapper: __vue_component__$1b,
7829
7830
  },
7830
7831
 
7831
7832
  props: {
@@ -7935,20 +7936,20 @@ var script$18 = {
7935
7936
  };
7936
7937
 
7937
7938
  /* script */
7938
- const __vue_script__$18 = script$18;
7939
+ const __vue_script__$19 = script$19;
7939
7940
 
7940
7941
  /* template */
7941
- 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)};
7942
- var __vue_staticRenderFns__$14 = [];
7942
+ 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)};
7943
+ var __vue_staticRenderFns__$15 = [];
7943
7944
 
7944
7945
  /* style */
7945
- const __vue_inject_styles__$19 = undefined;
7946
+ const __vue_inject_styles__$1a = undefined;
7946
7947
  /* scoped */
7947
- const __vue_scope_id__$19 = undefined;
7948
+ const __vue_scope_id__$1a = undefined;
7948
7949
  /* module identifier */
7949
- const __vue_module_identifier__$19 = undefined;
7950
+ const __vue_module_identifier__$1a = undefined;
7950
7951
  /* functional template */
7951
- const __vue_is_functional_template__$19 = false;
7952
+ const __vue_is_functional_template__$1a = false;
7952
7953
  /* style inject */
7953
7954
 
7954
7955
  /* style inject SSR */
@@ -7957,13 +7958,13 @@ var __vue_staticRenderFns__$14 = [];
7957
7958
 
7958
7959
 
7959
7960
 
7960
- const __vue_component__$19 = /*#__PURE__*/normalizeComponent(
7961
- { render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
7962
- __vue_inject_styles__$19,
7963
- __vue_script__$18,
7964
- __vue_scope_id__$19,
7965
- __vue_is_functional_template__$19,
7966
- __vue_module_identifier__$19,
7961
+ const __vue_component__$1a = /*#__PURE__*/normalizeComponent(
7962
+ { render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
7963
+ __vue_inject_styles__$1a,
7964
+ __vue_script__$19,
7965
+ __vue_scope_id__$1a,
7966
+ __vue_is_functional_template__$1a,
7967
+ __vue_module_identifier__$1a,
7967
7968
  false,
7968
7969
  undefined);
7969
7970
 
@@ -8007,7 +8008,7 @@ var __vue_staticRenderFns__$14 = [];
8007
8008
  //
8008
8009
  //
8009
8010
 
8010
- var script$17 = {
8011
+ var script$18 = {
8011
8012
  name: 'CInputSearch',
8012
8013
 
8013
8014
  props: {
@@ -8101,37 +8102,37 @@ var script$17 = {
8101
8102
  };
8102
8103
 
8103
8104
  /* script */
8104
- const __vue_script__$17 = script$17;
8105
+ const __vue_script__$18 = script$18;
8105
8106
 
8106
8107
  /* template */
8107
- 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)};
8108
- var __vue_staticRenderFns__$13 = [];
8108
+ 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)};
8109
+ var __vue_staticRenderFns__$14 = [];
8109
8110
 
8110
8111
  /* style */
8111
- const __vue_inject_styles__$18 = function (inject) {
8112
+ const __vue_inject_styles__$19 = function (inject) {
8112
8113
  if (!inject) return
8113
8114
  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 });
8114
8115
 
8115
8116
  };
8116
8117
  /* scoped */
8117
- const __vue_scope_id__$18 = "data-v-ec96b2dc";
8118
+ const __vue_scope_id__$19 = "data-v-ec96b2dc";
8118
8119
  /* module identifier */
8119
- const __vue_module_identifier__$18 = undefined;
8120
+ const __vue_module_identifier__$19 = undefined;
8120
8121
  /* functional template */
8121
- const __vue_is_functional_template__$18 = false;
8122
+ const __vue_is_functional_template__$19 = false;
8122
8123
  /* style inject SSR */
8123
8124
 
8124
8125
  /* style inject shadow dom */
8125
8126
 
8126
8127
 
8127
8128
 
8128
- const __vue_component__$18 = /*#__PURE__*/normalizeComponent(
8129
- { render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
8130
- __vue_inject_styles__$18,
8131
- __vue_script__$17,
8132
- __vue_scope_id__$18,
8133
- __vue_is_functional_template__$18,
8134
- __vue_module_identifier__$18,
8129
+ const __vue_component__$19 = /*#__PURE__*/normalizeComponent(
8130
+ { render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
8131
+ __vue_inject_styles__$19,
8132
+ __vue_script__$18,
8133
+ __vue_scope_id__$19,
8134
+ __vue_is_functional_template__$19,
8135
+ __vue_module_identifier__$19,
8135
8136
  false,
8136
8137
  createInjector);
8137
8138
 
@@ -8266,7 +8267,7 @@ var __vue_staticRenderFns__$13 = [];
8266
8267
  //
8267
8268
 
8268
8269
 
8269
- var script$16 = {
8270
+ var script$17 = {
8270
8271
  name: 'CInputColorPicker',
8271
8272
 
8272
8273
  components: {
@@ -8418,45 +8419,45 @@ var script$16 = {
8418
8419
  };
8419
8420
 
8420
8421
  /* script */
8421
- const __vue_script__$16 = script$16;
8422
+ const __vue_script__$17 = script$17;
8422
8423
 
8423
8424
  /* template */
8424
- 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)};
8425
- var __vue_staticRenderFns__$12 = [];
8425
+ 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)};
8426
+ var __vue_staticRenderFns__$13 = [];
8426
8427
 
8427
8428
  /* style */
8428
- const __vue_inject_styles__$17 = function (inject) {
8429
+ const __vue_inject_styles__$18 = function (inject) {
8429
8430
  if (!inject) return
8430
8431
  inject("data-v-0db7b6ea_0", { source: ".swatch[data-v-0db7b6ea]{height:58px;min-width:50px}", map: undefined, media: undefined })
8431
8432
  ,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 });
8432
8433
 
8433
8434
  };
8434
8435
  /* scoped */
8435
- const __vue_scope_id__$17 = "data-v-0db7b6ea";
8436
+ const __vue_scope_id__$18 = "data-v-0db7b6ea";
8436
8437
  /* module identifier */
8437
- const __vue_module_identifier__$17 = undefined;
8438
+ const __vue_module_identifier__$18 = undefined;
8438
8439
  /* functional template */
8439
- const __vue_is_functional_template__$17 = false;
8440
+ const __vue_is_functional_template__$18 = false;
8440
8441
  /* style inject SSR */
8441
8442
 
8442
8443
  /* style inject shadow dom */
8443
8444
 
8444
8445
 
8445
8446
 
8446
- const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
8447
- { render: __vue_render__$12, staticRenderFns: __vue_staticRenderFns__$12 },
8448
- __vue_inject_styles__$17,
8449
- __vue_script__$16,
8450
- __vue_scope_id__$17,
8451
- __vue_is_functional_template__$17,
8452
- __vue_module_identifier__$17,
8447
+ const __vue_component__$18 = /*#__PURE__*/normalizeComponent(
8448
+ { render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
8449
+ __vue_inject_styles__$18,
8450
+ __vue_script__$17,
8451
+ __vue_scope_id__$18,
8452
+ __vue_is_functional_template__$18,
8453
+ __vue_module_identifier__$18,
8453
8454
  false,
8454
8455
  createInjector);
8455
8456
 
8456
8457
  /**
8457
8458
  * Defines common props, methods between different toolbar item types
8458
8459
  */
8459
- var script$15 = {
8460
+ var script$16 = {
8460
8461
  props: {
8461
8462
  editor: {
8462
8463
  type: Object,
@@ -8510,18 +8511,18 @@ var script$15 = {
8510
8511
  };
8511
8512
 
8512
8513
  /* script */
8513
- const __vue_script__$15 = script$15;
8514
+ const __vue_script__$16 = script$16;
8514
8515
 
8515
8516
  /* template */
8516
8517
 
8517
8518
  /* style */
8518
- const __vue_inject_styles__$16 = undefined;
8519
+ const __vue_inject_styles__$17 = undefined;
8519
8520
  /* scoped */
8520
- const __vue_scope_id__$16 = undefined;
8521
+ const __vue_scope_id__$17 = undefined;
8521
8522
  /* module identifier */
8522
- const __vue_module_identifier__$16 = undefined;
8523
+ const __vue_module_identifier__$17 = undefined;
8523
8524
  /* functional template */
8524
- const __vue_is_functional_template__$16 = undefined;
8525
+ const __vue_is_functional_template__$17 = undefined;
8525
8526
  /* style inject */
8526
8527
 
8527
8528
  /* style inject SSR */
@@ -8530,13 +8531,13 @@ const __vue_script__$15 = script$15;
8530
8531
 
8531
8532
 
8532
8533
 
8533
- const __vue_component__$16 = /*#__PURE__*/normalizeComponent(
8534
+ const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
8534
8535
  {},
8535
- __vue_inject_styles__$16,
8536
- __vue_script__$15,
8537
- __vue_scope_id__$16,
8538
- __vue_is_functional_template__$16,
8539
- __vue_module_identifier__$16,
8536
+ __vue_inject_styles__$17,
8537
+ __vue_script__$16,
8538
+ __vue_scope_id__$17,
8539
+ __vue_is_functional_template__$17,
8540
+ __vue_module_identifier__$17,
8540
8541
  false,
8541
8542
  undefined);
8542
8543
 
@@ -8575,14 +8576,14 @@ const __vue_script__$15 = script$15;
8575
8576
  //
8576
8577
 
8577
8578
 
8578
- var script$14 = {
8579
+ var script$15 = {
8579
8580
  name: 'TMarkColor',
8580
8581
 
8581
8582
  components: {
8582
- CInputColorPicker: __vue_component__$17,
8583
+ CInputColorPicker: __vue_component__$18,
8583
8584
  },
8584
8585
 
8585
- extends: __vue_component__$16,
8586
+ extends: __vue_component__$17,
8586
8587
 
8587
8588
  props: {
8588
8589
  background: {
@@ -8632,40 +8633,40 @@ var script$14 = {
8632
8633
  };
8633
8634
 
8634
8635
  /* script */
8635
- const __vue_script__$14 = script$14;
8636
+ const __vue_script__$15 = script$15;
8636
8637
 
8637
8638
  /* template */
8638
- 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:({
8639
+ 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:({
8639
8640
  backgroundColor: _vm.background ? _vm.selectedColor : 'transparent',
8640
8641
  borderColor: _vm.background ? 'transparent' : _vm.selectedColor,
8641
8642
  })},[_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)};
8642
- var __vue_staticRenderFns__$11 = [];
8643
+ var __vue_staticRenderFns__$12 = [];
8643
8644
 
8644
8645
  /* style */
8645
- const __vue_inject_styles__$15 = function (inject) {
8646
+ const __vue_inject_styles__$16 = function (inject) {
8646
8647
  if (!inject) return
8647
8648
  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 });
8648
8649
 
8649
8650
  };
8650
8651
  /* scoped */
8651
- const __vue_scope_id__$15 = "data-v-f18be530";
8652
+ const __vue_scope_id__$16 = "data-v-f18be530";
8652
8653
  /* module identifier */
8653
- const __vue_module_identifier__$15 = undefined;
8654
+ const __vue_module_identifier__$16 = undefined;
8654
8655
  /* functional template */
8655
- const __vue_is_functional_template__$15 = false;
8656
+ const __vue_is_functional_template__$16 = false;
8656
8657
  /* style inject SSR */
8657
8658
 
8658
8659
  /* style inject shadow dom */
8659
8660
 
8660
8661
 
8661
8662
 
8662
- const __vue_component__$15 = /*#__PURE__*/normalizeComponent(
8663
- { render: __vue_render__$11, staticRenderFns: __vue_staticRenderFns__$11 },
8664
- __vue_inject_styles__$15,
8665
- __vue_script__$14,
8666
- __vue_scope_id__$15,
8667
- __vue_is_functional_template__$15,
8668
- __vue_module_identifier__$15,
8663
+ const __vue_component__$16 = /*#__PURE__*/normalizeComponent(
8664
+ { render: __vue_render__$12, staticRenderFns: __vue_staticRenderFns__$12 },
8665
+ __vue_inject_styles__$16,
8666
+ __vue_script__$15,
8667
+ __vue_scope_id__$16,
8668
+ __vue_is_functional_template__$16,
8669
+ __vue_module_identifier__$16,
8669
8670
  false,
8670
8671
  createInjector);
8671
8672
 
@@ -8693,26 +8694,26 @@ var __vue_staticRenderFns__$11 = [];
8693
8694
  /**
8694
8695
  * Component is used to display simple formatter options such as bold, italic, ...
8695
8696
  */
8696
- var script$13 = {
8697
+ var script$14 = {
8697
8698
  name: 'TMarkItem',
8698
- extends: __vue_component__$16,
8699
+ extends: __vue_component__$17,
8699
8700
  };
8700
8701
 
8701
8702
  /* script */
8702
- const __vue_script__$13 = script$13;
8703
+ const __vue_script__$14 = script$14;
8703
8704
 
8704
8705
  /* template */
8705
- 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)])};
8706
- var __vue_staticRenderFns__$10 = [];
8706
+ 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)])};
8707
+ var __vue_staticRenderFns__$11 = [];
8707
8708
 
8708
8709
  /* style */
8709
- const __vue_inject_styles__$14 = undefined;
8710
+ const __vue_inject_styles__$15 = undefined;
8710
8711
  /* scoped */
8711
- const __vue_scope_id__$14 = undefined;
8712
+ const __vue_scope_id__$15 = undefined;
8712
8713
  /* module identifier */
8713
- const __vue_module_identifier__$14 = undefined;
8714
+ const __vue_module_identifier__$15 = undefined;
8714
8715
  /* functional template */
8715
- const __vue_is_functional_template__$14 = false;
8716
+ const __vue_is_functional_template__$15 = false;
8716
8717
  /* style inject */
8717
8718
 
8718
8719
  /* style inject SSR */
@@ -8721,13 +8722,13 @@ var __vue_staticRenderFns__$10 = [];
8721
8722
 
8722
8723
 
8723
8724
 
8724
- const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
8725
- { render: __vue_render__$10, staticRenderFns: __vue_staticRenderFns__$10 },
8726
- __vue_inject_styles__$14,
8727
- __vue_script__$13,
8728
- __vue_scope_id__$14,
8729
- __vue_is_functional_template__$14,
8730
- __vue_module_identifier__$14,
8725
+ const __vue_component__$15 = /*#__PURE__*/normalizeComponent(
8726
+ { render: __vue_render__$11, staticRenderFns: __vue_staticRenderFns__$11 },
8727
+ __vue_inject_styles__$15,
8728
+ __vue_script__$14,
8729
+ __vue_scope_id__$15,
8730
+ __vue_is_functional_template__$15,
8731
+ __vue_module_identifier__$15,
8731
8732
  false,
8732
8733
  undefined);
8733
8734
 
@@ -8782,9 +8783,9 @@ var __vue_staticRenderFns__$10 = [];
8782
8783
  * Component is used to display link formatters. It provides an interface to
8783
8784
  * input the URL that should be applied.
8784
8785
  */
8785
- var script$12 = {
8786
+ var script$13 = {
8786
8787
  name: 'TMarkLink',
8787
- extends: __vue_component__$16,
8788
+ extends: __vue_component__$17,
8788
8789
 
8789
8790
  props: {
8790
8791
  labels: {
@@ -8844,20 +8845,20 @@ var script$12 = {
8844
8845
  };
8845
8846
 
8846
8847
  /* script */
8847
- const __vue_script__$12 = script$12;
8848
+ const __vue_script__$13 = script$13;
8848
8849
 
8849
8850
  /* template */
8850
- 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)};
8851
- var __vue_staticRenderFns__$$ = [];
8851
+ 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)};
8852
+ var __vue_staticRenderFns__$10 = [];
8852
8853
 
8853
8854
  /* style */
8854
- const __vue_inject_styles__$13 = undefined;
8855
+ const __vue_inject_styles__$14 = undefined;
8855
8856
  /* scoped */
8856
- const __vue_scope_id__$13 = undefined;
8857
+ const __vue_scope_id__$14 = undefined;
8857
8858
  /* module identifier */
8858
- const __vue_module_identifier__$13 = undefined;
8859
+ const __vue_module_identifier__$14 = undefined;
8859
8860
  /* functional template */
8860
- const __vue_is_functional_template__$13 = false;
8861
+ const __vue_is_functional_template__$14 = false;
8861
8862
  /* style inject */
8862
8863
 
8863
8864
  /* style inject SSR */
@@ -8866,20 +8867,20 @@ var __vue_staticRenderFns__$$ = [];
8866
8867
 
8867
8868
 
8868
8869
 
8869
- const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
8870
- { render: __vue_render__$$, staticRenderFns: __vue_staticRenderFns__$$ },
8871
- __vue_inject_styles__$13,
8872
- __vue_script__$12,
8873
- __vue_scope_id__$13,
8874
- __vue_is_functional_template__$13,
8875
- __vue_module_identifier__$13,
8870
+ const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
8871
+ { render: __vue_render__$10, staticRenderFns: __vue_staticRenderFns__$10 },
8872
+ __vue_inject_styles__$14,
8873
+ __vue_script__$13,
8874
+ __vue_scope_id__$14,
8875
+ __vue_is_functional_template__$14,
8876
+ __vue_module_identifier__$14,
8876
8877
  false,
8877
8878
  undefined);
8878
8879
 
8879
8880
  var mark = {
8880
- Color: __vue_component__$15,
8881
- Item: __vue_component__$14,
8882
- Link: __vue_component__$13
8881
+ Color: __vue_component__$16,
8882
+ Item: __vue_component__$15,
8883
+ Link: __vue_component__$14
8883
8884
  };
8884
8885
 
8885
8886
  //
@@ -8904,7 +8905,7 @@ var mark = {
8904
8905
  //
8905
8906
  //
8906
8907
 
8907
- var script$11 = {
8908
+ var script$12 = {
8908
8909
  name: 'MentionList',
8909
8910
 
8910
8911
  props: {
@@ -8986,40 +8987,40 @@ var script$11 = {
8986
8987
  };
8987
8988
 
8988
8989
  /* script */
8989
- const __vue_script__$11 = script$11;
8990
+ const __vue_script__$12 = script$12;
8990
8991
 
8991
8992
  /* template */
8992
- 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:[
8993
+ 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:[
8993
8994
  'mention-option',
8994
8995
  { 'mention-option--highlighted': index === _vm.selectedIndex }
8995
8996
  ],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()};
8996
- var __vue_staticRenderFns__$_ = [];
8997
+ var __vue_staticRenderFns__$$ = [];
8997
8998
 
8998
8999
  /* style */
8999
- const __vue_inject_styles__$12 = function (inject) {
9000
+ const __vue_inject_styles__$13 = function (inject) {
9000
9001
  if (!inject) return
9001
- 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 });
9002
+ 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 });
9002
9003
 
9003
9004
  };
9004
9005
  /* scoped */
9005
- const __vue_scope_id__$12 = "data-v-74eaa7ca";
9006
+ const __vue_scope_id__$13 = "data-v-d2ebe8ce";
9006
9007
  /* module identifier */
9007
- const __vue_module_identifier__$12 = undefined;
9008
+ const __vue_module_identifier__$13 = undefined;
9008
9009
  /* functional template */
9009
- const __vue_is_functional_template__$12 = false;
9010
+ const __vue_is_functional_template__$13 = false;
9010
9011
  /* style inject SSR */
9011
9012
 
9012
9013
  /* style inject shadow dom */
9013
9014
 
9014
9015
 
9015
9016
 
9016
- const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
9017
- { render: __vue_render__$_, staticRenderFns: __vue_staticRenderFns__$_ },
9018
- __vue_inject_styles__$12,
9019
- __vue_script__$11,
9020
- __vue_scope_id__$12,
9021
- __vue_is_functional_template__$12,
9022
- __vue_module_identifier__$12,
9017
+ const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
9018
+ { render: __vue_render__$$, staticRenderFns: __vue_staticRenderFns__$$ },
9019
+ __vue_inject_styles__$13,
9020
+ __vue_script__$12,
9021
+ __vue_scope_id__$13,
9022
+ __vue_is_functional_template__$13,
9023
+ __vue_module_identifier__$13,
9023
9024
  false,
9024
9025
  createInjector);
9025
9026
 
@@ -9054,7 +9055,7 @@ var suggestion = {
9054
9055
  return {
9055
9056
  onStart: function onStart(props) {
9056
9057
  var _props$editor$view$do;
9057
- component = new vue2.VueRenderer(__vue_component__$12, {
9058
+ component = new vue2.VueRenderer(__vue_component__$13, {
9058
9059
  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,
9059
9060
  propsData: props
9060
9061
  });
@@ -9071,7 +9072,7 @@ var suggestion = {
9071
9072
  popup.style.minWidth = '200px';
9072
9073
  popup.style.pointerEvents = 'auto';
9073
9074
  document.body.appendChild(popup);
9074
- var handleSelection = function handleSelection(event, eventType) {
9075
+ var handleSelection = function handleSelection(event) {
9075
9076
  var options = popup.querySelectorAll('.mention-option');
9076
9077
  options.forEach(function (option, index) {
9077
9078
  if (option.contains(event.target) || option === event.target) {
@@ -9093,9 +9094,6 @@ var suggestion = {
9093
9094
  popup.addEventListener('mouseup', function (event) {
9094
9095
  return handleSelection(event);
9095
9096
  });
9096
-
9097
- // Track mousedown but don't prevent default to allow click events
9098
- popup.addEventListener('mousedown', function (event) {});
9099
9097
  popperInstance = core.createPopper(virtualElement, popup, {
9100
9098
  placement: 'bottom-start',
9101
9099
  modifiers: [{
@@ -9149,7 +9147,9 @@ var suggestion = {
9149
9147
 
9150
9148
 
9151
9149
  // Defines a set of formats that our document supports
9152
- var getFormats = function getFormats() {
9150
+ var getFormats = function getFormats(_ref) {
9151
+ var _ref$placeholder = _ref.placeholder,
9152
+ placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder;
9153
9153
  return [StarterKit, extensionTextStyle.TextStyleKit, extensionList.TaskList, extensionList.TaskItem.configure({
9154
9154
  nested: true
9155
9155
  }), TextAlign.configure({
@@ -9163,6 +9163,8 @@ var getFormats = function getFormats() {
9163
9163
  class: 'mention'
9164
9164
  },
9165
9165
  suggestion: suggestion
9166
+ }), extensionPlaceholder.Placeholder.configure({
9167
+ placeholder: placeholder
9166
9168
  })];
9167
9169
  };
9168
9170
 
@@ -9328,18 +9330,18 @@ var getToolbar = function getToolbar() {
9328
9330
  label: '__'
9329
9331
  }];
9330
9332
  };
9331
- var nodeTypes = getToolbar().filter(function (_ref) {
9332
- var node = _ref.node;
9333
+ var nodeTypes = getToolbar().filter(function (_ref2) {
9334
+ var node = _ref2.node;
9333
9335
  return node;
9334
- }).map(function (_ref2) {
9335
- var type = _ref2.type;
9336
+ }).map(function (_ref3) {
9337
+ var type = _ref3.type;
9336
9338
  return type;
9337
9339
  });
9338
9340
 
9339
9341
  /**
9340
9342
  * Defines common props, methods between different toolbar item types
9341
9343
  */
9342
- var script$10 = {
9344
+ var script$11 = {
9343
9345
  props: {
9344
9346
  editor: {
9345
9347
  type: Object,
@@ -9452,18 +9454,18 @@ var script$10 = {
9452
9454
  };
9453
9455
 
9454
9456
  /* script */
9455
- const __vue_script__$10 = script$10;
9457
+ const __vue_script__$11 = script$11;
9456
9458
 
9457
9459
  /* template */
9458
9460
 
9459
9461
  /* style */
9460
- const __vue_inject_styles__$11 = undefined;
9462
+ const __vue_inject_styles__$12 = undefined;
9461
9463
  /* scoped */
9462
- const __vue_scope_id__$11 = undefined;
9464
+ const __vue_scope_id__$12 = undefined;
9463
9465
  /* module identifier */
9464
- const __vue_module_identifier__$11 = undefined;
9466
+ const __vue_module_identifier__$12 = undefined;
9465
9467
  /* functional template */
9466
- const __vue_is_functional_template__$11 = undefined;
9468
+ const __vue_is_functional_template__$12 = undefined;
9467
9469
  /* style inject */
9468
9470
 
9469
9471
  /* style inject SSR */
@@ -9472,13 +9474,13 @@ const __vue_script__$10 = script$10;
9472
9474
 
9473
9475
 
9474
9476
 
9475
- const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
9477
+ const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
9476
9478
  {},
9477
- __vue_inject_styles__$11,
9478
- __vue_script__$10,
9479
- __vue_scope_id__$11,
9480
- __vue_is_functional_template__$11,
9481
- __vue_module_identifier__$11,
9479
+ __vue_inject_styles__$12,
9480
+ __vue_script__$11,
9481
+ __vue_scope_id__$12,
9482
+ __vue_is_functional_template__$12,
9483
+ __vue_module_identifier__$12,
9482
9484
  false,
9483
9485
  undefined);
9484
9486
 
@@ -9506,26 +9508,26 @@ const __vue_script__$10 = script$10;
9506
9508
  /**
9507
9509
  * Component is used to display node types; paragraph, headding, ...
9508
9510
  */
9509
- var script$$ = {
9511
+ var script$10 = {
9510
9512
  name: 'TNodeItem',
9511
- extends: __vue_component__$11,
9513
+ extends: __vue_component__$12,
9512
9514
  };
9513
9515
 
9514
9516
  /* script */
9515
- const __vue_script__$$ = script$$;
9517
+ const __vue_script__$10 = script$10;
9516
9518
 
9517
9519
  /* template */
9518
- 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)])};
9519
- var __vue_staticRenderFns__$Z = [];
9520
+ 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)])};
9521
+ var __vue_staticRenderFns__$_ = [];
9520
9522
 
9521
9523
  /* style */
9522
- const __vue_inject_styles__$10 = undefined;
9524
+ const __vue_inject_styles__$11 = undefined;
9523
9525
  /* scoped */
9524
- const __vue_scope_id__$10 = undefined;
9526
+ const __vue_scope_id__$11 = undefined;
9525
9527
  /* module identifier */
9526
- const __vue_module_identifier__$10 = undefined;
9528
+ const __vue_module_identifier__$11 = undefined;
9527
9529
  /* functional template */
9528
- const __vue_is_functional_template__$10 = false;
9530
+ const __vue_is_functional_template__$11 = false;
9529
9531
  /* style inject */
9530
9532
 
9531
9533
  /* style inject SSR */
@@ -9534,18 +9536,18 @@ var __vue_staticRenderFns__$Z = [];
9534
9536
 
9535
9537
 
9536
9538
 
9537
- const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
9538
- { render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
9539
- __vue_inject_styles__$10,
9540
- __vue_script__$$,
9541
- __vue_scope_id__$10,
9542
- __vue_is_functional_template__$10,
9543
- __vue_module_identifier__$10,
9539
+ const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
9540
+ { render: __vue_render__$_, staticRenderFns: __vue_staticRenderFns__$_ },
9541
+ __vue_inject_styles__$11,
9542
+ __vue_script__$10,
9543
+ __vue_scope_id__$11,
9544
+ __vue_is_functional_template__$11,
9545
+ __vue_module_identifier__$11,
9544
9546
  false,
9545
9547
  undefined);
9546
9548
 
9547
9549
  var node = {
9548
- Item: __vue_component__$10
9550
+ Item: __vue_component__$11
9549
9551
  };
9550
9552
 
9551
9553
  //
@@ -9590,10 +9592,10 @@ var node = {
9590
9592
  /**
9591
9593
  * Component is used to display node alignment formatting
9592
9594
  */
9593
- var script$_ = {
9595
+ var script$$ = {
9594
9596
  name: 'TNattrAlignment',
9595
9597
 
9596
- extends: __vue_component__$11,
9598
+ extends: __vue_component__$12,
9597
9599
 
9598
9600
  props: {
9599
9601
  isActive: {
@@ -9626,20 +9628,20 @@ var script$_ = {
9626
9628
  };
9627
9629
 
9628
9630
  /* script */
9629
- const __vue_script__$_ = script$_;
9631
+ const __vue_script__$$ = script$$;
9630
9632
 
9631
9633
  /* template */
9632
- 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)};
9633
- var __vue_staticRenderFns__$Y = [];
9634
+ 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)};
9635
+ var __vue_staticRenderFns__$Z = [];
9634
9636
 
9635
9637
  /* style */
9636
- const __vue_inject_styles__$$ = undefined;
9638
+ const __vue_inject_styles__$10 = undefined;
9637
9639
  /* scoped */
9638
- const __vue_scope_id__$$ = undefined;
9640
+ const __vue_scope_id__$10 = undefined;
9639
9641
  /* module identifier */
9640
- const __vue_module_identifier__$$ = undefined;
9642
+ const __vue_module_identifier__$10 = undefined;
9641
9643
  /* functional template */
9642
- const __vue_is_functional_template__$$ = false;
9644
+ const __vue_is_functional_template__$10 = false;
9643
9645
  /* style inject */
9644
9646
 
9645
9647
  /* style inject SSR */
@@ -9648,13 +9650,13 @@ var __vue_staticRenderFns__$Y = [];
9648
9650
 
9649
9651
 
9650
9652
 
9651
- const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
9652
- { render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
9653
- __vue_inject_styles__$$,
9654
- __vue_script__$_,
9655
- __vue_scope_id__$$,
9656
- __vue_is_functional_template__$$,
9657
- __vue_module_identifier__$$,
9653
+ const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
9654
+ { render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
9655
+ __vue_inject_styles__$10,
9656
+ __vue_script__$$,
9657
+ __vue_scope_id__$10,
9658
+ __vue_is_functional_template__$10,
9659
+ __vue_module_identifier__$10,
9658
9660
  false,
9659
9661
  undefined);
9660
9662
 
@@ -9692,9 +9694,9 @@ var __vue_staticRenderFns__$Y = [];
9692
9694
  /**
9693
9695
  * Component is used to display node alignment formatting
9694
9696
  */
9695
- var script$Z = {
9697
+ var script$_ = {
9696
9698
  name: 'TNattrTable',
9697
- extends: __vue_component__$11,
9699
+ extends: __vue_component__$12,
9698
9700
 
9699
9701
  props: {
9700
9702
  isActive: {
@@ -9752,20 +9754,20 @@ var script$Z = {
9752
9754
  };
9753
9755
 
9754
9756
  /* script */
9755
- const __vue_script__$Z = script$Z;
9757
+ const __vue_script__$_ = script$_;
9756
9758
 
9757
9759
  /* template */
9758
- 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)};
9759
- var __vue_staticRenderFns__$X = [];
9760
+ 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)};
9761
+ var __vue_staticRenderFns__$Y = [];
9760
9762
 
9761
9763
  /* style */
9762
- const __vue_inject_styles__$_ = undefined;
9764
+ const __vue_inject_styles__$$ = undefined;
9763
9765
  /* scoped */
9764
- const __vue_scope_id__$_ = undefined;
9766
+ const __vue_scope_id__$$ = undefined;
9765
9767
  /* module identifier */
9766
- const __vue_module_identifier__$_ = undefined;
9768
+ const __vue_module_identifier__$$ = undefined;
9767
9769
  /* functional template */
9768
- const __vue_is_functional_template__$_ = false;
9770
+ const __vue_is_functional_template__$$ = false;
9769
9771
  /* style inject */
9770
9772
 
9771
9773
  /* style inject SSR */
@@ -9774,19 +9776,19 @@ var __vue_staticRenderFns__$X = [];
9774
9776
 
9775
9777
 
9776
9778
 
9777
- const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
9778
- { render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
9779
- __vue_inject_styles__$_,
9780
- __vue_script__$Z,
9781
- __vue_scope_id__$_,
9782
- __vue_is_functional_template__$_,
9783
- __vue_module_identifier__$_,
9779
+ const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
9780
+ { render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
9781
+ __vue_inject_styles__$$,
9782
+ __vue_script__$_,
9783
+ __vue_scope_id__$$,
9784
+ __vue_is_functional_template__$$,
9785
+ __vue_module_identifier__$$,
9784
9786
  false,
9785
9787
  undefined);
9786
9788
 
9787
9789
  var nodeAttr = {
9788
- Alignment: __vue_component__$$,
9789
- Table: __vue_component__$_
9790
+ Alignment: __vue_component__$10,
9791
+ Table: __vue_component__$$
9790
9792
  };
9791
9793
 
9792
9794
  var cc = {
@@ -9824,7 +9826,7 @@ var cc = {
9824
9826
  //
9825
9827
 
9826
9828
 
9827
- var script$Y = {
9829
+ var script$Z = {
9828
9830
  inheritAttrs: true,
9829
9831
 
9830
9832
  props: {
@@ -9947,37 +9949,37 @@ var script$Y = {
9947
9949
  };
9948
9950
 
9949
9951
  /* script */
9950
- const __vue_script__$Y = script$Y;
9952
+ const __vue_script__$Z = script$Z;
9951
9953
 
9952
9954
  /* template */
9953
- 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)};
9954
- var __vue_staticRenderFns__$W = [];
9955
+ 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)};
9956
+ var __vue_staticRenderFns__$X = [];
9955
9957
 
9956
9958
  /* style */
9957
- const __vue_inject_styles__$Z = function (inject) {
9959
+ const __vue_inject_styles__$_ = function (inject) {
9958
9960
  if (!inject) return
9959
9961
  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 });
9960
9962
 
9961
9963
  };
9962
9964
  /* scoped */
9963
- const __vue_scope_id__$Z = undefined;
9965
+ const __vue_scope_id__$_ = undefined;
9964
9966
  /* module identifier */
9965
- const __vue_module_identifier__$Z = undefined;
9967
+ const __vue_module_identifier__$_ = undefined;
9966
9968
  /* functional template */
9967
- const __vue_is_functional_template__$Z = false;
9969
+ const __vue_is_functional_template__$_ = false;
9968
9970
  /* style inject SSR */
9969
9971
 
9970
9972
  /* style inject shadow dom */
9971
9973
 
9972
9974
 
9973
9975
 
9974
- const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
9975
- { render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
9976
- __vue_inject_styles__$Z,
9977
- __vue_script__$Y,
9978
- __vue_scope_id__$Z,
9979
- __vue_is_functional_template__$Z,
9980
- __vue_module_identifier__$Z,
9976
+ const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
9977
+ { render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
9978
+ __vue_inject_styles__$_,
9979
+ __vue_script__$Z,
9980
+ __vue_scope_id__$_,
9981
+ __vue_is_functional_template__$_,
9982
+ __vue_module_identifier__$_,
9981
9983
  false,
9982
9984
  createInjector);
9983
9985
 
@@ -10010,12 +10012,12 @@ var __vue_staticRenderFns__$W = [];
10010
10012
  //
10011
10013
 
10012
10014
 
10013
- var script$X = {
10015
+ var script$Y = {
10014
10016
  name: 'CRichTextInput',
10015
10017
 
10016
10018
  components: {
10017
10019
  EditorContent: vue2.EditorContent,
10018
- RToolbar: __vue_component__$Z,
10020
+ RToolbar: __vue_component__$_,
10019
10021
  },
10020
10022
 
10021
10023
  props: {
@@ -10044,12 +10046,18 @@ var script$X = {
10044
10046
  type: String,
10045
10047
  default: '',
10046
10048
  },
10049
+
10050
+ placeholder: {
10051
+ type: String,
10052
+ default: '',
10053
+ },
10047
10054
  },
10048
10055
 
10049
10056
  data () {
10050
- const formats = getFormats();
10051
10057
  return {
10052
- formats,
10058
+ formats: getFormats({
10059
+ placeholder: this.placeholder,
10060
+ }),
10053
10061
  toolbar: getToolbar(),
10054
10062
  // Helper to determine if current content differs from prop's content
10055
10063
  emittedContent: false,
@@ -10087,7 +10095,7 @@ var script$X = {
10087
10095
  init () {
10088
10096
  this.editor = new vue2.Editor({
10089
10097
  extensions: this.formats,
10090
- content: this.value || ' ',
10098
+ content: this.value || '',
10091
10099
  parseOptions: {
10092
10100
  preserveWhitespace: 'full',
10093
10101
  },
@@ -10104,9 +10112,6 @@ var script$X = {
10104
10112
  onUpdate () {
10105
10113
  this.currentValue = this.editor.getHTML();
10106
10114
 
10107
- // Makes sure to default to '' as the value if no text is present, for validation purposes
10108
- this.currentValue = this.currentValue !== '<p><br></p>' ? this.currentValue : '';
10109
-
10110
10115
  this.emittedContent = true;
10111
10116
  this.$emit('input', this.currentValue);
10112
10117
  },
@@ -10114,37 +10119,37 @@ var script$X = {
10114
10119
  };
10115
10120
 
10116
10121
  /* script */
10117
- const __vue_script__$X = script$X;
10122
+ const __vue_script__$Y = script$Y;
10118
10123
 
10119
10124
  /* template */
10120
- 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)};
10121
- var __vue_staticRenderFns__$V = [];
10125
+ 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)};
10126
+ var __vue_staticRenderFns__$W = [];
10122
10127
 
10123
10128
  /* style */
10124
- const __vue_inject_styles__$Y = function (inject) {
10129
+ const __vue_inject_styles__$Z = function (inject) {
10125
10130
  if (!inject) return
10126
- 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 });
10131
+ 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 });
10127
10132
 
10128
10133
  };
10129
10134
  /* scoped */
10130
- const __vue_scope_id__$Y = undefined;
10135
+ const __vue_scope_id__$Z = undefined;
10131
10136
  /* module identifier */
10132
- const __vue_module_identifier__$Y = undefined;
10137
+ const __vue_module_identifier__$Z = undefined;
10133
10138
  /* functional template */
10134
- const __vue_is_functional_template__$Y = false;
10139
+ const __vue_is_functional_template__$Z = false;
10135
10140
  /* style inject SSR */
10136
10141
 
10137
10142
  /* style inject shadow dom */
10138
10143
 
10139
10144
 
10140
10145
 
10141
- const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
10142
- { render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
10143
- __vue_inject_styles__$Y,
10144
- __vue_script__$X,
10145
- __vue_scope_id__$Y,
10146
- __vue_is_functional_template__$Y,
10147
- __vue_module_identifier__$Y,
10146
+ const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
10147
+ { render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
10148
+ __vue_inject_styles__$Z,
10149
+ __vue_script__$Y,
10150
+ __vue_scope_id__$Z,
10151
+ __vue_is_functional_template__$Z,
10152
+ __vue_module_identifier__$Z,
10148
10153
  false,
10149
10154
  createInjector);
10150
10155
 
@@ -10179,7 +10184,7 @@ var __vue_staticRenderFns__$V = [];
10179
10184
  //
10180
10185
  //
10181
10186
 
10182
- var script$W = {
10187
+ var script$X = {
10183
10188
  props: {
10184
10189
  value: {
10185
10190
  type: Boolean,
@@ -10218,20 +10223,20 @@ var script$W = {
10218
10223
  };
10219
10224
 
10220
10225
  /* script */
10221
- const __vue_script__$W = script$W;
10226
+ const __vue_script__$X = script$X;
10222
10227
 
10223
10228
  /* template */
10224
- 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)};
10225
- var __vue_staticRenderFns__$U = [];
10229
+ 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)};
10230
+ var __vue_staticRenderFns__$V = [];
10226
10231
 
10227
10232
  /* style */
10228
- const __vue_inject_styles__$X = undefined;
10233
+ const __vue_inject_styles__$Y = undefined;
10229
10234
  /* scoped */
10230
- const __vue_scope_id__$X = undefined;
10235
+ const __vue_scope_id__$Y = undefined;
10231
10236
  /* module identifier */
10232
- const __vue_module_identifier__$X = undefined;
10237
+ const __vue_module_identifier__$Y = undefined;
10233
10238
  /* functional template */
10234
- const __vue_is_functional_template__$X = false;
10239
+ const __vue_is_functional_template__$Y = false;
10235
10240
  /* style inject */
10236
10241
 
10237
10242
  /* style inject SSR */
@@ -10240,13 +10245,13 @@ var __vue_staticRenderFns__$U = [];
10240
10245
 
10241
10246
 
10242
10247
 
10243
- const __vue_component__$X = /*#__PURE__*/normalizeComponent(
10244
- { render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
10245
- __vue_inject_styles__$X,
10246
- __vue_script__$W,
10247
- __vue_scope_id__$X,
10248
- __vue_is_functional_template__$X,
10249
- __vue_module_identifier__$X,
10248
+ const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
10249
+ { render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
10250
+ __vue_inject_styles__$Y,
10251
+ __vue_script__$X,
10252
+ __vue_scope_id__$Y,
10253
+ __vue_is_functional_template__$Y,
10254
+ __vue_module_identifier__$Y,
10250
10255
  false,
10251
10256
  undefined);
10252
10257
 
@@ -10284,7 +10289,7 @@ var __vue_staticRenderFns__$U = [];
10284
10289
 
10285
10290
  fontawesomeSvgCore.library.add(freeSolidSvgIcons.faExpandAlt);
10286
10291
 
10287
- var script$V = {
10292
+ var script$W = {
10288
10293
  components: {
10289
10294
  AceEditor,
10290
10295
  },
@@ -10547,38 +10552,38 @@ var script$V = {
10547
10552
  };
10548
10553
 
10549
10554
  /* script */
10550
- const __vue_script__$V = script$V;
10555
+ const __vue_script__$W = script$W;
10551
10556
 
10552
10557
  /* template */
10553
- 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)};
10554
- var __vue_staticRenderFns__$T = [];
10558
+ 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)};
10559
+ var __vue_staticRenderFns__$U = [];
10555
10560
 
10556
10561
  /* style */
10557
- const __vue_inject_styles__$W = function (inject) {
10562
+ const __vue_inject_styles__$X = function (inject) {
10558
10563
  if (!inject) return
10559
10564
  inject("data-v-0a4a06ee_0", { source: ".popout[data-v-0a4a06ee]{z-index:7;bottom:0;right:0}", map: undefined, media: undefined })
10560
10565
  ,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 });
10561
10566
 
10562
10567
  };
10563
10568
  /* scoped */
10564
- const __vue_scope_id__$W = "data-v-0a4a06ee";
10569
+ const __vue_scope_id__$X = "data-v-0a4a06ee";
10565
10570
  /* module identifier */
10566
- const __vue_module_identifier__$W = undefined;
10571
+ const __vue_module_identifier__$X = undefined;
10567
10572
  /* functional template */
10568
- const __vue_is_functional_template__$W = false;
10573
+ const __vue_is_functional_template__$X = false;
10569
10574
  /* style inject SSR */
10570
10575
 
10571
- /* style inject shadow dom */
10572
-
10573
-
10574
-
10575
- const __vue_component__$W = /*#__PURE__*/normalizeComponent(
10576
- { render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
10577
- __vue_inject_styles__$W,
10578
- __vue_script__$V,
10579
- __vue_scope_id__$W,
10580
- __vue_is_functional_template__$W,
10581
- __vue_module_identifier__$W,
10576
+ /* style inject shadow dom */
10577
+
10578
+
10579
+
10580
+ const __vue_component__$X = /*#__PURE__*/normalizeComponent(
10581
+ { render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
10582
+ __vue_inject_styles__$X,
10583
+ __vue_script__$W,
10584
+ __vue_scope_id__$X,
10585
+ __vue_is_functional_template__$X,
10586
+ __vue_module_identifier__$X,
10582
10587
  false,
10583
10588
  createInjector);
10584
10589
 
@@ -10599,9 +10604,9 @@ var __vue_staticRenderFns__$T = [];
10599
10604
  //
10600
10605
 
10601
10606
 
10602
- var script$U = {
10607
+ var script$V = {
10603
10608
  components: {
10604
- CAceEditor: __vue_component__$W,
10609
+ CAceEditor: __vue_component__$X,
10605
10610
  },
10606
10611
 
10607
10612
  props: {
@@ -10745,20 +10750,20 @@ var script$U = {
10745
10750
  };
10746
10751
 
10747
10752
  /* script */
10748
- const __vue_script__$U = script$U;
10753
+ const __vue_script__$V = script$V;
10749
10754
 
10750
10755
  /* template */
10751
- 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)};
10752
- var __vue_staticRenderFns__$S = [];
10756
+ 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)};
10757
+ var __vue_staticRenderFns__$T = [];
10753
10758
 
10754
10759
  /* style */
10755
- const __vue_inject_styles__$V = undefined;
10760
+ const __vue_inject_styles__$W = undefined;
10756
10761
  /* scoped */
10757
- const __vue_scope_id__$V = undefined;
10762
+ const __vue_scope_id__$W = undefined;
10758
10763
  /* module identifier */
10759
- const __vue_module_identifier__$V = undefined;
10764
+ const __vue_module_identifier__$W = undefined;
10760
10765
  /* functional template */
10761
- const __vue_is_functional_template__$V = false;
10766
+ const __vue_is_functional_template__$W = false;
10762
10767
  /* style inject */
10763
10768
 
10764
10769
  /* style inject SSR */
@@ -10767,13 +10772,13 @@ var __vue_staticRenderFns__$S = [];
10767
10772
 
10768
10773
 
10769
10774
 
10770
- const __vue_component__$V = /*#__PURE__*/normalizeComponent(
10771
- { render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
10772
- __vue_inject_styles__$V,
10773
- __vue_script__$U,
10774
- __vue_scope_id__$V,
10775
- __vue_is_functional_template__$V,
10776
- __vue_module_identifier__$V,
10775
+ const __vue_component__$W = /*#__PURE__*/normalizeComponent(
10776
+ { render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
10777
+ __vue_inject_styles__$W,
10778
+ __vue_script__$V,
10779
+ __vue_scope_id__$W,
10780
+ __vue_is_functional_template__$W,
10781
+ __vue_module_identifier__$W,
10777
10782
  false,
10778
10783
  undefined);
10779
10784
 
@@ -10812,7 +10817,7 @@ var __vue_staticRenderFns__$S = [];
10812
10817
  //
10813
10818
  //
10814
10819
 
10815
- var script$T = {
10820
+ var script$U = {
10816
10821
  name: 'CButtonSubmit',
10817
10822
 
10818
10823
  props: {
@@ -10865,20 +10870,20 @@ var script$T = {
10865
10870
  };
10866
10871
 
10867
10872
  /* script */
10868
- const __vue_script__$T = script$T;
10873
+ const __vue_script__$U = script$U;
10869
10874
 
10870
10875
  /* template */
10871
- 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)};
10872
- var __vue_staticRenderFns__$R = [];
10876
+ 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)};
10877
+ var __vue_staticRenderFns__$S = [];
10873
10878
 
10874
10879
  /* style */
10875
- const __vue_inject_styles__$U = undefined;
10880
+ const __vue_inject_styles__$V = undefined;
10876
10881
  /* scoped */
10877
- const __vue_scope_id__$U = undefined;
10882
+ const __vue_scope_id__$V = undefined;
10878
10883
  /* module identifier */
10879
- const __vue_module_identifier__$U = undefined;
10884
+ const __vue_module_identifier__$V = undefined;
10880
10885
  /* functional template */
10881
- const __vue_is_functional_template__$U = false;
10886
+ const __vue_is_functional_template__$V = false;
10882
10887
  /* style inject */
10883
10888
 
10884
10889
  /* style inject SSR */
@@ -10887,13 +10892,13 @@ var __vue_staticRenderFns__$R = [];
10887
10892
 
10888
10893
 
10889
10894
 
10890
- const __vue_component__$U = /*#__PURE__*/normalizeComponent(
10891
- { render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
10892
- __vue_inject_styles__$U,
10893
- __vue_script__$T,
10894
- __vue_scope_id__$U,
10895
- __vue_is_functional_template__$U,
10896
- __vue_module_identifier__$U,
10895
+ const __vue_component__$V = /*#__PURE__*/normalizeComponent(
10896
+ { render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
10897
+ __vue_inject_styles__$V,
10898
+ __vue_script__$U,
10899
+ __vue_scope_id__$V,
10900
+ __vue_is_functional_template__$V,
10901
+ __vue_module_identifier__$V,
10897
10902
  false,
10898
10903
  undefined);
10899
10904
 
@@ -10917,7 +10922,7 @@ var __vue_staticRenderFns__$R = [];
10917
10922
  //
10918
10923
 
10919
10924
 
10920
- var script$S = {
10925
+ var script$T = {
10921
10926
  props: {
10922
10927
  value: {
10923
10928
  type: [Array, String, Object],
@@ -11002,9 +11007,9 @@ var script$S = {
11002
11007
  }, 400),
11003
11008
 
11004
11009
  updateValue (role) {
11005
- // reset picker value for better value presentation
11006
- if (this.$refs.picker && this.clearOnSelect) {
11007
- this.$refs.picker._data._value = undefined;
11010
+ // reset role-select value for better value presentation
11011
+ if (this.clearOnSelect && this.$refs.roleSelect) {
11012
+ this.$refs.roleSelect._data._value = undefined;
11008
11013
  }
11009
11014
 
11010
11015
  this.$emit('input', role);
@@ -11017,20 +11022,20 @@ var script$S = {
11017
11022
  };
11018
11023
 
11019
11024
  /* script */
11020
- const __vue_script__$S = script$S;
11025
+ const __vue_script__$T = script$T;
11021
11026
 
11022
11027
  /* template */
11023
- 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}})};
11024
- var __vue_staticRenderFns__$Q = [];
11028
+ 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}})};
11029
+ var __vue_staticRenderFns__$R = [];
11025
11030
 
11026
11031
  /* style */
11027
- const __vue_inject_styles__$T = undefined;
11032
+ const __vue_inject_styles__$U = undefined;
11028
11033
  /* scoped */
11029
- const __vue_scope_id__$T = undefined;
11034
+ const __vue_scope_id__$U = undefined;
11030
11035
  /* module identifier */
11031
- const __vue_module_identifier__$T = undefined;
11036
+ const __vue_module_identifier__$U = undefined;
11032
11037
  /* functional template */
11033
- const __vue_is_functional_template__$T = false;
11038
+ const __vue_is_functional_template__$U = false;
11034
11039
  /* style inject */
11035
11040
 
11036
11041
  /* style inject SSR */
@@ -11039,13 +11044,13 @@ var __vue_staticRenderFns__$Q = [];
11039
11044
 
11040
11045
 
11041
11046
 
11042
- const __vue_component__$T = /*#__PURE__*/normalizeComponent(
11043
- { render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
11044
- __vue_inject_styles__$T,
11045
- __vue_script__$S,
11046
- __vue_scope_id__$T,
11047
- __vue_is_functional_template__$T,
11048
- __vue_module_identifier__$T,
11047
+ const __vue_component__$U = /*#__PURE__*/normalizeComponent(
11048
+ { render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
11049
+ __vue_inject_styles__$U,
11050
+ __vue_script__$T,
11051
+ __vue_scope_id__$U,
11052
+ __vue_is_functional_template__$U,
11053
+ __vue_module_identifier__$U,
11049
11054
  false,
11050
11055
  undefined);
11051
11056
 
@@ -11065,9 +11070,10 @@ var __vue_staticRenderFns__$Q = [];
11065
11070
  //
11066
11071
  //
11067
11072
  //
11073
+ //
11068
11074
 
11069
11075
 
11070
- var script$R = {
11076
+ var script$S = {
11071
11077
  name: 'CInputUser',
11072
11078
 
11073
11079
  props: {
@@ -11080,6 +11086,11 @@ var script$R = {
11080
11086
  type: String,
11081
11087
  default: '',
11082
11088
  },
11089
+
11090
+ clearOnSelect: {
11091
+ type: Boolean,
11092
+ default: false,
11093
+ },
11083
11094
  },
11084
11095
 
11085
11096
  data () {
@@ -11144,8 +11155,13 @@ var script$R = {
11144
11155
  }
11145
11156
  },
11146
11157
 
11147
- onUserUpdate ({ userID }) {
11148
- this.$emit('input', userID);
11158
+ onUserUpdate (user) {
11159
+ if (this.clearOnSelect && this.$refs.userSelect) {
11160
+ this.$refs.userSelect._data._value = undefined;
11161
+ }
11162
+
11163
+ this.$emit('input', user.userID);
11164
+ this.$emit('input-object', user);
11149
11165
  },
11150
11166
 
11151
11167
  getOptionKey ({ userID }) {
@@ -11158,11 +11174,162 @@ var script$R = {
11158
11174
  },
11159
11175
  };
11160
11176
 
11177
+ /* script */
11178
+ const __vue_script__$S = script$S;
11179
+
11180
+ /* template */
11181
+ 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))};
11182
+ var __vue_staticRenderFns__$Q = [];
11183
+
11184
+ /* style */
11185
+ const __vue_inject_styles__$T = undefined;
11186
+ /* scoped */
11187
+ const __vue_scope_id__$T = undefined;
11188
+ /* module identifier */
11189
+ const __vue_module_identifier__$T = undefined;
11190
+ /* functional template */
11191
+ const __vue_is_functional_template__$T = false;
11192
+ /* style inject */
11193
+
11194
+ /* style inject SSR */
11195
+
11196
+ /* style inject shadow dom */
11197
+
11198
+
11199
+
11200
+ const __vue_component__$T = /*#__PURE__*/normalizeComponent(
11201
+ { render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
11202
+ __vue_inject_styles__$T,
11203
+ __vue_script__$S,
11204
+ __vue_scope_id__$T,
11205
+ __vue_is_functional_template__$T,
11206
+ __vue_module_identifier__$T,
11207
+ false,
11208
+ undefined);
11209
+
11210
+ //
11211
+ //
11212
+ //
11213
+ //
11214
+ //
11215
+ //
11216
+ //
11217
+ //
11218
+ //
11219
+ //
11220
+ //
11221
+ //
11222
+ //
11223
+ //
11224
+ //
11225
+ //
11226
+
11227
+
11228
+ var script$R = {
11229
+ name: 'CInputUserGroup',
11230
+
11231
+ props: {
11232
+ value: {
11233
+ type: String,
11234
+ default: null,
11235
+ },
11236
+
11237
+ placeholder: {
11238
+ type: String,
11239
+ default: '',
11240
+ },
11241
+ },
11242
+
11243
+ data () {
11244
+ return {
11245
+ processing: false,
11246
+
11247
+ userGroup: {
11248
+ options: [],
11249
+ value: undefined,
11250
+
11251
+ filter: {
11252
+ query: null,
11253
+ limit: 20,
11254
+ },
11255
+ },
11256
+ }
11257
+ },
11258
+
11259
+ created () {
11260
+ this.fetchUserGroups().then(() => {
11261
+ this.getUserGroupByID(this.value);
11262
+ });
11263
+ },
11264
+
11265
+ methods: {
11266
+ search: _.debounce(function (query) {
11267
+ if (query !== this.userGroup.filter.query) {
11268
+ this.userGroup.filter.query = query;
11269
+ this.userGroup.filter.page = 1;
11270
+ }
11271
+
11272
+ this.fetchUserGroups();
11273
+ }, 300),
11274
+
11275
+ fetchUserGroups() {
11276
+ this.processing = true;
11277
+
11278
+ return this.$SystemAPI
11279
+ .userGroupList(this.userGroup.filter)
11280
+ .then(({ set }) => {
11281
+ this.userGroup.options = set.map((m) => Object.freeze(m));
11282
+ })
11283
+ .finally(() => {
11284
+ setTimeout(() => {
11285
+ this.processing = false;
11286
+ }, 500);
11287
+ })
11288
+ },
11289
+
11290
+ getUserGroupByID (userGroupID) {
11291
+ if (!userGroupID || userGroupID === cortezaJs.NoID) {
11292
+ this.userGroup.value = this.userGroup.options.find(
11293
+ ({ selfID }) => selfID === cortezaJs.NoID,
11294
+ );
11295
+
11296
+ this.$emit('input', this.userGroup.value?.userGroupID);
11297
+ return
11298
+ }
11299
+
11300
+ const userGroup = this.userGroup.options.find(o => o.userGroupID === userGroupID);
11301
+
11302
+ if (userGroup) {
11303
+ this.userGroup.value = userGroup;
11304
+ } else {
11305
+ return this.$SystemAPI.userGroupRead({ userGroupID }).then((userGroup) => {
11306
+ this.userGroup.options.push(Object.freeze(userGroup));
11307
+ this.userGroup.value = this.userGroup.options.find(
11308
+ ({ selfID }) => selfID === cortezaJs.NoID,
11309
+ );
11310
+ })
11311
+ }
11312
+ },
11313
+
11314
+ onUserGroupUpdate ({ userGroupID }) {
11315
+ this.$emit('input', userGroupID);
11316
+ },
11317
+
11318
+ getOptionKey ({ userGroupID }) {
11319
+ return userGroupID
11320
+ },
11321
+
11322
+ getOptionLabel ({ handle, meta = {}, userGroupID }) {
11323
+ return meta.short || handle || userGroupID
11324
+ },
11325
+ },
11326
+ };
11327
+
11161
11328
  /* script */
11162
11329
  const __vue_script__$R = script$R;
11163
11330
 
11164
11331
  /* template */
11165
- 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))};
11332
+ 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))};
11166
11333
  var __vue_staticRenderFns__$P = [];
11167
11334
 
11168
11335
  /* style */
@@ -11569,8 +11736,8 @@ var script$M = {
11569
11736
 
11570
11737
  components: {
11571
11738
  Rules: __vue_component__$O,
11572
- CInputSelect: __vue_component__$1b,
11573
- CInputRole: __vue_component__$T,
11739
+ CInputSelect: __vue_component__$1c,
11740
+ CInputRole: __vue_component__$U,
11574
11741
  },
11575
11742
 
11576
11743
  props: {
@@ -11991,6 +12158,10 @@ var script$L = {
11991
12158
  message () {
11992
12159
  return this.pVal('message', '')
11993
12160
  },
12161
+
12162
+ label () {
12163
+ return this.pVal('label', '')
12164
+ },
11994
12165
  },
11995
12166
 
11996
12167
  methods: {
@@ -12200,7 +12371,7 @@ var script$H = {
12200
12371
  name: 'CPromptComposeRecordPicker',
12201
12372
 
12202
12373
  components: {
12203
- CInputSelect: __vue_component__$1b,
12374
+ CInputSelect: __vue_component__$1c,
12204
12375
  CPagination: __vue_component__$J,
12205
12376
  },
12206
12377
 
@@ -12243,6 +12414,10 @@ var script$H = {
12243
12414
  hasNextPage () {
12244
12415
  return !!this.filter.nextPage
12245
12416
  },
12417
+
12418
+ placeholder () {
12419
+ return this.pVal('placeholder', 'Select a record')
12420
+ },
12246
12421
  },
12247
12422
 
12248
12423
  watch: {
@@ -12310,7 +12485,7 @@ var script$H = {
12310
12485
  return { '@type': 'Any', '@value': null }
12311
12486
  }
12312
12487
 
12313
- const record = this.options.find(({ recordID }) => recordID === this.value);
12488
+ const { record = {} } = this.options.find(({ recordID }) => recordID === this.value) || {};
12314
12489
 
12315
12490
  return { '@type': 'ComposeRecord', '@value': record }
12316
12491
  },
@@ -12419,7 +12594,7 @@ var script$H = {
12419
12594
  const __vue_script__$H = script$H;
12420
12595
 
12421
12596
  /* template */
12422
- 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)};
12597
+ 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)};
12423
12598
  var __vue_staticRenderFns__$G = [];
12424
12599
 
12425
12600
  /* style */
@@ -12463,7 +12638,7 @@ var script$G = {
12463
12638
  name: 'CPromptInput',
12464
12639
 
12465
12640
  components: {
12466
- CInputDateTime: __vue_component__$1c,
12641
+ CInputDateTime: __vue_component__$1d,
12467
12642
  },
12468
12643
 
12469
12644
  extends: __vue_component__$M,
@@ -12483,10 +12658,6 @@ var script$G = {
12483
12658
 
12484
12659
  return t
12485
12660
  },
12486
-
12487
- label () {
12488
- return this.pVal('label', '')
12489
- },
12490
12661
  },
12491
12662
 
12492
12663
  beforeMount () {
@@ -12586,7 +12757,7 @@ var script$E = {
12586
12757
  name: 'CPromptOptions',
12587
12758
 
12588
12759
  components: {
12589
- CInputSelect: __vue_component__$1b,
12760
+ CInputSelect: __vue_component__$1c,
12590
12761
  },
12591
12762
 
12592
12763
  extends: __vue_component__$M,
@@ -12621,6 +12792,10 @@ var script$E = {
12621
12792
  multiple () {
12622
12793
  return this.pVal('multiselect', false)
12623
12794
  },
12795
+
12796
+ placeholder () {
12797
+ return this.pVal('placeholder', 'Select an option')
12798
+ },
12624
12799
  },
12625
12800
 
12626
12801
  beforeMount () {
@@ -12655,7 +12830,7 @@ var script$E = {
12655
12830
  const __vue_script__$E = script$E;
12656
12831
 
12657
12832
  /* template */
12658
- 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)};
12833
+ 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)};
12659
12834
  var __vue_staticRenderFns__$D = [];
12660
12835
 
12661
12836
  /* style */
@@ -13233,6 +13408,7 @@ var __vue_staticRenderFns__$B = [];
13233
13408
  //
13234
13409
  //
13235
13410
  //
13411
+ //
13236
13412
 
13237
13413
 
13238
13414
  /**
@@ -15159,7 +15335,7 @@ var script$n = {
15159
15335
  components: {
15160
15336
  draggable: Draggable,
15161
15337
  CItemPickerItem: __vue_component__$p,
15162
- CInputSearch: __vue_component__$18,
15338
+ CInputSearch: __vue_component__$19,
15163
15339
  },
15164
15340
 
15165
15341
  props: {
@@ -16455,7 +16631,7 @@ var __vue_staticRenderFns__$i = [];
16455
16631
 
16456
16632
  var script$g = {
16457
16633
  components: {
16458
- CInputSelect: __vue_component__$1b,
16634
+ CInputSelect: __vue_component__$1c,
16459
16635
  },
16460
16636
 
16461
16637
  props: {
@@ -16816,7 +16992,7 @@ var script$f = {
16816
16992
  name: 'ResourceList',
16817
16993
 
16818
16994
  components: {
16819
- CInputSearch: __vue_component__$18,
16995
+ CInputSearch: __vue_component__$19,
16820
16996
  },
16821
16997
 
16822
16998
  props: {
@@ -17497,12 +17673,29 @@ n(css$3,{});
17497
17673
  //
17498
17674
  //
17499
17675
  //
17676
+ //
17677
+ //
17678
+ //
17679
+ //
17680
+ //
17681
+ //
17682
+ //
17683
+ //
17684
+ //
17685
+ //
17686
+ //
17687
+ //
17688
+ //
17689
+ //
17690
+ //
17691
+ //
17692
+ //
17500
17693
 
17501
17694
 
17502
17695
  var script$c = {
17503
17696
  components: {
17504
17697
  LControl: vue2Leaflet.LControl,
17505
- CInputSearch: __vue_component__$18,
17698
+ CInputSearch: __vue_component__$19,
17506
17699
  LPolygon: vue2Leaflet.LPolygon,
17507
17700
  LTileLayer: vue2Leaflet.LTileLayer,
17508
17701
  LMarker: vue2Leaflet.LMarker,
@@ -17553,6 +17746,7 @@ var script$c = {
17553
17746
  query: '',
17554
17747
  provider: new leafletGeosearch.OpenStreetMapProvider(),
17555
17748
  results: [],
17749
+ marker: null,
17556
17750
  },
17557
17751
  }
17558
17752
  },
@@ -17595,6 +17789,7 @@ var script$c = {
17595
17789
  onGeoSearch (query) {
17596
17790
  if (!query) {
17597
17791
  this.geoSearch.results = [];
17792
+ this.geoSearch.marker = null;
17598
17793
  return
17599
17794
  }
17600
17795
 
@@ -17614,6 +17809,7 @@ var script$c = {
17614
17809
  placeGeoSearchMarker (result) {
17615
17810
  const zoom = this.$refs.map.mapObject._zoom >= 15 ? this.$refs.map.mapObject._zoom : 15;
17616
17811
  this.$refs.map.mapObject.flyTo([result.latlng.lat, result.latlng.lng], zoom, { animate: false });
17812
+ this.geoSearch.marker = { title: result.label, latlng: result.latlng };
17617
17813
  this.geoSearch.results = [];
17618
17814
  this.onMapClick(result);
17619
17815
  },
@@ -17627,7 +17823,7 @@ var script$c = {
17627
17823
  },
17628
17824
 
17629
17825
  onLocationFound ({ latitude, longitude }) {
17630
- const zoom = this.$refs.map.mapObject._zoom >= 13 ? this.$refs.map.mapObject._zoom : 13;
17826
+ const zoom = this.$refs.map.mapObject._zoom >= 15 ? this.$refs.map.mapObject._zoom : 15;
17631
17827
  this.$refs.map.mapObject.flyTo([latitude, longitude], zoom);
17632
17828
  this.$emit('location-found', { latlng: { lat: latitude, lng: longitude } });
17633
17829
  },
@@ -17652,7 +17848,11 @@ var script$c = {
17652
17848
  this.$emit('on-map-click', e);
17653
17849
  },
17654
17850
 
17655
- getIcon (markerColor = '#4883C5') {
17851
+ getCSSVariable (variable) {
17852
+ return getComputedStyle(document.documentElement).getPropertyValue(variable)
17853
+ },
17854
+
17855
+ getIcon (markerColor = this.getCSSVariable('--primary')) {
17656
17856
  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;">
17657
17857
  <g transform="translate(-814.59595,-274.38623)">
17658
17858
  <g transform="matrix(1.1855854,0,0,1.1855854,-151.17715,-57.3976)">
@@ -17694,21 +17894,24 @@ var script$c = {
17694
17894
  const __vue_script__$c = script$c;
17695
17895
 
17696
17896
  /* template */
17697
- 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":{
17897
+ 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":{
17898
+ offset: [-1, 5],
17899
+ direction: 'bottom',
17900
+ }}},[_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":{
17698
17901
  offset: [-1, 5],
17699
17902
  direction: 'bottom',
17700
- }}},[_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)};
17903
+ }}},[_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)};
17701
17904
  var __vue_staticRenderFns__$c = [];
17702
17905
 
17703
17906
  /* style */
17704
17907
  const __vue_inject_styles__$c = function (inject) {
17705
17908
  if (!inject) return
17706
- 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 })
17707
- ,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 });
17909
+ 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 })
17910
+ ,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 });
17708
17911
 
17709
17912
  };
17710
17913
  /* scoped */
17711
- const __vue_scope_id__$c = "data-v-79fb7c90";
17914
+ const __vue_scope_id__$c = "data-v-d1dfb006";
17712
17915
  /* module identifier */
17713
17916
  const __vue_module_identifier__$c = undefined;
17714
17917
  /* functional template */
@@ -18289,7 +18492,7 @@ var script$8 = {
18289
18492
  },
18290
18493
 
18291
18494
  components: {
18292
- CInputConfirm: __vue_component__$1e,
18495
+ CInputConfirm: __vue_component__$1f,
18293
18496
  },
18294
18497
 
18295
18498
  props: {
@@ -19330,35 +19533,36 @@ var index$6 = {
19330
19533
  var index$5 = /*#__PURE__*/Object.freeze({
19331
19534
  __proto__: null,
19332
19535
  C3: index$6,
19333
- CAceEditor: __vue_component__$W,
19334
- CButtonSubmit: __vue_component__$U,
19536
+ CAceEditor: __vue_component__$X,
19537
+ CButtonSubmit: __vue_component__$V,
19335
19538
  CChart: __vue_component__$m,
19336
- CCorredorManualButtons: __vue_component__$1n,
19337
- CExtendSession: __vue_component__$1o,
19338
- CFormTableWrapper: __vue_component__$1a,
19539
+ CCorredorManualButtons: __vue_component__$1o,
19540
+ CExtendSession: __vue_component__$1p,
19541
+ CFormTableWrapper: __vue_component__$1b,
19339
19542
  CHint: __vue_component__$d,
19340
- CInputCheckbox: __vue_component__$X,
19341
- CInputColorPicker: __vue_component__$17,
19342
- CInputConfirm: __vue_component__$1e,
19343
- CInputDateTime: __vue_component__$1c,
19344
- CInputExpression: __vue_component__$V,
19345
- CInputPresort: __vue_component__$19,
19346
- CInputProcessing: __vue_component__$1d,
19347
- CInputRole: __vue_component__$T,
19348
- CInputSearch: __vue_component__$18,
19349
- CInputSelect: __vue_component__$1b,
19350
- CInputUser: __vue_component__$S,
19543
+ CInputCheckbox: __vue_component__$Y,
19544
+ CInputColorPicker: __vue_component__$18,
19545
+ CInputConfirm: __vue_component__$1f,
19546
+ CInputDateTime: __vue_component__$1d,
19547
+ CInputExpression: __vue_component__$W,
19548
+ CInputPresort: __vue_component__$1a,
19549
+ CInputProcessing: __vue_component__$1e,
19550
+ CInputRole: __vue_component__$U,
19551
+ CInputSearch: __vue_component__$19,
19552
+ CInputSelect: __vue_component__$1c,
19553
+ CInputUser: __vue_component__$T,
19554
+ CInputUserGroup: __vue_component__$S,
19351
19555
  CItemPicker: __vue_component__$o,
19352
19556
  CItemPickerItem: __vue_component__$p,
19353
- CLightbox: __vue_component__$1i,
19557
+ CLightbox: __vue_component__$1j,
19354
19558
  CLoaderLogo: __vue_component__$B,
19355
19559
  CMap: __vue_component__$c,
19356
19560
  CNotificationButton: __vue_component__$A,
19357
19561
  CNotificationSidebar: __vue_component__$6,
19358
19562
  CPermissionsButton: __vue_component__$R,
19359
19563
  CPermissionsModal: __vue_component__$N,
19360
- CPreviewInline: __vue_component__$1f,
19361
- CPreviewLightbox: __vue_component__$1g,
19564
+ CPreviewInline: __vue_component__$1g,
19565
+ CPreviewLightbox: __vue_component__$1h,
19362
19566
  CProgress: __vue_component__$f,
19363
19567
  CPromptModal: __vue_component__$D,
19364
19568
  CPromptToast: __vue_component__$E,
@@ -19369,7 +19573,7 @@ var index$5 = /*#__PURE__*/Object.freeze({
19369
19573
  CReportTable: __vue_component__$j,
19370
19574
  CReportText: __vue_component__$i,
19371
19575
  CResourceList: __vue_component__$g,
19372
- CRichTextInput: __vue_component__$Y,
19576
+ CRichTextInput: __vue_component__$Z,
19373
19577
  CSensitivityLevelPicker: __vue_component__$h,
19374
19578
  CSidebar: __vue_component__$y,
19375
19579
  CSidebarNavItems: __vue_component__$x,