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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -5111,44 +5111,45 @@ function intervalToMS(from, to) {
5111
5111
  return to - from;
5112
5112
  }
5113
5113
  var ReminderService = /*#__PURE__*/function () {
5114
- function ReminderService() {
5115
- var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
5114
+ function ReminderService(Vue) {
5115
+ var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
5116
5116
  api = _ref.api,
5117
5117
  _ref$fetchOffset = _ref.fetchOffset,
5118
5118
  fetchOffset = _ref$fetchOffset === void 0 ? 1000 * 60 * 5 : _ref$fetchOffset,
5119
5119
  _ref$resource = _ref.resource,
5120
- resource = _ref$resource === void 0 ? null : _ref$resource,
5121
- emitter = _ref.emitter;
5120
+ resource = _ref$resource === void 0 ? null : _ref$resource;
5122
5121
  _classCallCheck$1(this, ReminderService);
5123
5122
  if (!api) {
5124
5123
  throw new Error('reminderService.invalidParams');
5125
5124
  }
5126
- this.emitter = emitter;
5125
+ this.vue = Vue;
5127
5126
  this.api = api;
5128
5127
  this.fetchOffset = fetchOffset;
5129
5128
  this.resource = resource;
5129
+ this.rootInstance = null;
5130
5130
  this.set = [];
5131
5131
  this.nextRemindAt = null;
5132
5132
  this.tHandle = null;
5133
5133
  }
5134
5134
  return _createClass(ReminderService, [{
5135
5135
  key: "init",
5136
- value: function init(emitter, _ref2) {
5136
+ value: function init(_ref2) {
5137
5137
  var _this = this;
5138
5138
  var _ref2$filter = _ref2.filter,
5139
5139
  filter = _ref2$filter === void 0 ? {} : _ref2$filter;
5140
- if (emitter) {
5141
- this.emitter = emitter;
5142
- }
5143
5140
  this.filter = _objectSpread2({
5144
5141
  scheduledOnly: true,
5145
5142
  excludeDismissed: true
5146
5143
  }, filter);
5147
5144
  this.prefetch().then(function (rr) {
5148
- _this.enqueue.apply(_this, _toConsumableArray(rr));
5149
- _this.emitter.$emit('reminders.pull');
5145
+ _this.enqueue(rr);
5150
5146
  });
5151
5147
  }
5148
+ }, {
5149
+ key: "setRootInstance",
5150
+ value: function setRootInstance(rootInstance) {
5151
+ this.rootInstance = rootInstance;
5152
+ }
5152
5153
 
5153
5154
  /**
5154
5155
  * Fetches all reminders that are supposed to go off to date (time)
@@ -5165,7 +5166,7 @@ var ReminderService = /*#__PURE__*/function () {
5165
5166
  return _context.abrupt("return", this.api.reminderList(_objectSpread2({
5166
5167
  limit: 0,
5167
5168
  resource: this.resource,
5168
- toTime: moment().add(this.fetchOffset, 'min').toISOString()
5169
+ scheduledUntil: moment().add(this.fetchOffset, 'min').toISOString()
5169
5170
  }, this.filter)).then(function (_ref3) {
5170
5171
  var set = _ref3.set;
5171
5172
  return (set || []).map(function (r) {
@@ -5186,7 +5187,7 @@ var ReminderService = /*#__PURE__*/function () {
5186
5187
  }, {
5187
5188
  key: "enqueueRaw",
5188
5189
  value: function enqueueRaw(raw) {
5189
- this.enqueue(new cortezaJs.system.Reminder(raw));
5190
+ this.enqueue([new cortezaJs.system.Reminder(raw)]);
5190
5191
  }
5191
5192
 
5192
5193
  /**
@@ -5195,11 +5196,8 @@ var ReminderService = /*#__PURE__*/function () {
5195
5196
  */
5196
5197
  }, {
5197
5198
  key: "enqueue",
5198
- value: function enqueue() {
5199
+ value: function enqueue(set) {
5199
5200
  var _this2 = this;
5200
- for (var _len = arguments.length, set = new Array(_len), _key = 0; _key < _len; _key++) {
5201
- set[_key] = arguments[_key];
5202
- }
5203
5201
  set.forEach(function (r) {
5204
5202
  // New or replace
5205
5203
  var i = _this2.set.findIndex(function (_ref4) {
@@ -5259,7 +5257,7 @@ var ReminderService = /*#__PURE__*/function () {
5259
5257
  var time = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
5260
5258
  var changed = false;
5261
5259
  set.forEach(function (r) {
5262
- if (!time || r.remindAt < time) {
5260
+ if (!r.dismissedAt && (!time || r.remindAt < time)) {
5263
5261
  time = r.remindAt;
5264
5262
  changed = true;
5265
5263
  }
@@ -5301,11 +5299,11 @@ var ReminderService = /*#__PURE__*/function () {
5301
5299
  var now = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Date();
5302
5300
  var nextRemindAt = null;
5303
5301
  this.set.forEach(function (r) {
5304
- if (now >= r.remindAt) {
5305
- if (_this3.emitter) {
5306
- _this3.emitter.$emit('reminder.show', r);
5302
+ if (!r.dismissedAt && now >= r.remindAt) {
5303
+ if (_this3.rootInstance) {
5304
+ _this3.rootInstance.$emit('reminder.show', r);
5307
5305
  } else {
5308
- throw new Error('pool.noEmitter');
5306
+ console.warn('ReminderService: No root instance available to emit reminder.show event');
5309
5307
  }
5310
5308
  r.processed = true;
5311
5309
  } else if (now < r.remindAt && (!nextRemindAt || r.remindAt < nextRemindAt)) {
@@ -5327,7 +5325,18 @@ var ReminderService = /*#__PURE__*/function () {
5327
5325
  }();
5328
5326
  var reminder = {
5329
5327
  install: function install(Vue, opts) {
5330
- Vue.prototype.$Reminder = new ReminderService(opts);
5328
+ var reminderService = new ReminderService(this, opts);
5329
+ Vue.prototype.$Reminder = reminderService;
5330
+
5331
+ // Set the root instance when Vue app is created
5332
+ Vue.mixin({
5333
+ created: function created() {
5334
+ if (this.$root === this) {
5335
+ // This is the root instance
5336
+ reminderService.setRootInstance(this);
5337
+ }
5338
+ }
5339
+ });
5331
5340
  }
5332
5341
  };
5333
5342
 
@@ -5764,7 +5773,7 @@ var index$7 = /*#__PURE__*/Object.freeze({
5764
5773
  //
5765
5774
 
5766
5775
 
5767
- var script$1n = {
5776
+ var script$1m = {
5768
5777
  name: 'CExtendSession',
5769
5778
 
5770
5779
  props: {
@@ -5941,20 +5950,20 @@ function normalizeComponent(template, style, script, scopeId, isFunctionalTempla
5941
5950
  }
5942
5951
 
5943
5952
  /* script */
5944
- const __vue_script__$1n = script$1n;
5953
+ const __vue_script__$1m = script$1m;
5945
5954
 
5946
5955
  /* template */
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 = [];
5956
+ 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)};
5957
+ var __vue_staticRenderFns__$1h = [];
5949
5958
 
5950
5959
  /* style */
5951
- const __vue_inject_styles__$1p = undefined;
5960
+ const __vue_inject_styles__$1o = undefined;
5952
5961
  /* scoped */
5953
- const __vue_scope_id__$1p = undefined;
5962
+ const __vue_scope_id__$1o = undefined;
5954
5963
  /* module identifier */
5955
- const __vue_module_identifier__$1p = undefined;
5964
+ const __vue_module_identifier__$1o = undefined;
5956
5965
  /* functional template */
5957
- const __vue_is_functional_template__$1p = false;
5966
+ const __vue_is_functional_template__$1o = false;
5958
5967
  /* style inject */
5959
5968
 
5960
5969
  /* style inject SSR */
@@ -5963,17 +5972,17 @@ var __vue_staticRenderFns__$1i = [];
5963
5972
 
5964
5973
 
5965
5974
 
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,
5975
+ const __vue_component__$1o = /*#__PURE__*/normalizeComponent(
5976
+ { render: __vue_render__$1h, staticRenderFns: __vue_staticRenderFns__$1h },
5977
+ __vue_inject_styles__$1o,
5978
+ __vue_script__$1m,
5979
+ __vue_scope_id__$1o,
5980
+ __vue_is_functional_template__$1o,
5981
+ __vue_module_identifier__$1o,
5973
5982
  false,
5974
5983
  undefined);
5975
5984
 
5976
- var script$1m = {
5985
+ var script$1l = {
5977
5986
  props: {
5978
5987
  resourceType: {
5979
5988
  type: String,
@@ -6014,20 +6023,20 @@ var script$1m = {
6014
6023
  };
6015
6024
 
6016
6025
  /* script */
6017
- const __vue_script__$1m = script$1m;
6026
+ const __vue_script__$1l = script$1l;
6018
6027
 
6019
6028
  /* template */
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 = [];
6029
+ 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()};
6030
+ var __vue_staticRenderFns__$1g = [];
6022
6031
 
6023
6032
  /* style */
6024
- const __vue_inject_styles__$1o = undefined;
6033
+ const __vue_inject_styles__$1n = undefined;
6025
6034
  /* scoped */
6026
- const __vue_scope_id__$1o = undefined;
6035
+ const __vue_scope_id__$1n = undefined;
6027
6036
  /* module identifier */
6028
- const __vue_module_identifier__$1o = undefined;
6037
+ const __vue_module_identifier__$1n = undefined;
6029
6038
  /* functional template */
6030
- const __vue_is_functional_template__$1o = false;
6039
+ const __vue_is_functional_template__$1n = false;
6031
6040
  /* style inject */
6032
6041
 
6033
6042
  /* style inject SSR */
@@ -6036,17 +6045,17 @@ var __vue_staticRenderFns__$1h = [];
6036
6045
 
6037
6046
 
6038
6047
 
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,
6048
+ const __vue_component__$1n = /*#__PURE__*/normalizeComponent(
6049
+ { render: __vue_render__$1g, staticRenderFns: __vue_staticRenderFns__$1g },
6050
+ __vue_inject_styles__$1n,
6051
+ __vue_script__$1l,
6052
+ __vue_scope_id__$1n,
6053
+ __vue_is_functional_template__$1n,
6054
+ __vue_module_identifier__$1n,
6046
6055
  false,
6047
6056
  undefined);
6048
6057
 
6049
- var script$1l = {
6058
+ var script$1k = {
6050
6059
  props: {
6051
6060
  labels: {
6052
6061
  type: Object,
@@ -6092,18 +6101,18 @@ var script$1l = {
6092
6101
  };
6093
6102
 
6094
6103
  /* script */
6095
- const __vue_script__$1l = script$1l;
6104
+ const __vue_script__$1k = script$1k;
6096
6105
 
6097
6106
  /* template */
6098
6107
 
6099
6108
  /* style */
6100
- const __vue_inject_styles__$1n = undefined;
6109
+ const __vue_inject_styles__$1m = undefined;
6101
6110
  /* scoped */
6102
- const __vue_scope_id__$1n = undefined;
6111
+ const __vue_scope_id__$1m = undefined;
6103
6112
  /* module identifier */
6104
- const __vue_module_identifier__$1n = undefined;
6113
+ const __vue_module_identifier__$1m = undefined;
6105
6114
  /* functional template */
6106
- const __vue_is_functional_template__$1n = undefined;
6115
+ const __vue_is_functional_template__$1m = undefined;
6107
6116
  /* style inject */
6108
6117
 
6109
6118
  /* style inject SSR */
@@ -6112,18 +6121,18 @@ const __vue_script__$1l = script$1l;
6112
6121
 
6113
6122
 
6114
6123
 
6115
- const __vue_component__$1n = /*#__PURE__*/normalizeComponent(
6124
+ const __vue_component__$1m = /*#__PURE__*/normalizeComponent(
6116
6125
  {},
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,
6126
+ __vue_inject_styles__$1m,
6127
+ __vue_script__$1k,
6128
+ __vue_scope_id__$1m,
6129
+ __vue_is_functional_template__$1m,
6130
+ __vue_module_identifier__$1m,
6122
6131
  false,
6123
6132
  undefined);
6124
6133
 
6125
- var script$1k = {
6126
- extends: __vue_component__$1n,
6134
+ var script$1j = {
6135
+ extends: __vue_component__$1m,
6127
6136
 
6128
6137
  props: {
6129
6138
  alt: {
@@ -6232,46 +6241,46 @@ function addStyle(id, css) {
6232
6241
  }
6233
6242
 
6234
6243
  /* script */
6235
- const __vue_script__$1k = script$1k;
6244
+ const __vue_script__$1j = script$1j;
6236
6245
 
6237
6246
  /* template */
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 = [];
6247
+ 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;}}})])};
6248
+ var __vue_staticRenderFns__$1f = [];
6240
6249
 
6241
6250
  /* style */
6242
- const __vue_inject_styles__$1m = function (inject) {
6251
+ const __vue_inject_styles__$1l = function (inject) {
6243
6252
  if (!inject) return
6244
6253
  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 });
6245
6254
 
6246
6255
  };
6247
6256
  /* scoped */
6248
- const __vue_scope_id__$1m = "data-v-5b22ddfb";
6257
+ const __vue_scope_id__$1l = "data-v-5b22ddfb";
6249
6258
  /* module identifier */
6250
- const __vue_module_identifier__$1m = undefined;
6259
+ const __vue_module_identifier__$1l = undefined;
6251
6260
  /* functional template */
6252
- const __vue_is_functional_template__$1m = false;
6261
+ const __vue_is_functional_template__$1l = false;
6253
6262
  /* style inject SSR */
6254
6263
 
6255
6264
  /* style inject shadow dom */
6256
6265
 
6257
6266
 
6258
6267
 
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,
6268
+ const __vue_component__$1l = /*#__PURE__*/normalizeComponent(
6269
+ { render: __vue_render__$1f, staticRenderFns: __vue_staticRenderFns__$1f },
6270
+ __vue_inject_styles__$1l,
6271
+ __vue_script__$1j,
6272
+ __vue_scope_id__$1l,
6273
+ __vue_is_functional_template__$1l,
6274
+ __vue_module_identifier__$1l,
6266
6275
  false,
6267
6276
  createInjector);
6268
6277
 
6269
- var script$1j = {
6278
+ var script$1i = {
6270
6279
  components: {
6271
6280
  PhotoSwipe: vPhotoswipe.PhotoSwipe,
6272
6281
  },
6273
6282
 
6274
- extends: __vue_component__$1n,
6283
+ extends: __vue_component__$1m,
6275
6284
 
6276
6285
  data () {
6277
6286
  return {
@@ -6327,37 +6336,37 @@ var script$1j = {
6327
6336
  };
6328
6337
 
6329
6338
  /* script */
6330
- const __vue_script__$1j = script$1j;
6339
+ const __vue_script__$1i = script$1i;
6331
6340
 
6332
6341
  /* template */
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 = [];
6342
+ 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)};
6343
+ var __vue_staticRenderFns__$1e = [];
6335
6344
 
6336
6345
  /* style */
6337
- const __vue_inject_styles__$1l = function (inject) {
6346
+ const __vue_inject_styles__$1k = function (inject) {
6338
6347
  if (!inject) return
6339
6348
  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 });
6340
6349
 
6341
6350
  };
6342
6351
  /* scoped */
6343
- const __vue_scope_id__$1l = undefined;
6352
+ const __vue_scope_id__$1k = undefined;
6344
6353
  /* module identifier */
6345
- const __vue_module_identifier__$1l = undefined;
6354
+ const __vue_module_identifier__$1k = undefined;
6346
6355
  /* functional template */
6347
- const __vue_is_functional_template__$1l = false;
6356
+ const __vue_is_functional_template__$1k = false;
6348
6357
  /* style inject SSR */
6349
6358
 
6350
6359
  /* style inject shadow dom */
6351
6360
 
6352
6361
 
6353
6362
 
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,
6363
+ const __vue_component__$1k = /*#__PURE__*/normalizeComponent(
6364
+ { render: __vue_render__$1e, staticRenderFns: __vue_staticRenderFns__$1e },
6365
+ __vue_inject_styles__$1k,
6366
+ __vue_script__$1i,
6367
+ __vue_scope_id__$1k,
6368
+ __vue_is_functional_template__$1k,
6369
+ __vue_module_identifier__$1k,
6361
6370
  false,
6362
6371
  createInjector);
6363
6372
 
@@ -6451,8 +6460,8 @@ function sleep (t) {
6451
6460
  return new Promise(resolve => setTimeout(resolve, t))
6452
6461
  }
6453
6462
 
6454
- var script$1i = {
6455
- extends: __vue_component__$1n,
6463
+ var script$1h = {
6464
+ extends: __vue_component__$1m,
6456
6465
 
6457
6466
  props: {
6458
6467
  retryBackoff: {
@@ -6702,72 +6711,72 @@ var script$1i = {
6702
6711
  };
6703
6712
 
6704
6713
  /* script */
6705
- const __vue_script__$1i = script$1i;
6714
+ const __vue_script__$1h = script$1h;
6706
6715
 
6707
6716
  /* template */
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 = [];
6717
+ 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()])};
6718
+ var __vue_staticRenderFns__$1d = [];
6710
6719
 
6711
6720
  /* style */
6712
- const __vue_inject_styles__$1k = function (inject) {
6721
+ const __vue_inject_styles__$1j = function (inject) {
6713
6722
  if (!inject) return
6714
6723
  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 })
6715
6724
  ,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 });
6716
6725
 
6717
6726
  };
6718
6727
  /* scoped */
6719
- const __vue_scope_id__$1k = "data-v-6b03f585";
6728
+ const __vue_scope_id__$1j = "data-v-6b03f585";
6720
6729
  /* module identifier */
6721
- const __vue_module_identifier__$1k = undefined;
6730
+ const __vue_module_identifier__$1j = undefined;
6722
6731
  /* functional template */
6723
- const __vue_is_functional_template__$1k = false;
6732
+ const __vue_is_functional_template__$1j = false;
6724
6733
  /* style inject SSR */
6725
6734
 
6726
6735
  /* style inject shadow dom */
6727
6736
 
6728
6737
 
6729
6738
 
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,
6739
+ const __vue_component__$1j = /*#__PURE__*/normalizeComponent(
6740
+ { render: __vue_render__$1d, staticRenderFns: __vue_staticRenderFns__$1d },
6741
+ __vue_inject_styles__$1j,
6742
+ __vue_script__$1h,
6743
+ __vue_scope_id__$1j,
6744
+ __vue_is_functional_template__$1j,
6745
+ __vue_module_identifier__$1j,
6737
6746
  false,
6738
6747
  createInjector);
6739
6748
 
6740
6749
  /* script */
6741
6750
 
6742
6751
  /* template */
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 = [];
6752
+ 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)])};
6753
+ var __vue_staticRenderFns__$1c = [];
6745
6754
 
6746
6755
  /* style */
6747
- const __vue_inject_styles__$1j = function (inject) {
6756
+ const __vue_inject_styles__$1i = function (inject) {
6748
6757
  if (!inject) return
6749
6758
  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 });
6750
6759
 
6751
6760
  };
6752
6761
  /* scoped */
6753
- const __vue_scope_id__$1j = "data-v-30782d92";
6762
+ const __vue_scope_id__$1i = "data-v-30782d92";
6754
6763
  /* module identifier */
6755
- const __vue_module_identifier__$1j = undefined;
6764
+ const __vue_module_identifier__$1i = undefined;
6756
6765
  /* functional template */
6757
- const __vue_is_functional_template__$1j = false;
6766
+ const __vue_is_functional_template__$1i = false;
6758
6767
  /* style inject SSR */
6759
6768
 
6760
6769
  /* style inject shadow dom */
6761
6770
 
6762
6771
 
6763
6772
 
6764
- const __vue_component__$1j = /*#__PURE__*/normalizeComponent(
6765
- { render: __vue_render__$1d, staticRenderFns: __vue_staticRenderFns__$1d },
6766
- __vue_inject_styles__$1j,
6773
+ const __vue_component__$1i = /*#__PURE__*/normalizeComponent(
6774
+ { render: __vue_render__$1c, staticRenderFns: __vue_staticRenderFns__$1c },
6775
+ __vue_inject_styles__$1i,
6767
6776
  {},
6768
- __vue_scope_id__$1j,
6769
- __vue_is_functional_template__$1j,
6770
- __vue_module_identifier__$1j,
6777
+ __vue_scope_id__$1i,
6778
+ __vue_is_functional_template__$1i,
6779
+ __vue_module_identifier__$1i,
6771
6780
  false,
6772
6781
  createInjector);
6773
6782
 
@@ -6822,7 +6831,7 @@ var canPreview = function canPreview(_ref2) {
6822
6831
  });
6823
6832
  };
6824
6833
 
6825
- var script$1h = {
6834
+ var script$1g = {
6826
6835
  inheritAttrs: false,
6827
6836
 
6828
6837
  props: {
@@ -6843,53 +6852,10 @@ var script$1h = {
6843
6852
  },
6844
6853
  };
6845
6854
 
6846
- /* script */
6847
- const __vue_script__$1h = script$1h;
6848
-
6849
- /* template */
6850
-
6851
- /* style */
6852
- const __vue_inject_styles__$1i = undefined;
6853
- /* scoped */
6854
- const __vue_scope_id__$1i = undefined;
6855
- /* module identifier */
6856
- const __vue_module_identifier__$1i = undefined;
6857
- /* functional template */
6858
- const __vue_is_functional_template__$1i = undefined;
6859
- /* style inject */
6860
-
6861
- /* style inject SSR */
6862
-
6863
- /* style inject shadow dom */
6864
-
6865
-
6866
-
6867
- const __vue_component__$1i = /*#__PURE__*/normalizeComponent(
6868
- {},
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,
6874
- false,
6875
- undefined);
6876
-
6877
- var script$1g = {
6878
- components: {
6879
- CLightbox: __vue_component__$1j,
6880
- IMG: __vue_component__$1l,
6881
- PDF: __vue_component__$1k,
6882
- },
6883
-
6884
- extends: __vue_component__$1i,
6885
- };
6886
-
6887
6855
  /* script */
6888
6856
  const __vue_script__$1g = script$1g;
6889
6857
 
6890
6858
  /* template */
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 = [];
6893
6859
 
6894
6860
  /* style */
6895
6861
  const __vue_inject_styles__$1h = undefined;
@@ -6898,7 +6864,7 @@ var __vue_staticRenderFns__$1c = [];
6898
6864
  /* module identifier */
6899
6865
  const __vue_module_identifier__$1h = undefined;
6900
6866
  /* functional template */
6901
- const __vue_is_functional_template__$1h = false;
6867
+ const __vue_is_functional_template__$1h = undefined;
6902
6868
  /* style inject */
6903
6869
 
6904
6870
  /* style inject SSR */
@@ -6908,7 +6874,7 @@ var __vue_staticRenderFns__$1c = [];
6908
6874
 
6909
6875
 
6910
6876
  const __vue_component__$1h = /*#__PURE__*/normalizeComponent(
6911
- { render: __vue_render__$1c, staticRenderFns: __vue_staticRenderFns__$1c },
6877
+ {},
6912
6878
  __vue_inject_styles__$1h,
6913
6879
  __vue_script__$1g,
6914
6880
  __vue_scope_id__$1h,
@@ -6919,18 +6885,19 @@ var __vue_staticRenderFns__$1c = [];
6919
6885
 
6920
6886
  var script$1f = {
6921
6887
  components: {
6922
- IMG: __vue_component__$1m,
6923
- PDF: __vue_component__$1k,
6888
+ CLightbox: __vue_component__$1i,
6889
+ IMG: __vue_component__$1k,
6890
+ PDF: __vue_component__$1j,
6924
6891
  },
6925
6892
 
6926
- extends: __vue_component__$1i,
6893
+ extends: __vue_component__$1h,
6927
6894
  };
6928
6895
 
6929
6896
  /* script */
6930
6897
  const __vue_script__$1f = script$1f;
6931
6898
 
6932
6899
  /* template */
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)])};
6900
+ 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)};
6934
6901
  var __vue_staticRenderFns__$1b = [];
6935
6902
 
6936
6903
  /* style */
@@ -6960,6 +6927,48 @@ var __vue_staticRenderFns__$1b = [];
6960
6927
  undefined);
6961
6928
 
6962
6929
  var script$1e = {
6930
+ components: {
6931
+ IMG: __vue_component__$1l,
6932
+ PDF: __vue_component__$1j,
6933
+ },
6934
+
6935
+ extends: __vue_component__$1h,
6936
+ };
6937
+
6938
+ /* script */
6939
+ const __vue_script__$1e = script$1e;
6940
+
6941
+ /* template */
6942
+ 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)])};
6943
+ var __vue_staticRenderFns__$1a = [];
6944
+
6945
+ /* style */
6946
+ const __vue_inject_styles__$1f = undefined;
6947
+ /* scoped */
6948
+ const __vue_scope_id__$1f = undefined;
6949
+ /* module identifier */
6950
+ const __vue_module_identifier__$1f = undefined;
6951
+ /* functional template */
6952
+ const __vue_is_functional_template__$1f = false;
6953
+ /* style inject */
6954
+
6955
+ /* style inject SSR */
6956
+
6957
+ /* style inject shadow dom */
6958
+
6959
+
6960
+
6961
+ const __vue_component__$1f = /*#__PURE__*/normalizeComponent(
6962
+ { render: __vue_render__$1a, staticRenderFns: __vue_staticRenderFns__$1a },
6963
+ __vue_inject_styles__$1f,
6964
+ __vue_script__$1e,
6965
+ __vue_scope_id__$1f,
6966
+ __vue_is_functional_template__$1f,
6967
+ __vue_module_identifier__$1f,
6968
+ false,
6969
+ undefined);
6970
+
6971
+ var script$1d = {
6963
6972
  props: {
6964
6973
  disabled: Boolean,
6965
6974
  okDisabled: Boolean,
@@ -7062,20 +7071,20 @@ var script$1e = {
7062
7071
  };
7063
7072
 
7064
7073
  /* script */
7065
- const __vue_script__$1e = script$1e;
7074
+ const __vue_script__$1d = script$1d;
7066
7075
 
7067
7076
  /* template */
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 = [];
7077
+ 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)};
7078
+ var __vue_staticRenderFns__$19 = [];
7070
7079
 
7071
7080
  /* style */
7072
- const __vue_inject_styles__$1f = undefined;
7081
+ const __vue_inject_styles__$1e = undefined;
7073
7082
  /* scoped */
7074
- const __vue_scope_id__$1f = undefined;
7083
+ const __vue_scope_id__$1e = undefined;
7075
7084
  /* module identifier */
7076
- const __vue_module_identifier__$1f = undefined;
7085
+ const __vue_module_identifier__$1e = undefined;
7077
7086
  /* functional template */
7078
- const __vue_is_functional_template__$1f = false;
7087
+ const __vue_is_functional_template__$1e = false;
7079
7088
  /* style inject */
7080
7089
 
7081
7090
  /* style inject SSR */
@@ -7084,13 +7093,13 @@ var __vue_staticRenderFns__$1a = [];
7084
7093
 
7085
7094
 
7086
7095
 
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,
7096
+ const __vue_component__$1e = /*#__PURE__*/normalizeComponent(
7097
+ { render: __vue_render__$19, staticRenderFns: __vue_staticRenderFns__$19 },
7098
+ __vue_inject_styles__$1e,
7099
+ __vue_script__$1d,
7100
+ __vue_scope_id__$1e,
7101
+ __vue_is_functional_template__$1e,
7102
+ __vue_module_identifier__$1e,
7094
7103
  false,
7095
7104
  undefined);
7096
7105
 
@@ -7113,7 +7122,7 @@ var __vue_staticRenderFns__$1a = [];
7113
7122
  //
7114
7123
  //
7115
7124
 
7116
- var script$1d = {
7125
+ var script$1c = {
7117
7126
  props: {
7118
7127
  variant: {
7119
7128
  type: String,
@@ -7135,20 +7144,20 @@ var script$1d = {
7135
7144
  };
7136
7145
 
7137
7146
  /* script */
7138
- const __vue_script__$1d = script$1d;
7147
+ const __vue_script__$1c = script$1c;
7139
7148
 
7140
7149
  /* template */
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 = [];
7150
+ 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)};
7151
+ var __vue_staticRenderFns__$18 = [];
7143
7152
 
7144
7153
  /* style */
7145
- const __vue_inject_styles__$1e = undefined;
7154
+ const __vue_inject_styles__$1d = undefined;
7146
7155
  /* scoped */
7147
- const __vue_scope_id__$1e = undefined;
7156
+ const __vue_scope_id__$1d = undefined;
7148
7157
  /* module identifier */
7149
- const __vue_module_identifier__$1e = undefined;
7158
+ const __vue_module_identifier__$1d = undefined;
7150
7159
  /* functional template */
7151
- const __vue_is_functional_template__$1e = false;
7160
+ const __vue_is_functional_template__$1d = false;
7152
7161
  /* style inject */
7153
7162
 
7154
7163
  /* style inject SSR */
@@ -7157,13 +7166,13 @@ var __vue_staticRenderFns__$19 = [];
7157
7166
 
7158
7167
 
7159
7168
 
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,
7169
+ const __vue_component__$1d = /*#__PURE__*/normalizeComponent(
7170
+ { render: __vue_render__$18, staticRenderFns: __vue_staticRenderFns__$18 },
7171
+ __vue_inject_styles__$1d,
7172
+ __vue_script__$1c,
7173
+ __vue_scope_id__$1d,
7174
+ __vue_is_functional_template__$1d,
7175
+ __vue_module_identifier__$1d,
7167
7176
  false,
7168
7177
  undefined);
7169
7178
 
@@ -7211,7 +7220,7 @@ function setTime(time, value, noDate = false, noTime = false) {
7211
7220
  return moment(date + ' ' + time, 'YYYY-MM-DD HH:mm').utc().format();
7212
7221
  }
7213
7222
 
7214
- var script$1c = {
7223
+ var script$1b = {
7215
7224
  props: {
7216
7225
  value: {
7217
7226
  type: [String, Date],
@@ -7296,37 +7305,37 @@ var script$1c = {
7296
7305
  };
7297
7306
 
7298
7307
  /* script */
7299
- const __vue_script__$1c = script$1c;
7308
+ const __vue_script__$1b = script$1b;
7300
7309
 
7301
7310
  /* template */
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 = [];
7311
+ 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)};
7312
+ var __vue_staticRenderFns__$17 = [];
7304
7313
 
7305
7314
  /* style */
7306
- const __vue_inject_styles__$1d = function (inject) {
7315
+ const __vue_inject_styles__$1c = function (inject) {
7307
7316
  if (!inject) return
7308
7317
  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 });
7309
7318
 
7310
7319
  };
7311
7320
  /* scoped */
7312
- const __vue_scope_id__$1d = undefined;
7321
+ const __vue_scope_id__$1c = undefined;
7313
7322
  /* module identifier */
7314
- const __vue_module_identifier__$1d = undefined;
7323
+ const __vue_module_identifier__$1c = undefined;
7315
7324
  /* functional template */
7316
- const __vue_is_functional_template__$1d = false;
7325
+ const __vue_is_functional_template__$1c = false;
7317
7326
  /* style inject SSR */
7318
7327
 
7319
7328
  /* style inject shadow dom */
7320
7329
 
7321
7330
 
7322
7331
 
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,
7332
+ const __vue_component__$1c = /*#__PURE__*/normalizeComponent(
7333
+ { render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
7334
+ __vue_inject_styles__$1c,
7335
+ __vue_script__$1b,
7336
+ __vue_scope_id__$1c,
7337
+ __vue_is_functional_template__$1c,
7338
+ __vue_module_identifier__$1c,
7330
7339
  false,
7331
7340
  createInjector);
7332
7341
 
@@ -7410,7 +7419,7 @@ n(css$4,{});
7410
7419
  //
7411
7420
 
7412
7421
 
7413
- var script$1b = {
7422
+ var script$1a = {
7414
7423
  name: 'CInputSelect',
7415
7424
 
7416
7425
  components: {
@@ -7577,40 +7586,40 @@ var script$1b = {
7577
7586
  };
7578
7587
 
7579
7588
  /* script */
7580
- const __vue_script__$1b = script$1b;
7589
+ const __vue_script__$1a = script$1a;
7581
7590
 
7582
7591
  /* template */
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){
7592
+ 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){
7584
7593
  var option = ref.option;
7585
7594
  var deselect = ref.deselect;
7586
7595
  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))};
7587
- var __vue_staticRenderFns__$17 = [];
7596
+ var __vue_staticRenderFns__$16 = [];
7588
7597
 
7589
7598
  /* style */
7590
- const __vue_inject_styles__$1c = function (inject) {
7599
+ const __vue_inject_styles__$1b = function (inject) {
7591
7600
  if (!inject) return
7592
7601
  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 });
7593
7602
 
7594
7603
  };
7595
7604
  /* scoped */
7596
- const __vue_scope_id__$1c = undefined;
7605
+ const __vue_scope_id__$1b = undefined;
7597
7606
  /* module identifier */
7598
- const __vue_module_identifier__$1c = undefined;
7607
+ const __vue_module_identifier__$1b = undefined;
7599
7608
  /* functional template */
7600
- const __vue_is_functional_template__$1c = false;
7609
+ const __vue_is_functional_template__$1b = false;
7601
7610
  /* style inject SSR */
7602
7611
 
7603
7612
  /* style inject shadow dom */
7604
7613
 
7605
7614
 
7606
7615
 
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,
7616
+ const __vue_component__$1b = /*#__PURE__*/normalizeComponent(
7617
+ { render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
7618
+ __vue_inject_styles__$1b,
7619
+ __vue_script__$1a,
7620
+ __vue_scope_id__$1b,
7621
+ __vue_is_functional_template__$1b,
7622
+ __vue_module_identifier__$1b,
7614
7623
  false,
7615
7624
  createInjector);
7616
7625
 
@@ -7647,7 +7656,7 @@ var __vue_staticRenderFns__$17 = [];
7647
7656
  //
7648
7657
  //
7649
7658
 
7650
- var script$1a = {
7659
+ var script$19 = {
7651
7660
  name: 'CFormTableWrapper',
7652
7661
 
7653
7662
  props: {
@@ -7684,37 +7693,37 @@ var script$1a = {
7684
7693
  };
7685
7694
 
7686
7695
  /* script */
7687
- const __vue_script__$1a = script$1a;
7696
+ const __vue_script__$19 = script$19;
7688
7697
 
7689
7698
  /* template */
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 = [];
7699
+ 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)};
7700
+ var __vue_staticRenderFns__$15 = [];
7692
7701
 
7693
7702
  /* style */
7694
- const __vue_inject_styles__$1b = function (inject) {
7703
+ const __vue_inject_styles__$1a = function (inject) {
7695
7704
  if (!inject) return
7696
7705
  inject("data-v-7ae53668_0", { source: ".list-background[data-v-7ae53668]{background-color:var(--body-bg)}", map: undefined, media: undefined });
7697
7706
 
7698
7707
  };
7699
7708
  /* scoped */
7700
- const __vue_scope_id__$1b = "data-v-7ae53668";
7709
+ const __vue_scope_id__$1a = "data-v-7ae53668";
7701
7710
  /* module identifier */
7702
- const __vue_module_identifier__$1b = undefined;
7711
+ const __vue_module_identifier__$1a = undefined;
7703
7712
  /* functional template */
7704
- const __vue_is_functional_template__$1b = false;
7713
+ const __vue_is_functional_template__$1a = false;
7705
7714
  /* style inject SSR */
7706
7715
 
7707
7716
  /* style inject shadow dom */
7708
7717
 
7709
7718
 
7710
7719
 
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,
7720
+ const __vue_component__$1a = /*#__PURE__*/normalizeComponent(
7721
+ { render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
7722
+ __vue_inject_styles__$1a,
7723
+ __vue_script__$19,
7724
+ __vue_scope_id__$1a,
7725
+ __vue_is_functional_template__$1a,
7726
+ __vue_module_identifier__$1a,
7718
7727
  false,
7719
7728
  createInjector);
7720
7729
 
@@ -7822,11 +7831,11 @@ var __vue_staticRenderFns__$16 = [];
7822
7831
  //
7823
7832
 
7824
7833
 
7825
- var script$19 = {
7834
+ var script$18 = {
7826
7835
  components: {
7827
7836
  Draggable,
7828
- CInputSelect: __vue_component__$1c,
7829
- CFormTableWrapper: __vue_component__$1b,
7837
+ CInputSelect: __vue_component__$1b,
7838
+ CFormTableWrapper: __vue_component__$1a,
7830
7839
  },
7831
7840
 
7832
7841
  props: {
@@ -7936,20 +7945,20 @@ var script$19 = {
7936
7945
  };
7937
7946
 
7938
7947
  /* script */
7939
- const __vue_script__$19 = script$19;
7948
+ const __vue_script__$18 = script$18;
7940
7949
 
7941
7950
  /* template */
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 = [];
7951
+ 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)};
7952
+ var __vue_staticRenderFns__$14 = [];
7944
7953
 
7945
7954
  /* style */
7946
- const __vue_inject_styles__$1a = undefined;
7955
+ const __vue_inject_styles__$19 = undefined;
7947
7956
  /* scoped */
7948
- const __vue_scope_id__$1a = undefined;
7957
+ const __vue_scope_id__$19 = undefined;
7949
7958
  /* module identifier */
7950
- const __vue_module_identifier__$1a = undefined;
7959
+ const __vue_module_identifier__$19 = undefined;
7951
7960
  /* functional template */
7952
- const __vue_is_functional_template__$1a = false;
7961
+ const __vue_is_functional_template__$19 = false;
7953
7962
  /* style inject */
7954
7963
 
7955
7964
  /* style inject SSR */
@@ -7958,13 +7967,13 @@ var __vue_staticRenderFns__$15 = [];
7958
7967
 
7959
7968
 
7960
7969
 
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,
7970
+ const __vue_component__$19 = /*#__PURE__*/normalizeComponent(
7971
+ { render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
7972
+ __vue_inject_styles__$19,
7973
+ __vue_script__$18,
7974
+ __vue_scope_id__$19,
7975
+ __vue_is_functional_template__$19,
7976
+ __vue_module_identifier__$19,
7968
7977
  false,
7969
7978
  undefined);
7970
7979
 
@@ -8008,7 +8017,7 @@ var __vue_staticRenderFns__$15 = [];
8008
8017
  //
8009
8018
  //
8010
8019
 
8011
- var script$18 = {
8020
+ var script$17 = {
8012
8021
  name: 'CInputSearch',
8013
8022
 
8014
8023
  props: {
@@ -8102,37 +8111,37 @@ var script$18 = {
8102
8111
  };
8103
8112
 
8104
8113
  /* script */
8105
- const __vue_script__$18 = script$18;
8114
+ const __vue_script__$17 = script$17;
8106
8115
 
8107
8116
  /* template */
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 = [];
8117
+ 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)};
8118
+ var __vue_staticRenderFns__$13 = [];
8110
8119
 
8111
8120
  /* style */
8112
- const __vue_inject_styles__$19 = function (inject) {
8121
+ const __vue_inject_styles__$18 = function (inject) {
8113
8122
  if (!inject) return
8114
8123
  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 });
8115
8124
 
8116
8125
  };
8117
8126
  /* scoped */
8118
- const __vue_scope_id__$19 = "data-v-ec96b2dc";
8127
+ const __vue_scope_id__$18 = "data-v-ec96b2dc";
8119
8128
  /* module identifier */
8120
- const __vue_module_identifier__$19 = undefined;
8129
+ const __vue_module_identifier__$18 = undefined;
8121
8130
  /* functional template */
8122
- const __vue_is_functional_template__$19 = false;
8131
+ const __vue_is_functional_template__$18 = false;
8123
8132
  /* style inject SSR */
8124
8133
 
8125
8134
  /* style inject shadow dom */
8126
8135
 
8127
8136
 
8128
8137
 
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,
8138
+ const __vue_component__$18 = /*#__PURE__*/normalizeComponent(
8139
+ { render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
8140
+ __vue_inject_styles__$18,
8141
+ __vue_script__$17,
8142
+ __vue_scope_id__$18,
8143
+ __vue_is_functional_template__$18,
8144
+ __vue_module_identifier__$18,
8136
8145
  false,
8137
8146
  createInjector);
8138
8147
 
@@ -8267,7 +8276,7 @@ var __vue_staticRenderFns__$14 = [];
8267
8276
  //
8268
8277
 
8269
8278
 
8270
- var script$17 = {
8279
+ var script$16 = {
8271
8280
  name: 'CInputColorPicker',
8272
8281
 
8273
8282
  components: {
@@ -8419,45 +8428,45 @@ var script$17 = {
8419
8428
  };
8420
8429
 
8421
8430
  /* script */
8422
- const __vue_script__$17 = script$17;
8431
+ const __vue_script__$16 = script$16;
8423
8432
 
8424
8433
  /* template */
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 = [];
8434
+ 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)};
8435
+ var __vue_staticRenderFns__$12 = [];
8427
8436
 
8428
8437
  /* style */
8429
- const __vue_inject_styles__$18 = function (inject) {
8438
+ const __vue_inject_styles__$17 = function (inject) {
8430
8439
  if (!inject) return
8431
8440
  inject("data-v-0db7b6ea_0", { source: ".swatch[data-v-0db7b6ea]{height:58px;min-width:50px}", map: undefined, media: undefined })
8432
8441
  ,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 });
8433
8442
 
8434
8443
  };
8435
8444
  /* scoped */
8436
- const __vue_scope_id__$18 = "data-v-0db7b6ea";
8445
+ const __vue_scope_id__$17 = "data-v-0db7b6ea";
8437
8446
  /* module identifier */
8438
- const __vue_module_identifier__$18 = undefined;
8447
+ const __vue_module_identifier__$17 = undefined;
8439
8448
  /* functional template */
8440
- const __vue_is_functional_template__$18 = false;
8449
+ const __vue_is_functional_template__$17 = false;
8441
8450
  /* style inject SSR */
8442
8451
 
8443
8452
  /* style inject shadow dom */
8444
8453
 
8445
8454
 
8446
8455
 
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,
8456
+ const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
8457
+ { render: __vue_render__$12, staticRenderFns: __vue_staticRenderFns__$12 },
8458
+ __vue_inject_styles__$17,
8459
+ __vue_script__$16,
8460
+ __vue_scope_id__$17,
8461
+ __vue_is_functional_template__$17,
8462
+ __vue_module_identifier__$17,
8454
8463
  false,
8455
8464
  createInjector);
8456
8465
 
8457
8466
  /**
8458
8467
  * Defines common props, methods between different toolbar item types
8459
8468
  */
8460
- var script$16 = {
8469
+ var script$15 = {
8461
8470
  props: {
8462
8471
  editor: {
8463
8472
  type: Object,
@@ -8511,18 +8520,18 @@ var script$16 = {
8511
8520
  };
8512
8521
 
8513
8522
  /* script */
8514
- const __vue_script__$16 = script$16;
8523
+ const __vue_script__$15 = script$15;
8515
8524
 
8516
8525
  /* template */
8517
8526
 
8518
8527
  /* style */
8519
- const __vue_inject_styles__$17 = undefined;
8528
+ const __vue_inject_styles__$16 = undefined;
8520
8529
  /* scoped */
8521
- const __vue_scope_id__$17 = undefined;
8530
+ const __vue_scope_id__$16 = undefined;
8522
8531
  /* module identifier */
8523
- const __vue_module_identifier__$17 = undefined;
8532
+ const __vue_module_identifier__$16 = undefined;
8524
8533
  /* functional template */
8525
- const __vue_is_functional_template__$17 = undefined;
8534
+ const __vue_is_functional_template__$16 = undefined;
8526
8535
  /* style inject */
8527
8536
 
8528
8537
  /* style inject SSR */
@@ -8531,13 +8540,13 @@ const __vue_script__$16 = script$16;
8531
8540
 
8532
8541
 
8533
8542
 
8534
- const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
8543
+ const __vue_component__$16 = /*#__PURE__*/normalizeComponent(
8535
8544
  {},
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,
8545
+ __vue_inject_styles__$16,
8546
+ __vue_script__$15,
8547
+ __vue_scope_id__$16,
8548
+ __vue_is_functional_template__$16,
8549
+ __vue_module_identifier__$16,
8541
8550
  false,
8542
8551
  undefined);
8543
8552
 
@@ -8576,14 +8585,14 @@ const __vue_script__$16 = script$16;
8576
8585
  //
8577
8586
 
8578
8587
 
8579
- var script$15 = {
8588
+ var script$14 = {
8580
8589
  name: 'TMarkColor',
8581
8590
 
8582
8591
  components: {
8583
- CInputColorPicker: __vue_component__$18,
8592
+ CInputColorPicker: __vue_component__$17,
8584
8593
  },
8585
8594
 
8586
- extends: __vue_component__$17,
8595
+ extends: __vue_component__$16,
8587
8596
 
8588
8597
  props: {
8589
8598
  background: {
@@ -8633,40 +8642,40 @@ var script$15 = {
8633
8642
  };
8634
8643
 
8635
8644
  /* script */
8636
- const __vue_script__$15 = script$15;
8645
+ const __vue_script__$14 = script$14;
8637
8646
 
8638
8647
  /* template */
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:({
8648
+ 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:({
8640
8649
  backgroundColor: _vm.background ? _vm.selectedColor : 'transparent',
8641
8650
  borderColor: _vm.background ? 'transparent' : _vm.selectedColor,
8642
8651
  })},[_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)};
8643
- var __vue_staticRenderFns__$12 = [];
8652
+ var __vue_staticRenderFns__$11 = [];
8644
8653
 
8645
8654
  /* style */
8646
- const __vue_inject_styles__$16 = function (inject) {
8655
+ const __vue_inject_styles__$15 = function (inject) {
8647
8656
  if (!inject) return
8648
8657
  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 });
8649
8658
 
8650
8659
  };
8651
8660
  /* scoped */
8652
- const __vue_scope_id__$16 = "data-v-f18be530";
8661
+ const __vue_scope_id__$15 = "data-v-f18be530";
8653
8662
  /* module identifier */
8654
- const __vue_module_identifier__$16 = undefined;
8663
+ const __vue_module_identifier__$15 = undefined;
8655
8664
  /* functional template */
8656
- const __vue_is_functional_template__$16 = false;
8665
+ const __vue_is_functional_template__$15 = false;
8657
8666
  /* style inject SSR */
8658
8667
 
8659
8668
  /* style inject shadow dom */
8660
8669
 
8661
8670
 
8662
8671
 
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,
8672
+ const __vue_component__$15 = /*#__PURE__*/normalizeComponent(
8673
+ { render: __vue_render__$11, staticRenderFns: __vue_staticRenderFns__$11 },
8674
+ __vue_inject_styles__$15,
8675
+ __vue_script__$14,
8676
+ __vue_scope_id__$15,
8677
+ __vue_is_functional_template__$15,
8678
+ __vue_module_identifier__$15,
8670
8679
  false,
8671
8680
  createInjector);
8672
8681
 
@@ -8694,26 +8703,26 @@ var __vue_staticRenderFns__$12 = [];
8694
8703
  /**
8695
8704
  * Component is used to display simple formatter options such as bold, italic, ...
8696
8705
  */
8697
- var script$14 = {
8706
+ var script$13 = {
8698
8707
  name: 'TMarkItem',
8699
- extends: __vue_component__$17,
8708
+ extends: __vue_component__$16,
8700
8709
  };
8701
8710
 
8702
8711
  /* script */
8703
- const __vue_script__$14 = script$14;
8712
+ const __vue_script__$13 = script$13;
8704
8713
 
8705
8714
  /* template */
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 = [];
8715
+ 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)])};
8716
+ var __vue_staticRenderFns__$10 = [];
8708
8717
 
8709
8718
  /* style */
8710
- const __vue_inject_styles__$15 = undefined;
8719
+ const __vue_inject_styles__$14 = undefined;
8711
8720
  /* scoped */
8712
- const __vue_scope_id__$15 = undefined;
8721
+ const __vue_scope_id__$14 = undefined;
8713
8722
  /* module identifier */
8714
- const __vue_module_identifier__$15 = undefined;
8723
+ const __vue_module_identifier__$14 = undefined;
8715
8724
  /* functional template */
8716
- const __vue_is_functional_template__$15 = false;
8725
+ const __vue_is_functional_template__$14 = false;
8717
8726
  /* style inject */
8718
8727
 
8719
8728
  /* style inject SSR */
@@ -8722,17 +8731,17 @@ var __vue_staticRenderFns__$11 = [];
8722
8731
 
8723
8732
 
8724
8733
 
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,
8732
- false,
8733
- undefined);
8734
-
8735
- //
8734
+ const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
8735
+ { render: __vue_render__$10, staticRenderFns: __vue_staticRenderFns__$10 },
8736
+ __vue_inject_styles__$14,
8737
+ __vue_script__$13,
8738
+ __vue_scope_id__$14,
8739
+ __vue_is_functional_template__$14,
8740
+ __vue_module_identifier__$14,
8741
+ false,
8742
+ undefined);
8743
+
8744
+ //
8736
8745
  //
8737
8746
  //
8738
8747
  //
@@ -8783,9 +8792,9 @@ var __vue_staticRenderFns__$11 = [];
8783
8792
  * Component is used to display link formatters. It provides an interface to
8784
8793
  * input the URL that should be applied.
8785
8794
  */
8786
- var script$13 = {
8795
+ var script$12 = {
8787
8796
  name: 'TMarkLink',
8788
- extends: __vue_component__$17,
8797
+ extends: __vue_component__$16,
8789
8798
 
8790
8799
  props: {
8791
8800
  labels: {
@@ -8845,20 +8854,20 @@ var script$13 = {
8845
8854
  };
8846
8855
 
8847
8856
  /* script */
8848
- const __vue_script__$13 = script$13;
8857
+ const __vue_script__$12 = script$12;
8849
8858
 
8850
8859
  /* template */
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 = [];
8860
+ 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)};
8861
+ var __vue_staticRenderFns__$$ = [];
8853
8862
 
8854
8863
  /* style */
8855
- const __vue_inject_styles__$14 = undefined;
8864
+ const __vue_inject_styles__$13 = undefined;
8856
8865
  /* scoped */
8857
- const __vue_scope_id__$14 = undefined;
8866
+ const __vue_scope_id__$13 = undefined;
8858
8867
  /* module identifier */
8859
- const __vue_module_identifier__$14 = undefined;
8868
+ const __vue_module_identifier__$13 = undefined;
8860
8869
  /* functional template */
8861
- const __vue_is_functional_template__$14 = false;
8870
+ const __vue_is_functional_template__$13 = false;
8862
8871
  /* style inject */
8863
8872
 
8864
8873
  /* style inject SSR */
@@ -8867,20 +8876,20 @@ var __vue_staticRenderFns__$10 = [];
8867
8876
 
8868
8877
 
8869
8878
 
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,
8879
+ const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
8880
+ { render: __vue_render__$$, staticRenderFns: __vue_staticRenderFns__$$ },
8881
+ __vue_inject_styles__$13,
8882
+ __vue_script__$12,
8883
+ __vue_scope_id__$13,
8884
+ __vue_is_functional_template__$13,
8885
+ __vue_module_identifier__$13,
8877
8886
  false,
8878
8887
  undefined);
8879
8888
 
8880
8889
  var mark = {
8881
- Color: __vue_component__$16,
8882
- Item: __vue_component__$15,
8883
- Link: __vue_component__$14
8890
+ Color: __vue_component__$15,
8891
+ Item: __vue_component__$14,
8892
+ Link: __vue_component__$13
8884
8893
  };
8885
8894
 
8886
8895
  //
@@ -8905,7 +8914,7 @@ var mark = {
8905
8914
  //
8906
8915
  //
8907
8916
 
8908
- var script$12 = {
8917
+ var script$11 = {
8909
8918
  name: 'MentionList',
8910
8919
 
8911
8920
  props: {
@@ -8987,40 +8996,40 @@ var script$12 = {
8987
8996
  };
8988
8997
 
8989
8998
  /* script */
8990
- const __vue_script__$12 = script$12;
8999
+ const __vue_script__$11 = script$11;
8991
9000
 
8992
9001
  /* template */
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:[
9002
+ 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:[
8994
9003
  'mention-option',
8995
9004
  { 'mention-option--highlighted': index === _vm.selectedIndex }
8996
9005
  ],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()};
8997
- var __vue_staticRenderFns__$$ = [];
9006
+ var __vue_staticRenderFns__$_ = [];
8998
9007
 
8999
9008
  /* style */
9000
- const __vue_inject_styles__$13 = function (inject) {
9009
+ const __vue_inject_styles__$12 = function (inject) {
9001
9010
  if (!inject) return
9002
9011
  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 });
9003
9012
 
9004
9013
  };
9005
9014
  /* scoped */
9006
- const __vue_scope_id__$13 = "data-v-d2ebe8ce";
9015
+ const __vue_scope_id__$12 = "data-v-d2ebe8ce";
9007
9016
  /* module identifier */
9008
- const __vue_module_identifier__$13 = undefined;
9017
+ const __vue_module_identifier__$12 = undefined;
9009
9018
  /* functional template */
9010
- const __vue_is_functional_template__$13 = false;
9019
+ const __vue_is_functional_template__$12 = false;
9011
9020
  /* style inject SSR */
9012
9021
 
9013
9022
  /* style inject shadow dom */
9014
9023
 
9015
9024
 
9016
9025
 
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,
9026
+ const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
9027
+ { render: __vue_render__$_, staticRenderFns: __vue_staticRenderFns__$_ },
9028
+ __vue_inject_styles__$12,
9029
+ __vue_script__$11,
9030
+ __vue_scope_id__$12,
9031
+ __vue_is_functional_template__$12,
9032
+ __vue_module_identifier__$12,
9024
9033
  false,
9025
9034
  createInjector);
9026
9035
 
@@ -9055,7 +9064,7 @@ var suggestion = {
9055
9064
  return {
9056
9065
  onStart: function onStart(props) {
9057
9066
  var _props$editor$view$do;
9058
- component = new vue2.VueRenderer(__vue_component__$13, {
9067
+ component = new vue2.VueRenderer(__vue_component__$12, {
9059
9068
  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,
9060
9069
  propsData: props
9061
9070
  });
@@ -9341,7 +9350,7 @@ var nodeTypes = getToolbar().filter(function (_ref2) {
9341
9350
  /**
9342
9351
  * Defines common props, methods between different toolbar item types
9343
9352
  */
9344
- var script$11 = {
9353
+ var script$10 = {
9345
9354
  props: {
9346
9355
  editor: {
9347
9356
  type: Object,
@@ -9454,18 +9463,18 @@ var script$11 = {
9454
9463
  };
9455
9464
 
9456
9465
  /* script */
9457
- const __vue_script__$11 = script$11;
9466
+ const __vue_script__$10 = script$10;
9458
9467
 
9459
9468
  /* template */
9460
9469
 
9461
9470
  /* style */
9462
- const __vue_inject_styles__$12 = undefined;
9471
+ const __vue_inject_styles__$11 = undefined;
9463
9472
  /* scoped */
9464
- const __vue_scope_id__$12 = undefined;
9473
+ const __vue_scope_id__$11 = undefined;
9465
9474
  /* module identifier */
9466
- const __vue_module_identifier__$12 = undefined;
9475
+ const __vue_module_identifier__$11 = undefined;
9467
9476
  /* functional template */
9468
- const __vue_is_functional_template__$12 = undefined;
9477
+ const __vue_is_functional_template__$11 = undefined;
9469
9478
  /* style inject */
9470
9479
 
9471
9480
  /* style inject SSR */
@@ -9474,13 +9483,13 @@ const __vue_script__$11 = script$11;
9474
9483
 
9475
9484
 
9476
9485
 
9477
- const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
9486
+ const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
9478
9487
  {},
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,
9488
+ __vue_inject_styles__$11,
9489
+ __vue_script__$10,
9490
+ __vue_scope_id__$11,
9491
+ __vue_is_functional_template__$11,
9492
+ __vue_module_identifier__$11,
9484
9493
  false,
9485
9494
  undefined);
9486
9495
 
@@ -9508,26 +9517,26 @@ const __vue_script__$11 = script$11;
9508
9517
  /**
9509
9518
  * Component is used to display node types; paragraph, headding, ...
9510
9519
  */
9511
- var script$10 = {
9520
+ var script$$ = {
9512
9521
  name: 'TNodeItem',
9513
- extends: __vue_component__$12,
9522
+ extends: __vue_component__$11,
9514
9523
  };
9515
9524
 
9516
9525
  /* script */
9517
- const __vue_script__$10 = script$10;
9526
+ const __vue_script__$$ = script$$;
9518
9527
 
9519
9528
  /* template */
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__$_ = [];
9529
+ 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)])};
9530
+ var __vue_staticRenderFns__$Z = [];
9522
9531
 
9523
9532
  /* style */
9524
- const __vue_inject_styles__$11 = undefined;
9533
+ const __vue_inject_styles__$10 = undefined;
9525
9534
  /* scoped */
9526
- const __vue_scope_id__$11 = undefined;
9535
+ const __vue_scope_id__$10 = undefined;
9527
9536
  /* module identifier */
9528
- const __vue_module_identifier__$11 = undefined;
9537
+ const __vue_module_identifier__$10 = undefined;
9529
9538
  /* functional template */
9530
- const __vue_is_functional_template__$11 = false;
9539
+ const __vue_is_functional_template__$10 = false;
9531
9540
  /* style inject */
9532
9541
 
9533
9542
  /* style inject SSR */
@@ -9536,18 +9545,18 @@ var __vue_staticRenderFns__$_ = [];
9536
9545
 
9537
9546
 
9538
9547
 
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,
9548
+ const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
9549
+ { render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
9550
+ __vue_inject_styles__$10,
9551
+ __vue_script__$$,
9552
+ __vue_scope_id__$10,
9553
+ __vue_is_functional_template__$10,
9554
+ __vue_module_identifier__$10,
9546
9555
  false,
9547
9556
  undefined);
9548
9557
 
9549
9558
  var node = {
9550
- Item: __vue_component__$11
9559
+ Item: __vue_component__$10
9551
9560
  };
9552
9561
 
9553
9562
  //
@@ -9592,10 +9601,10 @@ var node = {
9592
9601
  /**
9593
9602
  * Component is used to display node alignment formatting
9594
9603
  */
9595
- var script$$ = {
9604
+ var script$_ = {
9596
9605
  name: 'TNattrAlignment',
9597
9606
 
9598
- extends: __vue_component__$12,
9607
+ extends: __vue_component__$11,
9599
9608
 
9600
9609
  props: {
9601
9610
  isActive: {
@@ -9628,20 +9637,20 @@ var script$$ = {
9628
9637
  };
9629
9638
 
9630
9639
  /* script */
9631
- const __vue_script__$$ = script$$;
9640
+ const __vue_script__$_ = script$_;
9632
9641
 
9633
9642
  /* template */
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 = [];
9643
+ 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)};
9644
+ var __vue_staticRenderFns__$Y = [];
9636
9645
 
9637
9646
  /* style */
9638
- const __vue_inject_styles__$10 = undefined;
9647
+ const __vue_inject_styles__$$ = undefined;
9639
9648
  /* scoped */
9640
- const __vue_scope_id__$10 = undefined;
9649
+ const __vue_scope_id__$$ = undefined;
9641
9650
  /* module identifier */
9642
- const __vue_module_identifier__$10 = undefined;
9651
+ const __vue_module_identifier__$$ = undefined;
9643
9652
  /* functional template */
9644
- const __vue_is_functional_template__$10 = false;
9653
+ const __vue_is_functional_template__$$ = false;
9645
9654
  /* style inject */
9646
9655
 
9647
9656
  /* style inject SSR */
@@ -9650,13 +9659,13 @@ var __vue_staticRenderFns__$Z = [];
9650
9659
 
9651
9660
 
9652
9661
 
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,
9662
+ const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
9663
+ { render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
9664
+ __vue_inject_styles__$$,
9665
+ __vue_script__$_,
9666
+ __vue_scope_id__$$,
9667
+ __vue_is_functional_template__$$,
9668
+ __vue_module_identifier__$$,
9660
9669
  false,
9661
9670
  undefined);
9662
9671
 
@@ -9694,9 +9703,9 @@ var __vue_staticRenderFns__$Z = [];
9694
9703
  /**
9695
9704
  * Component is used to display node alignment formatting
9696
9705
  */
9697
- var script$_ = {
9706
+ var script$Z = {
9698
9707
  name: 'TNattrTable',
9699
- extends: __vue_component__$12,
9708
+ extends: __vue_component__$11,
9700
9709
 
9701
9710
  props: {
9702
9711
  isActive: {
@@ -9754,20 +9763,20 @@ var script$_ = {
9754
9763
  };
9755
9764
 
9756
9765
  /* script */
9757
- const __vue_script__$_ = script$_;
9766
+ const __vue_script__$Z = script$Z;
9758
9767
 
9759
9768
  /* template */
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 = [];
9769
+ 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)};
9770
+ var __vue_staticRenderFns__$X = [];
9762
9771
 
9763
9772
  /* style */
9764
- const __vue_inject_styles__$$ = undefined;
9773
+ const __vue_inject_styles__$_ = undefined;
9765
9774
  /* scoped */
9766
- const __vue_scope_id__$$ = undefined;
9775
+ const __vue_scope_id__$_ = undefined;
9767
9776
  /* module identifier */
9768
- const __vue_module_identifier__$$ = undefined;
9777
+ const __vue_module_identifier__$_ = undefined;
9769
9778
  /* functional template */
9770
- const __vue_is_functional_template__$$ = false;
9779
+ const __vue_is_functional_template__$_ = false;
9771
9780
  /* style inject */
9772
9781
 
9773
9782
  /* style inject SSR */
@@ -9776,19 +9785,19 @@ var __vue_staticRenderFns__$Y = [];
9776
9785
 
9777
9786
 
9778
9787
 
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__$$,
9788
+ const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
9789
+ { render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
9790
+ __vue_inject_styles__$_,
9791
+ __vue_script__$Z,
9792
+ __vue_scope_id__$_,
9793
+ __vue_is_functional_template__$_,
9794
+ __vue_module_identifier__$_,
9786
9795
  false,
9787
9796
  undefined);
9788
9797
 
9789
9798
  var nodeAttr = {
9790
- Alignment: __vue_component__$10,
9791
- Table: __vue_component__$$
9799
+ Alignment: __vue_component__$$,
9800
+ Table: __vue_component__$_
9792
9801
  };
9793
9802
 
9794
9803
  var cc = {
@@ -9826,7 +9835,7 @@ var cc = {
9826
9835
  //
9827
9836
 
9828
9837
 
9829
- var script$Z = {
9838
+ var script$Y = {
9830
9839
  inheritAttrs: true,
9831
9840
 
9832
9841
  props: {
@@ -9949,37 +9958,37 @@ var script$Z = {
9949
9958
  };
9950
9959
 
9951
9960
  /* script */
9952
- const __vue_script__$Z = script$Z;
9961
+ const __vue_script__$Y = script$Y;
9953
9962
 
9954
9963
  /* template */
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 = [];
9964
+ 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)};
9965
+ var __vue_staticRenderFns__$W = [];
9957
9966
 
9958
9967
  /* style */
9959
- const __vue_inject_styles__$_ = function (inject) {
9968
+ const __vue_inject_styles__$Z = function (inject) {
9960
9969
  if (!inject) return
9961
9970
  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 });
9962
9971
 
9963
9972
  };
9964
9973
  /* scoped */
9965
- const __vue_scope_id__$_ = undefined;
9974
+ const __vue_scope_id__$Z = undefined;
9966
9975
  /* module identifier */
9967
- const __vue_module_identifier__$_ = undefined;
9976
+ const __vue_module_identifier__$Z = undefined;
9968
9977
  /* functional template */
9969
- const __vue_is_functional_template__$_ = false;
9978
+ const __vue_is_functional_template__$Z = false;
9970
9979
  /* style inject SSR */
9971
9980
 
9972
9981
  /* style inject shadow dom */
9973
9982
 
9974
9983
 
9975
9984
 
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__$_,
9985
+ const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
9986
+ { render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
9987
+ __vue_inject_styles__$Z,
9988
+ __vue_script__$Y,
9989
+ __vue_scope_id__$Z,
9990
+ __vue_is_functional_template__$Z,
9991
+ __vue_module_identifier__$Z,
9983
9992
  false,
9984
9993
  createInjector);
9985
9994
 
@@ -10012,12 +10021,12 @@ var __vue_staticRenderFns__$X = [];
10012
10021
  //
10013
10022
 
10014
10023
 
10015
- var script$Y = {
10024
+ var script$X = {
10016
10025
  name: 'CRichTextInput',
10017
10026
 
10018
10027
  components: {
10019
10028
  EditorContent: vue2.EditorContent,
10020
- RToolbar: __vue_component__$_,
10029
+ RToolbar: __vue_component__$Z,
10021
10030
  },
10022
10031
 
10023
10032
  props: {
@@ -10119,37 +10128,37 @@ var script$Y = {
10119
10128
  };
10120
10129
 
10121
10130
  /* script */
10122
- const __vue_script__$Y = script$Y;
10131
+ const __vue_script__$X = script$X;
10123
10132
 
10124
10133
  /* template */
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 = [];
10134
+ 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)};
10135
+ var __vue_staticRenderFns__$V = [];
10127
10136
 
10128
10137
  /* style */
10129
- const __vue_inject_styles__$Z = function (inject) {
10138
+ const __vue_inject_styles__$Y = function (inject) {
10130
10139
  if (!inject) return
10131
10140
  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 });
10132
10141
 
10133
10142
  };
10134
10143
  /* scoped */
10135
- const __vue_scope_id__$Z = undefined;
10144
+ const __vue_scope_id__$Y = undefined;
10136
10145
  /* module identifier */
10137
- const __vue_module_identifier__$Z = undefined;
10146
+ const __vue_module_identifier__$Y = undefined;
10138
10147
  /* functional template */
10139
- const __vue_is_functional_template__$Z = false;
10148
+ const __vue_is_functional_template__$Y = false;
10140
10149
  /* style inject SSR */
10141
10150
 
10142
10151
  /* style inject shadow dom */
10143
10152
 
10144
10153
 
10145
10154
 
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,
10155
+ const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
10156
+ { render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
10157
+ __vue_inject_styles__$Y,
10158
+ __vue_script__$X,
10159
+ __vue_scope_id__$Y,
10160
+ __vue_is_functional_template__$Y,
10161
+ __vue_module_identifier__$Y,
10153
10162
  false,
10154
10163
  createInjector);
10155
10164
 
@@ -10184,7 +10193,7 @@ var __vue_staticRenderFns__$W = [];
10184
10193
  //
10185
10194
  //
10186
10195
 
10187
- var script$X = {
10196
+ var script$W = {
10188
10197
  props: {
10189
10198
  value: {
10190
10199
  type: Boolean,
@@ -10223,20 +10232,20 @@ var script$X = {
10223
10232
  };
10224
10233
 
10225
10234
  /* script */
10226
- const __vue_script__$X = script$X;
10235
+ const __vue_script__$W = script$W;
10227
10236
 
10228
10237
  /* template */
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 = [];
10238
+ 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)};
10239
+ var __vue_staticRenderFns__$U = [];
10231
10240
 
10232
10241
  /* style */
10233
- const __vue_inject_styles__$Y = undefined;
10242
+ const __vue_inject_styles__$X = undefined;
10234
10243
  /* scoped */
10235
- const __vue_scope_id__$Y = undefined;
10244
+ const __vue_scope_id__$X = undefined;
10236
10245
  /* module identifier */
10237
- const __vue_module_identifier__$Y = undefined;
10246
+ const __vue_module_identifier__$X = undefined;
10238
10247
  /* functional template */
10239
- const __vue_is_functional_template__$Y = false;
10248
+ const __vue_is_functional_template__$X = false;
10240
10249
  /* style inject */
10241
10250
 
10242
10251
  /* style inject SSR */
@@ -10245,13 +10254,13 @@ var __vue_staticRenderFns__$V = [];
10245
10254
 
10246
10255
 
10247
10256
 
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,
10257
+ const __vue_component__$X = /*#__PURE__*/normalizeComponent(
10258
+ { render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
10259
+ __vue_inject_styles__$X,
10260
+ __vue_script__$W,
10261
+ __vue_scope_id__$X,
10262
+ __vue_is_functional_template__$X,
10263
+ __vue_module_identifier__$X,
10255
10264
  false,
10256
10265
  undefined);
10257
10266
 
@@ -10289,7 +10298,7 @@ var __vue_staticRenderFns__$V = [];
10289
10298
 
10290
10299
  fontawesomeSvgCore.library.add(freeSolidSvgIcons.faExpandAlt);
10291
10300
 
10292
- var script$W = {
10301
+ var script$V = {
10293
10302
  components: {
10294
10303
  AceEditor,
10295
10304
  },
@@ -10552,38 +10561,38 @@ var script$W = {
10552
10561
  };
10553
10562
 
10554
10563
  /* script */
10555
- const __vue_script__$W = script$W;
10564
+ const __vue_script__$V = script$V;
10556
10565
 
10557
10566
  /* template */
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 = [];
10567
+ 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)};
10568
+ var __vue_staticRenderFns__$T = [];
10560
10569
 
10561
10570
  /* style */
10562
- const __vue_inject_styles__$X = function (inject) {
10571
+ const __vue_inject_styles__$W = function (inject) {
10563
10572
  if (!inject) return
10564
10573
  inject("data-v-0a4a06ee_0", { source: ".popout[data-v-0a4a06ee]{z-index:7;bottom:0;right:0}", map: undefined, media: undefined })
10565
10574
  ,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 });
10566
10575
 
10567
10576
  };
10568
10577
  /* scoped */
10569
- const __vue_scope_id__$X = "data-v-0a4a06ee";
10578
+ const __vue_scope_id__$W = "data-v-0a4a06ee";
10570
10579
  /* module identifier */
10571
- const __vue_module_identifier__$X = undefined;
10580
+ const __vue_module_identifier__$W = undefined;
10572
10581
  /* functional template */
10573
- const __vue_is_functional_template__$X = false;
10582
+ const __vue_is_functional_template__$W = false;
10574
10583
  /* style inject SSR */
10575
10584
 
10576
10585
  /* style inject shadow dom */
10577
10586
 
10578
10587
 
10579
10588
 
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,
10589
+ const __vue_component__$W = /*#__PURE__*/normalizeComponent(
10590
+ { render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
10591
+ __vue_inject_styles__$W,
10592
+ __vue_script__$V,
10593
+ __vue_scope_id__$W,
10594
+ __vue_is_functional_template__$W,
10595
+ __vue_module_identifier__$W,
10587
10596
  false,
10588
10597
  createInjector);
10589
10598
 
@@ -10604,9 +10613,9 @@ var __vue_staticRenderFns__$U = [];
10604
10613
  //
10605
10614
 
10606
10615
 
10607
- var script$V = {
10616
+ var script$U = {
10608
10617
  components: {
10609
- CAceEditor: __vue_component__$X,
10618
+ CAceEditor: __vue_component__$W,
10610
10619
  },
10611
10620
 
10612
10621
  props: {
@@ -10750,20 +10759,20 @@ var script$V = {
10750
10759
  };
10751
10760
 
10752
10761
  /* script */
10753
- const __vue_script__$V = script$V;
10762
+ const __vue_script__$U = script$U;
10754
10763
 
10755
10764
  /* template */
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 = [];
10765
+ 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)};
10766
+ var __vue_staticRenderFns__$S = [];
10758
10767
 
10759
10768
  /* style */
10760
- const __vue_inject_styles__$W = undefined;
10769
+ const __vue_inject_styles__$V = undefined;
10761
10770
  /* scoped */
10762
- const __vue_scope_id__$W = undefined;
10771
+ const __vue_scope_id__$V = undefined;
10763
10772
  /* module identifier */
10764
- const __vue_module_identifier__$W = undefined;
10773
+ const __vue_module_identifier__$V = undefined;
10765
10774
  /* functional template */
10766
- const __vue_is_functional_template__$W = false;
10775
+ const __vue_is_functional_template__$V = false;
10767
10776
  /* style inject */
10768
10777
 
10769
10778
  /* style inject SSR */
@@ -10772,13 +10781,13 @@ var __vue_staticRenderFns__$T = [];
10772
10781
 
10773
10782
 
10774
10783
 
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,
10784
+ const __vue_component__$V = /*#__PURE__*/normalizeComponent(
10785
+ { render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
10786
+ __vue_inject_styles__$V,
10787
+ __vue_script__$U,
10788
+ __vue_scope_id__$V,
10789
+ __vue_is_functional_template__$V,
10790
+ __vue_module_identifier__$V,
10782
10791
  false,
10783
10792
  undefined);
10784
10793
 
@@ -10817,7 +10826,7 @@ var __vue_staticRenderFns__$T = [];
10817
10826
  //
10818
10827
  //
10819
10828
 
10820
- var script$U = {
10829
+ var script$T = {
10821
10830
  name: 'CButtonSubmit',
10822
10831
 
10823
10832
  props: {
@@ -10870,20 +10879,20 @@ var script$U = {
10870
10879
  };
10871
10880
 
10872
10881
  /* script */
10873
- const __vue_script__$U = script$U;
10882
+ const __vue_script__$T = script$T;
10874
10883
 
10875
10884
  /* template */
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 = [];
10885
+ 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)};
10886
+ var __vue_staticRenderFns__$R = [];
10878
10887
 
10879
10888
  /* style */
10880
- const __vue_inject_styles__$V = undefined;
10889
+ const __vue_inject_styles__$U = undefined;
10881
10890
  /* scoped */
10882
- const __vue_scope_id__$V = undefined;
10891
+ const __vue_scope_id__$U = undefined;
10883
10892
  /* module identifier */
10884
- const __vue_module_identifier__$V = undefined;
10893
+ const __vue_module_identifier__$U = undefined;
10885
10894
  /* functional template */
10886
- const __vue_is_functional_template__$V = false;
10895
+ const __vue_is_functional_template__$U = false;
10887
10896
  /* style inject */
10888
10897
 
10889
10898
  /* style inject SSR */
@@ -10892,13 +10901,13 @@ var __vue_staticRenderFns__$S = [];
10892
10901
 
10893
10902
 
10894
10903
 
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,
10904
+ const __vue_component__$U = /*#__PURE__*/normalizeComponent(
10905
+ { render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
10906
+ __vue_inject_styles__$U,
10907
+ __vue_script__$T,
10908
+ __vue_scope_id__$U,
10909
+ __vue_is_functional_template__$U,
10910
+ __vue_module_identifier__$U,
10902
10911
  false,
10903
10912
  undefined);
10904
10913
 
@@ -10922,7 +10931,7 @@ var __vue_staticRenderFns__$S = [];
10922
10931
  //
10923
10932
 
10924
10933
 
10925
- var script$T = {
10934
+ var script$S = {
10926
10935
  props: {
10927
10936
  value: {
10928
10937
  type: [Array, String, Object],
@@ -11007,9 +11016,9 @@ var script$T = {
11007
11016
  }, 400),
11008
11017
 
11009
11018
  updateValue (role) {
11010
- // reset role-select value for better value presentation
11011
- if (this.clearOnSelect && this.$refs.roleSelect) {
11012
- this.$refs.roleSelect._data._value = undefined;
11019
+ // reset picker value for better value presentation
11020
+ if (this.$refs.picker && this.clearOnSelect) {
11021
+ this.$refs.picker._data._value = undefined;
11013
11022
  }
11014
11023
 
11015
11024
  this.$emit('input', role);
@@ -11022,20 +11031,20 @@ var script$T = {
11022
11031
  };
11023
11032
 
11024
11033
  /* script */
11025
- const __vue_script__$T = script$T;
11034
+ const __vue_script__$S = script$S;
11026
11035
 
11027
11036
  /* template */
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 = [];
11037
+ 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}})};
11038
+ var __vue_staticRenderFns__$Q = [];
11030
11039
 
11031
11040
  /* style */
11032
- const __vue_inject_styles__$U = undefined;
11041
+ const __vue_inject_styles__$T = undefined;
11033
11042
  /* scoped */
11034
- const __vue_scope_id__$U = undefined;
11043
+ const __vue_scope_id__$T = undefined;
11035
11044
  /* module identifier */
11036
- const __vue_module_identifier__$U = undefined;
11045
+ const __vue_module_identifier__$T = undefined;
11037
11046
  /* functional template */
11038
- const __vue_is_functional_template__$U = false;
11047
+ const __vue_is_functional_template__$T = false;
11039
11048
  /* style inject */
11040
11049
 
11041
11050
  /* style inject SSR */
@@ -11044,13 +11053,13 @@ var __vue_staticRenderFns__$R = [];
11044
11053
 
11045
11054
 
11046
11055
 
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,
11056
+ const __vue_component__$T = /*#__PURE__*/normalizeComponent(
11057
+ { render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
11058
+ __vue_inject_styles__$T,
11059
+ __vue_script__$S,
11060
+ __vue_scope_id__$T,
11061
+ __vue_is_functional_template__$T,
11062
+ __vue_module_identifier__$T,
11054
11063
  false,
11055
11064
  undefined);
11056
11065
 
@@ -11070,10 +11079,9 @@ var __vue_staticRenderFns__$R = [];
11070
11079
  //
11071
11080
  //
11072
11081
  //
11073
- //
11074
11082
 
11075
11083
 
11076
- var script$S = {
11084
+ var script$R = {
11077
11085
  name: 'CInputUser',
11078
11086
 
11079
11087
  props: {
@@ -11086,11 +11094,6 @@ var script$S = {
11086
11094
  type: String,
11087
11095
  default: '',
11088
11096
  },
11089
-
11090
- clearOnSelect: {
11091
- type: Boolean,
11092
- default: false,
11093
- },
11094
11097
  },
11095
11098
 
11096
11099
  data () {
@@ -11155,13 +11158,8 @@ var script$S = {
11155
11158
  }
11156
11159
  },
11157
11160
 
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);
11161
+ onUserUpdate ({ userID }) {
11162
+ this.$emit('input', userID);
11165
11163
  },
11166
11164
 
11167
11165
  getOptionKey ({ userID }) {
@@ -11174,162 +11172,11 @@ var script$S = {
11174
11172
  },
11175
11173
  };
11176
11174
 
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
-
11328
11175
  /* script */
11329
11176
  const __vue_script__$R = script$R;
11330
11177
 
11331
11178
  /* template */
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))};
11179
+ 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))};
11333
11180
  var __vue_staticRenderFns__$P = [];
11334
11181
 
11335
11182
  /* style */
@@ -11736,8 +11583,8 @@ var script$M = {
11736
11583
 
11737
11584
  components: {
11738
11585
  Rules: __vue_component__$O,
11739
- CInputSelect: __vue_component__$1c,
11740
- CInputRole: __vue_component__$U,
11586
+ CInputSelect: __vue_component__$1b,
11587
+ CInputRole: __vue_component__$T,
11741
11588
  },
11742
11589
 
11743
11590
  props: {
@@ -12371,7 +12218,7 @@ var script$H = {
12371
12218
  name: 'CPromptComposeRecordPicker',
12372
12219
 
12373
12220
  components: {
12374
- CInputSelect: __vue_component__$1c,
12221
+ CInputSelect: __vue_component__$1b,
12375
12222
  CPagination: __vue_component__$J,
12376
12223
  },
12377
12224
 
@@ -12638,7 +12485,7 @@ var script$G = {
12638
12485
  name: 'CPromptInput',
12639
12486
 
12640
12487
  components: {
12641
- CInputDateTime: __vue_component__$1d,
12488
+ CInputDateTime: __vue_component__$1c,
12642
12489
  },
12643
12490
 
12644
12491
  extends: __vue_component__$M,
@@ -12757,7 +12604,7 @@ var script$E = {
12757
12604
  name: 'CPromptOptions',
12758
12605
 
12759
12606
  components: {
12760
- CInputSelect: __vue_component__$1c,
12607
+ CInputSelect: __vue_component__$1b,
12761
12608
  },
12762
12609
 
12763
12610
  extends: __vue_component__$M,
@@ -14906,7 +14753,7 @@ var script$q = {
14906
14753
  const __vue_script__$q = script$q;
14907
14754
 
14908
14755
  /* template */
14909
- var __vue_render__$q = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.toasts),function(t){return _c('b-toast',_vm._b({key:t.id,attrs:{"visible":"","title":t.payload.title,"no-close-button":!t.actions.hide,"toast-class":"overflow-unset"},on:{"hide":function($event){t.actions.hide ? t.actions.hide.cb(t) : _vm.evtSink;}}},'b-toast',t.options || {},false),[_c('b-card',{staticClass:"border-0",attrs:{"header-bg-variant":"transparent","bg-variant":"transparent","body-class":"p-0"}},[_c('b-card-text',[_vm._v("\n "+_vm._s(t.payload.notes)+"\n ")]),_vm._v(" "),(t.payload.link)?_c('b-card-text',[_c('c-toaster-link',{attrs:{"link":t.payload.link}})],1):_vm._e(),_vm._v(" "),_vm._l((_vm.extraActions(t)),function(ref){
14756
+ var __vue_render__$q = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.toasts),function(t){return _c('b-toast',_vm._b({key:t.id,attrs:{"visible":"","title":t.payload.title,"no-close-button":!t.actions.hide,"toast-class":"overflow-unset"},on:{"hide":function($event){t.actions.hide ? t.actions.hide.cb(t) : _vm.evtSink;}}},'b-toast',t.options || {},false),[_c('b-card',{staticClass:"border-0",attrs:{"header-bg-variant":"transparent","bg-variant":"transparent","body-class":"p-0"}},[(t.payload.notes)?_c('b-card-text',[_vm._v("\n "+_vm._s(t.payload.notes)+"\n ")]):_vm._e(),_vm._v(" "),(t.payload.link)?_c('b-card-text',[_c('c-toaster-link',{attrs:{"link":t.payload.link}})],1):_vm._e(),_vm._v(" "),_vm._l((_vm.extraActions(t)),function(ref){
14910
14757
  var name = ref[0];
14911
14758
  var act = ref[1];
14912
14759
  return _c(_vm.actComponent(act),_vm._b({key:name,tag:"component",staticClass:"mr-1",on:{"action":function($event){act.cb ? act.cb(t, $event) : _vm.evtSink;}}},'component',act,false))})],2)],1)}),1)};
@@ -14915,7 +14762,7 @@ var __vue_staticRenderFns__$q = [];
14915
14762
  /* style */
14916
14763
  const __vue_inject_styles__$r = function (inject) {
14917
14764
  if (!inject) return
14918
- inject("data-v-6fbe9c62_0", { source: ".toast.overflow-unset{overflow:unset!important}", map: undefined, media: undefined });
14765
+ inject("data-v-1244b576_0", { source: ".toast.overflow-unset{overflow:unset!important}", map: undefined, media: undefined });
14919
14766
 
14920
14767
  };
14921
14768
  /* scoped */
@@ -15335,7 +15182,7 @@ var script$n = {
15335
15182
  components: {
15336
15183
  draggable: Draggable,
15337
15184
  CItemPickerItem: __vue_component__$p,
15338
- CInputSearch: __vue_component__$19,
15185
+ CInputSearch: __vue_component__$18,
15339
15186
  },
15340
15187
 
15341
15188
  props: {
@@ -16631,7 +16478,7 @@ var __vue_staticRenderFns__$i = [];
16631
16478
 
16632
16479
  var script$g = {
16633
16480
  components: {
16634
- CInputSelect: __vue_component__$1c,
16481
+ CInputSelect: __vue_component__$1b,
16635
16482
  },
16636
16483
 
16637
16484
  props: {
@@ -16992,7 +16839,7 @@ var script$f = {
16992
16839
  name: 'ResourceList',
16993
16840
 
16994
16841
  components: {
16995
- CInputSearch: __vue_component__$19,
16842
+ CInputSearch: __vue_component__$18,
16996
16843
  },
16997
16844
 
16998
16845
  props: {
@@ -17695,7 +17542,7 @@ n(css$3,{});
17695
17542
  var script$c = {
17696
17543
  components: {
17697
17544
  LControl: vue2Leaflet.LControl,
17698
- CInputSearch: __vue_component__$19,
17545
+ CInputSearch: __vue_component__$18,
17699
17546
  LPolygon: vue2Leaflet.LPolygon,
17700
17547
  LTileLayer: vue2Leaflet.LTileLayer,
17701
17548
  LMarker: vue2Leaflet.LMarker,
@@ -18492,7 +18339,7 @@ var script$8 = {
18492
18339
  },
18493
18340
 
18494
18341
  components: {
18495
- CInputConfirm: __vue_component__$1f,
18342
+ CInputConfirm: __vue_component__$1e,
18496
18343
  },
18497
18344
 
18498
18345
  props: {
@@ -19533,36 +19380,35 @@ var index$6 = {
19533
19380
  var index$5 = /*#__PURE__*/Object.freeze({
19534
19381
  __proto__: null,
19535
19382
  C3: index$6,
19536
- CAceEditor: __vue_component__$X,
19537
- CButtonSubmit: __vue_component__$V,
19383
+ CAceEditor: __vue_component__$W,
19384
+ CButtonSubmit: __vue_component__$U,
19538
19385
  CChart: __vue_component__$m,
19539
- CCorredorManualButtons: __vue_component__$1o,
19540
- CExtendSession: __vue_component__$1p,
19541
- CFormTableWrapper: __vue_component__$1b,
19386
+ CCorredorManualButtons: __vue_component__$1n,
19387
+ CExtendSession: __vue_component__$1o,
19388
+ CFormTableWrapper: __vue_component__$1a,
19542
19389
  CHint: __vue_component__$d,
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,
19390
+ CInputCheckbox: __vue_component__$X,
19391
+ CInputColorPicker: __vue_component__$17,
19392
+ CInputConfirm: __vue_component__$1e,
19393
+ CInputDateTime: __vue_component__$1c,
19394
+ CInputExpression: __vue_component__$V,
19395
+ CInputPresort: __vue_component__$19,
19396
+ CInputProcessing: __vue_component__$1d,
19397
+ CInputRole: __vue_component__$T,
19398
+ CInputSearch: __vue_component__$18,
19399
+ CInputSelect: __vue_component__$1b,
19400
+ CInputUser: __vue_component__$S,
19555
19401
  CItemPicker: __vue_component__$o,
19556
19402
  CItemPickerItem: __vue_component__$p,
19557
- CLightbox: __vue_component__$1j,
19403
+ CLightbox: __vue_component__$1i,
19558
19404
  CLoaderLogo: __vue_component__$B,
19559
19405
  CMap: __vue_component__$c,
19560
19406
  CNotificationButton: __vue_component__$A,
19561
19407
  CNotificationSidebar: __vue_component__$6,
19562
19408
  CPermissionsButton: __vue_component__$R,
19563
19409
  CPermissionsModal: __vue_component__$N,
19564
- CPreviewInline: __vue_component__$1g,
19565
- CPreviewLightbox: __vue_component__$1h,
19410
+ CPreviewInline: __vue_component__$1f,
19411
+ CPreviewLightbox: __vue_component__$1g,
19566
19412
  CProgress: __vue_component__$f,
19567
19413
  CPromptModal: __vue_component__$D,
19568
19414
  CPromptToast: __vue_component__$E,
@@ -19573,7 +19419,7 @@ var index$5 = /*#__PURE__*/Object.freeze({
19573
19419
  CReportTable: __vue_component__$j,
19574
19420
  CReportText: __vue_component__$i,
19575
19421
  CResourceList: __vue_component__$g,
19576
- CRichTextInput: __vue_component__$Z,
19422
+ CRichTextInput: __vue_component__$Y,
19577
19423
  CSensitivityLevelPicker: __vue_component__$h,
19578
19424
  CSidebar: __vue_component__$y,
19579
19425
  CSidebarNavItems: __vue_component__$x,