@cortezaproject/corteza-vue 2024.9.8-dev.2 → 2024.9.8-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -20,6 +20,7 @@ var core = require('@popperjs/core');
20
20
  var vue2 = require('@tiptap/vue-2');
21
21
  var vueColor = require('vue-color');
22
22
  var Mention = require('@tiptap/extension-mention');
23
+ var Emoji = require('@tiptap/extension-emoji');
23
24
  var extensionTable = require('@tiptap/extension-table');
24
25
  var TextAlign = require('@tiptap/extension-text-align');
25
26
  var extensionTextStyle = require('@tiptap/extension-text-style');
@@ -3885,6 +3886,7 @@ const storeKeyRefreshToken = 'auth.refresh-token';
3885
3886
  const maxStartAttempts = 5;
3886
3887
  class Auth {
3887
3888
  constructor({ app, verbose, cortezaAuthURL, callbackURL, entrypointURL, location, sessionStorage, refreshFactor, registerEventListener }) {
3889
+ this.listenersBound = false;
3888
3890
  if (refreshFactor >= 1 || refreshFactor <= 0) {
3889
3891
  throw new Error('refreshFactor should be between 0 and 1');
3890
3892
  }
@@ -3954,8 +3956,7 @@ class Auth {
3954
3956
  // State management
3955
3957
  const dup = this.handleStateManagement();
3956
3958
  if (dup) {
3957
- this.log.debug('duplicate tab: unauthorized');
3958
- throw new Error('Unauthenticated');
3959
+ this.log.debug('duplicate tab detected, will attempt to re-authenticate using refresh token');
3959
3960
  }
3960
3961
  // Handle auth callback requests
3961
3962
  const params = new URLSearchParams(req.search);
@@ -3992,6 +3993,9 @@ class Auth {
3992
3993
  return dup;
3993
3994
  }
3994
3995
  bindListeners() {
3996
+ if (this.listenersBound)
3997
+ return;
3998
+ this.listenersBound = true;
3995
3999
  // binding multiple listeners for cases where some browser refuser
3996
4000
  // to emit one of them.
3997
4001
  this.registerEventListener('pagehide', () => {
@@ -4019,6 +4023,7 @@ class Auth {
4019
4023
  const key = this.sessionStorage.key(i);
4020
4024
  if (key !== null && stateKey.test(key)) {
4021
4025
  this.sessionStorage.removeItem(key);
4026
+ i--; // compensate for shifted indices after removal
4022
4027
  }
4023
4028
  }
4024
4029
  }
@@ -4085,7 +4090,10 @@ class Auth {
4085
4090
  } }, data));
4086
4091
  this[user] = authUser;
4087
4092
  this.bindListeners();
4088
- return data;
4093
+ return {
4094
+ accessTokenFn: this.accessTokenFn,
4095
+ user: authUser,
4096
+ };
4089
4097
  }).catch((error) => {
4090
4098
  this.log.error('data fetch form info endpoint failed', { oauth2InfoURL, headers, error });
4091
4099
  // assume invalid JWT and remove it
@@ -4097,10 +4105,9 @@ class Auth {
4097
4105
  if (refreshToken) {
4098
4106
  this.log.debug('refresh token found', { refreshToken });
4099
4107
  /**
4100
- * Only exchange refresh token if this is the final state (see startFinalState function for more details)
4101
- *
4102
- * If this is a duplicated-session, an error will be thrown and authentication will be (probably)
4103
- * restarted by the caller.
4108
+ * Refresh token found in the storage,
4109
+ * exchange it for a new access token.
4110
+ * Duplicate tabs will also use this path with the cloned refresh token.
4104
4111
  */
4105
4112
  this.log.info('refreshing token', refreshToken);
4106
4113
  /**
@@ -5891,7 +5898,7 @@ var index$8 = /*#__PURE__*/Object.freeze({
5891
5898
  //
5892
5899
 
5893
5900
 
5894
- var script$1t = {
5901
+ var script$1w = {
5895
5902
  name: 'CExtendSession',
5896
5903
 
5897
5904
  props: {
@@ -6068,20 +6075,20 @@ function normalizeComponent(template, style, script, scopeId, isFunctionalTempla
6068
6075
  }
6069
6076
 
6070
6077
  /* script */
6071
- const __vue_script__$1t = script$1t;
6078
+ const __vue_script__$1w = script$1w;
6072
6079
 
6073
6080
  /* template */
6074
- var __vue_render__$1o = 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)};
6075
- var __vue_staticRenderFns__$1o = [];
6081
+ var __vue_render__$1r = 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)};
6082
+ var __vue_staticRenderFns__$1r = [];
6076
6083
 
6077
6084
  /* style */
6078
- const __vue_inject_styles__$1v = undefined;
6085
+ const __vue_inject_styles__$1y = undefined;
6079
6086
  /* scoped */
6080
- const __vue_scope_id__$1v = undefined;
6087
+ const __vue_scope_id__$1y = undefined;
6081
6088
  /* module identifier */
6082
- const __vue_module_identifier__$1v = undefined;
6089
+ const __vue_module_identifier__$1y = undefined;
6083
6090
  /* functional template */
6084
- const __vue_is_functional_template__$1v = false;
6091
+ const __vue_is_functional_template__$1y = false;
6085
6092
  /* style inject */
6086
6093
 
6087
6094
  /* style inject SSR */
@@ -6090,17 +6097,17 @@ var __vue_staticRenderFns__$1o = [];
6090
6097
 
6091
6098
 
6092
6099
 
6093
- const __vue_component__$1v = /*#__PURE__*/normalizeComponent(
6094
- { render: __vue_render__$1o, staticRenderFns: __vue_staticRenderFns__$1o },
6095
- __vue_inject_styles__$1v,
6096
- __vue_script__$1t,
6097
- __vue_scope_id__$1v,
6098
- __vue_is_functional_template__$1v,
6099
- __vue_module_identifier__$1v,
6100
+ const __vue_component__$1y = /*#__PURE__*/normalizeComponent(
6101
+ { render: __vue_render__$1r, staticRenderFns: __vue_staticRenderFns__$1r },
6102
+ __vue_inject_styles__$1y,
6103
+ __vue_script__$1w,
6104
+ __vue_scope_id__$1y,
6105
+ __vue_is_functional_template__$1y,
6106
+ __vue_module_identifier__$1y,
6100
6107
  false,
6101
6108
  undefined);
6102
6109
 
6103
- var script$1s = {
6110
+ var script$1v = {
6104
6111
  props: {
6105
6112
  resourceType: {
6106
6113
  type: String,
@@ -6141,20 +6148,20 @@ var script$1s = {
6141
6148
  };
6142
6149
 
6143
6150
  /* script */
6144
- const __vue_script__$1s = script$1s;
6151
+ const __vue_script__$1v = script$1v;
6145
6152
 
6146
6153
  /* template */
6147
- var __vue_render__$1n = 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()};
6148
- var __vue_staticRenderFns__$1n = [];
6154
+ var __vue_render__$1q = 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()};
6155
+ var __vue_staticRenderFns__$1q = [];
6149
6156
 
6150
6157
  /* style */
6151
- const __vue_inject_styles__$1u = undefined;
6158
+ const __vue_inject_styles__$1x = undefined;
6152
6159
  /* scoped */
6153
- const __vue_scope_id__$1u = undefined;
6160
+ const __vue_scope_id__$1x = undefined;
6154
6161
  /* module identifier */
6155
- const __vue_module_identifier__$1u = undefined;
6162
+ const __vue_module_identifier__$1x = undefined;
6156
6163
  /* functional template */
6157
- const __vue_is_functional_template__$1u = false;
6164
+ const __vue_is_functional_template__$1x = false;
6158
6165
  /* style inject */
6159
6166
 
6160
6167
  /* style inject SSR */
@@ -6163,13 +6170,13 @@ var __vue_staticRenderFns__$1n = [];
6163
6170
 
6164
6171
 
6165
6172
 
6166
- const __vue_component__$1u = /*#__PURE__*/normalizeComponent(
6167
- { render: __vue_render__$1n, staticRenderFns: __vue_staticRenderFns__$1n },
6168
- __vue_inject_styles__$1u,
6169
- __vue_script__$1s,
6170
- __vue_scope_id__$1u,
6171
- __vue_is_functional_template__$1u,
6172
- __vue_module_identifier__$1u,
6173
+ const __vue_component__$1x = /*#__PURE__*/normalizeComponent(
6174
+ { render: __vue_render__$1q, staticRenderFns: __vue_staticRenderFns__$1q },
6175
+ __vue_inject_styles__$1x,
6176
+ __vue_script__$1v,
6177
+ __vue_scope_id__$1x,
6178
+ __vue_is_functional_template__$1x,
6179
+ __vue_module_identifier__$1x,
6173
6180
  false,
6174
6181
  undefined);
6175
6182
 
@@ -6234,7 +6241,7 @@ var __vue_staticRenderFns__$1n = [];
6234
6241
  //
6235
6242
 
6236
6243
 
6237
- var script$1r = {
6244
+ var script$1u = {
6238
6245
  name: 'CUploader',
6239
6246
 
6240
6247
  i18nOptions: {
@@ -6468,42 +6475,42 @@ function addStyle(id, css) {
6468
6475
  }
6469
6476
 
6470
6477
  /* script */
6471
- const __vue_script__$1r = script$1r;
6478
+ const __vue_script__$1u = script$1u;
6472
6479
 
6473
6480
  /* template */
6474
- var __vue_render__$1m = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('vue-dropzone',{ref:"dropzone",staticClass:"uploader",attrs:{"id":"dropzone","use-custom-slot":true,"include-styling":false,"options":_vm.dzOptions},on:{"vdropzone-file-added":_vm.onFileAdded,"vdropzone-file-added-manually":_vm.onFileAdded,"vdropzone-success":_vm.onSuccess,"vdropzone-error":_vm.onError,"vdropzone-upload-progress":_vm.onUploadProgress}},[_c('div',{staticClass:"drop-container w-100 h-100 position-relative bg-light rounded"},[(_vm.processing)?[_c('div',{staticClass:"bg-primary h-100 progress-bar position-absolute",style:(_vm.progressBarStyle)}),_vm._v(" "),_c('span',{staticClass:"d-flex align-items-center h-100 w-100 uploading justify-content-center position-relative py-2"},[_vm._v("\n "+_vm._s(_vm.uploadingLabel)+"\n ")])]:_c('div',{staticClass:"d-flex align-items-center h-100 w-100 p-2 droparea justify-content-center",attrs:{"data-test-id":"drop-area"}},[(_vm.error)?_c('span',{staticClass:"text-danger"},[_vm._v("\n "+_vm._s(_vm.error)+"\n ")]):(_vm.activeLabel)?_c('span',[_vm._v("\n "+_vm._s(_vm.activeLabel)+"\n ")]):_c('span',{staticClass:"text-muted"},[_vm._v("\n "+_vm._s(_vm.placeholderLabel)+"\n ")])])],2)])],1)};
6475
- var __vue_staticRenderFns__$1m = [];
6481
+ var __vue_render__$1p = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('vue-dropzone',{ref:"dropzone",staticClass:"uploader",attrs:{"id":"dropzone","use-custom-slot":true,"include-styling":false,"options":_vm.dzOptions},on:{"vdropzone-file-added":_vm.onFileAdded,"vdropzone-file-added-manually":_vm.onFileAdded,"vdropzone-success":_vm.onSuccess,"vdropzone-error":_vm.onError,"vdropzone-upload-progress":_vm.onUploadProgress}},[_c('div',{staticClass:"drop-container w-100 h-100 position-relative bg-light rounded"},[(_vm.processing)?[_c('div',{staticClass:"bg-primary h-100 progress-bar position-absolute",style:(_vm.progressBarStyle)}),_vm._v(" "),_c('span',{staticClass:"d-flex align-items-center h-100 w-100 uploading justify-content-center position-relative py-2"},[_vm._v("\n "+_vm._s(_vm.uploadingLabel)+"\n ")])]:_c('div',{staticClass:"d-flex align-items-center h-100 w-100 p-2 droparea justify-content-center",attrs:{"data-test-id":"drop-area"}},[(_vm.error)?_c('span',{staticClass:"text-danger"},[_vm._v("\n "+_vm._s(_vm.error)+"\n ")]):(_vm.activeLabel)?_c('span',[_vm._v("\n "+_vm._s(_vm.activeLabel)+"\n ")]):_c('span',{staticClass:"text-muted"},[_vm._v("\n "+_vm._s(_vm.placeholderLabel)+"\n ")])])],2)])],1)};
6482
+ var __vue_staticRenderFns__$1p = [];
6476
6483
 
6477
6484
  /* style */
6478
- const __vue_inject_styles__$1t = function (inject) {
6485
+ const __vue_inject_styles__$1w = function (inject) {
6479
6486
  if (!inject) return
6480
6487
  inject("data-v-e52daf28_0", { source: ".drop-container[data-v-e52daf28]:hover{background-color:var(--extra-light)!important}.droparea[data-v-e52daf28]{cursor:pointer}.progress-bar[data-v-e52daf28]{width:0;opacity:.3}.uploading[data-v-e52daf28]{background-size:100% 100%;background-position:right bottom;cursor:wait}", map: undefined, media: undefined })
6481
6488
  ,inject("data-v-e52daf28_1", { source: ".uploader .dz-preview{display:none!important}", map: undefined, media: undefined });
6482
6489
 
6483
6490
  };
6484
6491
  /* scoped */
6485
- const __vue_scope_id__$1t = "data-v-e52daf28";
6492
+ const __vue_scope_id__$1w = "data-v-e52daf28";
6486
6493
  /* module identifier */
6487
- const __vue_module_identifier__$1t = undefined;
6494
+ const __vue_module_identifier__$1w = undefined;
6488
6495
  /* functional template */
6489
- const __vue_is_functional_template__$1t = false;
6496
+ const __vue_is_functional_template__$1w = false;
6490
6497
  /* style inject SSR */
6491
6498
 
6492
6499
  /* style inject shadow dom */
6493
6500
 
6494
6501
 
6495
6502
 
6496
- const __vue_component__$1t = /*#__PURE__*/normalizeComponent(
6497
- { render: __vue_render__$1m, staticRenderFns: __vue_staticRenderFns__$1m },
6498
- __vue_inject_styles__$1t,
6499
- __vue_script__$1r,
6500
- __vue_scope_id__$1t,
6501
- __vue_is_functional_template__$1t,
6502
- __vue_module_identifier__$1t,
6503
+ const __vue_component__$1w = /*#__PURE__*/normalizeComponent(
6504
+ { render: __vue_render__$1p, staticRenderFns: __vue_staticRenderFns__$1p },
6505
+ __vue_inject_styles__$1w,
6506
+ __vue_script__$1u,
6507
+ __vue_scope_id__$1w,
6508
+ __vue_is_functional_template__$1w,
6509
+ __vue_module_identifier__$1w,
6503
6510
  false,
6504
6511
  createInjector);
6505
6512
 
6506
- var script$1q = {
6513
+ var script$1t = {
6507
6514
  props: {
6508
6515
  labels: {
6509
6516
  type: Object,
@@ -6549,18 +6556,18 @@ var script$1q = {
6549
6556
  };
6550
6557
 
6551
6558
  /* script */
6552
- const __vue_script__$1q = script$1q;
6559
+ const __vue_script__$1t = script$1t;
6553
6560
 
6554
6561
  /* template */
6555
6562
 
6556
6563
  /* style */
6557
- const __vue_inject_styles__$1s = undefined;
6564
+ const __vue_inject_styles__$1v = undefined;
6558
6565
  /* scoped */
6559
- const __vue_scope_id__$1s = undefined;
6566
+ const __vue_scope_id__$1v = undefined;
6560
6567
  /* module identifier */
6561
- const __vue_module_identifier__$1s = undefined;
6568
+ const __vue_module_identifier__$1v = undefined;
6562
6569
  /* functional template */
6563
- const __vue_is_functional_template__$1s = undefined;
6570
+ const __vue_is_functional_template__$1v = undefined;
6564
6571
  /* style inject */
6565
6572
 
6566
6573
  /* style inject SSR */
@@ -6569,18 +6576,18 @@ const __vue_script__$1q = script$1q;
6569
6576
 
6570
6577
 
6571
6578
 
6572
- const __vue_component__$1s = /*#__PURE__*/normalizeComponent(
6579
+ const __vue_component__$1v = /*#__PURE__*/normalizeComponent(
6573
6580
  {},
6574
- __vue_inject_styles__$1s,
6575
- __vue_script__$1q,
6576
- __vue_scope_id__$1s,
6577
- __vue_is_functional_template__$1s,
6578
- __vue_module_identifier__$1s,
6581
+ __vue_inject_styles__$1v,
6582
+ __vue_script__$1t,
6583
+ __vue_scope_id__$1v,
6584
+ __vue_is_functional_template__$1v,
6585
+ __vue_module_identifier__$1v,
6579
6586
  false,
6580
6587
  undefined);
6581
6588
 
6582
- var script$1p = {
6583
- extends: __vue_component__$1s,
6589
+ var script$1s = {
6590
+ extends: __vue_component__$1v,
6584
6591
 
6585
6592
  props: {
6586
6593
  alt: {
@@ -6636,46 +6643,46 @@ var script$1p = {
6636
6643
  };
6637
6644
 
6638
6645
  /* script */
6639
- const __vue_script__$1p = script$1p;
6646
+ const __vue_script__$1s = script$1s;
6640
6647
 
6641
6648
  /* template */
6642
- var __vue_render__$1l = 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){$event.stopPropagation();return _vm.$emit('openPreview', {})},"~error":function($event){return _vm.reloadBrokenImage.apply(null, arguments)},"load":function($event){_vm.loaded=true;}}})])};
6643
- var __vue_staticRenderFns__$1l = [];
6649
+ var __vue_render__$1o = 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){$event.stopPropagation();return _vm.$emit('openPreview', {})},"~error":function($event){return _vm.reloadBrokenImage.apply(null, arguments)},"load":function($event){_vm.loaded=true;}}})])};
6650
+ var __vue_staticRenderFns__$1o = [];
6644
6651
 
6645
6652
  /* style */
6646
- const __vue_inject_styles__$1r = function (inject) {
6653
+ const __vue_inject_styles__$1u = function (inject) {
6647
6654
  if (!inject) return
6648
6655
  inject("data-v-5b9058f1_0", { source: "div[data-v-5b9058f1]{object-fit:contain}div img.loaded[data-v-5b9058f1]{width:auto;height:auto;display:block}div.inline img[data-v-5b9058f1]{cursor:zoom-in}div.inline img.disable-zoom-cursor[data-v-5b9058f1]{cursor:default}", map: undefined, media: undefined });
6649
6656
 
6650
6657
  };
6651
6658
  /* scoped */
6652
- const __vue_scope_id__$1r = "data-v-5b9058f1";
6659
+ const __vue_scope_id__$1u = "data-v-5b9058f1";
6653
6660
  /* module identifier */
6654
- const __vue_module_identifier__$1r = undefined;
6661
+ const __vue_module_identifier__$1u = undefined;
6655
6662
  /* functional template */
6656
- const __vue_is_functional_template__$1r = false;
6663
+ const __vue_is_functional_template__$1u = false;
6657
6664
  /* style inject SSR */
6658
6665
 
6659
6666
  /* style inject shadow dom */
6660
6667
 
6661
6668
 
6662
6669
 
6663
- const __vue_component__$1r = /*#__PURE__*/normalizeComponent(
6664
- { render: __vue_render__$1l, staticRenderFns: __vue_staticRenderFns__$1l },
6665
- __vue_inject_styles__$1r,
6666
- __vue_script__$1p,
6667
- __vue_scope_id__$1r,
6668
- __vue_is_functional_template__$1r,
6669
- __vue_module_identifier__$1r,
6670
+ const __vue_component__$1u = /*#__PURE__*/normalizeComponent(
6671
+ { render: __vue_render__$1o, staticRenderFns: __vue_staticRenderFns__$1o },
6672
+ __vue_inject_styles__$1u,
6673
+ __vue_script__$1s,
6674
+ __vue_scope_id__$1u,
6675
+ __vue_is_functional_template__$1u,
6676
+ __vue_module_identifier__$1u,
6670
6677
  false,
6671
6678
  createInjector);
6672
6679
 
6673
- var script$1o = {
6680
+ var script$1r = {
6674
6681
  components: {
6675
6682
  PhotoSwipe: vPhotoswipe.PhotoSwipe,
6676
6683
  },
6677
6684
 
6678
- extends: __vue_component__$1s,
6685
+ extends: __vue_component__$1v,
6679
6686
 
6680
6687
  data () {
6681
6688
  return {
@@ -6731,37 +6738,37 @@ var script$1o = {
6731
6738
  };
6732
6739
 
6733
6740
  /* script */
6734
- const __vue_script__$1o = script$1o;
6741
+ const __vue_script__$1r = script$1r;
6735
6742
 
6736
6743
  /* template */
6737
- var __vue_render__$1k = 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)};
6738
- var __vue_staticRenderFns__$1k = [];
6744
+ var __vue_render__$1n = 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)};
6745
+ var __vue_staticRenderFns__$1n = [];
6739
6746
 
6740
6747
  /* style */
6741
- const __vue_inject_styles__$1q = function (inject) {
6748
+ const __vue_inject_styles__$1t = function (inject) {
6742
6749
  if (!inject) return
6743
6750
  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 });
6744
6751
 
6745
6752
  };
6746
6753
  /* scoped */
6747
- const __vue_scope_id__$1q = undefined;
6754
+ const __vue_scope_id__$1t = undefined;
6748
6755
  /* module identifier */
6749
- const __vue_module_identifier__$1q = undefined;
6756
+ const __vue_module_identifier__$1t = undefined;
6750
6757
  /* functional template */
6751
- const __vue_is_functional_template__$1q = false;
6758
+ const __vue_is_functional_template__$1t = false;
6752
6759
  /* style inject SSR */
6753
6760
 
6754
6761
  /* style inject shadow dom */
6755
6762
 
6756
6763
 
6757
6764
 
6758
- const __vue_component__$1q = /*#__PURE__*/normalizeComponent(
6759
- { render: __vue_render__$1k, staticRenderFns: __vue_staticRenderFns__$1k },
6760
- __vue_inject_styles__$1q,
6761
- __vue_script__$1o,
6762
- __vue_scope_id__$1q,
6763
- __vue_is_functional_template__$1q,
6764
- __vue_module_identifier__$1q,
6765
+ const __vue_component__$1t = /*#__PURE__*/normalizeComponent(
6766
+ { render: __vue_render__$1n, staticRenderFns: __vue_staticRenderFns__$1n },
6767
+ __vue_inject_styles__$1t,
6768
+ __vue_script__$1r,
6769
+ __vue_scope_id__$1t,
6770
+ __vue_is_functional_template__$1t,
6771
+ __vue_module_identifier__$1t,
6765
6772
  false,
6766
6773
  createInjector);
6767
6774
 
@@ -6855,8 +6862,8 @@ function sleep (t) {
6855
6862
  return new Promise(resolve => setTimeout(resolve, t))
6856
6863
  }
6857
6864
 
6858
- var script$1n = {
6859
- extends: __vue_component__$1s,
6865
+ var script$1q = {
6866
+ extends: __vue_component__$1v,
6860
6867
 
6861
6868
  props: {
6862
6869
  retryBackoff: {
@@ -7106,38 +7113,38 @@ var script$1n = {
7106
7113
  };
7107
7114
 
7108
7115
  /* script */
7109
- const __vue_script__$1n = script$1n;
7116
+ const __vue_script__$1q = script$1q;
7110
7117
 
7111
7118
  /* template */
7112
- var __vue_render__$1j = 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":function($event){$event.stopPropagation();return _vm.onPreviewClick.apply(null, arguments)}}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],ref:"pages",staticClass:"pages shadow-sm"}),_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()])};
7113
- var __vue_staticRenderFns__$1j = [];
7119
+ var __vue_render__$1m = 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":function($event){$event.stopPropagation();return _vm.onPreviewClick.apply(null, arguments)}}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],ref:"pages",staticClass:"pages shadow-sm"}),_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()])};
7120
+ var __vue_staticRenderFns__$1m = [];
7114
7121
 
7115
7122
  /* style */
7116
- const __vue_inject_styles__$1p = function (inject) {
7123
+ const __vue_inject_styles__$1s = function (inject) {
7117
7124
  if (!inject) return
7118
7125
  inject("data-v-3e0f4f9c_0", { source: ".doc-msg[data-v-3e0f4f9c]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;background-color:var(--white)}.doc-err[data-v-3e0f4f9c]{cursor:pointer}.doc-err .err-message[data-v-3e0f4f9c]{color:var(--danger)}", map: undefined, media: undefined })
7119
7126
  ,inject("data-v-3e0f4f9c_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;width:80%;height:auto}.pdf-preview canvas:last-of-type{margin-bottom:unset}.pdf-preview .loader{margin-bottom:10px}", map: undefined, media: undefined });
7120
7127
 
7121
7128
  };
7122
7129
  /* scoped */
7123
- const __vue_scope_id__$1p = "data-v-3e0f4f9c";
7130
+ const __vue_scope_id__$1s = "data-v-3e0f4f9c";
7124
7131
  /* module identifier */
7125
- const __vue_module_identifier__$1p = undefined;
7132
+ const __vue_module_identifier__$1s = undefined;
7126
7133
  /* functional template */
7127
- const __vue_is_functional_template__$1p = false;
7134
+ const __vue_is_functional_template__$1s = false;
7128
7135
  /* style inject SSR */
7129
7136
 
7130
7137
  /* style inject shadow dom */
7131
7138
 
7132
7139
 
7133
7140
 
7134
- const __vue_component__$1p = /*#__PURE__*/normalizeComponent(
7135
- { render: __vue_render__$1j, staticRenderFns: __vue_staticRenderFns__$1j },
7136
- __vue_inject_styles__$1p,
7137
- __vue_script__$1n,
7138
- __vue_scope_id__$1p,
7139
- __vue_is_functional_template__$1p,
7140
- __vue_module_identifier__$1p,
7141
+ const __vue_component__$1s = /*#__PURE__*/normalizeComponent(
7142
+ { render: __vue_render__$1m, staticRenderFns: __vue_staticRenderFns__$1m },
7143
+ __vue_inject_styles__$1s,
7144
+ __vue_script__$1q,
7145
+ __vue_scope_id__$1s,
7146
+ __vue_is_functional_template__$1s,
7147
+ __vue_module_identifier__$1s,
7141
7148
  false,
7142
7149
  createInjector);
7143
7150
 
@@ -7223,7 +7230,7 @@ var getExtensionIconType = function getExtensionIconType(ext) {
7223
7230
  }
7224
7231
  };
7225
7232
 
7226
- var script$1m = {
7233
+ var script$1p = {
7227
7234
  inheritAttrs: false,
7228
7235
 
7229
7236
  props: {
@@ -7241,18 +7248,18 @@ var script$1m = {
7241
7248
  };
7242
7249
 
7243
7250
  /* script */
7244
- const __vue_script__$1m = script$1m;
7251
+ const __vue_script__$1p = script$1p;
7245
7252
 
7246
7253
  /* template */
7247
7254
 
7248
7255
  /* style */
7249
- const __vue_inject_styles__$1o = undefined;
7256
+ const __vue_inject_styles__$1r = undefined;
7250
7257
  /* scoped */
7251
- const __vue_scope_id__$1o = undefined;
7258
+ const __vue_scope_id__$1r = undefined;
7252
7259
  /* module identifier */
7253
- const __vue_module_identifier__$1o = undefined;
7260
+ const __vue_module_identifier__$1r = undefined;
7254
7261
  /* functional template */
7255
- const __vue_is_functional_template__$1o = undefined;
7262
+ const __vue_is_functional_template__$1r = undefined;
7256
7263
  /* style inject */
7257
7264
 
7258
7265
  /* style inject SSR */
@@ -7261,18 +7268,18 @@ const __vue_script__$1m = script$1m;
7261
7268
 
7262
7269
 
7263
7270
 
7264
- const __vue_component__$1o = /*#__PURE__*/normalizeComponent(
7271
+ const __vue_component__$1r = /*#__PURE__*/normalizeComponent(
7265
7272
  {},
7266
- __vue_inject_styles__$1o,
7267
- __vue_script__$1m,
7268
- __vue_scope_id__$1o,
7269
- __vue_is_functional_template__$1o,
7270
- __vue_module_identifier__$1o,
7273
+ __vue_inject_styles__$1r,
7274
+ __vue_script__$1p,
7275
+ __vue_scope_id__$1r,
7276
+ __vue_is_functional_template__$1r,
7277
+ __vue_module_identifier__$1r,
7271
7278
  false,
7272
7279
  undefined);
7273
7280
 
7274
- var script$1l = {
7275
- extends: __vue_component__$1o,
7281
+ var script$1o = {
7282
+ extends: __vue_component__$1r,
7276
7283
 
7277
7284
  props: {
7278
7285
  previewStyle: {
@@ -7296,100 +7303,100 @@ var script$1l = {
7296
7303
  };
7297
7304
 
7298
7305
  /* script */
7299
- const __vue_script__$1l = script$1l;
7306
+ const __vue_script__$1o = script$1o;
7300
7307
 
7301
7308
  /* template */
7302
- var __vue_render__$1i = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex align-items-center justify-content-center h-100 mb-2"},[(_vm.inline)?_c('font-awesome-icon',{staticClass:"inline-icon d-block text-secondary",style:(_vm.previewStyle),attrs:{"title":_vm.name,"icon":['far', ("file-" + _vm.icon)]},on:{"click":function($event){$event.stopPropagation();return _vm.$emit('openPreview')}}}):_c('p',{staticClass:"text-secondary"},[_vm._v("\n "+_vm._s(_vm.labels.previewUnavailable || 'Preview unavailable')+"\n ")])],1)};
7303
- var __vue_staticRenderFns__$1i = [];
7309
+ var __vue_render__$1l = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex align-items-center justify-content-center h-100 mb-2"},[(_vm.inline)?_c('font-awesome-icon',{staticClass:"inline-icon d-block text-secondary",style:(_vm.previewStyle),attrs:{"title":_vm.name,"icon":['far', ("file-" + _vm.icon)]},on:{"click":function($event){$event.stopPropagation();return _vm.$emit('openPreview')}}}):_c('p',{staticClass:"text-secondary"},[_vm._v("\n "+_vm._s(_vm.labels.previewUnavailable || 'Preview unavailable')+"\n ")])],1)};
7310
+ var __vue_staticRenderFns__$1l = [];
7304
7311
 
7305
7312
  /* style */
7306
- const __vue_inject_styles__$1n = function (inject) {
7313
+ const __vue_inject_styles__$1q = function (inject) {
7307
7314
  if (!inject) return
7308
7315
  inject("data-v-50b4344a_0", { source: ".inline-icon[data-v-50b4344a]{cursor:zoom-in}", map: undefined, media: undefined });
7309
7316
 
7310
7317
  };
7311
7318
  /* scoped */
7312
- const __vue_scope_id__$1n = "data-v-50b4344a";
7319
+ const __vue_scope_id__$1q = "data-v-50b4344a";
7313
7320
  /* module identifier */
7314
- const __vue_module_identifier__$1n = undefined;
7321
+ const __vue_module_identifier__$1q = undefined;
7315
7322
  /* functional template */
7316
- const __vue_is_functional_template__$1n = false;
7323
+ const __vue_is_functional_template__$1q = false;
7317
7324
  /* style inject SSR */
7318
7325
 
7319
7326
  /* style inject shadow dom */
7320
7327
 
7321
7328
 
7322
7329
 
7323
- const __vue_component__$1n = /*#__PURE__*/normalizeComponent(
7324
- { render: __vue_render__$1i, staticRenderFns: __vue_staticRenderFns__$1i },
7325
- __vue_inject_styles__$1n,
7326
- __vue_script__$1l,
7327
- __vue_scope_id__$1n,
7328
- __vue_is_functional_template__$1n,
7329
- __vue_module_identifier__$1n,
7330
+ const __vue_component__$1q = /*#__PURE__*/normalizeComponent(
7331
+ { render: __vue_render__$1l, staticRenderFns: __vue_staticRenderFns__$1l },
7332
+ __vue_inject_styles__$1q,
7333
+ __vue_script__$1o,
7334
+ __vue_scope_id__$1q,
7335
+ __vue_is_functional_template__$1q,
7336
+ __vue_module_identifier__$1q,
7330
7337
  false,
7331
7338
  createInjector);
7332
7339
 
7333
7340
  /* script */
7334
7341
 
7335
7342
  /* template */
7336
- var __vue_render__$1h = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"lightbox"},[_c('div',{staticClass:"header shadow-sm"},[_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('div',{staticClass:"main"},[_vm._t("default")],2)])};
7337
- var __vue_staticRenderFns__$1h = [];
7343
+ var __vue_render__$1k = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"lightbox"},[_c('div',{staticClass:"header shadow-sm"},[_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('div',{staticClass:"main"},[_vm._t("default")],2)])};
7344
+ var __vue_staticRenderFns__$1k = [];
7338
7345
 
7339
7346
  /* style */
7340
- const __vue_inject_styles__$1m = function (inject) {
7347
+ const __vue_inject_styles__$1p = function (inject) {
7341
7348
  if (!inject) return
7342
7349
  inject("data-v-8fa20558_0", { source: ".lightbox[data-v-8fa20558]{position:fixed;left:0;top:0;right:0;bottom:0;background-color:var(--body-bg);color:var(--body-color);z-index:2000}.lightbox .header[data-v-8fa20558]{display:flex;justify-content:space-between;background-color:var(--white);color:var(--body-color);position:absolute;left:0;top:0;right:0;z-index:1000;height:50px}.lightbox .header .left[data-v-8fa20558]{margin-left:10px}.lightbox .header .right[data-v-8fa20558]{margin-right:10px}.lightbox .header>div[data-v-8fa20558]{display:flex;align-items:center}.lightbox .main[data-v-8fa20558]{position:absolute;top:50px;left:0;right:0;bottom:0;overflow-y:scroll;z-index:1}.lightbox .header button[data-v-8fa20558]{background-color:transparent;border:none;outline:0;font-size:25px;font-weight:700;margin:10px;cursor:pointer;box-sizing:border-box;color:var(--body-color)}.lightbox .header button[data-v-8fa20558]:last-of-type{margin-right:0}", map: undefined, media: undefined });
7343
7350
 
7344
7351
  };
7345
7352
  /* scoped */
7346
- const __vue_scope_id__$1m = "data-v-8fa20558";
7353
+ const __vue_scope_id__$1p = "data-v-8fa20558";
7347
7354
  /* module identifier */
7348
- const __vue_module_identifier__$1m = undefined;
7355
+ const __vue_module_identifier__$1p = undefined;
7349
7356
  /* functional template */
7350
- const __vue_is_functional_template__$1m = false;
7357
+ const __vue_is_functional_template__$1p = false;
7351
7358
  /* style inject SSR */
7352
7359
 
7353
7360
  /* style inject shadow dom */
7354
7361
 
7355
7362
 
7356
7363
 
7357
- const __vue_component__$1m = /*#__PURE__*/normalizeComponent(
7358
- { render: __vue_render__$1h, staticRenderFns: __vue_staticRenderFns__$1h },
7359
- __vue_inject_styles__$1m,
7364
+ const __vue_component__$1p = /*#__PURE__*/normalizeComponent(
7365
+ { render: __vue_render__$1k, staticRenderFns: __vue_staticRenderFns__$1k },
7366
+ __vue_inject_styles__$1p,
7360
7367
  {},
7361
- __vue_scope_id__$1m,
7362
- __vue_is_functional_template__$1m,
7363
- __vue_module_identifier__$1m,
7368
+ __vue_scope_id__$1p,
7369
+ __vue_is_functional_template__$1p,
7370
+ __vue_module_identifier__$1p,
7364
7371
  false,
7365
7372
  createInjector);
7366
7373
 
7367
- var script$1k = {
7374
+ var script$1n = {
7368
7375
  components: {
7369
- CLightbox: __vue_component__$1m,
7370
- IMG: __vue_component__$1q,
7371
- PDF: __vue_component__$1p,
7372
- NoPreview: __vue_component__$1n,
7376
+ CLightbox: __vue_component__$1p,
7377
+ IMG: __vue_component__$1t,
7378
+ PDF: __vue_component__$1s,
7379
+ NoPreview: __vue_component__$1q,
7373
7380
  },
7374
7381
 
7375
- extends: __vue_component__$1o,
7382
+ extends: __vue_component__$1r,
7376
7383
  };
7377
7384
 
7378
7385
  /* script */
7379
- const __vue_script__$1k = script$1k;
7386
+ const __vue_script__$1n = script$1n;
7380
7387
 
7381
7388
  /* template */
7382
- var __vue_render__$1g = 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(" "),(_vm.previewType)?_c(_vm.previewType,_vm._g(_vm._b({tag:"component"},'component',_vm.$attrs,false),_vm.$listeners)):_vm._e()],1)};
7383
- var __vue_staticRenderFns__$1g = [];
7389
+ var __vue_render__$1j = 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(" "),(_vm.previewType)?_c(_vm.previewType,_vm._g(_vm._b({tag:"component"},'component',_vm.$attrs,false),_vm.$listeners)):_vm._e()],1)};
7390
+ var __vue_staticRenderFns__$1j = [];
7384
7391
 
7385
7392
  /* style */
7386
- const __vue_inject_styles__$1l = undefined;
7393
+ const __vue_inject_styles__$1o = undefined;
7387
7394
  /* scoped */
7388
- const __vue_scope_id__$1l = undefined;
7395
+ const __vue_scope_id__$1o = undefined;
7389
7396
  /* module identifier */
7390
- const __vue_module_identifier__$1l = undefined;
7397
+ const __vue_module_identifier__$1o = undefined;
7391
7398
  /* functional template */
7392
- const __vue_is_functional_template__$1l = false;
7399
+ const __vue_is_functional_template__$1o = false;
7393
7400
  /* style inject */
7394
7401
 
7395
7402
  /* style inject SSR */
@@ -7398,41 +7405,41 @@ var __vue_staticRenderFns__$1g = [];
7398
7405
 
7399
7406
 
7400
7407
 
7401
- const __vue_component__$1l = /*#__PURE__*/normalizeComponent(
7402
- { render: __vue_render__$1g, staticRenderFns: __vue_staticRenderFns__$1g },
7403
- __vue_inject_styles__$1l,
7404
- __vue_script__$1k,
7405
- __vue_scope_id__$1l,
7406
- __vue_is_functional_template__$1l,
7407
- __vue_module_identifier__$1l,
7408
+ const __vue_component__$1o = /*#__PURE__*/normalizeComponent(
7409
+ { render: __vue_render__$1j, staticRenderFns: __vue_staticRenderFns__$1j },
7410
+ __vue_inject_styles__$1o,
7411
+ __vue_script__$1n,
7412
+ __vue_scope_id__$1o,
7413
+ __vue_is_functional_template__$1o,
7414
+ __vue_module_identifier__$1o,
7408
7415
  false,
7409
7416
  undefined);
7410
7417
 
7411
- var script$1j = {
7418
+ var script$1m = {
7412
7419
  components: {
7413
- IMG: __vue_component__$1r,
7414
- PDF: __vue_component__$1p,
7415
- NoPreview: __vue_component__$1n,
7420
+ IMG: __vue_component__$1u,
7421
+ PDF: __vue_component__$1s,
7422
+ NoPreview: __vue_component__$1q,
7416
7423
  },
7417
7424
 
7418
- extends: __vue_component__$1o,
7425
+ extends: __vue_component__$1r,
7419
7426
  };
7420
7427
 
7421
7428
  /* script */
7422
- const __vue_script__$1j = script$1j;
7429
+ const __vue_script__$1m = script$1m;
7423
7430
 
7424
7431
  /* template */
7425
- var __vue_render__$1f = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inline h-100"},[_c('div',{staticClass:"h-100"},[_c(_vm.previewType,_vm._g(_vm._b({tag:"component",attrs:{"max-pages":1,"initial-scale":1.5,"inline":""}},'component',_vm.$attrs,false),_vm.$listeners))],1)])};
7426
- var __vue_staticRenderFns__$1f = [];
7432
+ var __vue_render__$1i = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inline h-100"},[_c('div',{staticClass:"h-100"},[_c(_vm.previewType,_vm._g(_vm._b({tag:"component",attrs:{"max-pages":1,"initial-scale":1.5,"inline":""}},'component',_vm.$attrs,false),_vm.$listeners))],1)])};
7433
+ var __vue_staticRenderFns__$1i = [];
7427
7434
 
7428
7435
  /* style */
7429
- const __vue_inject_styles__$1k = undefined;
7436
+ const __vue_inject_styles__$1n = undefined;
7430
7437
  /* scoped */
7431
- const __vue_scope_id__$1k = undefined;
7438
+ const __vue_scope_id__$1n = undefined;
7432
7439
  /* module identifier */
7433
- const __vue_module_identifier__$1k = undefined;
7440
+ const __vue_module_identifier__$1n = undefined;
7434
7441
  /* functional template */
7435
- const __vue_is_functional_template__$1k = false;
7442
+ const __vue_is_functional_template__$1n = false;
7436
7443
  /* style inject */
7437
7444
 
7438
7445
  /* style inject SSR */
@@ -7441,17 +7448,17 @@ var __vue_staticRenderFns__$1f = [];
7441
7448
 
7442
7449
 
7443
7450
 
7444
- const __vue_component__$1k = /*#__PURE__*/normalizeComponent(
7445
- { render: __vue_render__$1f, staticRenderFns: __vue_staticRenderFns__$1f },
7446
- __vue_inject_styles__$1k,
7447
- __vue_script__$1j,
7448
- __vue_scope_id__$1k,
7449
- __vue_is_functional_template__$1k,
7450
- __vue_module_identifier__$1k,
7451
+ const __vue_component__$1n = /*#__PURE__*/normalizeComponent(
7452
+ { render: __vue_render__$1i, staticRenderFns: __vue_staticRenderFns__$1i },
7453
+ __vue_inject_styles__$1n,
7454
+ __vue_script__$1m,
7455
+ __vue_scope_id__$1n,
7456
+ __vue_is_functional_template__$1n,
7457
+ __vue_module_identifier__$1n,
7451
7458
  false,
7452
7459
  undefined);
7453
7460
 
7454
- var script$1i = {
7461
+ var script$1l = {
7455
7462
  props: {
7456
7463
  disabled: Boolean,
7457
7464
  okDisabled: Boolean,
@@ -7559,20 +7566,20 @@ var script$1i = {
7559
7566
  };
7560
7567
 
7561
7568
  /* script */
7562
- const __vue_script__$1i = script$1i;
7569
+ const __vue_script__$1l = script$1l;
7563
7570
 
7564
7571
  /* template */
7565
- var __vue_render__$1e = 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, boundary: 'body' }),expression:"{ title: tooltip, boundary: 'body' }",modifiers:{"noninteractive":true,"hover":true}}],class:(_vm.buttonClass + " " + (_vm.borderless ? 'border-0' : '') + " flex-fill"),style:(_vm.buttonStyle),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)};
7566
- var __vue_staticRenderFns__$1e = [];
7572
+ var __vue_render__$1h = 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, boundary: 'body' }),expression:"{ title: tooltip, boundary: 'body' }",modifiers:{"noninteractive":true,"hover":true}}],class:(_vm.buttonClass + " " + (_vm.borderless ? 'border-0' : '') + " flex-fill"),style:(_vm.buttonStyle),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)};
7573
+ var __vue_staticRenderFns__$1h = [];
7567
7574
 
7568
7575
  /* style */
7569
- const __vue_inject_styles__$1j = undefined;
7576
+ const __vue_inject_styles__$1m = undefined;
7570
7577
  /* scoped */
7571
- const __vue_scope_id__$1j = undefined;
7578
+ const __vue_scope_id__$1m = undefined;
7572
7579
  /* module identifier */
7573
- const __vue_module_identifier__$1j = undefined;
7580
+ const __vue_module_identifier__$1m = undefined;
7574
7581
  /* functional template */
7575
- const __vue_is_functional_template__$1j = false;
7582
+ const __vue_is_functional_template__$1m = false;
7576
7583
  /* style inject */
7577
7584
 
7578
7585
  /* style inject SSR */
@@ -7581,13 +7588,13 @@ var __vue_staticRenderFns__$1e = [];
7581
7588
 
7582
7589
 
7583
7590
 
7584
- const __vue_component__$1j = /*#__PURE__*/normalizeComponent(
7585
- { render: __vue_render__$1e, staticRenderFns: __vue_staticRenderFns__$1e },
7586
- __vue_inject_styles__$1j,
7587
- __vue_script__$1i,
7588
- __vue_scope_id__$1j,
7589
- __vue_is_functional_template__$1j,
7590
- __vue_module_identifier__$1j,
7591
+ const __vue_component__$1m = /*#__PURE__*/normalizeComponent(
7592
+ { render: __vue_render__$1h, staticRenderFns: __vue_staticRenderFns__$1h },
7593
+ __vue_inject_styles__$1m,
7594
+ __vue_script__$1l,
7595
+ __vue_scope_id__$1m,
7596
+ __vue_is_functional_template__$1m,
7597
+ __vue_module_identifier__$1m,
7591
7598
  false,
7592
7599
  undefined);
7593
7600
 
@@ -7610,7 +7617,7 @@ var __vue_staticRenderFns__$1e = [];
7610
7617
  //
7611
7618
  //
7612
7619
 
7613
- var script$1h = {
7620
+ var script$1k = {
7614
7621
  props: {
7615
7622
  variant: {
7616
7623
  type: String,
@@ -7632,20 +7639,20 @@ var script$1h = {
7632
7639
  };
7633
7640
 
7634
7641
  /* script */
7635
- const __vue_script__$1h = script$1h;
7642
+ const __vue_script__$1k = script$1k;
7636
7643
 
7637
7644
  /* template */
7638
- var __vue_render__$1d = 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)};
7639
- var __vue_staticRenderFns__$1d = [];
7645
+ var __vue_render__$1g = 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)};
7646
+ var __vue_staticRenderFns__$1g = [];
7640
7647
 
7641
7648
  /* style */
7642
- const __vue_inject_styles__$1i = undefined;
7649
+ const __vue_inject_styles__$1l = undefined;
7643
7650
  /* scoped */
7644
- const __vue_scope_id__$1i = undefined;
7651
+ const __vue_scope_id__$1l = undefined;
7645
7652
  /* module identifier */
7646
- const __vue_module_identifier__$1i = undefined;
7653
+ const __vue_module_identifier__$1l = undefined;
7647
7654
  /* functional template */
7648
- const __vue_is_functional_template__$1i = false;
7655
+ const __vue_is_functional_template__$1l = false;
7649
7656
  /* style inject */
7650
7657
 
7651
7658
  /* style inject SSR */
@@ -7654,13 +7661,13 @@ var __vue_staticRenderFns__$1d = [];
7654
7661
 
7655
7662
 
7656
7663
 
7657
- const __vue_component__$1i = /*#__PURE__*/normalizeComponent(
7658
- { render: __vue_render__$1d, staticRenderFns: __vue_staticRenderFns__$1d },
7659
- __vue_inject_styles__$1i,
7660
- __vue_script__$1h,
7661
- __vue_scope_id__$1i,
7662
- __vue_is_functional_template__$1i,
7663
- __vue_module_identifier__$1i,
7664
+ const __vue_component__$1l = /*#__PURE__*/normalizeComponent(
7665
+ { render: __vue_render__$1g, staticRenderFns: __vue_staticRenderFns__$1g },
7666
+ __vue_inject_styles__$1l,
7667
+ __vue_script__$1k,
7668
+ __vue_scope_id__$1l,
7669
+ __vue_is_functional_template__$1l,
7670
+ __vue_module_identifier__$1l,
7664
7671
  false,
7665
7672
  undefined);
7666
7673
 
@@ -7710,7 +7717,7 @@ function setTime(time, value, noDate = false, noTime = false) {
7710
7717
 
7711
7718
  const { getWeekStartDay } = cortezaJs.shared;
7712
7719
 
7713
- var script$1g = {
7720
+ var script$1j = {
7714
7721
  props: {
7715
7722
  value: {
7716
7723
  type: [String, Date],
@@ -7789,37 +7796,37 @@ var script$1g = {
7789
7796
  };
7790
7797
 
7791
7798
  /* script */
7792
- const __vue_script__$1g = script$1g;
7799
+ const __vue_script__$1j = script$1j;
7793
7800
 
7794
7801
  /* template */
7795
- var __vue_render__$1c = 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)};
7796
- var __vue_staticRenderFns__$1c = [];
7802
+ var __vue_render__$1f = 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)};
7803
+ var __vue_staticRenderFns__$1f = [];
7797
7804
 
7798
7805
  /* style */
7799
- const __vue_inject_styles__$1h = function (inject) {
7806
+ const __vue_inject_styles__$1k = function (inject) {
7800
7807
  if (!inject) return
7801
7808
  inject("data-v-4265f83e_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 });
7802
7809
 
7803
7810
  };
7804
7811
  /* scoped */
7805
- const __vue_scope_id__$1h = undefined;
7812
+ const __vue_scope_id__$1k = undefined;
7806
7813
  /* module identifier */
7807
- const __vue_module_identifier__$1h = undefined;
7814
+ const __vue_module_identifier__$1k = undefined;
7808
7815
  /* functional template */
7809
- const __vue_is_functional_template__$1h = false;
7816
+ const __vue_is_functional_template__$1k = false;
7810
7817
  /* style inject SSR */
7811
7818
 
7812
7819
  /* style inject shadow dom */
7813
7820
 
7814
7821
 
7815
7822
 
7816
- const __vue_component__$1h = /*#__PURE__*/normalizeComponent(
7817
- { render: __vue_render__$1c, staticRenderFns: __vue_staticRenderFns__$1c },
7818
- __vue_inject_styles__$1h,
7819
- __vue_script__$1g,
7820
- __vue_scope_id__$1h,
7821
- __vue_is_functional_template__$1h,
7822
- __vue_module_identifier__$1h,
7823
+ const __vue_component__$1k = /*#__PURE__*/normalizeComponent(
7824
+ { render: __vue_render__$1f, staticRenderFns: __vue_staticRenderFns__$1f },
7825
+ __vue_inject_styles__$1k,
7826
+ __vue_script__$1j,
7827
+ __vue_scope_id__$1k,
7828
+ __vue_is_functional_template__$1k,
7829
+ __vue_module_identifier__$1k,
7823
7830
  false,
7824
7831
  createInjector);
7825
7832
 
@@ -7903,7 +7910,7 @@ n(css$4,{});
7903
7910
  //
7904
7911
 
7905
7912
 
7906
- var script$1f = {
7913
+ var script$1i = {
7907
7914
  name: 'CInputSelect',
7908
7915
 
7909
7916
  components: {
@@ -8062,40 +8069,40 @@ var script$1f = {
8062
8069
  };
8063
8070
 
8064
8071
  /* script */
8065
- const __vue_script__$1f = script$1f;
8072
+ const __vue_script__$1i = script$1i;
8066
8073
 
8067
8074
  /* template */
8068
- var __vue_render__$1b = 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){
8075
+ var __vue_render__$1e = 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){
8069
8076
  var option = ref.option;
8070
8077
  var deselect = ref.deselect;
8071
8078
  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))};
8072
- var __vue_staticRenderFns__$1b = [];
8079
+ var __vue_staticRenderFns__$1e = [];
8073
8080
 
8074
8081
  /* style */
8075
- const __vue_inject_styles__$1g = function (inject) {
8082
+ const __vue_inject_styles__$1j = function (inject) {
8076
8083
  if (!inject) return
8077
8084
  inject("data-v-3ac6c1e3_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:flex;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}.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 });
8078
8085
 
8079
8086
  };
8080
8087
  /* scoped */
8081
- const __vue_scope_id__$1g = undefined;
8088
+ const __vue_scope_id__$1j = undefined;
8082
8089
  /* module identifier */
8083
- const __vue_module_identifier__$1g = undefined;
8090
+ const __vue_module_identifier__$1j = undefined;
8084
8091
  /* functional template */
8085
- const __vue_is_functional_template__$1g = false;
8092
+ const __vue_is_functional_template__$1j = false;
8086
8093
  /* style inject SSR */
8087
8094
 
8088
8095
  /* style inject shadow dom */
8089
8096
 
8090
8097
 
8091
8098
 
8092
- const __vue_component__$1g = /*#__PURE__*/normalizeComponent(
8093
- { render: __vue_render__$1b, staticRenderFns: __vue_staticRenderFns__$1b },
8094
- __vue_inject_styles__$1g,
8095
- __vue_script__$1f,
8096
- __vue_scope_id__$1g,
8097
- __vue_is_functional_template__$1g,
8098
- __vue_module_identifier__$1g,
8099
+ const __vue_component__$1j = /*#__PURE__*/normalizeComponent(
8100
+ { render: __vue_render__$1e, staticRenderFns: __vue_staticRenderFns__$1e },
8101
+ __vue_inject_styles__$1j,
8102
+ __vue_script__$1i,
8103
+ __vue_scope_id__$1j,
8104
+ __vue_is_functional_template__$1j,
8105
+ __vue_module_identifier__$1j,
8099
8106
  false,
8100
8107
  createInjector);
8101
8108
 
@@ -8132,7 +8139,7 @@ var __vue_staticRenderFns__$1b = [];
8132
8139
  //
8133
8140
  //
8134
8141
 
8135
- var script$1e = {
8142
+ var script$1h = {
8136
8143
  name: 'CFormTableWrapper',
8137
8144
 
8138
8145
  props: {
@@ -8169,37 +8176,37 @@ var script$1e = {
8169
8176
  };
8170
8177
 
8171
8178
  /* script */
8172
- const __vue_script__$1e = script$1e;
8179
+ const __vue_script__$1h = script$1h;
8173
8180
 
8174
8181
  /* template */
8175
- var __vue_render__$1a = 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)};
8176
- var __vue_staticRenderFns__$1a = [];
8182
+ var __vue_render__$1d = 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)};
8183
+ var __vue_staticRenderFns__$1d = [];
8177
8184
 
8178
8185
  /* style */
8179
- const __vue_inject_styles__$1f = function (inject) {
8186
+ const __vue_inject_styles__$1i = function (inject) {
8180
8187
  if (!inject) return
8181
8188
  inject("data-v-7ae53668_0", { source: ".list-background[data-v-7ae53668]{background-color:var(--body-bg)}", map: undefined, media: undefined });
8182
8189
 
8183
8190
  };
8184
8191
  /* scoped */
8185
- const __vue_scope_id__$1f = "data-v-7ae53668";
8192
+ const __vue_scope_id__$1i = "data-v-7ae53668";
8186
8193
  /* module identifier */
8187
- const __vue_module_identifier__$1f = undefined;
8194
+ const __vue_module_identifier__$1i = undefined;
8188
8195
  /* functional template */
8189
- const __vue_is_functional_template__$1f = false;
8196
+ const __vue_is_functional_template__$1i = false;
8190
8197
  /* style inject SSR */
8191
8198
 
8192
8199
  /* style inject shadow dom */
8193
8200
 
8194
8201
 
8195
8202
 
8196
- const __vue_component__$1f = /*#__PURE__*/normalizeComponent(
8197
- { render: __vue_render__$1a, staticRenderFns: __vue_staticRenderFns__$1a },
8198
- __vue_inject_styles__$1f,
8199
- __vue_script__$1e,
8200
- __vue_scope_id__$1f,
8201
- __vue_is_functional_template__$1f,
8202
- __vue_module_identifier__$1f,
8203
+ const __vue_component__$1i = /*#__PURE__*/normalizeComponent(
8204
+ { render: __vue_render__$1d, staticRenderFns: __vue_staticRenderFns__$1d },
8205
+ __vue_inject_styles__$1i,
8206
+ __vue_script__$1h,
8207
+ __vue_scope_id__$1i,
8208
+ __vue_is_functional_template__$1i,
8209
+ __vue_module_identifier__$1i,
8203
8210
  false,
8204
8211
  createInjector);
8205
8212
 
@@ -8307,11 +8314,11 @@ var __vue_staticRenderFns__$1a = [];
8307
8314
  //
8308
8315
 
8309
8316
 
8310
- var script$1d = {
8317
+ var script$1g = {
8311
8318
  components: {
8312
8319
  Draggable,
8313
- CInputSelect: __vue_component__$1g,
8314
- CFormTableWrapper: __vue_component__$1f,
8320
+ CInputSelect: __vue_component__$1j,
8321
+ CFormTableWrapper: __vue_component__$1i,
8315
8322
  },
8316
8323
 
8317
8324
  props: {
@@ -8421,20 +8428,20 @@ var script$1d = {
8421
8428
  };
8422
8429
 
8423
8430
  /* script */
8424
- const __vue_script__$1d = script$1d;
8431
+ const __vue_script__$1g = script$1g;
8425
8432
 
8426
8433
  /* template */
8427
- var __vue_render__$19 = 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)};
8428
- var __vue_staticRenderFns__$19 = [];
8434
+ var __vue_render__$1c = 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)};
8435
+ var __vue_staticRenderFns__$1c = [];
8429
8436
 
8430
8437
  /* style */
8431
- const __vue_inject_styles__$1e = undefined;
8438
+ const __vue_inject_styles__$1h = undefined;
8432
8439
  /* scoped */
8433
- const __vue_scope_id__$1e = undefined;
8440
+ const __vue_scope_id__$1h = undefined;
8434
8441
  /* module identifier */
8435
- const __vue_module_identifier__$1e = undefined;
8442
+ const __vue_module_identifier__$1h = undefined;
8436
8443
  /* functional template */
8437
- const __vue_is_functional_template__$1e = false;
8444
+ const __vue_is_functional_template__$1h = false;
8438
8445
  /* style inject */
8439
8446
 
8440
8447
  /* style inject SSR */
@@ -8443,13 +8450,13 @@ var __vue_staticRenderFns__$19 = [];
8443
8450
 
8444
8451
 
8445
8452
 
8446
- const __vue_component__$1e = /*#__PURE__*/normalizeComponent(
8447
- { render: __vue_render__$19, staticRenderFns: __vue_staticRenderFns__$19 },
8448
- __vue_inject_styles__$1e,
8449
- __vue_script__$1d,
8450
- __vue_scope_id__$1e,
8451
- __vue_is_functional_template__$1e,
8452
- __vue_module_identifier__$1e,
8453
+ const __vue_component__$1h = /*#__PURE__*/normalizeComponent(
8454
+ { render: __vue_render__$1c, staticRenderFns: __vue_staticRenderFns__$1c },
8455
+ __vue_inject_styles__$1h,
8456
+ __vue_script__$1g,
8457
+ __vue_scope_id__$1h,
8458
+ __vue_is_functional_template__$1h,
8459
+ __vue_module_identifier__$1h,
8453
8460
  false,
8454
8461
  undefined);
8455
8462
 
@@ -8514,7 +8521,7 @@ var __vue_staticRenderFns__$19 = [];
8514
8521
  //
8515
8522
  //
8516
8523
 
8517
- var script$1c = {
8524
+ var script$1f = {
8518
8525
  name: 'CInputSearch',
8519
8526
 
8520
8527
  props: {
@@ -8615,37 +8622,37 @@ var script$1c = {
8615
8622
  };
8616
8623
 
8617
8624
  /* script */
8618
- const __vue_script__$1c = script$1c;
8625
+ const __vue_script__$1f = script$1f;
8619
8626
 
8620
8627
  /* template */
8621
- var __vue_render__$18 = 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:"text-truncate",attrs:{"data-test-id":"input-search","type":_vm.inputType,"name":"search","value":_vm.localValue,"debounce":_vm.debounce,"disabled":_vm.disabled,"placeholder":_vm.placeholder,"autocomplete":_vm.autocomplete,"size":_vm.size},on:{"input":_vm.onInput,"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.loading)?_c('div',{staticClass:"spinner d-inline-flex align-items-center p-3"},[_c('b-spinner',{attrs:{"small":"","variant":"secondary"}})],1):(_vm.clearable && _vm.localValue && !_vm.disabled)?_c('b-button',{staticClass:"clear-button d-inline-flex align-items-center rounded-0 p-3",attrs:{"variant":"outline-extra-light"},on:{"click":_vm.onClear}},[_c('font-awesome-icon',{staticClass:"text-secondary",attrs:{"icon":['fas', 'times']}})],1):_vm._e(),_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)};
8622
- var __vue_staticRenderFns__$18 = [];
8628
+ var __vue_render__$1b = 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:"text-truncate",attrs:{"data-test-id":"input-search","type":_vm.inputType,"name":"search","value":_vm.localValue,"debounce":_vm.debounce,"disabled":_vm.disabled,"placeholder":_vm.placeholder,"autocomplete":_vm.autocomplete,"size":_vm.size},on:{"input":_vm.onInput,"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.loading)?_c('div',{staticClass:"spinner d-inline-flex align-items-center p-3"},[_c('b-spinner',{attrs:{"small":"","variant":"secondary"}})],1):(_vm.clearable && _vm.localValue && !_vm.disabled)?_c('b-button',{staticClass:"clear-button d-inline-flex align-items-center rounded-0 p-3",attrs:{"variant":"outline-extra-light"},on:{"click":_vm.onClear}},[_c('font-awesome-icon',{staticClass:"text-secondary",attrs:{"icon":['fas', 'times']}})],1):_vm._e(),_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)};
8629
+ var __vue_staticRenderFns__$1b = [];
8623
8630
 
8624
8631
  /* style */
8625
- const __vue_inject_styles__$1d = function (inject) {
8632
+ const __vue_inject_styles__$1g = function (inject) {
8626
8633
  if (!inject) return
8627
8634
  inject("data-v-e7856266_0", { source: "input[data-v-e7856266]:focus::placeholder{color:transparent}.c-input-search .search-button[data-v-e7856266]{position:absolute;right:2px;top:2px;bottom:2px;z-index:4;border-left-width:2px}.c-input-search .clear-button[data-v-e7856266],.c-input-search .spinner[data-v-e7856266]{position:absolute;right:1px;top:1px;bottom:1px;z-index:5;outline:0!important;box-shadow:none!important;border:none!important;background-color:transparent!important}.c-input-search .clear-button[data-v-e7856266]:hover,.c-input-search .spinner[data-v-e7856266]:hover{text-decoration:none}.c-input-search.submittable .clear-button[data-v-e7856266],.c-input-search.submittable .spinner[data-v-e7856266]{right:48px}.c-input-search .form-control[data-v-e7856266]{padding-right:40px}.c-input-search.submittable .form-control[data-v-e7856266]{padding-right:85px}.c-input-search[data-v-e7856266] ::-webkit-search-cancel-button{-webkit-appearance:none;display:none}.cursor-default[data-v-e7856266]{cursor:default!important}", map: undefined, media: undefined });
8628
8635
 
8629
8636
  };
8630
8637
  /* scoped */
8631
- const __vue_scope_id__$1d = "data-v-e7856266";
8638
+ const __vue_scope_id__$1g = "data-v-e7856266";
8632
8639
  /* module identifier */
8633
- const __vue_module_identifier__$1d = undefined;
8640
+ const __vue_module_identifier__$1g = undefined;
8634
8641
  /* functional template */
8635
- const __vue_is_functional_template__$1d = false;
8642
+ const __vue_is_functional_template__$1g = false;
8636
8643
  /* style inject SSR */
8637
8644
 
8638
8645
  /* style inject shadow dom */
8639
8646
 
8640
8647
 
8641
8648
 
8642
- const __vue_component__$1d = /*#__PURE__*/normalizeComponent(
8643
- { render: __vue_render__$18, staticRenderFns: __vue_staticRenderFns__$18 },
8644
- __vue_inject_styles__$1d,
8645
- __vue_script__$1c,
8646
- __vue_scope_id__$1d,
8647
- __vue_is_functional_template__$1d,
8648
- __vue_module_identifier__$1d,
8649
+ const __vue_component__$1g = /*#__PURE__*/normalizeComponent(
8650
+ { render: __vue_render__$1b, staticRenderFns: __vue_staticRenderFns__$1b },
8651
+ __vue_inject_styles__$1g,
8652
+ __vue_script__$1f,
8653
+ __vue_scope_id__$1g,
8654
+ __vue_is_functional_template__$1g,
8655
+ __vue_module_identifier__$1g,
8649
8656
  false,
8650
8657
  createInjector);
8651
8658
 
@@ -8780,7 +8787,7 @@ var __vue_staticRenderFns__$18 = [];
8780
8787
  //
8781
8788
 
8782
8789
 
8783
- var script$1b = {
8790
+ var script$1e = {
8784
8791
  name: 'CInputColorPicker',
8785
8792
 
8786
8793
  components: {
@@ -8932,45 +8939,45 @@ var script$1b = {
8932
8939
  };
8933
8940
 
8934
8941
  /* script */
8935
- const __vue_script__$1b = script$1b;
8942
+ const __vue_script__$1e = script$1e;
8936
8943
 
8937
8944
  /* template */
8938
- var __vue_render__$17 = 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, boundary: 'body' }),expression:"{ title: variable.label, boundary: '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)};
8939
- var __vue_staticRenderFns__$17 = [];
8945
+ var __vue_render__$1a = 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, boundary: 'body' }),expression:"{ title: variable.label, boundary: '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)};
8946
+ var __vue_staticRenderFns__$1a = [];
8940
8947
 
8941
8948
  /* style */
8942
- const __vue_inject_styles__$1c = function (inject) {
8949
+ const __vue_inject_styles__$1f = function (inject) {
8943
8950
  if (!inject) return
8944
8951
  inject("data-v-6774375f_0", { source: ".swatch[data-v-6774375f]{height:58px;min-width:50px}", map: undefined, media: undefined })
8945
8952
  ,inject("data-v-6774375f_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 });
8946
8953
 
8947
8954
  };
8948
8955
  /* scoped */
8949
- const __vue_scope_id__$1c = "data-v-6774375f";
8956
+ const __vue_scope_id__$1f = "data-v-6774375f";
8950
8957
  /* module identifier */
8951
- const __vue_module_identifier__$1c = undefined;
8958
+ const __vue_module_identifier__$1f = undefined;
8952
8959
  /* functional template */
8953
- const __vue_is_functional_template__$1c = false;
8960
+ const __vue_is_functional_template__$1f = false;
8954
8961
  /* style inject SSR */
8955
8962
 
8956
8963
  /* style inject shadow dom */
8957
8964
 
8958
8965
 
8959
8966
 
8960
- const __vue_component__$1c = /*#__PURE__*/normalizeComponent(
8961
- { render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
8962
- __vue_inject_styles__$1c,
8963
- __vue_script__$1b,
8964
- __vue_scope_id__$1c,
8965
- __vue_is_functional_template__$1c,
8966
- __vue_module_identifier__$1c,
8967
+ const __vue_component__$1f = /*#__PURE__*/normalizeComponent(
8968
+ { render: __vue_render__$1a, staticRenderFns: __vue_staticRenderFns__$1a },
8969
+ __vue_inject_styles__$1f,
8970
+ __vue_script__$1e,
8971
+ __vue_scope_id__$1f,
8972
+ __vue_is_functional_template__$1f,
8973
+ __vue_module_identifier__$1f,
8967
8974
  false,
8968
8975
  createInjector);
8969
8976
 
8970
8977
  /**
8971
8978
  * Defines common props, methods between different toolbar item types
8972
8979
  */
8973
- var script$1a = {
8980
+ var script$1d = {
8974
8981
  props: {
8975
8982
  editor: {
8976
8983
  type: Object,
@@ -9024,18 +9031,18 @@ var script$1a = {
9024
9031
  };
9025
9032
 
9026
9033
  /* script */
9027
- const __vue_script__$1a = script$1a;
9034
+ const __vue_script__$1d = script$1d;
9028
9035
 
9029
9036
  /* template */
9030
9037
 
9031
9038
  /* style */
9032
- const __vue_inject_styles__$1b = undefined;
9039
+ const __vue_inject_styles__$1e = undefined;
9033
9040
  /* scoped */
9034
- const __vue_scope_id__$1b = undefined;
9041
+ const __vue_scope_id__$1e = undefined;
9035
9042
  /* module identifier */
9036
- const __vue_module_identifier__$1b = undefined;
9043
+ const __vue_module_identifier__$1e = undefined;
9037
9044
  /* functional template */
9038
- const __vue_is_functional_template__$1b = undefined;
9045
+ const __vue_is_functional_template__$1e = undefined;
9039
9046
  /* style inject */
9040
9047
 
9041
9048
  /* style inject SSR */
@@ -9044,13 +9051,13 @@ const __vue_script__$1a = script$1a;
9044
9051
 
9045
9052
 
9046
9053
 
9047
- const __vue_component__$1b = /*#__PURE__*/normalizeComponent(
9054
+ const __vue_component__$1e = /*#__PURE__*/normalizeComponent(
9048
9055
  {},
9049
- __vue_inject_styles__$1b,
9050
- __vue_script__$1a,
9051
- __vue_scope_id__$1b,
9052
- __vue_is_functional_template__$1b,
9053
- __vue_module_identifier__$1b,
9056
+ __vue_inject_styles__$1e,
9057
+ __vue_script__$1d,
9058
+ __vue_scope_id__$1e,
9059
+ __vue_is_functional_template__$1e,
9060
+ __vue_module_identifier__$1e,
9054
9061
  false,
9055
9062
  undefined);
9056
9063
 
@@ -9087,14 +9094,14 @@ const __vue_script__$1a = script$1a;
9087
9094
  //
9088
9095
 
9089
9096
 
9090
- var script$19 = {
9097
+ var script$1c = {
9091
9098
  name: 'TMarkColor',
9092
9099
 
9093
9100
  components: {
9094
- CInputColorPicker: __vue_component__$1c,
9101
+ CInputColorPicker: __vue_component__$1f,
9095
9102
  },
9096
9103
 
9097
- extends: __vue_component__$1b,
9104
+ extends: __vue_component__$1e,
9098
9105
 
9099
9106
  props: {
9100
9107
  background: {
@@ -9138,23 +9145,23 @@ var script$19 = {
9138
9145
  };
9139
9146
 
9140
9147
  /* script */
9141
- const __vue_script__$19 = script$19;
9148
+ const __vue_script__$1c = script$1c;
9142
9149
 
9143
9150
  /* template */
9144
- var __vue_render__$16 = 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 mb-1",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',{style:({
9151
+ var __vue_render__$19 = 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 mb-1",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',{style:({
9145
9152
  backgroundColor: _vm.background ? _vm.selectedColor : 'transparent',
9146
9153
  'border-bottom': _vm.background ? 'none' : ("2px solid " + _vm.selectedColor),
9147
9154
  })},[_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)};
9148
- var __vue_staticRenderFns__$16 = [];
9155
+ var __vue_staticRenderFns__$19 = [];
9149
9156
 
9150
9157
  /* style */
9151
- const __vue_inject_styles__$1a = undefined;
9158
+ const __vue_inject_styles__$1d = undefined;
9152
9159
  /* scoped */
9153
- const __vue_scope_id__$1a = undefined;
9160
+ const __vue_scope_id__$1d = undefined;
9154
9161
  /* module identifier */
9155
- const __vue_module_identifier__$1a = undefined;
9162
+ const __vue_module_identifier__$1d = undefined;
9156
9163
  /* functional template */
9157
- const __vue_is_functional_template__$1a = false;
9164
+ const __vue_is_functional_template__$1d = false;
9158
9165
  /* style inject */
9159
9166
 
9160
9167
  /* style inject SSR */
@@ -9163,13 +9170,13 @@ var __vue_staticRenderFns__$16 = [];
9163
9170
 
9164
9171
 
9165
9172
 
9166
- const __vue_component__$1a = /*#__PURE__*/normalizeComponent(
9167
- { render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
9168
- __vue_inject_styles__$1a,
9169
- __vue_script__$19,
9170
- __vue_scope_id__$1a,
9171
- __vue_is_functional_template__$1a,
9172
- __vue_module_identifier__$1a,
9173
+ const __vue_component__$1d = /*#__PURE__*/normalizeComponent(
9174
+ { render: __vue_render__$19, staticRenderFns: __vue_staticRenderFns__$19 },
9175
+ __vue_inject_styles__$1d,
9176
+ __vue_script__$1c,
9177
+ __vue_scope_id__$1d,
9178
+ __vue_is_functional_template__$1d,
9179
+ __vue_module_identifier__$1d,
9173
9180
  false,
9174
9181
  undefined);
9175
9182
 
@@ -9192,31 +9199,604 @@ var __vue_staticRenderFns__$16 = [];
9192
9199
  //
9193
9200
  //
9194
9201
  //
9195
-
9196
-
9197
- /**
9198
- * Component is used to display simple formatter options such as bold, italic, ...
9199
- */
9200
- var script$18 = {
9201
- name: 'TMarkItem',
9202
- extends: __vue_component__$1b,
9203
- };
9204
-
9202
+ //
9203
+ //
9204
+ //
9205
+ //
9206
+ //
9207
+ //
9208
+ //
9209
+ //
9210
+ //
9211
+ //
9212
+ //
9213
+ //
9214
+ //
9215
+ //
9216
+ //
9217
+ //
9218
+ //
9219
+ //
9220
+ //
9221
+ //
9222
+ //
9223
+ //
9224
+ //
9225
+ //
9226
+ //
9227
+ //
9228
+ //
9229
+ //
9230
+ //
9231
+ //
9232
+ //
9233
+ //
9234
+ //
9235
+ //
9236
+ //
9237
+ //
9238
+
9239
+ const STORAGE_KEY = 'corteza:emoji:frequently-used';
9240
+ const MAX_FREQUENT = 18;
9241
+
9242
+ // Virtual scroll constants (px)
9243
+ const ITEM_SIZE = 30;
9244
+ const LABEL_HEIGHT = 26;
9245
+ const ITEMS_PER_ROW = 8;
9246
+ const BUFFER_PX = 90;
9247
+
9248
+ const EMOJI_BLACKLIST$1 = new Set(['relaxed', 'frowning_face']);
9249
+
9250
+ const GROUP_CONFIG = [
9251
+ { name: 'smileys-people', icon: '😀', label: 'Smileys & People', sources: ['', 'people & body'] },
9252
+ { name: 'animals & nature', icon: '🐶', label: 'Animals & Nature', sources: ['animals & nature'] },
9253
+ { name: 'food & drink', icon: '🍎', label: 'Food & Drink', sources: ['food & drink'] },
9254
+ { name: 'travel & places', icon: '🚗', label: 'Travel & Places', sources: ['travel & places'] },
9255
+ { name: 'activities', icon: '⚽', label: 'Activities', sources: ['activities'] },
9256
+ { name: 'objects', icon: '💡', label: 'Objects', sources: ['objects'] },
9257
+ { name: 'symbols', icon: '❤️', label: 'Symbols', sources: ['symbols'] },
9258
+ ];
9259
+
9260
+ var script$1b = {
9261
+ name: 'CEmojiPicker',
9262
+
9263
+ props: {
9264
+ /**
9265
+ * Override emoji list. If not provided, uses tiptap's built-in emoji data.
9266
+ */
9267
+ emojis: {
9268
+ type: Array,
9269
+ default: () => [],
9270
+ },
9271
+
9272
+ /**
9273
+ * Height of the scrollable emoji viewport in px.
9274
+ */
9275
+ viewportHeight: {
9276
+ type: Number,
9277
+ default: 260,
9278
+ },
9279
+
9280
+ /**
9281
+ * Width of the scrollable emoji viewport in px.
9282
+ */
9283
+ viewportWidth: {
9284
+ type: Number,
9285
+ default: 260,
9286
+ },
9287
+
9288
+ /**
9289
+ * Whether to show the "Frequently Used" section.
9290
+ */
9291
+ showFrequent: {
9292
+ type: Boolean,
9293
+ default: true,
9294
+ },
9295
+
9296
+ /**
9297
+ * Whether to show the "Quick Reactions" footer.
9298
+ */
9299
+ showQuickReactions: {
9300
+ type: Boolean,
9301
+ default: true,
9302
+ },
9303
+
9304
+ /**
9305
+ * Labels for translatable strings.
9306
+ */
9307
+ labels: {
9308
+ type: Object,
9309
+ default: () => ({}),
9310
+ },
9311
+ },
9312
+
9313
+ data () {
9314
+ return {
9315
+ search: '',
9316
+ frequentlyUsed: [],
9317
+ virtualRows: [],
9318
+ totalHeight: 0,
9319
+ renderedRange: { start: -1, end: -1 },
9320
+ }
9321
+ },
9322
+
9323
+ computed: {
9324
+ allEmojis () {
9325
+ return this.emojis || []
9326
+ },
9327
+
9328
+ emojiByGroup () {
9329
+ const raw = {};
9330
+ for (const emoji of this.allEmojis) {
9331
+ if (emoji.name.startsWith('regional_indicator')) continue
9332
+ if (EMOJI_BLACKLIST$1.has(emoji.name)) continue
9333
+ if (!raw[emoji.group]) raw[emoji.group] = [];
9334
+ raw[emoji.group].push(emoji);
9335
+ }
9336
+
9337
+ const map = {};
9338
+ for (const group of GROUP_CONFIG) {
9339
+ const merged = [];
9340
+ for (const src of group.sources) {
9341
+ if (raw[src]) merged.push(...raw[src]);
9342
+ }
9343
+ if (merged.length) map[group.name] = merged;
9344
+ }
9345
+
9346
+ return map
9347
+ },
9348
+
9349
+ groups () {
9350
+ const byGroup = this.emojiByGroup;
9351
+ return GROUP_CONFIG.filter(g => byGroup[g.name]?.length)
9352
+ },
9353
+
9354
+ frequentEmojis () {
9355
+ if (!this.showFrequent) return []
9356
+ return this.frequentlyUsed
9357
+ .map(name => this.allEmojis.find(e => e.name === name))
9358
+ .filter(Boolean)
9359
+ },
9360
+
9361
+ quickReactionsList () {
9362
+ const names = ['+1', '-1', 'smile', 'tada', 'blush', 'rocket', 'eyes'];
9363
+ return names
9364
+ .map(name => this.allEmojis.find(e => e.name === name))
9365
+ .filter(Boolean)
9366
+ },
9367
+
9368
+ filteredEmojis () {
9369
+ if (!this.search) return []
9370
+
9371
+ const q = this.search.toLowerCase();
9372
+ return this.allEmojis.filter((emoji) => {
9373
+ if (emoji.name.startsWith('regional_indicator')) return false
9374
+ if (EMOJI_BLACKLIST$1.has(emoji.name)) return false
9375
+ if (emoji.name.toLowerCase().includes(q)) return true
9376
+ if (emoji.shortcodes && emoji.shortcodes.some(s => s.toLowerCase().includes(q))) return true
9377
+ if (emoji.tags && emoji.tags.some(t => t.toLowerCase().includes(q))) return true
9378
+ return false
9379
+ }).slice(0, 60)
9380
+ },
9381
+ },
9382
+
9383
+ mounted () {
9384
+ this.loadFrequentlyUsed();
9385
+ },
9386
+
9387
+ methods: {
9388
+ /**
9389
+ * Call this externally after the picker becomes visible (e.g. popover @shown).
9390
+ * Resets search, rebuilds layout, focuses input.
9391
+ */
9392
+ async reset () {
9393
+ this.search = '';
9394
+ this.loadFrequentlyUsed();
9395
+
9396
+ this.$nextTick(() => {
9397
+ if (this.$refs.searchInput) {
9398
+ this.$refs.searchInput.value = '';
9399
+ this.$refs.searchInput.focus();
9400
+ }
9401
+
9402
+ const content = this.$refs.scrollContent;
9403
+ if (content && !content._bound) {
9404
+ content.addEventListener('click', this.onEmojiClick);
9405
+ content._bound = true;
9406
+ }
9407
+
9408
+ this.rebuildVirtualRows();
9409
+ this.renderedRange = { start: -1, end: -1 };
9410
+ if (this.$refs.viewport) {
9411
+ this.$refs.viewport.scrollTop = 0;
9412
+ }
9413
+ this.renderVisible();
9414
+ });
9415
+ },
9416
+
9417
+ loadFrequentlyUsed () {
9418
+ try {
9419
+ const stored = localStorage.getItem(STORAGE_KEY);
9420
+ this.frequentlyUsed = stored ? JSON.parse(stored) : [];
9421
+ } catch {
9422
+ this.frequentlyUsed = [];
9423
+ }
9424
+ },
9425
+
9426
+ saveFrequentlyUsed (emojiName) {
9427
+ const list = [emojiName, ...this.frequentlyUsed.filter(n => n !== emojiName)].slice(0, MAX_FREQUENT);
9428
+ this.frequentlyUsed = list;
9429
+ try {
9430
+ localStorage.setItem(STORAGE_KEY, JSON.stringify(list));
9431
+ } catch {
9432
+ // ignore
9433
+ }
9434
+ },
9435
+
9436
+ onSearch (e) {
9437
+ this.search = e.target.value;
9438
+ this.rebuildVirtualRows();
9439
+ this.renderedRange = { start: -1, end: -1 };
9440
+ if (this.$refs.viewport) {
9441
+ this.$refs.viewport.scrollTop = 0;
9442
+ }
9443
+ this.renderVisible();
9444
+ },
9445
+
9446
+ onEmojiClick (e) {
9447
+ const el = e.target.closest('[data-emoji]');
9448
+ if (el) {
9449
+ e.stopPropagation();
9450
+ const name = el.dataset.emoji;
9451
+ const emoji = this.allEmojis.find(em => em.name === name);
9452
+
9453
+ this.saveFrequentlyUsed(name);
9454
+
9455
+ /**
9456
+ * Emitted when an emoji is selected.
9457
+ * @event select
9458
+ * @property {Object} emojiItem - The full emoji object { emoji, name, shortcodes, tags, group }
9459
+ */
9460
+ this.$emit('select', emoji || { name, emoji: el.textContent });
9461
+ }
9462
+ },
9463
+
9464
+ rebuildVirtualRows () {
9465
+ const rows = [];
9466
+ let y = 0;
9467
+
9468
+ const addSection = (label, emojis) => {
9469
+ rows.push({ type: 'label', text: label, y, height: LABEL_HEIGHT });
9470
+ y += LABEL_HEIGHT;
9471
+
9472
+ for (let i = 0; i < emojis.length; i += ITEMS_PER_ROW) {
9473
+ const chunk = emojis.slice(i, i + ITEMS_PER_ROW);
9474
+ rows.push({ type: 'emojis', items: chunk, y, height: ITEM_SIZE });
9475
+ y += ITEM_SIZE;
9476
+ }
9477
+ };
9478
+
9479
+ if (this.search) {
9480
+ const results = this.filteredEmojis;
9481
+ if (results.length) {
9482
+ addSection(this.labels.searchResults || 'Search Results', results);
9483
+ } else {
9484
+ rows.push({ type: 'empty', y, height: 60 });
9485
+ y += 60;
9486
+ }
9487
+ } else {
9488
+ const freq = this.frequentEmojis;
9489
+ if (freq.length) {
9490
+ addSection(this.labels.frequentlyUsed || 'Frequently Used', freq);
9491
+ }
9492
+
9493
+ const byGroup = this.emojiByGroup;
9494
+ for (const group of this.groups) {
9495
+ const emojis = byGroup[group.name];
9496
+ if (emojis) {
9497
+ addSection(group.label, emojis);
9498
+ }
9499
+ }
9500
+ }
9501
+
9502
+ this.virtualRows = rows;
9503
+ this.totalHeight = y;
9504
+ },
9505
+
9506
+ onScroll () {
9507
+ this.renderVisible();
9508
+ },
9509
+
9510
+ renderVisible () {
9511
+ const viewport = this.$refs.viewport;
9512
+ const content = this.$refs.scrollContent;
9513
+ if (!viewport || !content) return
9514
+
9515
+ const rows = this.virtualRows;
9516
+
9517
+ content.style.height = this.totalHeight + 'px';
9518
+
9519
+ if (!rows.length) {
9520
+ content.innerHTML = '';
9521
+ return
9522
+ }
9523
+
9524
+ const scrollTop = viewport.scrollTop;
9525
+ const rangeStart = scrollTop - BUFFER_PX;
9526
+ const rangeEnd = scrollTop + this.viewportHeight + BUFFER_PX;
9527
+
9528
+ let first = this.findFirstRow(rangeStart);
9529
+ let last = this.findLastRow(rangeEnd);
9530
+
9531
+ if (first === this.renderedRange.start && last === this.renderedRange.end) {
9532
+ return
9533
+ }
9534
+ this.renderedRange = { start: first, end: last };
9535
+
9536
+ const parts = [];
9537
+ for (let i = first; i <= last; i++) {
9538
+ const row = rows[i];
9539
+ if (row.type === 'label') {
9540
+ parts.push(`<div class="c-emoji-picker-section-label" style="position:absolute;top:${row.y}px;left:0;right:0;">${this.esc(row.text)}</div>`);
9541
+ } else if (row.type === 'emojis') {
9542
+ parts.push(`<div class="c-emoji-picker-vrow" style="position:absolute;top:${row.y}px;left:0;right:0;height:${ITEM_SIZE}px;">`);
9543
+ for (const e of row.items) {
9544
+ parts.push(`<span class="epi" data-emoji="${e.name}" title=":${e.name}:">${e.emoji}</span>`);
9545
+ }
9546
+ parts.push('</div>');
9547
+ } else if (row.type === 'empty') {
9548
+ parts.push(`<div class="c-emoji-picker-empty" style="position:absolute;top:${row.y}px;left:0;right:0;">${this.esc(this.labels.noResults || 'No emojis found')}</div>`);
9549
+ }
9550
+ }
9551
+
9552
+ content.innerHTML = parts.join('');
9553
+ },
9554
+
9555
+ findFirstRow (y) {
9556
+ const rows = this.virtualRows;
9557
+ let lo = 0;
9558
+ let hi = rows.length - 1;
9559
+ while (lo < hi) {
9560
+ const mid = (lo + hi) >> 1;
9561
+ if (rows[mid].y + rows[mid].height <= y) {
9562
+ lo = mid + 1;
9563
+ } else {
9564
+ hi = mid;
9565
+ }
9566
+ }
9567
+ return lo
9568
+ },
9569
+
9570
+ findLastRow (y) {
9571
+ const rows = this.virtualRows;
9572
+ let lo = 0;
9573
+ let hi = rows.length - 1;
9574
+ while (lo < hi) {
9575
+ const mid = (lo + hi + 1) >> 1;
9576
+ if (rows[mid].y >= y) {
9577
+ hi = mid - 1;
9578
+ } else {
9579
+ lo = mid;
9580
+ }
9581
+ }
9582
+ return Math.min(lo, rows.length - 1)
9583
+ },
9584
+
9585
+ onQuickReactionClick (emoji) {
9586
+ this.saveFrequentlyUsed(emoji.name);
9587
+ this.$emit('select', emoji);
9588
+ },
9589
+
9590
+ esc (str) {
9591
+ return str.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;')
9592
+ },
9593
+ },
9594
+ };
9595
+
9205
9596
  /* script */
9206
- const __vue_script__$18 = script$18;
9597
+ const __vue_script__$1b = script$1b;
9207
9598
 
9208
9599
  /* template */
9209
- var __vue_render__$15 = 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)])};
9210
- var __vue_staticRenderFns__$15 = [];
9600
+ var __vue_render__$18 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-emoji-picker"},[_c('div',{staticClass:"c-emoji-picker-search-wrap"},[_c('input',{ref:"searchInput",staticClass:"c-emoji-picker-search-input",attrs:{"type":"text","placeholder":_vm.labels.search || 'Search'},on:{"input":_vm.onSearch,"click":function($event){$event.stopPropagation();},"keydown":function($event){$event.stopPropagation();}}}),_vm._v(" "),_c('svg',{staticClass:"c-emoji-picker-search-icon",attrs:{"viewBox":"0 0 16 16","fill":"currentColor"}},[_c('path',{attrs:{"d":"M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.44 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z"}})])]),_vm._v(" "),_c('div',{ref:"viewport",staticClass:"c-emoji-picker-viewport",style:({ height: _vm.viewportHeight + 'px', width: _vm.viewportWidth + 'px' }),on:{"scroll":_vm.onScroll}},[_c('div',{ref:"scrollContent",staticClass:"c-emoji-picker-scroll-content"})]),_vm._v(" "),(_vm.showQuickReactions)?_c('div',{staticClass:"c-emoji-picker-quick"},[_c('div',{staticClass:"c-emoji-picker-quick-label"},[_vm._v("\n "+_vm._s(_vm.labels.quickReactions || 'Quick Reactions')+"\n ")]),_vm._v(" "),_c('div',{staticClass:"c-emoji-picker-quick-row"},_vm._l((_vm.quickReactionsList),function(qr){return _c('span',{key:qr.emoji,staticClass:"epi",attrs:{"title":qr.name},on:{"click":function($event){$event.stopPropagation();return _vm.onQuickReactionClick(qr)}}},[_vm._v("\n "+_vm._s(qr.emoji)+"\n ")])}),0)]):_vm._e()])};
9601
+ var __vue_staticRenderFns__$18 = [];
9211
9602
 
9212
9603
  /* style */
9213
- const __vue_inject_styles__$19 = undefined;
9604
+ const __vue_inject_styles__$1c = function (inject) {
9605
+ if (!inject) return
9606
+ inject("data-v-5e5b0d5c_0", { source: ".c-emoji-picker-search-wrap{position:relative;padding:.4rem .5rem}.c-emoji-picker-search-input{width:100%;padding:.3rem .5rem .3rem 1.75rem;border:1px solid var(--extra-light,#ddd);border-radius:.35rem;font-size:.8rem;outline:0;background:var(--white,#fff);color:var(--dark,#333)}.c-emoji-picker-search-input:focus{border-color:var(--primary,#4080ff);box-shadow:0 0 0 2px rgba(64,128,255,.15)}.c-emoji-picker-search-input::placeholder{color:var(--secondary,#999)}.c-emoji-picker-search-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);width:.8rem;height:.8rem;color:var(--secondary,#999);pointer-events:none}.c-emoji-picker-viewport{overflow-y:auto;position:relative;padding:0 .4rem}.c-emoji-picker-scroll-content{position:relative;width:100%}.c-emoji-picker-section-label{font-size:.7rem;font-weight:700;color:var(--secondary,#888);text-transform:uppercase;letter-spacing:.03em;padding:.3rem .15rem .15rem;background:var(--white,#fff);line-height:1;height:26px;display:flex;align-items:center}.c-emoji-picker-vrow{display:flex}.epi{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;margin:0;border-radius:.25rem;cursor:pointer;font-size:1.15rem;line-height:1}.epi:hover{background-color:var(--light,#f0f0f0);transform:scale(1.15)}.epi:active{transform:scale(.95)}.c-emoji-picker-empty{text-align:center;color:var(--secondary,#999);padding:1.5rem 0;font-size:.8rem}.c-emoji-picker-quick{border-top:1px solid var(--extra-light,#e0e0e0);padding:.25rem .4rem .3rem}.c-emoji-picker-quick-label{font-size:.65rem;font-weight:700;color:var(--secondary,#888);text-transform:uppercase;letter-spacing:.03em;padding:.1rem .15rem}.c-emoji-picker-quick-row{display:flex}", map: undefined, media: undefined });
9607
+
9608
+ };
9214
9609
  /* scoped */
9215
- const __vue_scope_id__$19 = undefined;
9610
+ const __vue_scope_id__$1c = undefined;
9216
9611
  /* module identifier */
9217
- const __vue_module_identifier__$19 = undefined;
9612
+ const __vue_module_identifier__$1c = undefined;
9218
9613
  /* functional template */
9219
- const __vue_is_functional_template__$19 = false;
9614
+ const __vue_is_functional_template__$1c = false;
9615
+ /* style inject SSR */
9616
+
9617
+ /* style inject shadow dom */
9618
+
9619
+
9620
+
9621
+ const __vue_component__$1c = /*#__PURE__*/normalizeComponent(
9622
+ { render: __vue_render__$18, staticRenderFns: __vue_staticRenderFns__$18 },
9623
+ __vue_inject_styles__$1c,
9624
+ __vue_script__$1b,
9625
+ __vue_scope_id__$1c,
9626
+ __vue_is_functional_template__$1c,
9627
+ __vue_module_identifier__$1c,
9628
+ false,
9629
+ createInjector);
9630
+
9631
+ //
9632
+ //
9633
+ //
9634
+ //
9635
+ //
9636
+ //
9637
+ //
9638
+ //
9639
+ //
9640
+ //
9641
+ //
9642
+ //
9643
+ //
9644
+ //
9645
+ //
9646
+ //
9647
+ //
9648
+ //
9649
+ //
9650
+ //
9651
+ //
9652
+ //
9653
+ //
9654
+ //
9655
+ //
9656
+ //
9657
+ //
9658
+ //
9659
+ //
9660
+
9661
+
9662
+ let popoverCounter = 0;
9663
+
9664
+ var script$1a = {
9665
+ name: 'TMarkEmoji',
9666
+
9667
+ components: {
9668
+ CEmojiPicker: __vue_component__$1c,
9669
+ },
9670
+
9671
+ props: {
9672
+ editor: {
9673
+ type: Object,
9674
+ required: true,
9675
+ },
9676
+
9677
+ format: {
9678
+ type: Object,
9679
+ default: () => ({}),
9680
+ },
9681
+
9682
+ labels: {
9683
+ type: Object,
9684
+ default: () => ({}),
9685
+ },
9686
+ },
9687
+
9688
+ data () {
9689
+ return {
9690
+ popoverId: `emoji-picker-${++popoverCounter}`,
9691
+ }
9692
+ },
9693
+
9694
+ computed: {
9695
+ allEmojis () {
9696
+ return this.editor.storage?.emoji?.emojis || []
9697
+ },
9698
+ },
9699
+
9700
+ methods: {
9701
+ onShown () {
9702
+ this.$nextTick(() => {
9703
+ if (this.$refs.picker) {
9704
+ this.$refs.picker.reset();
9705
+ }
9706
+ });
9707
+ },
9708
+
9709
+ onSelect (emoji) {
9710
+ if (emoji && emoji.name) {
9711
+ this.editor.chain().focus().insertContent({
9712
+ type: 'emoji',
9713
+ attrs: { name: emoji.name },
9714
+ }).run();
9715
+ }
9716
+ this.$root.$emit('bv::hide::popover', this.popoverId);
9717
+ },
9718
+ },
9719
+ };
9720
+
9721
+ /* script */
9722
+ const __vue_script__$1a = script$1a;
9723
+
9724
+ /* template */
9725
+ var __vue_render__$17 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"id":_vm.popoverId,"variant":"link"}},[_c('font-awesome-icon',{attrs:{"icon":['far', 'face-smile']}})],1),_vm._v(" "),_c('b-popover',{attrs:{"target":_vm.popoverId,"triggers":"click blur","placement":"bottom","container":"body","custom-class":"emoji-picker-popover border-light"},on:{"shown":_vm.onShown}},[_c('c-emoji-picker',{ref:"picker",attrs:{"emojis":_vm.allEmojis,"labels":_vm.labels.emojiPicker || {},"show-quick-reactions":false},on:{"select":_vm.onSelect}})],1)],1)};
9726
+ var __vue_staticRenderFns__$17 = [];
9727
+
9728
+ /* style */
9729
+ const __vue_inject_styles__$1b = function (inject) {
9730
+ if (!inject) return
9731
+ inject("data-v-782fc970_0", { source: ".emoji-picker-popover{background:var(--white,#fff);max-width:300px}.emoji-picker-popover .popover-body{padding:0}.emoji-picker-popover .arrow::after{border-bottom-color:var(--white,#fff)}", map: undefined, media: undefined });
9732
+
9733
+ };
9734
+ /* scoped */
9735
+ const __vue_scope_id__$1b = undefined;
9736
+ /* module identifier */
9737
+ const __vue_module_identifier__$1b = undefined;
9738
+ /* functional template */
9739
+ const __vue_is_functional_template__$1b = false;
9740
+ /* style inject SSR */
9741
+
9742
+ /* style inject shadow dom */
9743
+
9744
+
9745
+
9746
+ const __vue_component__$1b = /*#__PURE__*/normalizeComponent(
9747
+ { render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
9748
+ __vue_inject_styles__$1b,
9749
+ __vue_script__$1a,
9750
+ __vue_scope_id__$1b,
9751
+ __vue_is_functional_template__$1b,
9752
+ __vue_module_identifier__$1b,
9753
+ false,
9754
+ createInjector);
9755
+
9756
+ //
9757
+ //
9758
+ //
9759
+ //
9760
+ //
9761
+ //
9762
+ //
9763
+ //
9764
+ //
9765
+ //
9766
+ //
9767
+ //
9768
+ //
9769
+ //
9770
+ //
9771
+ //
9772
+ //
9773
+ //
9774
+ //
9775
+
9776
+
9777
+ /**
9778
+ * Component is used to display simple formatter options such as bold, italic, ...
9779
+ */
9780
+ var script$19 = {
9781
+ name: 'TMarkItem',
9782
+ extends: __vue_component__$1e,
9783
+ };
9784
+
9785
+ /* script */
9786
+ const __vue_script__$19 = script$19;
9787
+
9788
+ /* template */
9789
+ var __vue_render__$16 = 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)])};
9790
+ var __vue_staticRenderFns__$16 = [];
9791
+
9792
+ /* style */
9793
+ const __vue_inject_styles__$1a = undefined;
9794
+ /* scoped */
9795
+ const __vue_scope_id__$1a = undefined;
9796
+ /* module identifier */
9797
+ const __vue_module_identifier__$1a = undefined;
9798
+ /* functional template */
9799
+ const __vue_is_functional_template__$1a = false;
9220
9800
  /* style inject */
9221
9801
 
9222
9802
  /* style inject SSR */
@@ -9225,13 +9805,13 @@ var __vue_staticRenderFns__$15 = [];
9225
9805
 
9226
9806
 
9227
9807
 
9228
- const __vue_component__$19 = /*#__PURE__*/normalizeComponent(
9229
- { render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
9230
- __vue_inject_styles__$19,
9231
- __vue_script__$18,
9232
- __vue_scope_id__$19,
9233
- __vue_is_functional_template__$19,
9234
- __vue_module_identifier__$19,
9808
+ const __vue_component__$1a = /*#__PURE__*/normalizeComponent(
9809
+ { render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
9810
+ __vue_inject_styles__$1a,
9811
+ __vue_script__$19,
9812
+ __vue_scope_id__$1a,
9813
+ __vue_is_functional_template__$1a,
9814
+ __vue_module_identifier__$1a,
9235
9815
  false,
9236
9816
  undefined);
9237
9817
 
@@ -9286,9 +9866,9 @@ var __vue_staticRenderFns__$15 = [];
9286
9866
  * Component is used to display link formatters. It provides an interface to
9287
9867
  * input the URL that should be applied.
9288
9868
  */
9289
- var script$17 = {
9869
+ var script$18 = {
9290
9870
  name: 'TMarkLink',
9291
- extends: __vue_component__$1b,
9871
+ extends: __vue_component__$1e,
9292
9872
 
9293
9873
  props: {
9294
9874
  labels: {
@@ -9348,20 +9928,20 @@ var script$17 = {
9348
9928
  };
9349
9929
 
9350
9930
  /* script */
9351
- const __vue_script__$17 = script$17;
9931
+ const __vue_script__$18 = script$18;
9352
9932
 
9353
9933
  /* template */
9354
- var __vue_render__$14 = 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)};
9355
- var __vue_staticRenderFns__$14 = [];
9934
+ var __vue_render__$15 = 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)};
9935
+ var __vue_staticRenderFns__$15 = [];
9356
9936
 
9357
9937
  /* style */
9358
- const __vue_inject_styles__$18 = undefined;
9938
+ const __vue_inject_styles__$19 = undefined;
9359
9939
  /* scoped */
9360
- const __vue_scope_id__$18 = undefined;
9940
+ const __vue_scope_id__$19 = undefined;
9361
9941
  /* module identifier */
9362
- const __vue_module_identifier__$18 = undefined;
9942
+ const __vue_module_identifier__$19 = undefined;
9363
9943
  /* functional template */
9364
- const __vue_is_functional_template__$18 = false;
9944
+ const __vue_is_functional_template__$19 = false;
9365
9945
  /* style inject */
9366
9946
 
9367
9947
  /* style inject SSR */
@@ -9370,20 +9950,21 @@ var __vue_staticRenderFns__$14 = [];
9370
9950
 
9371
9951
 
9372
9952
 
9373
- const __vue_component__$18 = /*#__PURE__*/normalizeComponent(
9374
- { render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
9375
- __vue_inject_styles__$18,
9376
- __vue_script__$17,
9377
- __vue_scope_id__$18,
9378
- __vue_is_functional_template__$18,
9379
- __vue_module_identifier__$18,
9953
+ const __vue_component__$19 = /*#__PURE__*/normalizeComponent(
9954
+ { render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
9955
+ __vue_inject_styles__$19,
9956
+ __vue_script__$18,
9957
+ __vue_scope_id__$19,
9958
+ __vue_is_functional_template__$19,
9959
+ __vue_module_identifier__$19,
9380
9960
  false,
9381
9961
  undefined);
9382
9962
 
9383
9963
  var mark = {
9384
- Color: __vue_component__$1a,
9385
- Item: __vue_component__$19,
9386
- Link: __vue_component__$18
9964
+ Color: __vue_component__$1d,
9965
+ Emoji: __vue_component__$1b,
9966
+ Item: __vue_component__$1a,
9967
+ Link: __vue_component__$19
9387
9968
  };
9388
9969
 
9389
9970
  // ::- Persistent data structure representing an ordered mapping from
@@ -19395,7 +19976,7 @@ Extension.create({
19395
19976
  //
19396
19977
  //
19397
19978
 
19398
- var script$16 = {
19979
+ var script$17 = {
19399
19980
  name: 'MentionList',
19400
19981
 
19401
19982
  props: {
@@ -19477,40 +20058,40 @@ var script$16 = {
19477
20058
  };
19478
20059
 
19479
20060
  /* script */
19480
- const __vue_script__$16 = script$16;
20061
+ const __vue_script__$17 = script$17;
19481
20062
 
19482
20063
  /* template */
19483
- var __vue_render__$13 = 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:[
20064
+ var __vue_render__$14 = 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:[
19484
20065
  'mention-option',
19485
20066
  { 'mention-option--highlighted': index === _vm.selectedIndex }
19486
20067
  ],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()};
19487
- var __vue_staticRenderFns__$13 = [];
20068
+ var __vue_staticRenderFns__$14 = [];
19488
20069
 
19489
20070
  /* style */
19490
- const __vue_inject_styles__$17 = function (inject) {
20071
+ const __vue_inject_styles__$18 = function (inject) {
19491
20072
  if (!inject) return
19492
20073
  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 });
19493
20074
 
19494
20075
  };
19495
20076
  /* scoped */
19496
- const __vue_scope_id__$17 = "data-v-d2ebe8ce";
20077
+ const __vue_scope_id__$18 = "data-v-d2ebe8ce";
19497
20078
  /* module identifier */
19498
- const __vue_module_identifier__$17 = undefined;
20079
+ const __vue_module_identifier__$18 = undefined;
19499
20080
  /* functional template */
19500
- const __vue_is_functional_template__$17 = false;
20081
+ const __vue_is_functional_template__$18 = false;
19501
20082
  /* style inject SSR */
19502
20083
 
19503
20084
  /* style inject shadow dom */
19504
20085
 
19505
20086
 
19506
20087
 
19507
- const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
19508
- { render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
19509
- __vue_inject_styles__$17,
19510
- __vue_script__$16,
19511
- __vue_scope_id__$17,
19512
- __vue_is_functional_template__$17,
19513
- __vue_module_identifier__$17,
20088
+ const __vue_component__$18 = /*#__PURE__*/normalizeComponent(
20089
+ { render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
20090
+ __vue_inject_styles__$18,
20091
+ __vue_script__$17,
20092
+ __vue_scope_id__$18,
20093
+ __vue_is_functional_template__$18,
20094
+ __vue_module_identifier__$18,
19514
20095
  false,
19515
20096
  createInjector);
19516
20097
 
@@ -19545,7 +20126,7 @@ var suggestion = {
19545
20126
  return {
19546
20127
  onStart: function onStart(props) {
19547
20128
  var _props$editor$view$do;
19548
- component = new vue2.VueRenderer(__vue_component__$17, {
20129
+ component = new vue2.VueRenderer(__vue_component__$18, {
19549
20130
  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,
19550
20131
  propsData: props
19551
20132
  });
@@ -19633,6 +20214,245 @@ var suggestion = {
19633
20214
  }
19634
20215
  };
19635
20216
 
20217
+ //
20218
+ //
20219
+ //
20220
+ //
20221
+ //
20222
+ //
20223
+ //
20224
+ //
20225
+ //
20226
+ //
20227
+ //
20228
+ //
20229
+ //
20230
+ //
20231
+ //
20232
+ //
20233
+ //
20234
+ //
20235
+ //
20236
+ //
20237
+ //
20238
+ //
20239
+
20240
+ var script$16 = {
20241
+ name: 'EmojiList',
20242
+
20243
+ props: {
20244
+ items: {
20245
+ type: Array,
20246
+ required: true,
20247
+ },
20248
+
20249
+ command: {
20250
+ type: Function,
20251
+ required: true,
20252
+ },
20253
+ },
20254
+
20255
+ data() {
20256
+ return {
20257
+ selectedIndex: 0,
20258
+ }
20259
+ },
20260
+
20261
+ watch: {
20262
+ items() {
20263
+ this.selectedIndex = 0;
20264
+ },
20265
+ },
20266
+
20267
+ methods: {
20268
+ onKeyDown({ event }) {
20269
+ if (event.key === 'ArrowUp') {
20270
+ this.upHandler();
20271
+ return true
20272
+ }
20273
+
20274
+ if (event.key === 'ArrowDown') {
20275
+ this.downHandler();
20276
+ return true
20277
+ }
20278
+
20279
+ if (event.key === 'Enter') {
20280
+ this.enterHandler();
20281
+ return true
20282
+ }
20283
+
20284
+ return false
20285
+ },
20286
+
20287
+ upHandler() {
20288
+ this.selectedIndex = ((this.selectedIndex + this.items.length) - 1) % this.items.length;
20289
+ },
20290
+
20291
+ downHandler() {
20292
+ this.selectedIndex = (this.selectedIndex + 1) % this.items.length;
20293
+ },
20294
+
20295
+ enterHandler() {
20296
+ this.selectItem(this.selectedIndex);
20297
+ },
20298
+
20299
+ handleClick(index) {
20300
+ this.selectItem(index);
20301
+ },
20302
+
20303
+ selectItem(index) {
20304
+ const item = this.items[index];
20305
+
20306
+ if (item) {
20307
+ this.command({ name: item.name });
20308
+ }
20309
+ },
20310
+ },
20311
+ };
20312
+
20313
+ /* script */
20314
+ const __vue_script__$16 = script$16;
20315
+
20316
+ /* template */
20317
+ var __vue_render__$13 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.items.length)?_c('div',{staticClass:"emoji-dropdown"},_vm._l((_vm.items),function(item,index){return _c('button',{key:item.name,class:[
20318
+ 'emoji-option',
20319
+ { 'emoji-option--highlighted': index === _vm.selectedIndex }
20320
+ ],attrs:{"type":"button"},on:{"click":function($event){return _vm.handleClick(index)},"mouseenter":function($event){_vm.selectedIndex = index;}}},[_c('span',{staticClass:"emoji-option-emoji"},[_vm._v(_vm._s(item.emoji))]),_vm._v(" "),_c('span',{staticClass:"emoji-option-name"},[_vm._v(":"+_vm._s(item.name)+":")])])}),0):_vm._e()};
20321
+ var __vue_staticRenderFns__$13 = [];
20322
+
20323
+ /* style */
20324
+ const __vue_inject_styles__$17 = function (inject) {
20325
+ if (!inject) return
20326
+ inject("data-v-a0192fc8_0", { source: ".emoji-dropdown[data-v-a0192fc8]{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)}.emoji-option[data-v-a0192fc8]{display:flex;align-items:center;gap:.5rem;width:100%;background:var(--white);color:var(--black);padding:.35rem .75rem;border:none;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emoji-option.emoji-option--highlighted[data-v-a0192fc8],.emoji-option[data-v-a0192fc8]:hover{background:var(--light);color:var(--black)}.emoji-option[data-v-a0192fc8]:active,.emoji-option[data-v-a0192fc8]:focus{color:var(--white);background-color:var(--primary);outline:0}.emoji-option-emoji[data-v-a0192fc8]{font-size:1.2em;line-height:1}.emoji-option-name[data-v-a0192fc8]{color:var(--secondary);font-size:.85em}", map: undefined, media: undefined });
20327
+
20328
+ };
20329
+ /* scoped */
20330
+ const __vue_scope_id__$17 = "data-v-a0192fc8";
20331
+ /* module identifier */
20332
+ const __vue_module_identifier__$17 = undefined;
20333
+ /* functional template */
20334
+ const __vue_is_functional_template__$17 = false;
20335
+ /* style inject SSR */
20336
+
20337
+ /* style inject shadow dom */
20338
+
20339
+
20340
+
20341
+ const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
20342
+ { render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
20343
+ __vue_inject_styles__$17,
20344
+ __vue_script__$16,
20345
+ __vue_scope_id__$17,
20346
+ __vue_is_functional_template__$17,
20347
+ __vue_module_identifier__$17,
20348
+ false,
20349
+ createInjector);
20350
+
20351
+ var EMOJI_BLACKLIST = new Set(['relaxed', 'frowning_face']);
20352
+ var emojiSuggestion = {
20353
+ items: function items(_ref) {
20354
+ var _editor$storage$emoji;
20355
+ var query = _ref.query,
20356
+ editor = _ref.editor;
20357
+ var emojis = ((_editor$storage$emoji = editor.storage.emoji) === null || _editor$storage$emoji === void 0 ? void 0 : _editor$storage$emoji.emojis) || [];
20358
+ if (!query) {
20359
+ // Show face emojis by default when user just types ':'
20360
+ return emojis.filter(function (e) {
20361
+ return (e.group === '' || e.group === 'people & body') && !e.name.startsWith('regional_indicator') && !EMOJI_BLACKLIST.has(e.name);
20362
+ }).slice(0, 20);
20363
+ }
20364
+ var q = query.toLowerCase();
20365
+ return emojis.filter(function (emoji) {
20366
+ // Skip regional indicators
20367
+ if (emoji.name.startsWith('regional_indicator')) return false;
20368
+ if (EMOJI_BLACKLIST.has(emoji.name)) return false;
20369
+
20370
+ // Match against name
20371
+ if (emoji.name.toLowerCase().includes(q)) return true;
20372
+
20373
+ // Match against shortcodes
20374
+ if (emoji.shortcodes && emoji.shortcodes.some(function (s) {
20375
+ return s.toLowerCase().includes(q);
20376
+ })) return true;
20377
+
20378
+ // Match against tags
20379
+ if (emoji.tags && emoji.tags.some(function (t) {
20380
+ return t.toLowerCase().includes(q);
20381
+ })) return true;
20382
+ return false;
20383
+ }).slice(0, 20);
20384
+ },
20385
+ render: function render() {
20386
+ var component;
20387
+ var popup;
20388
+ var popperInstance;
20389
+ return {
20390
+ onStart: function onStart(props) {
20391
+ var _props$editor$view$do;
20392
+ component = new vue2.VueRenderer(__vue_component__$17, {
20393
+ 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,
20394
+ propsData: props
20395
+ });
20396
+ if (!props.clientRect) {
20397
+ return;
20398
+ }
20399
+ var virtualElement = {
20400
+ getBoundingClientRect: props.clientRect
20401
+ };
20402
+ popup = document.createElement('div');
20403
+ popup.appendChild(component.element);
20404
+ popup.style.position = 'absolute';
20405
+ popup.style.zIndex = '1100';
20406
+ popup.style.minWidth = '200px';
20407
+ popup.style.pointerEvents = 'auto';
20408
+ document.body.appendChild(popup);
20409
+ popperInstance = core.createPopper(virtualElement, popup, {
20410
+ placement: 'bottom-start',
20411
+ modifiers: [{
20412
+ name: 'offset',
20413
+ options: {
20414
+ offset: [0, 4]
20415
+ }
20416
+ }, {
20417
+ name: 'preventOverflow',
20418
+ options: {
20419
+ boundary: 'viewport'
20420
+ }
20421
+ }, {
20422
+ name: 'flip',
20423
+ options: {
20424
+ fallbackPlacements: ['top-start', 'bottom-start']
20425
+ }
20426
+ }]
20427
+ });
20428
+ },
20429
+ onUpdate: function onUpdate(props) {
20430
+ component.updateProps(props);
20431
+ if (!props.clientRect || !popperInstance) {
20432
+ return;
20433
+ }
20434
+ popperInstance.update();
20435
+ },
20436
+ onKeyDown: function onKeyDown(props) {
20437
+ var _component$ref;
20438
+ if (props.event.key === 'Escape') {
20439
+ return true;
20440
+ }
20441
+ return (_component$ref = component.ref) === null || _component$ref === void 0 ? void 0 : _component$ref.onKeyDown(props);
20442
+ },
20443
+ onExit: function onExit() {
20444
+ if (popperInstance) {
20445
+ popperInstance.destroy();
20446
+ }
20447
+ if (popup) {
20448
+ popup.remove();
20449
+ }
20450
+ component.destroy();
20451
+ }
20452
+ };
20453
+ }
20454
+ };
20455
+
19636
20456
  /* eslint-disable @typescript-eslint/explicit-function-return-type */
19637
20457
 
19638
20458
 
@@ -19655,6 +20475,9 @@ var getFormats = function getFormats(_ref) {
19655
20475
  suggestion: suggestion
19656
20476
  }), extensionPlaceholder.Placeholder.configure({
19657
20477
  placeholder: placeholder
20478
+ }), Emoji.configure({
20479
+ enableEmoticons: true,
20480
+ suggestion: emojiSuggestion
19658
20481
  })];
19659
20482
  };
19660
20483
 
@@ -19812,6 +20635,10 @@ var getToolbar = function getToolbar() {
19812
20635
  attrs: {
19813
20636
  href: null
19814
20637
  }
20638
+ }, {
20639
+ type: 'emoji',
20640
+ mark: true,
20641
+ component: 'Emoji'
19815
20642
  },
19816
20643
  // @note There is no free FA icon for this
19817
20644
  {
@@ -20433,6 +21260,7 @@ var script$11 = {
20433
21260
  case 'toggleHeaderCell': e.toggleHeaderCell().run(); break
20434
21261
  case 'toggleHeaderColumn': e.toggleHeaderColumn().run(); break
20435
21262
  case 'deleteTable': e.deleteTable().run(); break
21263
+ case 'emoji': e.setEmoji({ name: a.name }).run(); break
20436
21264
  }
20437
21265
  },
20438
21266
  },
@@ -20448,7 +21276,7 @@ var __vue_staticRenderFns__$$ = [];
20448
21276
  /* style */
20449
21277
  const __vue_inject_styles__$12 = function (inject) {
20450
21278
  if (!inject) return
20451
- 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 });
21279
+ inject("data-v-7fe4cef0_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 });
20452
21280
 
20453
21281
  };
20454
21282
  /* scoped */
@@ -22488,7 +23316,7 @@ var script$Q = {
22488
23316
 
22489
23317
  components: {
22490
23318
  Rules: __vue_component__$S,
22491
- CInputSelect: __vue_component__$1g,
23319
+ CInputSelect: __vue_component__$1j,
22492
23320
  CInputRole: __vue_component__$Y,
22493
23321
  },
22494
23322
 
@@ -23123,7 +23951,7 @@ var script$L = {
23123
23951
  name: 'CPromptComposeRecordPicker',
23124
23952
 
23125
23953
  components: {
23126
- CInputSelect: __vue_component__$1g,
23954
+ CInputSelect: __vue_component__$1j,
23127
23955
  CPagination: __vue_component__$N,
23128
23956
  },
23129
23957
 
@@ -23401,7 +24229,7 @@ var script$K = {
23401
24229
  name: 'CPromptInput',
23402
24230
 
23403
24231
  components: {
23404
- CInputDateTime: __vue_component__$1h,
24232
+ CInputDateTime: __vue_component__$1k,
23405
24233
  },
23406
24234
 
23407
24235
  extends: __vue_component__$Q,
@@ -23520,7 +24348,7 @@ var script$I = {
23520
24348
  name: 'CPromptOptions',
23521
24349
 
23522
24350
  components: {
23523
- CInputSelect: __vue_component__$1g,
24351
+ CInputSelect: __vue_component__$1j,
23524
24352
  },
23525
24353
 
23526
24354
  extends: __vue_component__$Q,
@@ -25101,6 +25929,11 @@ var script$B = {
25101
25929
  type: Boolean,
25102
25930
  default: false,
25103
25931
  },
25932
+
25933
+ storageKey: {
25934
+ type: String,
25935
+ default: 'sidebar-expanded',
25936
+ },
25104
25937
  },
25105
25938
 
25106
25939
  data () {
@@ -25158,16 +25991,20 @@ var script$B = {
25158
25991
  if (this.disabledRoutes.includes(this.$route.name)) {
25159
25992
  this.isExpanded = false;
25160
25993
  } else if (!this.isMobile && initial) {
25161
- this.isExpanded = true;
25994
+ const stored = localStorage.getItem(this.storageKey);
25995
+ // Default to closed if no stored value
25996
+ this.isExpanded = stored ? stored === 'true' : true;
25162
25997
  }
25163
25998
  },
25164
25999
 
25165
26000
  openSidebar () {
25166
26001
  this.isExpanded = true;
26002
+ localStorage.setItem(this.storageKey, 'true');
25167
26003
  },
25168
26004
 
25169
26005
  closeSidebar () {
25170
26006
  this.isExpanded = false;
26007
+ localStorage.setItem(this.storageKey, 'false');
25171
26008
  },
25172
26009
  },
25173
26010
  };
@@ -25182,12 +26019,12 @@ var __vue_staticRenderFns__$A = [];
25182
26019
  /* style */
25183
26020
  const __vue_inject_styles__$C = function (inject) {
25184
26021
  if (!inject) return
25185
- inject("data-v-6f6e0bfc_0", { source: ".tab[data-v-6f6e0bfc]{z-index:1021;top:0;height:64px;width:66px}.icon[data-v-6f6e0bfc]{max-height:40px;max-width:40px}.logo[data-v-6f6e0bfc]{max-height:40px}.sidebar-header[data-v-6f6e0bfc]{height:64px}", map: undefined, media: undefined })
25186
- ,inject("data-v-6f6e0bfc_1", { source: ".b-sidebar{background-color:var(--white)!important}.b-sidebar-backdrop{opacity:.75!important}.sidebar{display:flex!important;left:calc(-320px)!important;transition:left .2s cubic-bezier(.4,0,.2,1)}.sidebar.expanded{left:0!important;transition:left .2s cubic-bezier(.4,0,.2,1)}@media (max-width:1023px){.sidebar{width:400px!important;left:calc(-400px)!important}}[dir=rtl] .sidebar{right:calc(-320px)!important;left:auto!important;transition:right .2s cubic-bezier(.4,0,.2,1)}[dir=rtl] .sidebar.expanded{right:0!important;transition:right .2s cubic-bezier(.4,0,.2,1)}@media (max-width:1023px){[dir=rtl] .sidebar{width:400px!important;right:calc(-400px)!important}}", map: undefined, media: undefined });
26022
+ inject("data-v-4df43386_0", { source: ".tab[data-v-4df43386]{z-index:1021;top:0;height:64px;width:66px}.icon[data-v-4df43386]{max-height:40px;max-width:40px}.logo[data-v-4df43386]{max-height:40px}.sidebar-header[data-v-4df43386]{height:64px}", map: undefined, media: undefined })
26023
+ ,inject("data-v-4df43386_1", { source: ".b-sidebar{background-color:var(--white)!important}.b-sidebar-backdrop{opacity:.75!important}.sidebar{display:flex!important;left:calc(-320px)!important;transition:left .2s cubic-bezier(.4,0,.2,1)}.sidebar.expanded{left:0!important;transition:left .2s cubic-bezier(.4,0,.2,1)}@media (max-width:1023px){.sidebar{width:400px!important;left:calc(-400px)!important}}[dir=rtl] .sidebar{right:calc(-320px)!important;left:auto!important;transition:right .2s cubic-bezier(.4,0,.2,1)}[dir=rtl] .sidebar.expanded{right:0!important;transition:right .2s cubic-bezier(.4,0,.2,1)}@media (max-width:1023px){[dir=rtl] .sidebar{width:400px!important;right:calc(-400px)!important}}", map: undefined, media: undefined });
25187
26024
 
25188
26025
  };
25189
26026
  /* scoped */
25190
- const __vue_scope_id__$C = "data-v-6f6e0bfc";
26027
+ const __vue_scope_id__$C = "data-v-4df43386";
25191
26028
  /* module identifier */
25192
26029
  const __vue_module_identifier__$C = undefined;
25193
26030
  /* functional template */
@@ -26120,7 +26957,7 @@ var script$r = {
26120
26957
  components: {
26121
26958
  draggable: Draggable,
26122
26959
  CItemPickerItem: __vue_component__$t,
26123
- CInputSearch: __vue_component__$1d,
26960
+ CInputSearch: __vue_component__$1g,
26124
26961
  },
26125
26962
 
26126
26963
  props: {
@@ -27416,7 +28253,7 @@ var __vue_staticRenderFns__$m = [];
27416
28253
 
27417
28254
  var script$k = {
27418
28255
  components: {
27419
- CInputSelect: __vue_component__$1g,
28256
+ CInputSelect: __vue_component__$1j,
27420
28257
  },
27421
28258
 
27422
28259
  props: {
@@ -27777,7 +28614,7 @@ var script$j = {
27777
28614
  name: 'ResourceList',
27778
28615
 
27779
28616
  components: {
27780
- CInputSearch: __vue_component__$1d,
28617
+ CInputSearch: __vue_component__$1g,
27781
28618
  },
27782
28619
 
27783
28620
  props: {
@@ -28480,7 +29317,7 @@ n(css$3,{});
28480
29317
  var script$g = {
28481
29318
  components: {
28482
29319
  LControl: vue2Leaflet.LControl,
28483
- CInputSearch: __vue_component__$1d,
29320
+ CInputSearch: __vue_component__$1g,
28484
29321
  LPolygon: vue2Leaflet.LPolygon,
28485
29322
  LTileLayer: vue2Leaflet.LTileLayer,
28486
29323
  LMarker: vue2Leaflet.LMarker,
@@ -29345,7 +30182,7 @@ var script$c = {
29345
30182
  },
29346
30183
 
29347
30184
  components: {
29348
- CInputConfirm: __vue_component__$1j,
30185
+ CInputConfirm: __vue_component__$1m,
29349
30186
  },
29350
30187
 
29351
30188
  props: {
@@ -30190,7 +31027,7 @@ var script$7 = {
30190
31027
  components: {
30191
31028
  RecordItem: __vue_component__$9,
30192
31029
  ItemGroup: __vue_component__$8,
30193
- CInputSearch: __vue_component__$1d,
31030
+ CInputSearch: __vue_component__$1g,
30194
31031
  },
30195
31032
 
30196
31033
  props: {
@@ -31236,33 +32073,34 @@ var index$6 = /*#__PURE__*/Object.freeze({
31236
32073
  CAceEditor: __vue_component__$$,
31237
32074
  CButtonSubmit: __vue_component__$Z,
31238
32075
  CChart: __vue_component__$q,
31239
- CCorredorManualButtons: __vue_component__$1u,
31240
- CExtendSession: __vue_component__$1v,
31241
- CFormTableWrapper: __vue_component__$1f,
32076
+ CCorredorManualButtons: __vue_component__$1x,
32077
+ CEmojiPicker: __vue_component__$1c,
32078
+ CExtendSession: __vue_component__$1y,
32079
+ CFormTableWrapper: __vue_component__$1i,
31242
32080
  CHint: __vue_component__$h,
31243
32081
  CInputCheckbox: __vue_component__$10,
31244
- CInputColorPicker: __vue_component__$1c,
31245
- CInputConfirm: __vue_component__$1j,
31246
- CInputDateTime: __vue_component__$1h,
32082
+ CInputColorPicker: __vue_component__$1f,
32083
+ CInputConfirm: __vue_component__$1m,
32084
+ CInputDateTime: __vue_component__$1k,
31247
32085
  CInputExpression: __vue_component__$_,
31248
- CInputPresort: __vue_component__$1e,
31249
- CInputProcessing: __vue_component__$1i,
32086
+ CInputPresort: __vue_component__$1h,
32087
+ CInputProcessing: __vue_component__$1l,
31250
32088
  CInputRole: __vue_component__$Y,
31251
- CInputSearch: __vue_component__$1d,
31252
- CInputSelect: __vue_component__$1g,
32089
+ CInputSearch: __vue_component__$1g,
32090
+ CInputSelect: __vue_component__$1j,
31253
32091
  CInputUser: __vue_component__$X,
31254
32092
  CInputUserGroup: __vue_component__$W,
31255
32093
  CItemPicker: __vue_component__$s,
31256
32094
  CItemPickerItem: __vue_component__$t,
31257
- CLightbox: __vue_component__$1m,
32095
+ CLightbox: __vue_component__$1p,
31258
32096
  CLoaderLogo: __vue_component__$F,
31259
32097
  CMap: __vue_component__$g,
31260
32098
  CNotificationButton: __vue_component__$E,
31261
32099
  CNotificationSidebar: __vue_component__$a,
31262
32100
  CPermissionsButton: __vue_component__$V,
31263
32101
  CPermissionsModal: __vue_component__$R,
31264
- CPreviewInline: __vue_component__$1k,
31265
- CPreviewLightbox: __vue_component__$1l,
32102
+ CPreviewInline: __vue_component__$1n,
32103
+ CPreviewLightbox: __vue_component__$1o,
31266
32104
  CProgress: __vue_component__$j,
31267
32105
  CPromptModal: __vue_component__$H,
31268
32106
  CPromptToast: __vue_component__$I,
@@ -31283,11 +32121,12 @@ var index$6 = /*#__PURE__*/Object.freeze({
31283
32121
  CToolbar: __vue_component__$i,
31284
32122
  CTopbar: __vue_component__$D,
31285
32123
  CTopbarSearch: __vue_component__$7,
31286
- CUploader: __vue_component__$1t,
32124
+ CUploader: __vue_component__$1w,
31287
32125
  CWebcam: __vue_component__$f,
31288
32126
  ItemGroup: __vue_component__$8,
31289
32127
  RecordItem: __vue_component__$9,
31290
32128
  canPreview: canPreview,
32129
+ emojiData: Emoji.emojis,
31291
32130
  getExtensionIconType: getExtensionIconType,
31292
32131
  promptDefinitions: prompts
31293
32132
  });