@cortezaproject/corteza-vue 2024.9.5 → 2024.9.6-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +987 -640
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +987 -640
- package/dist/index.js.map +1 -1
- package/dist/src/components/index.d.ts +1 -1
- package/dist/src/components/input/index.d.ts +1 -0
- package/package.json +15 -13
- package/dist/components/c3/C3.d.ts +0 -5
- package/dist/components/filePreview/common/index.d.ts +0 -2
- package/dist/components/filePreview/common/types/PDF/helpers.d.ts +0 -53
- package/dist/components/filePreview/common/types/index.d.ts +0 -3
- package/dist/components/input/CRichTextInput/RToolbar/TMark/loader.d.ts +0 -10
- package/dist/components/input/CRichTextInput/RToolbar/TNode/loader.d.ts +0 -6
- package/dist/components/input/CRichTextInput/RToolbar/TNodeAttr/loader.d.ts +0 -6
- package/dist/components/input/CRichTextInput/RToolbar/loader.d.ts +0 -9
- package/dist/components/input/CRichTextInput/extensions/heading.d.ts +0 -12
- package/dist/components/input/CRichTextInput/extensions/htmlPaster.d.ts +0 -4
- package/dist/components/input/CRichTextInput/extensions/index.d.ts +0 -6
- package/dist/components/input/CRichTextInput/extensions/link.d.ts +0 -6
- package/dist/components/input/CRichTextInput/extensions/paragraph.d.ts +0 -9
- package/dist/components/input/CRichTextInput/extensions/textBackground.d.ts +0 -23
- package/dist/components/input/CRichTextInput/extensions/textColor.d.ts +0 -23
- package/dist/components/input/CRichTextInput/extensions/utils.d.ts +0 -15
- package/dist/components/input/CRichTextInput/lib/formats.d.ts +0 -85
- package/dist/components/input/CRichTextInput/lib/index.d.ts +0 -1
- package/dist/components/itemPicker/C3.d.ts +0 -1
- package/dist/components/itemPicker/CItemPicker.c3.d.ts +0 -32
- package/dist/components/toaster/actions/index.d.ts +0 -3
- package/dist/mixins/corredor.d.ts +0 -49
- package/dist/mixins/files.d.ts +0 -19
- package/dist/mixins/vue-select-position.d.ts +0 -11
- package/dist/node_modules/@tiptap/pm/state/index.d.ts +0 -1
- package/dist/plugins/reminder.d.ts +0 -66
- package/dist/plugins/settings.d.ts +0 -27
package/dist/index.js
CHANGED
|
@@ -5751,7 +5751,7 @@ var index$7 = /*#__PURE__*/Object.freeze({
|
|
|
5751
5751
|
//
|
|
5752
5752
|
|
|
5753
5753
|
|
|
5754
|
-
var script$
|
|
5754
|
+
var script$1n = {
|
|
5755
5755
|
name: 'CExtendSession',
|
|
5756
5756
|
|
|
5757
5757
|
props: {
|
|
@@ -5928,20 +5928,20 @@ function normalizeComponent(template, style, script, scopeId, isFunctionalTempla
|
|
|
5928
5928
|
}
|
|
5929
5929
|
|
|
5930
5930
|
/* script */
|
|
5931
|
-
const __vue_script__$
|
|
5931
|
+
const __vue_script__$1n = script$1n;
|
|
5932
5932
|
|
|
5933
5933
|
/* template */
|
|
5934
|
-
var __vue_render__$
|
|
5935
|
-
var __vue_staticRenderFns__$
|
|
5934
|
+
var __vue_render__$1i = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-modal',{attrs:{"centered":"","hide-header":"","hide-footer":"","no-close-on-backdrop":"","no-close-on-esc":"","body-class":"d-flex flex-column justify-content-center align-items-center gap-2 p-4"},on:{"hide":_vm.stopCountdown},model:{value:(_vm.showModal),callback:function ($$v) {_vm.showModal=$$v;},expression:"showModal"}},[_c('h5',[_vm._v(_vm._s(_vm.labels.warning(_vm.countdownTime)))]),_vm._v(" "),_c('b-button',{attrs:{"variant":"primary","size":"lg"},on:{"click":_vm.extendSession}},[_vm._v("\n "+_vm._s(_vm.labels.extend)+"\n ")])],1)};
|
|
5935
|
+
var __vue_staticRenderFns__$1i = [];
|
|
5936
5936
|
|
|
5937
5937
|
/* style */
|
|
5938
|
-
const __vue_inject_styles__$
|
|
5938
|
+
const __vue_inject_styles__$1p = undefined;
|
|
5939
5939
|
/* scoped */
|
|
5940
|
-
const __vue_scope_id__$
|
|
5940
|
+
const __vue_scope_id__$1p = undefined;
|
|
5941
5941
|
/* module identifier */
|
|
5942
|
-
const __vue_module_identifier__$
|
|
5942
|
+
const __vue_module_identifier__$1p = undefined;
|
|
5943
5943
|
/* functional template */
|
|
5944
|
-
const __vue_is_functional_template__$
|
|
5944
|
+
const __vue_is_functional_template__$1p = false;
|
|
5945
5945
|
/* style inject */
|
|
5946
5946
|
|
|
5947
5947
|
/* style inject SSR */
|
|
@@ -5950,17 +5950,17 @@ var __vue_staticRenderFns__$1h = [];
|
|
|
5950
5950
|
|
|
5951
5951
|
|
|
5952
5952
|
|
|
5953
|
-
const __vue_component__$
|
|
5954
|
-
{ render: __vue_render__$
|
|
5955
|
-
__vue_inject_styles__$
|
|
5956
|
-
__vue_script__$
|
|
5957
|
-
__vue_scope_id__$
|
|
5958
|
-
__vue_is_functional_template__$
|
|
5959
|
-
__vue_module_identifier__$
|
|
5953
|
+
const __vue_component__$1p = /*#__PURE__*/normalizeComponent(
|
|
5954
|
+
{ render: __vue_render__$1i, staticRenderFns: __vue_staticRenderFns__$1i },
|
|
5955
|
+
__vue_inject_styles__$1p,
|
|
5956
|
+
__vue_script__$1n,
|
|
5957
|
+
__vue_scope_id__$1p,
|
|
5958
|
+
__vue_is_functional_template__$1p,
|
|
5959
|
+
__vue_module_identifier__$1p,
|
|
5960
5960
|
false,
|
|
5961
5961
|
undefined);
|
|
5962
5962
|
|
|
5963
|
-
var script$
|
|
5963
|
+
var script$1m = {
|
|
5964
5964
|
props: {
|
|
5965
5965
|
resourceType: {
|
|
5966
5966
|
type: String,
|
|
@@ -6001,20 +6001,20 @@ var script$1l = {
|
|
|
6001
6001
|
};
|
|
6002
6002
|
|
|
6003
6003
|
/* script */
|
|
6004
|
-
const __vue_script__$
|
|
6004
|
+
const __vue_script__$1m = script$1m;
|
|
6005
6005
|
|
|
6006
6006
|
/* template */
|
|
6007
|
-
var __vue_render__$
|
|
6008
|
-
var __vue_staticRenderFns__$
|
|
6007
|
+
var __vue_render__$1h = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.buttons.length)?_c('b-button-group',{attrs:{"size":_vm.size}},_vm._l((_vm.buttons),function(b,i){return _c('b-button',{key:i,class:_vm.buttonClass,attrs:{"variant":b.variant || _vm.defaultVariant},on:{"click":function($event){return _vm.$emit('click', b)}}},[_vm._v("\n "+_vm._s(b.label)+"\n ")])}),1):_vm._e()};
|
|
6008
|
+
var __vue_staticRenderFns__$1h = [];
|
|
6009
6009
|
|
|
6010
6010
|
/* style */
|
|
6011
|
-
const __vue_inject_styles__$
|
|
6011
|
+
const __vue_inject_styles__$1o = undefined;
|
|
6012
6012
|
/* scoped */
|
|
6013
|
-
const __vue_scope_id__$
|
|
6013
|
+
const __vue_scope_id__$1o = undefined;
|
|
6014
6014
|
/* module identifier */
|
|
6015
|
-
const __vue_module_identifier__$
|
|
6015
|
+
const __vue_module_identifier__$1o = undefined;
|
|
6016
6016
|
/* functional template */
|
|
6017
|
-
const __vue_is_functional_template__$
|
|
6017
|
+
const __vue_is_functional_template__$1o = false;
|
|
6018
6018
|
/* style inject */
|
|
6019
6019
|
|
|
6020
6020
|
/* style inject SSR */
|
|
@@ -6023,17 +6023,17 @@ var __vue_staticRenderFns__$1g = [];
|
|
|
6023
6023
|
|
|
6024
6024
|
|
|
6025
6025
|
|
|
6026
|
-
const __vue_component__$
|
|
6027
|
-
{ render: __vue_render__$
|
|
6028
|
-
__vue_inject_styles__$
|
|
6029
|
-
__vue_script__$
|
|
6030
|
-
__vue_scope_id__$
|
|
6031
|
-
__vue_is_functional_template__$
|
|
6032
|
-
__vue_module_identifier__$
|
|
6026
|
+
const __vue_component__$1o = /*#__PURE__*/normalizeComponent(
|
|
6027
|
+
{ render: __vue_render__$1h, staticRenderFns: __vue_staticRenderFns__$1h },
|
|
6028
|
+
__vue_inject_styles__$1o,
|
|
6029
|
+
__vue_script__$1m,
|
|
6030
|
+
__vue_scope_id__$1o,
|
|
6031
|
+
__vue_is_functional_template__$1o,
|
|
6032
|
+
__vue_module_identifier__$1o,
|
|
6033
6033
|
false,
|
|
6034
6034
|
undefined);
|
|
6035
6035
|
|
|
6036
|
-
var script$
|
|
6036
|
+
var script$1l = {
|
|
6037
6037
|
props: {
|
|
6038
6038
|
labels: {
|
|
6039
6039
|
type: Object,
|
|
@@ -6079,18 +6079,18 @@ var script$1k = {
|
|
|
6079
6079
|
};
|
|
6080
6080
|
|
|
6081
6081
|
/* script */
|
|
6082
|
-
const __vue_script__$
|
|
6082
|
+
const __vue_script__$1l = script$1l;
|
|
6083
6083
|
|
|
6084
6084
|
/* template */
|
|
6085
6085
|
|
|
6086
6086
|
/* style */
|
|
6087
|
-
const __vue_inject_styles__$
|
|
6087
|
+
const __vue_inject_styles__$1n = undefined;
|
|
6088
6088
|
/* scoped */
|
|
6089
|
-
const __vue_scope_id__$
|
|
6089
|
+
const __vue_scope_id__$1n = undefined;
|
|
6090
6090
|
/* module identifier */
|
|
6091
|
-
const __vue_module_identifier__$
|
|
6091
|
+
const __vue_module_identifier__$1n = undefined;
|
|
6092
6092
|
/* functional template */
|
|
6093
|
-
const __vue_is_functional_template__$
|
|
6093
|
+
const __vue_is_functional_template__$1n = undefined;
|
|
6094
6094
|
/* style inject */
|
|
6095
6095
|
|
|
6096
6096
|
/* style inject SSR */
|
|
@@ -6099,18 +6099,18 @@ const __vue_script__$1k = script$1k;
|
|
|
6099
6099
|
|
|
6100
6100
|
|
|
6101
6101
|
|
|
6102
|
-
const __vue_component__$
|
|
6102
|
+
const __vue_component__$1n = /*#__PURE__*/normalizeComponent(
|
|
6103
6103
|
{},
|
|
6104
|
-
__vue_inject_styles__$
|
|
6105
|
-
__vue_script__$
|
|
6106
|
-
__vue_scope_id__$
|
|
6107
|
-
__vue_is_functional_template__$
|
|
6108
|
-
__vue_module_identifier__$
|
|
6104
|
+
__vue_inject_styles__$1n,
|
|
6105
|
+
__vue_script__$1l,
|
|
6106
|
+
__vue_scope_id__$1n,
|
|
6107
|
+
__vue_is_functional_template__$1n,
|
|
6108
|
+
__vue_module_identifier__$1n,
|
|
6109
6109
|
false,
|
|
6110
6110
|
undefined);
|
|
6111
6111
|
|
|
6112
|
-
var script$
|
|
6113
|
-
extends: __vue_component__$
|
|
6112
|
+
var script$1k = {
|
|
6113
|
+
extends: __vue_component__$1n,
|
|
6114
6114
|
|
|
6115
6115
|
props: {
|
|
6116
6116
|
alt: {
|
|
@@ -6219,46 +6219,46 @@ function addStyle(id, css) {
|
|
|
6219
6219
|
}
|
|
6220
6220
|
|
|
6221
6221
|
/* script */
|
|
6222
|
-
const __vue_script__$
|
|
6222
|
+
const __vue_script__$1k = script$1k;
|
|
6223
6223
|
|
|
6224
6224
|
/* template */
|
|
6225
|
-
var __vue_render__$
|
|
6226
|
-
var __vue_staticRenderFns__$
|
|
6225
|
+
var __vue_render__$1g = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex inline h-100 mb-1"},[_c('img',{key:_vm.src,ref:"image",class:_vm.getClass,style:(_vm.previewStyle),attrs:{"src":_vm.src,"title":_vm.title,"alt":_vm.alt,"width":_vm.getWidth,"height":_vm.getHeight},on:{"click":function($event){return _vm.$emit('openPreview', {})},"~error":function($event){return _vm.reloadBrokenImage.apply(null, arguments)},"load":function($event){_vm.loaded=true;}}})])};
|
|
6226
|
+
var __vue_staticRenderFns__$1g = [];
|
|
6227
6227
|
|
|
6228
6228
|
/* style */
|
|
6229
|
-
const __vue_inject_styles__$
|
|
6229
|
+
const __vue_inject_styles__$1m = function (inject) {
|
|
6230
6230
|
if (!inject) return
|
|
6231
6231
|
inject("data-v-5b22ddfb_0", { source: "div[data-v-5b22ddfb]{object-fit:contain}div img.loaded[data-v-5b22ddfb]{width:auto;height:auto;display:block}div.inline img[data-v-5b22ddfb]{cursor:zoom-in}div.inline img.disable-zoom-cursor[data-v-5b22ddfb]{cursor:default}", map: undefined, media: undefined });
|
|
6232
6232
|
|
|
6233
6233
|
};
|
|
6234
6234
|
/* scoped */
|
|
6235
|
-
const __vue_scope_id__$
|
|
6235
|
+
const __vue_scope_id__$1m = "data-v-5b22ddfb";
|
|
6236
6236
|
/* module identifier */
|
|
6237
|
-
const __vue_module_identifier__$
|
|
6237
|
+
const __vue_module_identifier__$1m = undefined;
|
|
6238
6238
|
/* functional template */
|
|
6239
|
-
const __vue_is_functional_template__$
|
|
6239
|
+
const __vue_is_functional_template__$1m = false;
|
|
6240
6240
|
/* style inject SSR */
|
|
6241
6241
|
|
|
6242
6242
|
/* style inject shadow dom */
|
|
6243
6243
|
|
|
6244
6244
|
|
|
6245
6245
|
|
|
6246
|
-
const __vue_component__$
|
|
6247
|
-
{ render: __vue_render__$
|
|
6248
|
-
__vue_inject_styles__$
|
|
6249
|
-
__vue_script__$
|
|
6250
|
-
__vue_scope_id__$
|
|
6251
|
-
__vue_is_functional_template__$
|
|
6252
|
-
__vue_module_identifier__$
|
|
6246
|
+
const __vue_component__$1m = /*#__PURE__*/normalizeComponent(
|
|
6247
|
+
{ render: __vue_render__$1g, staticRenderFns: __vue_staticRenderFns__$1g },
|
|
6248
|
+
__vue_inject_styles__$1m,
|
|
6249
|
+
__vue_script__$1k,
|
|
6250
|
+
__vue_scope_id__$1m,
|
|
6251
|
+
__vue_is_functional_template__$1m,
|
|
6252
|
+
__vue_module_identifier__$1m,
|
|
6253
6253
|
false,
|
|
6254
6254
|
createInjector);
|
|
6255
6255
|
|
|
6256
|
-
var script$
|
|
6256
|
+
var script$1j = {
|
|
6257
6257
|
components: {
|
|
6258
6258
|
PhotoSwipe,
|
|
6259
6259
|
},
|
|
6260
6260
|
|
|
6261
|
-
extends: __vue_component__$
|
|
6261
|
+
extends: __vue_component__$1n,
|
|
6262
6262
|
|
|
6263
6263
|
data () {
|
|
6264
6264
|
return {
|
|
@@ -6314,37 +6314,37 @@ var script$1i = {
|
|
|
6314
6314
|
};
|
|
6315
6315
|
|
|
6316
6316
|
/* script */
|
|
6317
|
-
const __vue_script__$
|
|
6317
|
+
const __vue_script__$1j = script$1j;
|
|
6318
6318
|
|
|
6319
6319
|
/* template */
|
|
6320
|
-
var __vue_render__$
|
|
6321
|
-
var __vue_staticRenderFns__$
|
|
6320
|
+
var __vue_render__$1f = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"popup-img-preview"},[_c('photo-swipe',{attrs:{"is-open":true,"items":_vm.items,"options":_vm.options},on:{"close":function () { return _vm.$emit('close'); }}})],1)};
|
|
6321
|
+
var __vue_staticRenderFns__$1f = [];
|
|
6322
6322
|
|
|
6323
6323
|
/* style */
|
|
6324
|
-
const __vue_inject_styles__$
|
|
6324
|
+
const __vue_inject_styles__$1l = function (inject) {
|
|
6325
6325
|
if (!inject) return
|
|
6326
6326
|
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 });
|
|
6327
6327
|
|
|
6328
6328
|
};
|
|
6329
6329
|
/* scoped */
|
|
6330
|
-
const __vue_scope_id__$
|
|
6330
|
+
const __vue_scope_id__$1l = undefined;
|
|
6331
6331
|
/* module identifier */
|
|
6332
|
-
const __vue_module_identifier__$
|
|
6332
|
+
const __vue_module_identifier__$1l = undefined;
|
|
6333
6333
|
/* functional template */
|
|
6334
|
-
const __vue_is_functional_template__$
|
|
6334
|
+
const __vue_is_functional_template__$1l = false;
|
|
6335
6335
|
/* style inject SSR */
|
|
6336
6336
|
|
|
6337
6337
|
/* style inject shadow dom */
|
|
6338
6338
|
|
|
6339
6339
|
|
|
6340
6340
|
|
|
6341
|
-
const __vue_component__$
|
|
6342
|
-
{ render: __vue_render__$
|
|
6343
|
-
__vue_inject_styles__$
|
|
6344
|
-
__vue_script__$
|
|
6345
|
-
__vue_scope_id__$
|
|
6346
|
-
__vue_is_functional_template__$
|
|
6347
|
-
__vue_module_identifier__$
|
|
6341
|
+
const __vue_component__$1l = /*#__PURE__*/normalizeComponent(
|
|
6342
|
+
{ render: __vue_render__$1f, staticRenderFns: __vue_staticRenderFns__$1f },
|
|
6343
|
+
__vue_inject_styles__$1l,
|
|
6344
|
+
__vue_script__$1j,
|
|
6345
|
+
__vue_scope_id__$1l,
|
|
6346
|
+
__vue_is_functional_template__$1l,
|
|
6347
|
+
__vue_module_identifier__$1l,
|
|
6348
6348
|
false,
|
|
6349
6349
|
createInjector);
|
|
6350
6350
|
|
|
@@ -6438,8 +6438,8 @@ function sleep (t) {
|
|
|
6438
6438
|
return new Promise(resolve => setTimeout(resolve, t))
|
|
6439
6439
|
}
|
|
6440
6440
|
|
|
6441
|
-
var script$
|
|
6442
|
-
extends: __vue_component__$
|
|
6441
|
+
var script$1i = {
|
|
6442
|
+
extends: __vue_component__$1n,
|
|
6443
6443
|
|
|
6444
6444
|
props: {
|
|
6445
6445
|
retryBackoff: {
|
|
@@ -6689,72 +6689,72 @@ var script$1h = {
|
|
|
6689
6689
|
};
|
|
6690
6690
|
|
|
6691
6691
|
/* script */
|
|
6692
|
-
const __vue_script__$
|
|
6692
|
+
const __vue_script__$1i = script$1i;
|
|
6693
6693
|
|
|
6694
6694
|
/* template */
|
|
6695
|
-
var __vue_render__$
|
|
6696
|
-
var __vue_staticRenderFns__$
|
|
6695
|
+
var __vue_render__$1e = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.previewClass.concat( ['pdf-preview'], [_vm.inline ? 'inline' : ''], [_vm.$listeners.click ? 'clickable' : '']),style:(_vm.previewStyle),on:{"click":_vm.onPreviewClick}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.show),expression:"show"}],ref:"pages",staticClass:"pages"}),_vm._v(" "),(_vm.loadError)?_c('div',{staticClass:"doc-msg doc-err"},[_c('p',{staticClass:"err-message"},[_vm._v("\n "+_vm._s(_vm.loadError.message)+"\n ")])]):(!_vm.show && _vm.labels.loading)?_c('div',{staticClass:"doc-msg"},[_c('p',{staticClass:"d-flex align-items-center gap-1"},[_c('b-spinner',{attrs:{"variant":"primary","small":""}}),_vm._v("\n "+_vm._s(_vm.labels.loading)+"\n ")],1)]):(!_vm.pageCount && _vm.labels.noPages)?_c('div',{staticClass:"doc-msg doc-err"},[_c('p',[_vm._v(_vm._s(_vm.labels.noPages))])]):_vm._e()])};
|
|
6696
|
+
var __vue_staticRenderFns__$1e = [];
|
|
6697
6697
|
|
|
6698
6698
|
/* style */
|
|
6699
|
-
const __vue_inject_styles__$
|
|
6699
|
+
const __vue_inject_styles__$1k = function (inject) {
|
|
6700
6700
|
if (!inject) return
|
|
6701
6701
|
inject("data-v-6b03f585_0", { source: ".doc-msg[data-v-6b03f585]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;background-color:var(--white)}.doc-err[data-v-6b03f585]{cursor:pointer}.doc-err .err-message[data-v-6b03f585]{color:var(--danger)}", map: undefined, media: undefined })
|
|
6702
6702
|
,inject("data-v-6b03f585_1", { source: ".pdf-preview{text-align:center;width:100%;height:auto}.pdf-preview.inline{cursor:zoom-in}.pdf-preview.inline canvas{width:100%;height:auto}.pdf-preview canvas{margin-bottom:10px;box-shadow:0 0 3px rgba(30,30,30,.2549019608);width:80%;height:auto}.pdf-preview canvas:last-of-type{margin-bottom:unset}.pdf-preview .loader{margin-bottom:10px}", map: undefined, media: undefined });
|
|
6703
6703
|
|
|
6704
6704
|
};
|
|
6705
6705
|
/* scoped */
|
|
6706
|
-
const __vue_scope_id__$
|
|
6706
|
+
const __vue_scope_id__$1k = "data-v-6b03f585";
|
|
6707
6707
|
/* module identifier */
|
|
6708
|
-
const __vue_module_identifier__$
|
|
6708
|
+
const __vue_module_identifier__$1k = undefined;
|
|
6709
6709
|
/* functional template */
|
|
6710
|
-
const __vue_is_functional_template__$
|
|
6710
|
+
const __vue_is_functional_template__$1k = false;
|
|
6711
6711
|
/* style inject SSR */
|
|
6712
6712
|
|
|
6713
6713
|
/* style inject shadow dom */
|
|
6714
6714
|
|
|
6715
6715
|
|
|
6716
6716
|
|
|
6717
|
-
const __vue_component__$
|
|
6718
|
-
{ render: __vue_render__$
|
|
6719
|
-
__vue_inject_styles__$
|
|
6720
|
-
__vue_script__$
|
|
6721
|
-
__vue_scope_id__$
|
|
6722
|
-
__vue_is_functional_template__$
|
|
6723
|
-
__vue_module_identifier__$
|
|
6717
|
+
const __vue_component__$1k = /*#__PURE__*/normalizeComponent(
|
|
6718
|
+
{ render: __vue_render__$1e, staticRenderFns: __vue_staticRenderFns__$1e },
|
|
6719
|
+
__vue_inject_styles__$1k,
|
|
6720
|
+
__vue_script__$1i,
|
|
6721
|
+
__vue_scope_id__$1k,
|
|
6722
|
+
__vue_is_functional_template__$1k,
|
|
6723
|
+
__vue_module_identifier__$1k,
|
|
6724
6724
|
false,
|
|
6725
6725
|
createInjector);
|
|
6726
6726
|
|
|
6727
6727
|
/* script */
|
|
6728
6728
|
|
|
6729
6729
|
/* template */
|
|
6730
|
-
var __vue_render__$
|
|
6731
|
-
var __vue_staticRenderFns__$
|
|
6730
|
+
var __vue_render__$1d = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"lightbox"},[_c('header',[_c('div',{staticClass:"left"},[_vm._t("header.left")],2),_vm._v(" "),_c('div',{staticClass:"right"},[_vm._t("header.right"),_vm._v(" "),_c('button',{staticClass:"closer",on:{"click":function($event){return _vm.$emit('close')}}},[_vm._v("\n ×\n ")])],2)]),_vm._v(" "),_c('main',[_vm._t("main")],2)])};
|
|
6731
|
+
var __vue_staticRenderFns__$1d = [];
|
|
6732
6732
|
|
|
6733
6733
|
/* style */
|
|
6734
|
-
const __vue_inject_styles__$
|
|
6734
|
+
const __vue_inject_styles__$1j = function (inject) {
|
|
6735
6735
|
if (!inject) return
|
|
6736
6736
|
inject("data-v-30782d92_0", { source: ".lightbox[data-v-30782d92]{position:fixed;left:0;top:0;right:0;bottom:0;background-color:#eef1f3;z-index:2000}.lightbox header[data-v-30782d92]{display:flex;justify-content:space-between;background-color:#fff;position:absolute;left:0;top:0;right:0;box-shadow:0 0 3px #1e1E1E41;z-index:1000;height:50px}.lightbox header .left[data-v-30782d92]{margin-left:10px}.lightbox header .right[data-v-30782d92]{margin-right:10px}.lightbox header>div[data-v-30782d92]{display:flex;align-items:center}.lightbox main[data-v-30782d92]{position:absolute;top:50px;left:0;right:0;bottom:0;overflow-y:scroll;z-index:1}.lightbox header button[data-v-30782d92]{background-color:transparent;border:none;outline:0;font-size:25px;font-weight:700;margin:10px;cursor:pointer;box-sizing:border-box}.lightbox header button[data-v-30782d92]:last-of-type{margin-right:0}", map: undefined, media: undefined });
|
|
6737
6737
|
|
|
6738
6738
|
};
|
|
6739
6739
|
/* scoped */
|
|
6740
|
-
const __vue_scope_id__$
|
|
6740
|
+
const __vue_scope_id__$1j = "data-v-30782d92";
|
|
6741
6741
|
/* module identifier */
|
|
6742
|
-
const __vue_module_identifier__$
|
|
6742
|
+
const __vue_module_identifier__$1j = undefined;
|
|
6743
6743
|
/* functional template */
|
|
6744
|
-
const __vue_is_functional_template__$
|
|
6744
|
+
const __vue_is_functional_template__$1j = false;
|
|
6745
6745
|
/* style inject SSR */
|
|
6746
6746
|
|
|
6747
6747
|
/* style inject shadow dom */
|
|
6748
6748
|
|
|
6749
6749
|
|
|
6750
6750
|
|
|
6751
|
-
const __vue_component__$
|
|
6752
|
-
{ render: __vue_render__$
|
|
6753
|
-
__vue_inject_styles__$
|
|
6751
|
+
const __vue_component__$1j = /*#__PURE__*/normalizeComponent(
|
|
6752
|
+
{ render: __vue_render__$1d, staticRenderFns: __vue_staticRenderFns__$1d },
|
|
6753
|
+
__vue_inject_styles__$1j,
|
|
6754
6754
|
{},
|
|
6755
|
-
__vue_scope_id__$
|
|
6756
|
-
__vue_is_functional_template__$
|
|
6757
|
-
__vue_module_identifier__$
|
|
6755
|
+
__vue_scope_id__$1j,
|
|
6756
|
+
__vue_is_functional_template__$1j,
|
|
6757
|
+
__vue_module_identifier__$1j,
|
|
6758
6758
|
false,
|
|
6759
6759
|
createInjector);
|
|
6760
6760
|
|
|
@@ -6809,7 +6809,7 @@ var canPreview = function canPreview(_ref2) {
|
|
|
6809
6809
|
});
|
|
6810
6810
|
};
|
|
6811
6811
|
|
|
6812
|
-
var script$
|
|
6812
|
+
var script$1h = {
|
|
6813
6813
|
inheritAttrs: false,
|
|
6814
6814
|
|
|
6815
6815
|
props: {
|
|
@@ -6831,18 +6831,18 @@ var script$1g = {
|
|
|
6831
6831
|
};
|
|
6832
6832
|
|
|
6833
6833
|
/* script */
|
|
6834
|
-
const __vue_script__$
|
|
6834
|
+
const __vue_script__$1h = script$1h;
|
|
6835
6835
|
|
|
6836
6836
|
/* template */
|
|
6837
6837
|
|
|
6838
6838
|
/* style */
|
|
6839
|
-
const __vue_inject_styles__$
|
|
6839
|
+
const __vue_inject_styles__$1i = undefined;
|
|
6840
6840
|
/* scoped */
|
|
6841
|
-
const __vue_scope_id__$
|
|
6841
|
+
const __vue_scope_id__$1i = undefined;
|
|
6842
6842
|
/* module identifier */
|
|
6843
|
-
const __vue_module_identifier__$
|
|
6843
|
+
const __vue_module_identifier__$1i = undefined;
|
|
6844
6844
|
/* functional template */
|
|
6845
|
-
const __vue_is_functional_template__$
|
|
6845
|
+
const __vue_is_functional_template__$1i = undefined;
|
|
6846
6846
|
/* style inject */
|
|
6847
6847
|
|
|
6848
6848
|
/* style inject SSR */
|
|
@@ -6851,41 +6851,41 @@ const __vue_script__$1g = script$1g;
|
|
|
6851
6851
|
|
|
6852
6852
|
|
|
6853
6853
|
|
|
6854
|
-
const __vue_component__$
|
|
6854
|
+
const __vue_component__$1i = /*#__PURE__*/normalizeComponent(
|
|
6855
6855
|
{},
|
|
6856
|
-
__vue_inject_styles__$
|
|
6857
|
-
__vue_script__$
|
|
6858
|
-
__vue_scope_id__$
|
|
6859
|
-
__vue_is_functional_template__$
|
|
6860
|
-
__vue_module_identifier__$
|
|
6856
|
+
__vue_inject_styles__$1i,
|
|
6857
|
+
__vue_script__$1h,
|
|
6858
|
+
__vue_scope_id__$1i,
|
|
6859
|
+
__vue_is_functional_template__$1i,
|
|
6860
|
+
__vue_module_identifier__$1i,
|
|
6861
6861
|
false,
|
|
6862
6862
|
undefined);
|
|
6863
6863
|
|
|
6864
|
-
var script$
|
|
6864
|
+
var script$1g = {
|
|
6865
6865
|
components: {
|
|
6866
|
-
CLightbox: __vue_component__$
|
|
6867
|
-
IMG: __vue_component__$
|
|
6868
|
-
PDF: __vue_component__$
|
|
6866
|
+
CLightbox: __vue_component__$1j,
|
|
6867
|
+
IMG: __vue_component__$1l,
|
|
6868
|
+
PDF: __vue_component__$1k,
|
|
6869
6869
|
},
|
|
6870
6870
|
|
|
6871
|
-
extends: __vue_component__$
|
|
6871
|
+
extends: __vue_component__$1i,
|
|
6872
6872
|
};
|
|
6873
6873
|
|
|
6874
6874
|
/* script */
|
|
6875
|
-
const __vue_script__$
|
|
6875
|
+
const __vue_script__$1g = script$1g;
|
|
6876
6876
|
|
|
6877
6877
|
/* template */
|
|
6878
|
-
var __vue_render__$
|
|
6879
|
-
var __vue_staticRenderFns__$
|
|
6878
|
+
var __vue_render__$1c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-lightbox',_vm._g({scopedSlots:_vm._u([_vm._l((_vm.$scopedSlots),function(_,slot){return {key:slot,fn:function(scope){return [_vm._t(slot,null,null,scope)]}}})],null,true)},_vm.$listeners),[_vm._v(" "),_c(_vm.previewType,_vm._g(_vm._b({tag:"component",attrs:{"slot":"main"},slot:"main"},'component',_vm.$attrs,false),_vm.$listeners))],1)};
|
|
6879
|
+
var __vue_staticRenderFns__$1c = [];
|
|
6880
6880
|
|
|
6881
6881
|
/* style */
|
|
6882
|
-
const __vue_inject_styles__$
|
|
6882
|
+
const __vue_inject_styles__$1h = undefined;
|
|
6883
6883
|
/* scoped */
|
|
6884
|
-
const __vue_scope_id__$
|
|
6884
|
+
const __vue_scope_id__$1h = undefined;
|
|
6885
6885
|
/* module identifier */
|
|
6886
|
-
const __vue_module_identifier__$
|
|
6886
|
+
const __vue_module_identifier__$1h = undefined;
|
|
6887
6887
|
/* functional template */
|
|
6888
|
-
const __vue_is_functional_template__$
|
|
6888
|
+
const __vue_is_functional_template__$1h = false;
|
|
6889
6889
|
/* style inject */
|
|
6890
6890
|
|
|
6891
6891
|
/* style inject SSR */
|
|
@@ -6894,40 +6894,40 @@ var __vue_staticRenderFns__$1b = [];
|
|
|
6894
6894
|
|
|
6895
6895
|
|
|
6896
6896
|
|
|
6897
|
-
const __vue_component__$
|
|
6898
|
-
{ render: __vue_render__$
|
|
6899
|
-
__vue_inject_styles__$
|
|
6900
|
-
__vue_script__$
|
|
6901
|
-
__vue_scope_id__$
|
|
6902
|
-
__vue_is_functional_template__$
|
|
6903
|
-
__vue_module_identifier__$
|
|
6897
|
+
const __vue_component__$1h = /*#__PURE__*/normalizeComponent(
|
|
6898
|
+
{ render: __vue_render__$1c, staticRenderFns: __vue_staticRenderFns__$1c },
|
|
6899
|
+
__vue_inject_styles__$1h,
|
|
6900
|
+
__vue_script__$1g,
|
|
6901
|
+
__vue_scope_id__$1h,
|
|
6902
|
+
__vue_is_functional_template__$1h,
|
|
6903
|
+
__vue_module_identifier__$1h,
|
|
6904
6904
|
false,
|
|
6905
6905
|
undefined);
|
|
6906
6906
|
|
|
6907
|
-
var script$
|
|
6907
|
+
var script$1f = {
|
|
6908
6908
|
components: {
|
|
6909
|
-
IMG: __vue_component__$
|
|
6910
|
-
PDF: __vue_component__$
|
|
6909
|
+
IMG: __vue_component__$1m,
|
|
6910
|
+
PDF: __vue_component__$1k,
|
|
6911
6911
|
},
|
|
6912
6912
|
|
|
6913
|
-
extends: __vue_component__$
|
|
6913
|
+
extends: __vue_component__$1i,
|
|
6914
6914
|
};
|
|
6915
6915
|
|
|
6916
6916
|
/* script */
|
|
6917
|
-
const __vue_script__$
|
|
6917
|
+
const __vue_script__$1f = script$1f;
|
|
6918
6918
|
|
|
6919
6919
|
/* template */
|
|
6920
|
-
var __vue_render__$
|
|
6921
|
-
var __vue_staticRenderFns__$
|
|
6920
|
+
var __vue_render__$1b = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"inline h-100"},[_c('main',{staticClass:"h-100"},[_c(_vm.previewType,_vm._g(_vm._b({tag:"component",attrs:{"max-pages":1,"inline":_vm.inline,"initial-scale":1.5}},'component',_vm.$attrs,false),_vm.$listeners))],1)])};
|
|
6921
|
+
var __vue_staticRenderFns__$1b = [];
|
|
6922
6922
|
|
|
6923
6923
|
/* style */
|
|
6924
|
-
const __vue_inject_styles__$
|
|
6924
|
+
const __vue_inject_styles__$1g = undefined;
|
|
6925
6925
|
/* scoped */
|
|
6926
|
-
const __vue_scope_id__$
|
|
6926
|
+
const __vue_scope_id__$1g = undefined;
|
|
6927
6927
|
/* module identifier */
|
|
6928
|
-
const __vue_module_identifier__$
|
|
6928
|
+
const __vue_module_identifier__$1g = undefined;
|
|
6929
6929
|
/* functional template */
|
|
6930
|
-
const __vue_is_functional_template__$
|
|
6930
|
+
const __vue_is_functional_template__$1g = false;
|
|
6931
6931
|
/* style inject */
|
|
6932
6932
|
|
|
6933
6933
|
/* style inject SSR */
|
|
@@ -6936,17 +6936,17 @@ var __vue_staticRenderFns__$1a = [];
|
|
|
6936
6936
|
|
|
6937
6937
|
|
|
6938
6938
|
|
|
6939
|
-
const __vue_component__$
|
|
6940
|
-
{ render: __vue_render__$
|
|
6941
|
-
__vue_inject_styles__$
|
|
6942
|
-
__vue_script__$
|
|
6943
|
-
__vue_scope_id__$
|
|
6944
|
-
__vue_is_functional_template__$
|
|
6945
|
-
__vue_module_identifier__$
|
|
6939
|
+
const __vue_component__$1g = /*#__PURE__*/normalizeComponent(
|
|
6940
|
+
{ render: __vue_render__$1b, staticRenderFns: __vue_staticRenderFns__$1b },
|
|
6941
|
+
__vue_inject_styles__$1g,
|
|
6942
|
+
__vue_script__$1f,
|
|
6943
|
+
__vue_scope_id__$1g,
|
|
6944
|
+
__vue_is_functional_template__$1g,
|
|
6945
|
+
__vue_module_identifier__$1g,
|
|
6946
6946
|
false,
|
|
6947
6947
|
undefined);
|
|
6948
6948
|
|
|
6949
|
-
var script$
|
|
6949
|
+
var script$1e = {
|
|
6950
6950
|
props: {
|
|
6951
6951
|
disabled: Boolean,
|
|
6952
6952
|
okDisabled: Boolean,
|
|
@@ -7049,20 +7049,20 @@ var script$1d = {
|
|
|
7049
7049
|
};
|
|
7050
7050
|
|
|
7051
7051
|
/* script */
|
|
7052
|
-
const __vue_script__$
|
|
7052
|
+
const __vue_script__$1e = script$1e;
|
|
7053
7053
|
|
|
7054
7054
|
/* template */
|
|
7055
|
-
var __vue_render__$
|
|
7056
|
-
var __vue_staticRenderFns__$
|
|
7055
|
+
var __vue_render__$1a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-inline-flex gap-1"},[(!_vm.inConfirmation)?_c('b-button',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: _vm.tooltip, container: '#body' }),expression:"{ title: tooltip, container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],class:(_vm.buttonClass + " " + (_vm.borderless ? 'border-0' : '') + " flex-fill"),attrs:{"data-test-id":_vm.dataTestId,"variant":_vm.variant,"size":_vm.size,"disabled":_vm.disabled || _vm.processing},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.onPrompt.apply(null, arguments)}}},[(_vm.processing)?_c('b-spinner',{staticClass:"align-middle",attrs:{"data-test-id":"spinner","small":""}}):[(_vm.showIcon || !_vm.text)?_c('font-awesome-icon',{class:_vm.iconClass,attrs:{"icon":_vm.icon}}):_vm._e(),_vm._v(" "),(_vm.text)?_c('span',{class:_vm.textClass},[_vm._v("\n "+_vm._s(_vm.text)+"\n ")]):_vm._e()]],2):[_c('b-button',{class:[ _vm.borderless && 'border-0', 'flex-fill' ],attrs:{"data-test-id":(_vm.dataTestId + "-confirm"),"variant":_vm.variantOk,"size":_vm.sizeConfirm,"disabled":_vm.okDisabled},on:{"blur":function($event){$event.preventDefault();return _vm.onCancel()},"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onConfirmation()}}},[_vm._t("yes",function(){return [_c('font-awesome-icon',{attrs:{"data-test-id":"confirm","icon":['fas', 'check']}})]})],2),_vm._v(" "),_c('b-button',{class:[ _vm.borderless && 'border-0', 'flex-fill' ],attrs:{"data-test-id":(_vm.dataTestId + "-cancel"),"variant":_vm.variantCancel,"size":_vm.sizeConfirm,"disabled":_vm.cancelDisabled},on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.onCancel()}}},[_vm._t("no",function(){return [_c('font-awesome-icon',{attrs:{"data-test-id":"reject","icon":['fas', 'times']}})]})],2)]],2)};
|
|
7056
|
+
var __vue_staticRenderFns__$1a = [];
|
|
7057
7057
|
|
|
7058
7058
|
/* style */
|
|
7059
|
-
const __vue_inject_styles__$
|
|
7059
|
+
const __vue_inject_styles__$1f = undefined;
|
|
7060
7060
|
/* scoped */
|
|
7061
|
-
const __vue_scope_id__$
|
|
7061
|
+
const __vue_scope_id__$1f = undefined;
|
|
7062
7062
|
/* module identifier */
|
|
7063
|
-
const __vue_module_identifier__$
|
|
7063
|
+
const __vue_module_identifier__$1f = undefined;
|
|
7064
7064
|
/* functional template */
|
|
7065
|
-
const __vue_is_functional_template__$
|
|
7065
|
+
const __vue_is_functional_template__$1f = false;
|
|
7066
7066
|
/* style inject */
|
|
7067
7067
|
|
|
7068
7068
|
/* style inject SSR */
|
|
@@ -7071,16 +7071,16 @@ var __vue_staticRenderFns__$19 = [];
|
|
|
7071
7071
|
|
|
7072
7072
|
|
|
7073
7073
|
|
|
7074
|
-
const __vue_component__$
|
|
7075
|
-
{ render: __vue_render__$
|
|
7076
|
-
__vue_inject_styles__$
|
|
7077
|
-
__vue_script__$
|
|
7078
|
-
__vue_scope_id__$
|
|
7079
|
-
__vue_is_functional_template__$
|
|
7080
|
-
__vue_module_identifier__$
|
|
7081
|
-
false,
|
|
7082
|
-
undefined);
|
|
7083
|
-
|
|
7074
|
+
const __vue_component__$1f = /*#__PURE__*/normalizeComponent(
|
|
7075
|
+
{ render: __vue_render__$1a, staticRenderFns: __vue_staticRenderFns__$1a },
|
|
7076
|
+
__vue_inject_styles__$1f,
|
|
7077
|
+
__vue_script__$1e,
|
|
7078
|
+
__vue_scope_id__$1f,
|
|
7079
|
+
__vue_is_functional_template__$1f,
|
|
7080
|
+
__vue_module_identifier__$1f,
|
|
7081
|
+
false,
|
|
7082
|
+
undefined);
|
|
7083
|
+
|
|
7084
7084
|
//
|
|
7085
7085
|
//
|
|
7086
7086
|
//
|
|
@@ -7100,7 +7100,7 @@ var __vue_staticRenderFns__$19 = [];
|
|
|
7100
7100
|
//
|
|
7101
7101
|
//
|
|
7102
7102
|
|
|
7103
|
-
var script$
|
|
7103
|
+
var script$1d = {
|
|
7104
7104
|
props: {
|
|
7105
7105
|
variant: {
|
|
7106
7106
|
type: String,
|
|
@@ -7122,20 +7122,20 @@ var script$1c = {
|
|
|
7122
7122
|
};
|
|
7123
7123
|
|
|
7124
7124
|
/* script */
|
|
7125
|
-
const __vue_script__$
|
|
7125
|
+
const __vue_script__$1d = script$1d;
|
|
7126
7126
|
|
|
7127
7127
|
/* template */
|
|
7128
|
-
var __vue_render__$
|
|
7129
|
-
var __vue_staticRenderFns__$
|
|
7128
|
+
var __vue_render__$19 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',_vm._g({staticClass:"d-inline-flex align-items-center justify-content-center",attrs:{"variant":_vm.variant,"disabled":_vm.disabled || _vm.processing,"size":_vm.size}},_vm.$listeners),[_vm._t("default"),_vm._v(" "),(_vm.processing)?_c('b-spinner',{staticClass:"ml-1",attrs:{"processing":_vm.processing,"small":""}}):_vm._e()],2)};
|
|
7129
|
+
var __vue_staticRenderFns__$19 = [];
|
|
7130
7130
|
|
|
7131
7131
|
/* style */
|
|
7132
|
-
const __vue_inject_styles__$
|
|
7132
|
+
const __vue_inject_styles__$1e = undefined;
|
|
7133
7133
|
/* scoped */
|
|
7134
|
-
const __vue_scope_id__$
|
|
7134
|
+
const __vue_scope_id__$1e = undefined;
|
|
7135
7135
|
/* module identifier */
|
|
7136
|
-
const __vue_module_identifier__$
|
|
7136
|
+
const __vue_module_identifier__$1e = undefined;
|
|
7137
7137
|
/* functional template */
|
|
7138
|
-
const __vue_is_functional_template__$
|
|
7138
|
+
const __vue_is_functional_template__$1e = false;
|
|
7139
7139
|
/* style inject */
|
|
7140
7140
|
|
|
7141
7141
|
/* style inject SSR */
|
|
@@ -7144,13 +7144,13 @@ var __vue_staticRenderFns__$18 = [];
|
|
|
7144
7144
|
|
|
7145
7145
|
|
|
7146
7146
|
|
|
7147
|
-
const __vue_component__$
|
|
7148
|
-
{ render: __vue_render__$
|
|
7149
|
-
__vue_inject_styles__$
|
|
7150
|
-
__vue_script__$
|
|
7151
|
-
__vue_scope_id__$
|
|
7152
|
-
__vue_is_functional_template__$
|
|
7153
|
-
__vue_module_identifier__$
|
|
7147
|
+
const __vue_component__$1e = /*#__PURE__*/normalizeComponent(
|
|
7148
|
+
{ render: __vue_render__$19, staticRenderFns: __vue_staticRenderFns__$19 },
|
|
7149
|
+
__vue_inject_styles__$1e,
|
|
7150
|
+
__vue_script__$1d,
|
|
7151
|
+
__vue_scope_id__$1e,
|
|
7152
|
+
__vue_is_functional_template__$1e,
|
|
7153
|
+
__vue_module_identifier__$1e,
|
|
7154
7154
|
false,
|
|
7155
7155
|
undefined);
|
|
7156
7156
|
|
|
@@ -7198,7 +7198,7 @@ function setTime(time, value, noDate = false, noTime = false) {
|
|
|
7198
7198
|
return moment(date + ' ' + time, 'YYYY-MM-DD HH:mm').utc().format();
|
|
7199
7199
|
}
|
|
7200
7200
|
|
|
7201
|
-
var script$
|
|
7201
|
+
var script$1c = {
|
|
7202
7202
|
props: {
|
|
7203
7203
|
value: {
|
|
7204
7204
|
type: [String, Date],
|
|
@@ -7283,37 +7283,37 @@ var script$1b = {
|
|
|
7283
7283
|
};
|
|
7284
7284
|
|
|
7285
7285
|
/* script */
|
|
7286
|
-
const __vue_script__$
|
|
7286
|
+
const __vue_script__$1c = script$1c;
|
|
7287
7287
|
|
|
7288
7288
|
/* template */
|
|
7289
|
-
var __vue_render__$
|
|
7290
|
-
var __vue_staticRenderFns__$
|
|
7289
|
+
var __vue_render__$18 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-input-date-time d-flex flex-wrap w-100 gap-1"},[(!_vm.noDate)?_c('b-form-datepicker',{staticClass:"h-100 overflow-hidden",attrs:{"data-test-id":"picker-date","placeholder":_vm.labels.none,"date-format-options":{ year: 'numeric', month: 'numeric', day: 'numeric' },"min":_vm.minDate,"max":_vm.maxDate,"label-reset-button":_vm.labels.clear,"label-today-button":_vm.labels.today,"locale":_vm.browserLocale,"start-weekday":_vm.weekStartDay,"label-help":"","today-variant":"info","selected-variant":"extra-light","boundary":"window","hide-header":"","reset-button":"","today-button":"","show-decade-nav":""},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v;},expression:"date"}}):_vm._e(),_vm._v(" "),(!_vm.noTime)?_c('b-form-timepicker',{staticClass:"h-100 overflow-hidden",attrs:{"data-test-id":"picker-time","placeholder":_vm.labels.none,"label-reset-button":_vm.labels.clear,"label-now-button":_vm.labels.now,"locale":_vm.browserLocale,"boundary":"window","hide-header":"","no-close-button":"","reset-button":"","now-button":""},model:{value:(_vm.time),callback:function ($$v) {_vm.time=$$v;},expression:"time"}}):_vm._e(),_vm._v(" "),_vm._t("default")],2)};
|
|
7290
|
+
var __vue_staticRenderFns__$18 = [];
|
|
7291
7291
|
|
|
7292
7292
|
/* style */
|
|
7293
|
-
const __vue_inject_styles__$
|
|
7293
|
+
const __vue_inject_styles__$1d = function (inject) {
|
|
7294
7294
|
if (!inject) return
|
|
7295
7295
|
inject("data-v-7de35dbd_0", { source: ".c-input-date-time{min-width:120px}.c-input-date-time .btn{padding:.25rem .5rem}.c-input-date-time label{font-family:var(--font-regular);color:var(--black)!important}.c-input-date-time .b-form-datepicker,.c-input-date-time .b-form-timepicker{flex:1 0 130px}.c-input-date-time .b-calendar-inner{background-color:var(--white)}.c-input-date-time .b-calendar-inner .b-calendar-grid-body{height:14rem;display:flex;flex-direction:column;justify-content:center}", map: undefined, media: undefined });
|
|
7296
7296
|
|
|
7297
7297
|
};
|
|
7298
7298
|
/* scoped */
|
|
7299
|
-
const __vue_scope_id__$
|
|
7299
|
+
const __vue_scope_id__$1d = undefined;
|
|
7300
7300
|
/* module identifier */
|
|
7301
|
-
const __vue_module_identifier__$
|
|
7301
|
+
const __vue_module_identifier__$1d = undefined;
|
|
7302
7302
|
/* functional template */
|
|
7303
|
-
const __vue_is_functional_template__$
|
|
7303
|
+
const __vue_is_functional_template__$1d = false;
|
|
7304
7304
|
/* style inject SSR */
|
|
7305
7305
|
|
|
7306
7306
|
/* style inject shadow dom */
|
|
7307
7307
|
|
|
7308
7308
|
|
|
7309
7309
|
|
|
7310
|
-
const __vue_component__$
|
|
7311
|
-
{ render: __vue_render__$
|
|
7312
|
-
__vue_inject_styles__$
|
|
7313
|
-
__vue_script__$
|
|
7314
|
-
__vue_scope_id__$
|
|
7315
|
-
__vue_is_functional_template__$
|
|
7316
|
-
__vue_module_identifier__$
|
|
7310
|
+
const __vue_component__$1d = /*#__PURE__*/normalizeComponent(
|
|
7311
|
+
{ render: __vue_render__$18, staticRenderFns: __vue_staticRenderFns__$18 },
|
|
7312
|
+
__vue_inject_styles__$1d,
|
|
7313
|
+
__vue_script__$1c,
|
|
7314
|
+
__vue_scope_id__$1d,
|
|
7315
|
+
__vue_is_functional_template__$1d,
|
|
7316
|
+
__vue_module_identifier__$1d,
|
|
7317
7317
|
false,
|
|
7318
7318
|
createInjector);
|
|
7319
7319
|
|
|
@@ -7397,7 +7397,7 @@ n(css$4,{});
|
|
|
7397
7397
|
//
|
|
7398
7398
|
|
|
7399
7399
|
|
|
7400
|
-
var script$
|
|
7400
|
+
var script$1b = {
|
|
7401
7401
|
name: 'CInputSelect',
|
|
7402
7402
|
|
|
7403
7403
|
components: {
|
|
@@ -7564,40 +7564,40 @@ var script$1a = {
|
|
|
7564
7564
|
};
|
|
7565
7565
|
|
|
7566
7566
|
/* script */
|
|
7567
|
-
const __vue_script__$
|
|
7567
|
+
const __vue_script__$1b = script$1b;
|
|
7568
7568
|
|
|
7569
7569
|
/* template */
|
|
7570
|
-
var __vue_render__$
|
|
7570
|
+
var __vue_render__$17 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vue-select',_vm._b({ref:"vueSelect",staticClass:"bg-white rounded",class:_vm.sizeClass,attrs:{"data-test-id":"select","clearable":_vm.clearable,"options":_vm.options,"searchable":_vm.searchable,"disabled":_vm.disabled,"selectable":_vm.selectable,"multiple":_vm.multiple,"loading":_vm.loading,"calculate-position":_vm.calculateDropdownPosition,"append-to-body":_vm.appendToBody},on:{"search":_vm.onSearch},scopedSlots:_vm._u([_vm._l((_vm.$scopedSlots),function(_,name){return {key:name,fn:function(data){return [_vm._t(name,null,null,data)]}}}),(_vm.badge)?{key:"option",fn:function(option){return [_c('span',{staticClass:"badge badge-pill",style:(_vm.getOptionStyle(option))},[_vm._v("\n "+_vm._s(option.text)+"\n ")])]}}:null,(!_vm.multiple && _vm.badge)?{key:"selected-option",fn:function(option){return [_c('span',{staticClass:"badge badge-pill",style:(_vm.getOptionStyle(option))},[_vm._v("\n "+_vm._s(option.text)+"\n ")])]}}:null,(_vm.multiple && _vm.badge)?{key:"selected-option-container",fn:function(ref){
|
|
7571
7571
|
var option = ref.option;
|
|
7572
7572
|
var deselect = ref.deselect;
|
|
7573
7573
|
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))};
|
|
7574
|
-
var __vue_staticRenderFns__$
|
|
7574
|
+
var __vue_staticRenderFns__$17 = [];
|
|
7575
7575
|
|
|
7576
7576
|
/* style */
|
|
7577
|
-
const __vue_inject_styles__$
|
|
7577
|
+
const __vue_inject_styles__$1c = function (inject) {
|
|
7578
7578
|
if (!inject) return
|
|
7579
7579
|
inject("data-v-0fdac2b1_0", { source: ":root{--vs-dropdown-bg:var(--white);--vs-dropdown-option--active-bg:var(--light);--vs-state-disabled-color:var(--secondary);--vs-state-disabled-bg:var(--light);--vs-colors--light:var(--black);--vs-colors--dark:var(--black);--vs-dropdown-option-color:var(--black);--vs-dropdown-option--active-color:var(--black);--vs-selected-bg:var(--extra-light);--vs-search-input-color:var(--secondary);--vs-search-input-bg:var(--white)}.v-select{min-width:auto;position:relative;-ms-flex:1 1 auto;flex:1 1 auto;margin-bottom:0;font-size:.9rem!important;font-family:var(--font-regular)}.v-select .vs__selected-options{width:0;padding:0}.v-select .vs__selected{display:block;white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden;border:0;color:var(--black)}.v-select .vs__search{font-size:.9rem;border:0;padding:0 2px;padding-top:.375rem;margin:0}.v-select:not(.vs--open):not(.vs--loading) .vs__selected+.vs__search{width:0;margin:0;border:none;padding:0;height:0}.v-select .vs__dropdown-toggle{min-height:calc(1.5em + .75rem + 4px);padding:.375rem calc(.75rem - 2px);padding-top:0!important;border-width:2px;border-color:var(--extra-light)}.v-select .vs__dropdown-toggle .vs__selected{margin-top:.375rem;padding:0 2px}.v-select .vs__dropdown-toggle .vs__actions{padding-top:.375rem;padding-right:0}.v-select .vs__clear,.v-select .vs__open-indicator{fill:var(--black);display:inline-flex}.v-select .vs__clear{padding:0;border:0;background-color:transparent;cursor:pointer;margin-right:8px}.v-select.vs--single .vs__selected{margin-left:0;margin-right:0}.vs--open .vs__dropdown-toggle{border-color:var(--primary);border-radius:.25rem!important}.input-group>.v-select:not(:last-child) .vs__dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.vs__spinner{border:.7em solid var(--dark);border-left-color:var(--white)}.vs__spinner,.vs__spinner::after{width:4em;height:4em}.vs__dropdown-menu{z-index:1100}.vs__dropdown-menu .vs__dropdown-option.vs__dropdown-option--selected{background:var(--vs-dropdown-option--active-bg);color:var(--vs-dropdown-option--active-color)}.vs__dropdown-menu .vs__dropdown-option.vs__dropdown-option--disabled{cursor:var(--vs-state-disabled-cursor)!important;opacity:.5}.vs__dropdown-menu .vs__dropdown-option:active{color:var(--white);background-color:var(--primary)}.c-input-sm{font-size:.7875rem!important}.c-input-sm .vs__search{font-size:.7875rem;padding-top:.25rem}.c-input-sm .vs__dropdown-toggle{min-height:calc(1.5em + .5rem + 4px);padding:.25rem calc(.5rem - 2px);border-radius:.2rem}.c-input-sm .vs__dropdown-toggle .vs__selected{margin-top:.25rem}.c-input-sm .vs__dropdown-toggle .vs__actions{padding-top:.25rem}.c-input-lg{font-size:1.125rem!important}.c-input-lg .vs__search{font-size:1.125rem;padding-top:.5rem}.c-input-lg .vs__dropdown-toggle{min-height:calc(1.5em + 1rem + 4px);padding:.5rem calc(1rem - 2px);border-radius:.3rem}.c-input-lg .vs__dropdown-toggle .vs__selected{margin-top:.5rem}.c-input-lg .vs__dropdown-toggle .vs__actions{padding-top:.5rem}", map: undefined, media: undefined });
|
|
7580
7580
|
|
|
7581
7581
|
};
|
|
7582
7582
|
/* scoped */
|
|
7583
|
-
const __vue_scope_id__$
|
|
7583
|
+
const __vue_scope_id__$1c = undefined;
|
|
7584
7584
|
/* module identifier */
|
|
7585
|
-
const __vue_module_identifier__$
|
|
7585
|
+
const __vue_module_identifier__$1c = undefined;
|
|
7586
7586
|
/* functional template */
|
|
7587
|
-
const __vue_is_functional_template__$
|
|
7587
|
+
const __vue_is_functional_template__$1c = false;
|
|
7588
7588
|
/* style inject SSR */
|
|
7589
7589
|
|
|
7590
7590
|
/* style inject shadow dom */
|
|
7591
7591
|
|
|
7592
7592
|
|
|
7593
7593
|
|
|
7594
|
-
const __vue_component__$
|
|
7595
|
-
{ render: __vue_render__$
|
|
7596
|
-
__vue_inject_styles__$
|
|
7597
|
-
__vue_script__$
|
|
7598
|
-
__vue_scope_id__$
|
|
7599
|
-
__vue_is_functional_template__$
|
|
7600
|
-
__vue_module_identifier__$
|
|
7594
|
+
const __vue_component__$1c = /*#__PURE__*/normalizeComponent(
|
|
7595
|
+
{ render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
|
|
7596
|
+
__vue_inject_styles__$1c,
|
|
7597
|
+
__vue_script__$1b,
|
|
7598
|
+
__vue_scope_id__$1c,
|
|
7599
|
+
__vue_is_functional_template__$1c,
|
|
7600
|
+
__vue_module_identifier__$1c,
|
|
7601
7601
|
false,
|
|
7602
7602
|
createInjector);
|
|
7603
7603
|
|
|
@@ -7634,7 +7634,7 @@ var __vue_staticRenderFns__$16 = [];
|
|
|
7634
7634
|
//
|
|
7635
7635
|
//
|
|
7636
7636
|
|
|
7637
|
-
var script$
|
|
7637
|
+
var script$1a = {
|
|
7638
7638
|
name: 'CFormTableWrapper',
|
|
7639
7639
|
|
|
7640
7640
|
props: {
|
|
@@ -7671,37 +7671,37 @@ var script$19 = {
|
|
|
7671
7671
|
};
|
|
7672
7672
|
|
|
7673
7673
|
/* script */
|
|
7674
|
-
const __vue_script__$
|
|
7674
|
+
const __vue_script__$1a = script$1a;
|
|
7675
7675
|
|
|
7676
7676
|
/* template */
|
|
7677
|
-
var __vue_render__$
|
|
7678
|
-
var __vue_staticRenderFns__$
|
|
7677
|
+
var __vue_render__$16 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"list-background w-100 p-3 rounded border border-light"},[(_vm.loading)?_c('div',{staticClass:"d-flex justify-content-center align-items-center w-100"},[_c('b-spinner')],1):_vm._t("default"),_vm._v(" "),(!_vm.hideAddButton && !_vm.loading)?_c('b-button',{class:_vm.addButtonClass,attrs:{"variant":"primary","size":"sm","data-test-id":_vm.testID,"disabled":_vm.disableAddButton},on:{"click":function($event){return _vm.$emit('add-item')}}},[_c('font-awesome-icon',{staticClass:"mr-1",attrs:{"icon":['fas', 'plus']}}),_vm._v("\n\n "+_vm._s(_vm.labels.addButton || '')+"\n ")],1):_vm._e()],2)};
|
|
7678
|
+
var __vue_staticRenderFns__$16 = [];
|
|
7679
7679
|
|
|
7680
7680
|
/* style */
|
|
7681
|
-
const __vue_inject_styles__$
|
|
7681
|
+
const __vue_inject_styles__$1b = function (inject) {
|
|
7682
7682
|
if (!inject) return
|
|
7683
7683
|
inject("data-v-7ae53668_0", { source: ".list-background[data-v-7ae53668]{background-color:var(--body-bg)}", map: undefined, media: undefined });
|
|
7684
7684
|
|
|
7685
7685
|
};
|
|
7686
7686
|
/* scoped */
|
|
7687
|
-
const __vue_scope_id__$
|
|
7687
|
+
const __vue_scope_id__$1b = "data-v-7ae53668";
|
|
7688
7688
|
/* module identifier */
|
|
7689
|
-
const __vue_module_identifier__$
|
|
7689
|
+
const __vue_module_identifier__$1b = undefined;
|
|
7690
7690
|
/* functional template */
|
|
7691
|
-
const __vue_is_functional_template__$
|
|
7691
|
+
const __vue_is_functional_template__$1b = false;
|
|
7692
7692
|
/* style inject SSR */
|
|
7693
7693
|
|
|
7694
7694
|
/* style inject shadow dom */
|
|
7695
7695
|
|
|
7696
7696
|
|
|
7697
7697
|
|
|
7698
|
-
const __vue_component__$
|
|
7699
|
-
{ render: __vue_render__$
|
|
7700
|
-
__vue_inject_styles__$
|
|
7701
|
-
__vue_script__$
|
|
7702
|
-
__vue_scope_id__$
|
|
7703
|
-
__vue_is_functional_template__$
|
|
7704
|
-
__vue_module_identifier__$
|
|
7698
|
+
const __vue_component__$1b = /*#__PURE__*/normalizeComponent(
|
|
7699
|
+
{ render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
|
|
7700
|
+
__vue_inject_styles__$1b,
|
|
7701
|
+
__vue_script__$1a,
|
|
7702
|
+
__vue_scope_id__$1b,
|
|
7703
|
+
__vue_is_functional_template__$1b,
|
|
7704
|
+
__vue_module_identifier__$1b,
|
|
7705
7705
|
false,
|
|
7706
7706
|
createInjector);
|
|
7707
7707
|
|
|
@@ -7809,11 +7809,11 @@ var __vue_staticRenderFns__$15 = [];
|
|
|
7809
7809
|
//
|
|
7810
7810
|
|
|
7811
7811
|
|
|
7812
|
-
var script$
|
|
7812
|
+
var script$19 = {
|
|
7813
7813
|
components: {
|
|
7814
7814
|
Draggable,
|
|
7815
|
-
CInputSelect: __vue_component__$
|
|
7816
|
-
CFormTableWrapper: __vue_component__$
|
|
7815
|
+
CInputSelect: __vue_component__$1c,
|
|
7816
|
+
CFormTableWrapper: __vue_component__$1b,
|
|
7817
7817
|
},
|
|
7818
7818
|
|
|
7819
7819
|
props: {
|
|
@@ -7923,20 +7923,20 @@ var script$18 = {
|
|
|
7923
7923
|
};
|
|
7924
7924
|
|
|
7925
7925
|
/* script */
|
|
7926
|
-
const __vue_script__$
|
|
7926
|
+
const __vue_script__$19 = script$19;
|
|
7927
7927
|
|
|
7928
7928
|
/* template */
|
|
7929
|
-
var __vue_render__$
|
|
7930
|
-
var __vue_staticRenderFns__$
|
|
7929
|
+
var __vue_render__$15 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-form-table-wrapper',{attrs:{"labels":{ addButton: _vm.labels.addButton },"hide-add-button":_vm.textInput},on:{"add-item":function($event){return _vm.items.push({ field: undefined, descending: false })}}},[(!_vm.textInput)?_c('b-form-group',{attrs:{"label":_vm.labels.title,"label-class":"text-primary"}},[_c('b-table-simple',{staticClass:"mb-0",attrs:{"borderless":"","small":"","responsive":""}},[_c('draggable',{attrs:{"list":_vm.items,"group":"sort","handle":".grab","tag":"tbody"},on:{"update:list":function($event){_vm.items=$event;}}},_vm._l((_vm.items),function(column,index){return _c('tr',{key:index},[_c('td',{staticClass:"grab text-center align-middle",staticStyle:{"width":"40px"}},[_c('font-awesome-icon',{staticClass:"text-secondary",attrs:{"icon":['fas', 'bars']}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle",staticStyle:{"min-width":"250px"}},[_c('c-input-select',{staticClass:"rounded",attrs:{"options":_vm.availableFields,"reduce":function (o) { return o.name; },"placeholder":_vm.labels.none},model:{value:(column.field),callback:function ($$v) {_vm.$set(column, "field", $$v);},expression:"column.field"}})],1),_vm._v(" "),_c('td',{staticClass:"text-center align-middle",staticStyle:{"min-width":"200px"}},[_c('b-form-radio-group',{staticClass:"bg-white",attrs:{"options":_vm.sortDirections,"buttons":"","button-variant":"outline-primary"},model:{value:(column.descending),callback:function ($$v) {_vm.$set(column, "descending", $$v);},expression:"column.descending"}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle text-right",staticStyle:{"min-width":"80px","width":"80px"}},[_c('c-input-confirm',{attrs:{"show-icon":""},on:{"confirmed":function($event){return _vm.items.splice(index, 1)}}})],1)])}),0)],1)],1):_c('div',[_c('b-form-textarea',{attrs:{"placeholder":_vm.labels.placeholder},model:{value:(_vm.presortValue),callback:function ($$v) {_vm.presortValue=$$v;},expression:"presortValue"}}),_vm._v(" "),_c('b-form-text',[_vm._v("\n "+_vm._s(_vm.labels.footnote)+"\n ")])],1),_vm._v(" "),(_vm.allowTextInput)?_c('div',{staticClass:"d-flex align-items-center mt-1"},[_c('b-button',{staticClass:"text-decoration-none ml-auto",attrs:{"variant":"link","size":"sm"},on:{"click":function($event){_vm.textInput = !_vm.textInput;}}},[_vm._v("\n "+_vm._s(_vm.labels.toggleInput)+"\n ")])],1):_vm._e()],1)};
|
|
7930
|
+
var __vue_staticRenderFns__$15 = [];
|
|
7931
7931
|
|
|
7932
7932
|
/* style */
|
|
7933
|
-
const __vue_inject_styles__$
|
|
7933
|
+
const __vue_inject_styles__$1a = undefined;
|
|
7934
7934
|
/* scoped */
|
|
7935
|
-
const __vue_scope_id__$
|
|
7935
|
+
const __vue_scope_id__$1a = undefined;
|
|
7936
7936
|
/* module identifier */
|
|
7937
|
-
const __vue_module_identifier__$
|
|
7937
|
+
const __vue_module_identifier__$1a = undefined;
|
|
7938
7938
|
/* functional template */
|
|
7939
|
-
const __vue_is_functional_template__$
|
|
7939
|
+
const __vue_is_functional_template__$1a = false;
|
|
7940
7940
|
/* style inject */
|
|
7941
7941
|
|
|
7942
7942
|
/* style inject SSR */
|
|
@@ -7945,13 +7945,13 @@ var __vue_staticRenderFns__$14 = [];
|
|
|
7945
7945
|
|
|
7946
7946
|
|
|
7947
7947
|
|
|
7948
|
-
const __vue_component__$
|
|
7949
|
-
{ render: __vue_render__$
|
|
7950
|
-
__vue_inject_styles__$
|
|
7951
|
-
__vue_script__$
|
|
7952
|
-
__vue_scope_id__$
|
|
7953
|
-
__vue_is_functional_template__$
|
|
7954
|
-
__vue_module_identifier__$
|
|
7948
|
+
const __vue_component__$1a = /*#__PURE__*/normalizeComponent(
|
|
7949
|
+
{ render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
|
|
7950
|
+
__vue_inject_styles__$1a,
|
|
7951
|
+
__vue_script__$19,
|
|
7952
|
+
__vue_scope_id__$1a,
|
|
7953
|
+
__vue_is_functional_template__$1a,
|
|
7954
|
+
__vue_module_identifier__$1a,
|
|
7955
7955
|
false,
|
|
7956
7956
|
undefined);
|
|
7957
7957
|
|
|
@@ -7995,7 +7995,7 @@ var __vue_staticRenderFns__$14 = [];
|
|
|
7995
7995
|
//
|
|
7996
7996
|
//
|
|
7997
7997
|
|
|
7998
|
-
var script$
|
|
7998
|
+
var script$18 = {
|
|
7999
7999
|
name: 'CInputSearch',
|
|
8000
8000
|
|
|
8001
8001
|
props: {
|
|
@@ -8089,37 +8089,37 @@ var script$17 = {
|
|
|
8089
8089
|
};
|
|
8090
8090
|
|
|
8091
8091
|
/* script */
|
|
8092
|
-
const __vue_script__$
|
|
8092
|
+
const __vue_script__$18 = script$18;
|
|
8093
8093
|
|
|
8094
8094
|
/* template */
|
|
8095
|
-
var __vue_render__$
|
|
8096
|
-
var __vue_staticRenderFns__$
|
|
8095
|
+
var __vue_render__$14 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"c-input-search d-flex position-relative",class:{ 'submittable': _vm.isSubmittable },staticStyle:{"min-width":"150px"}},[_c('b-input',{ref:"searchInput",staticClass:"pr-0 text-truncate",attrs:{"data-test-id":"input-search","type":_vm.inputType,"name":"search","value":_vm.value,"debounce":_vm.debounce,"disabled":_vm.disabled,"placeholder":_vm.placeholder,"autocomplete":_vm.autocomplete,"size":_vm.size},on:{"input":_vm.onInput,"update":_vm.search,"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.submitQuery.apply(null, arguments)}}}),_vm._v(" "),(_vm.showSubmittable)?_c('b-button',{staticClass:"search-button d-inline-flex align-items-center rounded-0 border-light",class:{ 'border-0 cursor-default': !_vm.isSubmittable },attrs:{"variant":_vm.isSubmittable ? 'outline-light' : 'link',"disabled":_vm.disabled},on:_vm._d({},[_vm.isSubmittable,_vm.submitQuery])},[_c('font-awesome-icon',{staticClass:"align-middle text-primary",attrs:{"icon":['fas', 'search']}})],1):_vm._e()],1)};
|
|
8096
|
+
var __vue_staticRenderFns__$14 = [];
|
|
8097
8097
|
|
|
8098
8098
|
/* style */
|
|
8099
|
-
const __vue_inject_styles__$
|
|
8099
|
+
const __vue_inject_styles__$19 = function (inject) {
|
|
8100
8100
|
if (!inject) return
|
|
8101
8101
|
inject("data-v-ec96b2dc_0", { source: "input[data-v-ec96b2dc]:focus::placeholder{color:transparent}.c-input-search .search-button[data-v-ec96b2dc]{position:absolute;right:2px;top:2px;bottom:2px;z-index:4;border-left-width:2px}.c-input-search[data-v-ec96b2dc] ::-webkit-search-cancel-button{-webkit-appearance:none;height:1em;width:1em;background:var(--primary);-webkit-mask-image:url(\"data:image/svg+xml;charset=UTF-8,%3csvg viewPort='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='1' y1='11' x2='11' y2='1' stroke='black' stroke-width='2'/%3e%3cline x1='1' y1='1' x2='11' y2='11' stroke='black' stroke-width='2'/%3e%3c/svg%3e\");mask-image:url(\"data:image/svg+xml;charset=UTF-8,%3csvg viewPort='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='1' y1='11' x2='11' y2='1' stroke='black' stroke-width='2'/%3e%3cline x1='1' y1='1' x2='11' y2='11' stroke='black' stroke-width='2'/%3e%3c/svg%3e\");cursor:pointer;margin-right:13px;margin-left:5px}.c-input-search.submittable[data-v-ec96b2dc] ::-webkit-search-cancel-button{margin-right:56px}.cursor-default[data-v-ec96b2dc]{cursor:default!important}", map: undefined, media: undefined });
|
|
8102
8102
|
|
|
8103
8103
|
};
|
|
8104
8104
|
/* scoped */
|
|
8105
|
-
const __vue_scope_id__$
|
|
8105
|
+
const __vue_scope_id__$19 = "data-v-ec96b2dc";
|
|
8106
8106
|
/* module identifier */
|
|
8107
|
-
const __vue_module_identifier__$
|
|
8107
|
+
const __vue_module_identifier__$19 = undefined;
|
|
8108
8108
|
/* functional template */
|
|
8109
|
-
const __vue_is_functional_template__$
|
|
8109
|
+
const __vue_is_functional_template__$19 = false;
|
|
8110
8110
|
/* style inject SSR */
|
|
8111
8111
|
|
|
8112
8112
|
/* style inject shadow dom */
|
|
8113
8113
|
|
|
8114
8114
|
|
|
8115
8115
|
|
|
8116
|
-
const __vue_component__$
|
|
8117
|
-
{ render: __vue_render__$
|
|
8118
|
-
__vue_inject_styles__$
|
|
8119
|
-
__vue_script__$
|
|
8120
|
-
__vue_scope_id__$
|
|
8121
|
-
__vue_is_functional_template__$
|
|
8122
|
-
__vue_module_identifier__$
|
|
8116
|
+
const __vue_component__$19 = /*#__PURE__*/normalizeComponent(
|
|
8117
|
+
{ render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
|
|
8118
|
+
__vue_inject_styles__$19,
|
|
8119
|
+
__vue_script__$18,
|
|
8120
|
+
__vue_scope_id__$19,
|
|
8121
|
+
__vue_is_functional_template__$19,
|
|
8122
|
+
__vue_module_identifier__$19,
|
|
8123
8123
|
false,
|
|
8124
8124
|
createInjector);
|
|
8125
8125
|
|
|
@@ -8254,7 +8254,7 @@ var __vue_staticRenderFns__$13 = [];
|
|
|
8254
8254
|
//
|
|
8255
8255
|
|
|
8256
8256
|
|
|
8257
|
-
var script$
|
|
8257
|
+
var script$17 = {
|
|
8258
8258
|
name: 'CInputColorPicker',
|
|
8259
8259
|
|
|
8260
8260
|
components: {
|
|
@@ -8406,45 +8406,45 @@ var script$16 = {
|
|
|
8406
8406
|
};
|
|
8407
8407
|
|
|
8408
8408
|
/* script */
|
|
8409
|
-
const __vue_script__$
|
|
8409
|
+
const __vue_script__$17 = script$17;
|
|
8410
8410
|
|
|
8411
8411
|
/* template */
|
|
8412
|
-
var __vue_render__$
|
|
8413
|
-
var __vue_staticRenderFns__$
|
|
8412
|
+
var __vue_render__$13 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"d-flex align-items-center"},[_c('b-button',{staticClass:"p-0 rounded-circle bg-white border-white shadow-none",style:(("color: " + _vm.value + "; fill: " + _vm.value + ";")),on:{"click":_vm.toggleMenu}},[_c('svg',{staticClass:"border border-light rounded-circle",style:({ width: _vm.width, height: _vm.height }),attrs:{"viewBox":"0 0 32 32"}},[_c('pattern',{attrs:{"id":"checkerboard","width":"12","height":"12","patternUnits":"userSpaceOnUse","fill":"FFF"}},[_c('rect',{attrs:{"fill":"#7080707f","x":"0","width":"6","height":"6","y":"0"}}),_vm._v(" "),_c('rect',{attrs:{"fill":"#7080707f","x":"6","width":"6","height":"6","y":"6"}})]),_vm._v(" "),_c('circle',{attrs:{"cx":"16","cy":"16","r":"16","fill":"url(#checkerboard)"}}),_vm._v(" "),_c('circle',{attrs:{"cx":"16","cy":"16","r":"16"}})])]),_vm._v(" "),(_vm.showText)?_c('span',{staticClass:"ml-2"},[_vm._v("\n "+_vm._s(_vm.value)+"\n ")]):_vm._e()],1),_vm._v(" "),_c('b-modal',{attrs:{"visible":_vm.showModal,"title":_vm.translations.modalTitle,"centered":"","size":"md","hide-header":!Boolean(_vm.translations.modalTitle),"body-class":"p-0","no-fade":""},on:{"hide":_vm.closeMenu},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [(_vm.defaultValue)?_c('b-button',{attrs:{"variant":"light"},on:{"click":function($event){return _vm.setColor()}}},[_vm._v("\n "+_vm._s(_vm.translations.defaultBtnLabel || 'Default')+"\n ")]):_vm._e(),_vm._v(" "),_vm._t("footer"),_vm._v(" "),_c('b-button',{staticClass:"ml-auto text-primary border-0",attrs:{"variant":"outline-light"},on:{"click":_vm.closeMenu}},[_vm._v("\n "+_vm._s(_vm.translations.cancelBtnLabel || 'Cancel')+"\n ")]),_vm._v(" "),_c('b-button',{attrs:{"variant":"primary"},on:{"click":_vm.saveColor}},[_vm._v("\n "+_vm._s(_vm.translations.saveBtnLabel || 'Save')+"\n ")])]},proxy:true}],null,true)},[_c('chrome',{staticClass:"w-100 shadow-none",attrs:{"value":_vm.currentColor},on:{"input":_vm.updateColor}}),_vm._v(" "),(_vm.themes.length > 0)?_c('div',{staticClass:"d-flex flex-column border-top p-3 gap-2"},_vm._l((_vm.themes),function(theme){return _c('b-form-group',{key:theme.id,staticClass:"mb-0",attrs:{"label":_vm.translations[theme.id],"label-class":"text-primary"}},[_c('div',{staticClass:"d-flex flex-wrap border"},_vm._l((_vm.themeVariables),function(variable){return _c('b-button',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: variable.label, container: '#body' }),expression:"{ title: variable.label, container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],key:variable.key,staticClass:"swatch flex-grow-1 rounded-0",style:({ backgroundColor: theme.values[variable.key], borderColor: theme.values[variable.key] }),on:{"click":function($event){return _vm.setColor(theme.values[variable.key])}}})}),1)])}),1):_vm._e()],1)],1)};
|
|
8413
|
+
var __vue_staticRenderFns__$13 = [];
|
|
8414
8414
|
|
|
8415
8415
|
/* style */
|
|
8416
|
-
const __vue_inject_styles__$
|
|
8416
|
+
const __vue_inject_styles__$18 = function (inject) {
|
|
8417
8417
|
if (!inject) return
|
|
8418
8418
|
inject("data-v-0db7b6ea_0", { source: ".swatch[data-v-0db7b6ea]{height:58px;min-width:50px}", map: undefined, media: undefined })
|
|
8419
8419
|
,inject("data-v-0db7b6ea_1", { source: ".vc-chrome{font-family:var(--font-medium)!important}.vc-chrome .vc-chrome-body{background:var(--white)!important}.vc-chrome .vc-chrome-body .vc-input__input{color:var(--black)!important;background-color:var(--white)!important}.vc-chrome .vc-chrome-body .vc-input__label{color:var(--black)!important}.vc-chrome .vc-chrome-body .vc-chrome-toggle-btn path{fill:var(--black)!important}.vc-chrome .vc-chrome-body .vc-chrome-toggle-btn .vc-chrome-toggle-icon-highlight{background:var(--light)!important}", map: undefined, media: undefined });
|
|
8420
8420
|
|
|
8421
8421
|
};
|
|
8422
8422
|
/* scoped */
|
|
8423
|
-
const __vue_scope_id__$
|
|
8423
|
+
const __vue_scope_id__$18 = "data-v-0db7b6ea";
|
|
8424
8424
|
/* module identifier */
|
|
8425
|
-
const __vue_module_identifier__$
|
|
8425
|
+
const __vue_module_identifier__$18 = undefined;
|
|
8426
8426
|
/* functional template */
|
|
8427
|
-
const __vue_is_functional_template__$
|
|
8427
|
+
const __vue_is_functional_template__$18 = false;
|
|
8428
8428
|
/* style inject SSR */
|
|
8429
8429
|
|
|
8430
8430
|
/* style inject shadow dom */
|
|
8431
8431
|
|
|
8432
8432
|
|
|
8433
8433
|
|
|
8434
|
-
const __vue_component__$
|
|
8435
|
-
{ render: __vue_render__$
|
|
8436
|
-
__vue_inject_styles__$
|
|
8437
|
-
__vue_script__$
|
|
8438
|
-
__vue_scope_id__$
|
|
8439
|
-
__vue_is_functional_template__$
|
|
8440
|
-
__vue_module_identifier__$
|
|
8434
|
+
const __vue_component__$18 = /*#__PURE__*/normalizeComponent(
|
|
8435
|
+
{ render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
|
|
8436
|
+
__vue_inject_styles__$18,
|
|
8437
|
+
__vue_script__$17,
|
|
8438
|
+
__vue_scope_id__$18,
|
|
8439
|
+
__vue_is_functional_template__$18,
|
|
8440
|
+
__vue_module_identifier__$18,
|
|
8441
8441
|
false,
|
|
8442
8442
|
createInjector);
|
|
8443
8443
|
|
|
8444
8444
|
/**
|
|
8445
8445
|
* Defines common props, methods between different toolbar item types
|
|
8446
8446
|
*/
|
|
8447
|
-
var script$
|
|
8447
|
+
var script$16 = {
|
|
8448
8448
|
props: {
|
|
8449
8449
|
editor: {
|
|
8450
8450
|
type: Object,
|
|
@@ -8498,18 +8498,18 @@ var script$15 = {
|
|
|
8498
8498
|
};
|
|
8499
8499
|
|
|
8500
8500
|
/* script */
|
|
8501
|
-
const __vue_script__$
|
|
8501
|
+
const __vue_script__$16 = script$16;
|
|
8502
8502
|
|
|
8503
8503
|
/* template */
|
|
8504
8504
|
|
|
8505
8505
|
/* style */
|
|
8506
|
-
const __vue_inject_styles__$
|
|
8506
|
+
const __vue_inject_styles__$17 = undefined;
|
|
8507
8507
|
/* scoped */
|
|
8508
|
-
const __vue_scope_id__$
|
|
8508
|
+
const __vue_scope_id__$17 = undefined;
|
|
8509
8509
|
/* module identifier */
|
|
8510
|
-
const __vue_module_identifier__$
|
|
8510
|
+
const __vue_module_identifier__$17 = undefined;
|
|
8511
8511
|
/* functional template */
|
|
8512
|
-
const __vue_is_functional_template__$
|
|
8512
|
+
const __vue_is_functional_template__$17 = undefined;
|
|
8513
8513
|
/* style inject */
|
|
8514
8514
|
|
|
8515
8515
|
/* style inject SSR */
|
|
@@ -8518,13 +8518,13 @@ const __vue_script__$15 = script$15;
|
|
|
8518
8518
|
|
|
8519
8519
|
|
|
8520
8520
|
|
|
8521
|
-
const __vue_component__$
|
|
8521
|
+
const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
|
|
8522
8522
|
{},
|
|
8523
|
-
__vue_inject_styles__$
|
|
8524
|
-
__vue_script__$
|
|
8525
|
-
__vue_scope_id__$
|
|
8526
|
-
__vue_is_functional_template__$
|
|
8527
|
-
__vue_module_identifier__$
|
|
8523
|
+
__vue_inject_styles__$17,
|
|
8524
|
+
__vue_script__$16,
|
|
8525
|
+
__vue_scope_id__$17,
|
|
8526
|
+
__vue_is_functional_template__$17,
|
|
8527
|
+
__vue_module_identifier__$17,
|
|
8528
8528
|
false,
|
|
8529
8529
|
undefined);
|
|
8530
8530
|
|
|
@@ -8559,18 +8559,16 @@ const __vue_script__$15 = script$15;
|
|
|
8559
8559
|
//
|
|
8560
8560
|
//
|
|
8561
8561
|
//
|
|
8562
|
-
//
|
|
8563
|
-
//
|
|
8564
8562
|
|
|
8565
8563
|
|
|
8566
|
-
var script$
|
|
8564
|
+
var script$15 = {
|
|
8567
8565
|
name: 'TMarkColor',
|
|
8568
8566
|
|
|
8569
8567
|
components: {
|
|
8570
|
-
CInputColorPicker: __vue_component__$
|
|
8568
|
+
CInputColorPicker: __vue_component__$18,
|
|
8571
8569
|
},
|
|
8572
8570
|
|
|
8573
|
-
extends: __vue_component__$
|
|
8571
|
+
extends: __vue_component__$17,
|
|
8574
8572
|
|
|
8575
8573
|
props: {
|
|
8576
8574
|
background: {
|
|
@@ -8585,12 +8583,6 @@ var script$14 = {
|
|
|
8585
8583
|
}
|
|
8586
8584
|
},
|
|
8587
8585
|
|
|
8588
|
-
computed: {
|
|
8589
|
-
typeStyle () {
|
|
8590
|
-
return `${this.format.type}-icon`
|
|
8591
|
-
},
|
|
8592
|
-
},
|
|
8593
|
-
|
|
8594
8586
|
methods: {
|
|
8595
8587
|
getComputedColor (cssVar) {
|
|
8596
8588
|
try {
|
|
@@ -8620,42 +8612,40 @@ var script$14 = {
|
|
|
8620
8612
|
};
|
|
8621
8613
|
|
|
8622
8614
|
/* script */
|
|
8623
|
-
const __vue_script__$
|
|
8615
|
+
const __vue_script__$15 = script$15;
|
|
8624
8616
|
|
|
8625
8617
|
/* template */
|
|
8626
|
-
var __vue_render__$
|
|
8618
|
+
var __vue_render__$12 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none 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:({
|
|
8627
8619
|
backgroundColor: _vm.background ? _vm.selectedColor : 'transparent',
|
|
8628
|
-
|
|
8620
|
+
'border-bottom': _vm.background ? 'none' : ("2px solid " + _vm.selectedColor),
|
|
8629
8621
|
})},[_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)};
|
|
8630
|
-
var __vue_staticRenderFns__$
|
|
8622
|
+
var __vue_staticRenderFns__$12 = [];
|
|
8631
8623
|
|
|
8632
8624
|
/* style */
|
|
8633
|
-
const __vue_inject_styles__$
|
|
8634
|
-
if (!inject) return
|
|
8635
|
-
inject("data-v-f18be530_0", { source: ".icon[data-v-f18be530]{padding:0 2px}.icon.color-icon[data-v-f18be530]{border-bottom:2px solid var(--dark)}.icon.background-icon[data-v-f18be530]{padding:2px 3px}", map: undefined, media: undefined });
|
|
8636
|
-
|
|
8637
|
-
};
|
|
8625
|
+
const __vue_inject_styles__$16 = undefined;
|
|
8638
8626
|
/* scoped */
|
|
8639
|
-
const __vue_scope_id__$
|
|
8627
|
+
const __vue_scope_id__$16 = undefined;
|
|
8640
8628
|
/* module identifier */
|
|
8641
|
-
const __vue_module_identifier__$
|
|
8629
|
+
const __vue_module_identifier__$16 = undefined;
|
|
8642
8630
|
/* functional template */
|
|
8643
|
-
const __vue_is_functional_template__$
|
|
8631
|
+
const __vue_is_functional_template__$16 = false;
|
|
8632
|
+
/* style inject */
|
|
8633
|
+
|
|
8644
8634
|
/* style inject SSR */
|
|
8645
8635
|
|
|
8646
8636
|
/* style inject shadow dom */
|
|
8647
8637
|
|
|
8648
8638
|
|
|
8649
8639
|
|
|
8650
|
-
const __vue_component__$
|
|
8651
|
-
{ render: __vue_render__$
|
|
8652
|
-
__vue_inject_styles__$
|
|
8653
|
-
__vue_script__$
|
|
8654
|
-
__vue_scope_id__$
|
|
8655
|
-
__vue_is_functional_template__$
|
|
8656
|
-
__vue_module_identifier__$
|
|
8640
|
+
const __vue_component__$16 = /*#__PURE__*/normalizeComponent(
|
|
8641
|
+
{ render: __vue_render__$12, staticRenderFns: __vue_staticRenderFns__$12 },
|
|
8642
|
+
__vue_inject_styles__$16,
|
|
8643
|
+
__vue_script__$15,
|
|
8644
|
+
__vue_scope_id__$16,
|
|
8645
|
+
__vue_is_functional_template__$16,
|
|
8646
|
+
__vue_module_identifier__$16,
|
|
8657
8647
|
false,
|
|
8658
|
-
|
|
8648
|
+
undefined);
|
|
8659
8649
|
|
|
8660
8650
|
//
|
|
8661
8651
|
//
|
|
@@ -8681,26 +8671,26 @@ var __vue_staticRenderFns__$11 = [];
|
|
|
8681
8671
|
/**
|
|
8682
8672
|
* Component is used to display simple formatter options such as bold, italic, ...
|
|
8683
8673
|
*/
|
|
8684
|
-
var script$
|
|
8674
|
+
var script$14 = {
|
|
8685
8675
|
name: 'TMarkItem',
|
|
8686
|
-
extends: __vue_component__$
|
|
8676
|
+
extends: __vue_component__$17,
|
|
8687
8677
|
};
|
|
8688
8678
|
|
|
8689
8679
|
/* script */
|
|
8690
|
-
const __vue_script__$
|
|
8680
|
+
const __vue_script__$14 = script$14;
|
|
8691
8681
|
|
|
8692
8682
|
/* template */
|
|
8693
|
-
var __vue_render__$
|
|
8694
|
-
var __vue_staticRenderFns__$
|
|
8683
|
+
var __vue_render__$11 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"variant":"link"},on:{"click":function($event){return _vm.onClick(_vm.format.type, _vm.format.attrs)}}},[_c('span',{class:_vm.activeClasses(_vm.format.attrs)},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])};
|
|
8684
|
+
var __vue_staticRenderFns__$11 = [];
|
|
8695
8685
|
|
|
8696
8686
|
/* style */
|
|
8697
|
-
const __vue_inject_styles__$
|
|
8687
|
+
const __vue_inject_styles__$15 = undefined;
|
|
8698
8688
|
/* scoped */
|
|
8699
|
-
const __vue_scope_id__$
|
|
8689
|
+
const __vue_scope_id__$15 = undefined;
|
|
8700
8690
|
/* module identifier */
|
|
8701
|
-
const __vue_module_identifier__$
|
|
8691
|
+
const __vue_module_identifier__$15 = undefined;
|
|
8702
8692
|
/* functional template */
|
|
8703
|
-
const __vue_is_functional_template__$
|
|
8693
|
+
const __vue_is_functional_template__$15 = false;
|
|
8704
8694
|
/* style inject */
|
|
8705
8695
|
|
|
8706
8696
|
/* style inject SSR */
|
|
@@ -8709,13 +8699,13 @@ var __vue_staticRenderFns__$10 = [];
|
|
|
8709
8699
|
|
|
8710
8700
|
|
|
8711
8701
|
|
|
8712
|
-
const __vue_component__$
|
|
8713
|
-
{ render: __vue_render__$
|
|
8714
|
-
__vue_inject_styles__$
|
|
8715
|
-
__vue_script__$
|
|
8716
|
-
__vue_scope_id__$
|
|
8717
|
-
__vue_is_functional_template__$
|
|
8718
|
-
__vue_module_identifier__$
|
|
8702
|
+
const __vue_component__$15 = /*#__PURE__*/normalizeComponent(
|
|
8703
|
+
{ render: __vue_render__$11, staticRenderFns: __vue_staticRenderFns__$11 },
|
|
8704
|
+
__vue_inject_styles__$15,
|
|
8705
|
+
__vue_script__$14,
|
|
8706
|
+
__vue_scope_id__$15,
|
|
8707
|
+
__vue_is_functional_template__$15,
|
|
8708
|
+
__vue_module_identifier__$15,
|
|
8719
8709
|
false,
|
|
8720
8710
|
undefined);
|
|
8721
8711
|
|
|
@@ -8770,9 +8760,9 @@ var __vue_staticRenderFns__$10 = [];
|
|
|
8770
8760
|
* Component is used to display link formatters. It provides an interface to
|
|
8771
8761
|
* input the URL that should be applied.
|
|
8772
8762
|
*/
|
|
8773
|
-
var script$
|
|
8763
|
+
var script$13 = {
|
|
8774
8764
|
name: 'TMarkLink',
|
|
8775
|
-
extends: __vue_component__$
|
|
8765
|
+
extends: __vue_component__$17,
|
|
8776
8766
|
|
|
8777
8767
|
props: {
|
|
8778
8768
|
labels: {
|
|
@@ -8832,20 +8822,20 @@ var script$12 = {
|
|
|
8832
8822
|
};
|
|
8833
8823
|
|
|
8834
8824
|
/* script */
|
|
8835
|
-
const __vue_script__$
|
|
8825
|
+
const __vue_script__$13 = script$13;
|
|
8836
8826
|
|
|
8837
8827
|
/* template */
|
|
8838
|
-
var __vue_render__
|
|
8839
|
-
var __vue_staticRenderFns__
|
|
8828
|
+
var __vue_render__$10 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":"link-popover-container"}},[_c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"id":"link-popover","variant":"link"},on:{"click":_vm.showPopover}},[_c('span',{class:_vm.activeClasses(_vm.format.attrs)},[_c('font-awesome-icon',{attrs:{"icon":"link"}})],1)]),_vm._v(" "),(_vm.currentValue)?_c('b-popover',{ref:"popover",attrs:{"show":_vm.visible,"triggers":"focus","target":"link-popover","placement":"auto","container":"link-popover-container","custom-class":"bg-white"},on:{"update:show":function($event){_vm.visible=$event;}}},[_c('b-input-group',{staticStyle:{"min-width":"250px"}},[_c('b-form-input',{attrs:{"type":"url","autofocus":"","placeholder":_vm.labels.urlPlaceholder},on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }$event.preventDefault();$event.stopPropagation();return _vm.link.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"esc",27,$event.key,["Esc","Escape"])){ return null; }$event.preventDefault();$event.stopPropagation();return _vm.close.apply(null, arguments)}]},model:{value:(_vm.attrs.href),callback:function ($$v) {_vm.$set(_vm.attrs, "href", $$v);},expression:"attrs.href"}}),_vm._v(" "),_c('b-input-group-append',[_c('b-button',{attrs:{"variant":"outline-success"},on:{"click":_vm.link}},[_vm._v("\n "+_vm._s(_vm.labels.ok)+"\n ")])],1)],1)],1):_vm._e()],1)};
|
|
8829
|
+
var __vue_staticRenderFns__$10 = [];
|
|
8840
8830
|
|
|
8841
8831
|
/* style */
|
|
8842
|
-
const __vue_inject_styles__$
|
|
8832
|
+
const __vue_inject_styles__$14 = undefined;
|
|
8843
8833
|
/* scoped */
|
|
8844
|
-
const __vue_scope_id__$
|
|
8834
|
+
const __vue_scope_id__$14 = undefined;
|
|
8845
8835
|
/* module identifier */
|
|
8846
|
-
const __vue_module_identifier__$
|
|
8836
|
+
const __vue_module_identifier__$14 = undefined;
|
|
8847
8837
|
/* functional template */
|
|
8848
|
-
const __vue_is_functional_template__$
|
|
8838
|
+
const __vue_is_functional_template__$14 = false;
|
|
8849
8839
|
/* style inject */
|
|
8850
8840
|
|
|
8851
8841
|
/* style inject SSR */
|
|
@@ -8854,20 +8844,20 @@ var __vue_staticRenderFns__$$ = [];
|
|
|
8854
8844
|
|
|
8855
8845
|
|
|
8856
8846
|
|
|
8857
|
-
const __vue_component__$
|
|
8858
|
-
{ render: __vue_render__
|
|
8859
|
-
__vue_inject_styles__$
|
|
8860
|
-
__vue_script__$
|
|
8861
|
-
__vue_scope_id__$
|
|
8862
|
-
__vue_is_functional_template__$
|
|
8863
|
-
__vue_module_identifier__$
|
|
8847
|
+
const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
|
|
8848
|
+
{ render: __vue_render__$10, staticRenderFns: __vue_staticRenderFns__$10 },
|
|
8849
|
+
__vue_inject_styles__$14,
|
|
8850
|
+
__vue_script__$13,
|
|
8851
|
+
__vue_scope_id__$14,
|
|
8852
|
+
__vue_is_functional_template__$14,
|
|
8853
|
+
__vue_module_identifier__$14,
|
|
8864
8854
|
false,
|
|
8865
8855
|
undefined);
|
|
8866
8856
|
|
|
8867
8857
|
var mark = {
|
|
8868
|
-
Color: __vue_component__$
|
|
8869
|
-
Item: __vue_component__$
|
|
8870
|
-
Link: __vue_component__$
|
|
8858
|
+
Color: __vue_component__$16,
|
|
8859
|
+
Item: __vue_component__$15,
|
|
8860
|
+
Link: __vue_component__$14
|
|
8871
8861
|
};
|
|
8872
8862
|
|
|
8873
8863
|
//
|
|
@@ -8892,7 +8882,7 @@ var mark = {
|
|
|
8892
8882
|
//
|
|
8893
8883
|
//
|
|
8894
8884
|
|
|
8895
|
-
var script$
|
|
8885
|
+
var script$12 = {
|
|
8896
8886
|
name: 'MentionList',
|
|
8897
8887
|
|
|
8898
8888
|
props: {
|
|
@@ -8974,40 +8964,40 @@ var script$11 = {
|
|
|
8974
8964
|
};
|
|
8975
8965
|
|
|
8976
8966
|
/* script */
|
|
8977
|
-
const __vue_script__$
|
|
8967
|
+
const __vue_script__$12 = script$12;
|
|
8978
8968
|
|
|
8979
8969
|
/* template */
|
|
8980
|
-
var __vue_render__
|
|
8970
|
+
var __vue_render__$$ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.items.length)?_c('div',{staticClass:"mention-dropdown"},_vm._l((_vm.items),function(item,index){return _c('button',{key:index,class:[
|
|
8981
8971
|
'mention-option',
|
|
8982
8972
|
{ 'mention-option--highlighted': index === _vm.selectedIndex }
|
|
8983
8973
|
],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()};
|
|
8984
|
-
var __vue_staticRenderFns__
|
|
8974
|
+
var __vue_staticRenderFns__$$ = [];
|
|
8985
8975
|
|
|
8986
8976
|
/* style */
|
|
8987
|
-
const __vue_inject_styles__$
|
|
8977
|
+
const __vue_inject_styles__$13 = function (inject) {
|
|
8988
8978
|
if (!inject) return
|
|
8989
8979
|
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 });
|
|
8990
8980
|
|
|
8991
8981
|
};
|
|
8992
8982
|
/* scoped */
|
|
8993
|
-
const __vue_scope_id__$
|
|
8983
|
+
const __vue_scope_id__$13 = "data-v-d2ebe8ce";
|
|
8994
8984
|
/* module identifier */
|
|
8995
|
-
const __vue_module_identifier__$
|
|
8985
|
+
const __vue_module_identifier__$13 = undefined;
|
|
8996
8986
|
/* functional template */
|
|
8997
|
-
const __vue_is_functional_template__$
|
|
8987
|
+
const __vue_is_functional_template__$13 = false;
|
|
8998
8988
|
/* style inject SSR */
|
|
8999
8989
|
|
|
9000
8990
|
/* style inject shadow dom */
|
|
9001
8991
|
|
|
9002
8992
|
|
|
9003
8993
|
|
|
9004
|
-
const __vue_component__$
|
|
9005
|
-
{ render: __vue_render__
|
|
9006
|
-
__vue_inject_styles__$
|
|
9007
|
-
__vue_script__$
|
|
9008
|
-
__vue_scope_id__$
|
|
9009
|
-
__vue_is_functional_template__$
|
|
9010
|
-
__vue_module_identifier__$
|
|
8994
|
+
const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
|
|
8995
|
+
{ render: __vue_render__$$, staticRenderFns: __vue_staticRenderFns__$$ },
|
|
8996
|
+
__vue_inject_styles__$13,
|
|
8997
|
+
__vue_script__$12,
|
|
8998
|
+
__vue_scope_id__$13,
|
|
8999
|
+
__vue_is_functional_template__$13,
|
|
9000
|
+
__vue_module_identifier__$13,
|
|
9011
9001
|
false,
|
|
9012
9002
|
createInjector);
|
|
9013
9003
|
|
|
@@ -9042,7 +9032,7 @@ var suggestion = {
|
|
|
9042
9032
|
return {
|
|
9043
9033
|
onStart: function onStart(props) {
|
|
9044
9034
|
var _props$editor$view$do;
|
|
9045
|
-
component = new VueRenderer(__vue_component__$
|
|
9035
|
+
component = new VueRenderer(__vue_component__$13, {
|
|
9046
9036
|
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,
|
|
9047
9037
|
propsData: props
|
|
9048
9038
|
});
|
|
@@ -9075,11 +9065,11 @@ var suggestion = {
|
|
|
9075
9065
|
}
|
|
9076
9066
|
});
|
|
9077
9067
|
};
|
|
9078
|
-
popup.addEventListener('click', function (
|
|
9079
|
-
return handleSelection
|
|
9068
|
+
popup.addEventListener('click', function () {
|
|
9069
|
+
return handleSelection;
|
|
9080
9070
|
});
|
|
9081
|
-
popup.addEventListener('mouseup', function (
|
|
9082
|
-
return handleSelection
|
|
9071
|
+
popup.addEventListener('mouseup', function () {
|
|
9072
|
+
return handleSelection;
|
|
9083
9073
|
});
|
|
9084
9074
|
popperInstance = createPopper(virtualElement, popup, {
|
|
9085
9075
|
placement: 'bottom-start',
|
|
@@ -9328,7 +9318,7 @@ var nodeTypes = getToolbar().filter(function (_ref2) {
|
|
|
9328
9318
|
/**
|
|
9329
9319
|
* Defines common props, methods between different toolbar item types
|
|
9330
9320
|
*/
|
|
9331
|
-
var script$
|
|
9321
|
+
var script$11 = {
|
|
9332
9322
|
props: {
|
|
9333
9323
|
editor: {
|
|
9334
9324
|
type: Object,
|
|
@@ -9441,18 +9431,18 @@ var script$10 = {
|
|
|
9441
9431
|
};
|
|
9442
9432
|
|
|
9443
9433
|
/* script */
|
|
9444
|
-
const __vue_script__$
|
|
9434
|
+
const __vue_script__$11 = script$11;
|
|
9445
9435
|
|
|
9446
9436
|
/* template */
|
|
9447
9437
|
|
|
9448
9438
|
/* style */
|
|
9449
|
-
const __vue_inject_styles__$
|
|
9439
|
+
const __vue_inject_styles__$12 = undefined;
|
|
9450
9440
|
/* scoped */
|
|
9451
|
-
const __vue_scope_id__$
|
|
9441
|
+
const __vue_scope_id__$12 = undefined;
|
|
9452
9442
|
/* module identifier */
|
|
9453
|
-
const __vue_module_identifier__$
|
|
9443
|
+
const __vue_module_identifier__$12 = undefined;
|
|
9454
9444
|
/* functional template */
|
|
9455
|
-
const __vue_is_functional_template__$
|
|
9445
|
+
const __vue_is_functional_template__$12 = undefined;
|
|
9456
9446
|
/* style inject */
|
|
9457
9447
|
|
|
9458
9448
|
/* style inject SSR */
|
|
@@ -9461,13 +9451,13 @@ const __vue_script__$10 = script$10;
|
|
|
9461
9451
|
|
|
9462
9452
|
|
|
9463
9453
|
|
|
9464
|
-
const __vue_component__$
|
|
9454
|
+
const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
|
|
9465
9455
|
{},
|
|
9466
|
-
__vue_inject_styles__$
|
|
9467
|
-
__vue_script__$
|
|
9468
|
-
__vue_scope_id__$
|
|
9469
|
-
__vue_is_functional_template__$
|
|
9470
|
-
__vue_module_identifier__$
|
|
9456
|
+
__vue_inject_styles__$12,
|
|
9457
|
+
__vue_script__$11,
|
|
9458
|
+
__vue_scope_id__$12,
|
|
9459
|
+
__vue_is_functional_template__$12,
|
|
9460
|
+
__vue_module_identifier__$12,
|
|
9471
9461
|
false,
|
|
9472
9462
|
undefined);
|
|
9473
9463
|
|
|
@@ -9495,26 +9485,26 @@ const __vue_script__$10 = script$10;
|
|
|
9495
9485
|
/**
|
|
9496
9486
|
* Component is used to display node types; paragraph, headding, ...
|
|
9497
9487
|
*/
|
|
9498
|
-
var script
|
|
9488
|
+
var script$10 = {
|
|
9499
9489
|
name: 'TNodeItem',
|
|
9500
|
-
extends: __vue_component__$
|
|
9490
|
+
extends: __vue_component__$12,
|
|
9501
9491
|
};
|
|
9502
9492
|
|
|
9503
9493
|
/* script */
|
|
9504
|
-
const __vue_script__
|
|
9494
|
+
const __vue_script__$10 = script$10;
|
|
9505
9495
|
|
|
9506
9496
|
/* template */
|
|
9507
|
-
var __vue_render__$
|
|
9508
|
-
var __vue_staticRenderFns__$
|
|
9497
|
+
var __vue_render__$_ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"variant":"link"},on:{"click":function($event){return _vm.onClick(_vm.format.type, _vm.format.attrs)}}},[_c('span',{class:_vm.activeClasses(_vm.format.attrs)},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])};
|
|
9498
|
+
var __vue_staticRenderFns__$_ = [];
|
|
9509
9499
|
|
|
9510
9500
|
/* style */
|
|
9511
|
-
const __vue_inject_styles__$
|
|
9501
|
+
const __vue_inject_styles__$11 = undefined;
|
|
9512
9502
|
/* scoped */
|
|
9513
|
-
const __vue_scope_id__$
|
|
9503
|
+
const __vue_scope_id__$11 = undefined;
|
|
9514
9504
|
/* module identifier */
|
|
9515
|
-
const __vue_module_identifier__$
|
|
9505
|
+
const __vue_module_identifier__$11 = undefined;
|
|
9516
9506
|
/* functional template */
|
|
9517
|
-
const __vue_is_functional_template__$
|
|
9507
|
+
const __vue_is_functional_template__$11 = false;
|
|
9518
9508
|
/* style inject */
|
|
9519
9509
|
|
|
9520
9510
|
/* style inject SSR */
|
|
@@ -9523,18 +9513,18 @@ var __vue_staticRenderFns__$Z = [];
|
|
|
9523
9513
|
|
|
9524
9514
|
|
|
9525
9515
|
|
|
9526
|
-
const __vue_component__$
|
|
9527
|
-
{ render: __vue_render__$
|
|
9528
|
-
__vue_inject_styles__$
|
|
9529
|
-
__vue_script__
|
|
9530
|
-
__vue_scope_id__$
|
|
9531
|
-
__vue_is_functional_template__$
|
|
9532
|
-
__vue_module_identifier__$
|
|
9516
|
+
const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
|
|
9517
|
+
{ render: __vue_render__$_, staticRenderFns: __vue_staticRenderFns__$_ },
|
|
9518
|
+
__vue_inject_styles__$11,
|
|
9519
|
+
__vue_script__$10,
|
|
9520
|
+
__vue_scope_id__$11,
|
|
9521
|
+
__vue_is_functional_template__$11,
|
|
9522
|
+
__vue_module_identifier__$11,
|
|
9533
9523
|
false,
|
|
9534
9524
|
undefined);
|
|
9535
9525
|
|
|
9536
9526
|
var node = {
|
|
9537
|
-
Item: __vue_component__$
|
|
9527
|
+
Item: __vue_component__$11
|
|
9538
9528
|
};
|
|
9539
9529
|
|
|
9540
9530
|
//
|
|
@@ -9579,10 +9569,10 @@ var node = {
|
|
|
9579
9569
|
/**
|
|
9580
9570
|
* Component is used to display node alignment formatting
|
|
9581
9571
|
*/
|
|
9582
|
-
var script
|
|
9572
|
+
var script$$ = {
|
|
9583
9573
|
name: 'TNattrAlignment',
|
|
9584
9574
|
|
|
9585
|
-
extends: __vue_component__$
|
|
9575
|
+
extends: __vue_component__$12,
|
|
9586
9576
|
|
|
9587
9577
|
props: {
|
|
9588
9578
|
isActive: {
|
|
@@ -9615,20 +9605,20 @@ var script$_ = {
|
|
|
9615
9605
|
};
|
|
9616
9606
|
|
|
9617
9607
|
/* script */
|
|
9618
|
-
const __vue_script__
|
|
9608
|
+
const __vue_script__$$ = script$$;
|
|
9619
9609
|
|
|
9620
9610
|
/* template */
|
|
9621
|
-
var __vue_render__$
|
|
9622
|
-
var __vue_staticRenderFns__$
|
|
9611
|
+
var __vue_render__$Z = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-dropdown',{attrs:{"menu-class":"text-center bg-white","variant":"link","boundary":"window","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[_c('span',{class:{ 'text-primary': !!_vm.activeType && _vm.activeType !== 'left' }},[(_vm.activeIcon)?_c('font-awesome-icon',{attrs:{"icon":_vm.activeIcon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])]},proxy:true}])},[_vm._v(" "),_vm._l((_vm.format.variants),function(v){return _c('b-dropdown-item-button',{key:v.variant,on:{"click":function($event){return _vm.$emit('click', { type: 'alignment', attrs: v.attrs })}}},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":v.icon}}):_c('span',[_vm._v("\n "+_vm._s(v.label)+"\n ")])],1)})],2)};
|
|
9612
|
+
var __vue_staticRenderFns__$Z = [];
|
|
9623
9613
|
|
|
9624
9614
|
/* style */
|
|
9625
|
-
const __vue_inject_styles__
|
|
9615
|
+
const __vue_inject_styles__$10 = undefined;
|
|
9626
9616
|
/* scoped */
|
|
9627
|
-
const __vue_scope_id__
|
|
9617
|
+
const __vue_scope_id__$10 = undefined;
|
|
9628
9618
|
/* module identifier */
|
|
9629
|
-
const __vue_module_identifier__
|
|
9619
|
+
const __vue_module_identifier__$10 = undefined;
|
|
9630
9620
|
/* functional template */
|
|
9631
|
-
const __vue_is_functional_template__
|
|
9621
|
+
const __vue_is_functional_template__$10 = false;
|
|
9632
9622
|
/* style inject */
|
|
9633
9623
|
|
|
9634
9624
|
/* style inject SSR */
|
|
@@ -9637,13 +9627,13 @@ var __vue_staticRenderFns__$Y = [];
|
|
|
9637
9627
|
|
|
9638
9628
|
|
|
9639
9629
|
|
|
9640
|
-
const __vue_component__
|
|
9641
|
-
{ render: __vue_render__$
|
|
9642
|
-
__vue_inject_styles__
|
|
9643
|
-
__vue_script__
|
|
9644
|
-
__vue_scope_id__
|
|
9645
|
-
__vue_is_functional_template__
|
|
9646
|
-
__vue_module_identifier__
|
|
9630
|
+
const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
|
|
9631
|
+
{ render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
|
|
9632
|
+
__vue_inject_styles__$10,
|
|
9633
|
+
__vue_script__$$,
|
|
9634
|
+
__vue_scope_id__$10,
|
|
9635
|
+
__vue_is_functional_template__$10,
|
|
9636
|
+
__vue_module_identifier__$10,
|
|
9647
9637
|
false,
|
|
9648
9638
|
undefined);
|
|
9649
9639
|
|
|
@@ -9681,9 +9671,9 @@ var __vue_staticRenderFns__$Y = [];
|
|
|
9681
9671
|
/**
|
|
9682
9672
|
* Component is used to display node alignment formatting
|
|
9683
9673
|
*/
|
|
9684
|
-
var script$
|
|
9674
|
+
var script$_ = {
|
|
9685
9675
|
name: 'TNattrTable',
|
|
9686
|
-
extends: __vue_component__$
|
|
9676
|
+
extends: __vue_component__$12,
|
|
9687
9677
|
|
|
9688
9678
|
props: {
|
|
9689
9679
|
isActive: {
|
|
@@ -9741,20 +9731,20 @@ var script$Z = {
|
|
|
9741
9731
|
};
|
|
9742
9732
|
|
|
9743
9733
|
/* script */
|
|
9744
|
-
const __vue_script__$
|
|
9734
|
+
const __vue_script__$_ = script$_;
|
|
9745
9735
|
|
|
9746
9736
|
/* template */
|
|
9747
|
-
var __vue_render__$
|
|
9748
|
-
var __vue_staticRenderFns__$
|
|
9737
|
+
var __vue_render__$Y = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-dropdown',{attrs:{"menu-class":"text-center bg-white","variant":"link","boundary":"window","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)]},proxy:true}])},[_vm._v(" "),_vm._l((_vm.format.variants),function(v){return _c('b-dropdown-item-button',{key:v.variant,on:{"click":function($event){return _vm.emitClick(v)}}},[_vm._v("\n "+_vm._s(v.label)+"\n ")])})],2)};
|
|
9738
|
+
var __vue_staticRenderFns__$Y = [];
|
|
9749
9739
|
|
|
9750
9740
|
/* style */
|
|
9751
|
-
const __vue_inject_styles__
|
|
9741
|
+
const __vue_inject_styles__$$ = undefined;
|
|
9752
9742
|
/* scoped */
|
|
9753
|
-
const __vue_scope_id__
|
|
9743
|
+
const __vue_scope_id__$$ = undefined;
|
|
9754
9744
|
/* module identifier */
|
|
9755
|
-
const __vue_module_identifier__
|
|
9745
|
+
const __vue_module_identifier__$$ = undefined;
|
|
9756
9746
|
/* functional template */
|
|
9757
|
-
const __vue_is_functional_template__
|
|
9747
|
+
const __vue_is_functional_template__$$ = false;
|
|
9758
9748
|
/* style inject */
|
|
9759
9749
|
|
|
9760
9750
|
/* style inject SSR */
|
|
@@ -9763,19 +9753,19 @@ var __vue_staticRenderFns__$X = [];
|
|
|
9763
9753
|
|
|
9764
9754
|
|
|
9765
9755
|
|
|
9766
|
-
const __vue_component__
|
|
9767
|
-
{ render: __vue_render__$
|
|
9768
|
-
__vue_inject_styles__
|
|
9769
|
-
__vue_script__$
|
|
9770
|
-
__vue_scope_id__
|
|
9771
|
-
__vue_is_functional_template__
|
|
9772
|
-
__vue_module_identifier__
|
|
9756
|
+
const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
|
|
9757
|
+
{ render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
|
|
9758
|
+
__vue_inject_styles__$$,
|
|
9759
|
+
__vue_script__$_,
|
|
9760
|
+
__vue_scope_id__$$,
|
|
9761
|
+
__vue_is_functional_template__$$,
|
|
9762
|
+
__vue_module_identifier__$$,
|
|
9773
9763
|
false,
|
|
9774
9764
|
undefined);
|
|
9775
9765
|
|
|
9776
9766
|
var nodeAttr = {
|
|
9777
|
-
Alignment: __vue_component__
|
|
9778
|
-
Table: __vue_component__
|
|
9767
|
+
Alignment: __vue_component__$10,
|
|
9768
|
+
Table: __vue_component__$$
|
|
9779
9769
|
};
|
|
9780
9770
|
|
|
9781
9771
|
var cc = {
|
|
@@ -9813,7 +9803,7 @@ var cc = {
|
|
|
9813
9803
|
//
|
|
9814
9804
|
|
|
9815
9805
|
|
|
9816
|
-
var script$
|
|
9806
|
+
var script$Z = {
|
|
9817
9807
|
inheritAttrs: true,
|
|
9818
9808
|
|
|
9819
9809
|
props: {
|
|
@@ -9936,37 +9926,37 @@ var script$Y = {
|
|
|
9936
9926
|
};
|
|
9937
9927
|
|
|
9938
9928
|
/* script */
|
|
9939
|
-
const __vue_script__$
|
|
9929
|
+
const __vue_script__$Z = script$Z;
|
|
9940
9930
|
|
|
9941
9931
|
/* template */
|
|
9942
|
-
var __vue_render__$
|
|
9943
|
-
var __vue_staticRenderFns__$
|
|
9932
|
+
var __vue_render__$X = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-wrap"},[_vm._l((_vm.formats),function(f,i){return _c(_vm.getItem(f),_vm._b({key:("" + (f.name) + i),tag:"component",staticClass:"toolbar-item",attrs:{"format":f,"is-active":_vm.isActive(),"get-mark-attrs":_vm.getMarkAttrs,"labels":_vm.labels,"current-value":_vm.currentValue},on:{"click":_vm.triggerCommand}},'component',Object.assign({}, _vm.$props, f.props),false))}),_vm._v(" "),_c('b-button',{staticClass:"toolbar-item text-dark font-weight-bold",attrs:{"variant":"link"},on:{"click":_vm.removeMarks}},[_c('font-awesome-icon',{attrs:{"icon":"remove-format"}})],1)],2)};
|
|
9933
|
+
var __vue_staticRenderFns__$X = [];
|
|
9944
9934
|
|
|
9945
9935
|
/* style */
|
|
9946
|
-
const __vue_inject_styles__$
|
|
9936
|
+
const __vue_inject_styles__$_ = function (inject) {
|
|
9947
9937
|
if (!inject) return
|
|
9948
9938
|
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 });
|
|
9949
9939
|
|
|
9950
9940
|
};
|
|
9951
9941
|
/* scoped */
|
|
9952
|
-
const __vue_scope_id__$
|
|
9942
|
+
const __vue_scope_id__$_ = undefined;
|
|
9953
9943
|
/* module identifier */
|
|
9954
|
-
const __vue_module_identifier__$
|
|
9944
|
+
const __vue_module_identifier__$_ = undefined;
|
|
9955
9945
|
/* functional template */
|
|
9956
|
-
const __vue_is_functional_template__$
|
|
9946
|
+
const __vue_is_functional_template__$_ = false;
|
|
9957
9947
|
/* style inject SSR */
|
|
9958
9948
|
|
|
9959
9949
|
/* style inject shadow dom */
|
|
9960
9950
|
|
|
9961
9951
|
|
|
9962
9952
|
|
|
9963
|
-
const __vue_component__$
|
|
9964
|
-
{ render: __vue_render__$
|
|
9965
|
-
__vue_inject_styles__$
|
|
9966
|
-
__vue_script__$
|
|
9967
|
-
__vue_scope_id__$
|
|
9968
|
-
__vue_is_functional_template__$
|
|
9969
|
-
__vue_module_identifier__$
|
|
9953
|
+
const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
|
|
9954
|
+
{ render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
|
|
9955
|
+
__vue_inject_styles__$_,
|
|
9956
|
+
__vue_script__$Z,
|
|
9957
|
+
__vue_scope_id__$_,
|
|
9958
|
+
__vue_is_functional_template__$_,
|
|
9959
|
+
__vue_module_identifier__$_,
|
|
9970
9960
|
false,
|
|
9971
9961
|
createInjector);
|
|
9972
9962
|
|
|
@@ -9999,12 +9989,12 @@ var __vue_staticRenderFns__$W = [];
|
|
|
9999
9989
|
//
|
|
10000
9990
|
|
|
10001
9991
|
|
|
10002
|
-
var script$
|
|
9992
|
+
var script$Y = {
|
|
10003
9993
|
name: 'CRichTextInput',
|
|
10004
9994
|
|
|
10005
9995
|
components: {
|
|
10006
9996
|
EditorContent,
|
|
10007
|
-
RToolbar: __vue_component__$
|
|
9997
|
+
RToolbar: __vue_component__$_,
|
|
10008
9998
|
},
|
|
10009
9999
|
|
|
10010
10000
|
props: {
|
|
@@ -10106,37 +10096,37 @@ var script$X = {
|
|
|
10106
10096
|
};
|
|
10107
10097
|
|
|
10108
10098
|
/* script */
|
|
10109
|
-
const __vue_script__$
|
|
10099
|
+
const __vue_script__$Y = script$Y;
|
|
10110
10100
|
|
|
10111
10101
|
/* template */
|
|
10112
|
-
var __vue_render__$
|
|
10113
|
-
var __vue_staticRenderFns__$
|
|
10102
|
+
var __vue_render__$W = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:"border border-light rounded",attrs:{"header-class":"p-0 border-bottom","body-class":"p-0"},scopedSlots:_vm._u([(_vm.editor)?{key:"header",fn:function(){return [_c('r-toolbar',{attrs:{"editor":_vm.editor,"formats":_vm.toolbar,"labels":_vm.labels,"current-value":_vm.currentValue}})]},proxy:true}:null],null,true)},[_vm._v(" "),_c('editor-content',{staticClass:"rt-editor-content rt-content p-2",class:_vm.bodyClass,style:({ minHeight: _vm.minBodyHeight, maxHeight: _vm.maxBodyHeight }),attrs:{"editor":_vm.editor}})],1)};
|
|
10103
|
+
var __vue_staticRenderFns__$W = [];
|
|
10114
10104
|
|
|
10115
10105
|
/* style */
|
|
10116
|
-
const __vue_inject_styles__$
|
|
10106
|
+
const __vue_inject_styles__$Z = function (inject) {
|
|
10117
10107
|
if (!inject) return
|
|
10118
10108
|
inject("data-v-00da415b_0", { source: ".rt-editor-content{height:100%}.rt-editor-content .ProseMirror{height:100%}.rt-editor-content input[type=checkbox]{pointer-events:auto!important;cursor:pointer!important}", map: undefined, media: undefined });
|
|
10119
10109
|
|
|
10120
10110
|
};
|
|
10121
10111
|
/* scoped */
|
|
10122
|
-
const __vue_scope_id__$
|
|
10112
|
+
const __vue_scope_id__$Z = undefined;
|
|
10123
10113
|
/* module identifier */
|
|
10124
|
-
const __vue_module_identifier__$
|
|
10114
|
+
const __vue_module_identifier__$Z = undefined;
|
|
10125
10115
|
/* functional template */
|
|
10126
|
-
const __vue_is_functional_template__$
|
|
10116
|
+
const __vue_is_functional_template__$Z = false;
|
|
10127
10117
|
/* style inject SSR */
|
|
10128
10118
|
|
|
10129
10119
|
/* style inject shadow dom */
|
|
10130
10120
|
|
|
10131
10121
|
|
|
10132
10122
|
|
|
10133
|
-
const __vue_component__$
|
|
10134
|
-
{ render: __vue_render__$
|
|
10135
|
-
__vue_inject_styles__$
|
|
10136
|
-
__vue_script__$
|
|
10137
|
-
__vue_scope_id__$
|
|
10138
|
-
__vue_is_functional_template__$
|
|
10139
|
-
__vue_module_identifier__$
|
|
10123
|
+
const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
|
|
10124
|
+
{ render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
|
|
10125
|
+
__vue_inject_styles__$Z,
|
|
10126
|
+
__vue_script__$Y,
|
|
10127
|
+
__vue_scope_id__$Z,
|
|
10128
|
+
__vue_is_functional_template__$Z,
|
|
10129
|
+
__vue_module_identifier__$Z,
|
|
10140
10130
|
false,
|
|
10141
10131
|
createInjector);
|
|
10142
10132
|
|
|
@@ -10171,7 +10161,7 @@ var __vue_staticRenderFns__$V = [];
|
|
|
10171
10161
|
//
|
|
10172
10162
|
//
|
|
10173
10163
|
|
|
10174
|
-
var script$
|
|
10164
|
+
var script$X = {
|
|
10175
10165
|
props: {
|
|
10176
10166
|
value: {
|
|
10177
10167
|
type: Boolean,
|
|
@@ -10210,20 +10200,20 @@ var script$W = {
|
|
|
10210
10200
|
};
|
|
10211
10201
|
|
|
10212
10202
|
/* script */
|
|
10213
|
-
const __vue_script__$
|
|
10203
|
+
const __vue_script__$X = script$X;
|
|
10214
10204
|
|
|
10215
10205
|
/* template */
|
|
10216
|
-
var __vue_render__$
|
|
10217
|
-
var __vue_staticRenderFns__$
|
|
10206
|
+
var __vue_render__$V = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex align-items-center"},[_c('span',{staticClass:"mb-0 inline-block text-primary",class:_vm.offClass},[_vm._v("\n "+_vm._s(_vm.labels.off)+"\n ")]),_vm._v(" "),_c('b-form-checkbox',_vm._g(_vm._b({attrs:{"checked":_vm.value,"value":!_vm.invert,"unchecked-value":_vm.invert}},'b-form-checkbox',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2),_vm._v(" "),_c('span',{staticClass:"mb-0 inline-block strong text-primary",class:_vm.onClass},[_vm._v("\n "+_vm._s(_vm.labels.on)+"\n ")])],1)};
|
|
10207
|
+
var __vue_staticRenderFns__$V = [];
|
|
10218
10208
|
|
|
10219
10209
|
/* style */
|
|
10220
|
-
const __vue_inject_styles__$
|
|
10210
|
+
const __vue_inject_styles__$Y = undefined;
|
|
10221
10211
|
/* scoped */
|
|
10222
|
-
const __vue_scope_id__$
|
|
10212
|
+
const __vue_scope_id__$Y = undefined;
|
|
10223
10213
|
/* module identifier */
|
|
10224
|
-
const __vue_module_identifier__$
|
|
10214
|
+
const __vue_module_identifier__$Y = undefined;
|
|
10225
10215
|
/* functional template */
|
|
10226
|
-
const __vue_is_functional_template__$
|
|
10216
|
+
const __vue_is_functional_template__$Y = false;
|
|
10227
10217
|
/* style inject */
|
|
10228
10218
|
|
|
10229
10219
|
/* style inject SSR */
|
|
@@ -10232,13 +10222,13 @@ var __vue_staticRenderFns__$U = [];
|
|
|
10232
10222
|
|
|
10233
10223
|
|
|
10234
10224
|
|
|
10235
|
-
const __vue_component__$
|
|
10236
|
-
{ render: __vue_render__$
|
|
10237
|
-
__vue_inject_styles__$
|
|
10238
|
-
__vue_script__$
|
|
10239
|
-
__vue_scope_id__$
|
|
10240
|
-
__vue_is_functional_template__$
|
|
10241
|
-
__vue_module_identifier__$
|
|
10225
|
+
const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
|
|
10226
|
+
{ render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
|
|
10227
|
+
__vue_inject_styles__$Y,
|
|
10228
|
+
__vue_script__$X,
|
|
10229
|
+
__vue_scope_id__$Y,
|
|
10230
|
+
__vue_is_functional_template__$Y,
|
|
10231
|
+
__vue_module_identifier__$Y,
|
|
10242
10232
|
false,
|
|
10243
10233
|
undefined);
|
|
10244
10234
|
|
|
@@ -10272,11 +10262,14 @@ var __vue_staticRenderFns__$U = [];
|
|
|
10272
10262
|
//
|
|
10273
10263
|
//
|
|
10274
10264
|
//
|
|
10265
|
+
//
|
|
10266
|
+
//
|
|
10267
|
+
//
|
|
10275
10268
|
|
|
10276
10269
|
|
|
10277
10270
|
library.add(faExpandAlt);
|
|
10278
10271
|
|
|
10279
|
-
var script$
|
|
10272
|
+
var script$W = {
|
|
10280
10273
|
components: {
|
|
10281
10274
|
AceEditor,
|
|
10282
10275
|
},
|
|
@@ -10292,9 +10285,9 @@ var script$V = {
|
|
|
10292
10285
|
default: 'text',
|
|
10293
10286
|
},
|
|
10294
10287
|
|
|
10295
|
-
|
|
10288
|
+
minHeight: {
|
|
10296
10289
|
type: String,
|
|
10297
|
-
default: '
|
|
10290
|
+
default: '2.35rem',
|
|
10298
10291
|
},
|
|
10299
10292
|
|
|
10300
10293
|
showLineNumbers: {
|
|
@@ -10356,10 +10349,25 @@ var script$V = {
|
|
|
10356
10349
|
type: String,
|
|
10357
10350
|
default: '',
|
|
10358
10351
|
},
|
|
10359
|
-
},
|
|
10360
10352
|
|
|
10361
|
-
|
|
10362
|
-
|
|
10353
|
+
resizable: {
|
|
10354
|
+
type: Boolean,
|
|
10355
|
+
default: false,
|
|
10356
|
+
},
|
|
10357
|
+
},
|
|
10358
|
+
|
|
10359
|
+
data () {
|
|
10360
|
+
return {
|
|
10361
|
+
resizeObserver: null,
|
|
10362
|
+
manualHeight: null,
|
|
10363
|
+
contentHeight: null,
|
|
10364
|
+
programmaticUpdate: false,
|
|
10365
|
+
resizeTimeout: null,
|
|
10366
|
+
}
|
|
10367
|
+
},
|
|
10368
|
+
|
|
10369
|
+
computed: {
|
|
10370
|
+
editorValue: {
|
|
10363
10371
|
get () {
|
|
10364
10372
|
return this.value
|
|
10365
10373
|
},
|
|
@@ -10368,9 +10376,144 @@ var script$V = {
|
|
|
10368
10376
|
this.$emit('update:value', value);
|
|
10369
10377
|
},
|
|
10370
10378
|
},
|
|
10379
|
+
|
|
10380
|
+
containerStyle () {
|
|
10381
|
+
if (this.resizable) {
|
|
10382
|
+
return {
|
|
10383
|
+
minHeight: this.minHeight,
|
|
10384
|
+
height: this.effectiveHeight,
|
|
10385
|
+
}
|
|
10386
|
+
}
|
|
10387
|
+
return {}
|
|
10388
|
+
},
|
|
10389
|
+
|
|
10390
|
+
effectiveHeight () {
|
|
10391
|
+
if (this.resizable) {
|
|
10392
|
+
// Use the larger of manual height, content height, or minimum height
|
|
10393
|
+
const manualHeightPx = this.manualHeight ? this.parseHeight(this.manualHeight) : 0;
|
|
10394
|
+
const contentHeightPx = this.contentHeight ? this.parseHeight(this.contentHeight) : 0;
|
|
10395
|
+
const minHeightPx = this.parseHeight(this.minHeight);
|
|
10396
|
+
|
|
10397
|
+
const maxHeight = Math.max(manualHeightPx, contentHeightPx, minHeightPx);
|
|
10398
|
+
return `${maxHeight}px`
|
|
10399
|
+
}
|
|
10400
|
+
return this.minHeight
|
|
10401
|
+
},
|
|
10402
|
+
},
|
|
10403
|
+
|
|
10404
|
+
watch: {
|
|
10405
|
+
value () {
|
|
10406
|
+
if (this.resizable && this.$refs.aceeditor && this.$refs.aceeditor.editor) {
|
|
10407
|
+
this.$nextTick(() => {
|
|
10408
|
+
this.calculateContentHeight(this.$refs.aceeditor.editor);
|
|
10409
|
+
});
|
|
10410
|
+
}
|
|
10411
|
+
},
|
|
10412
|
+
},
|
|
10413
|
+
|
|
10414
|
+
mounted () {
|
|
10415
|
+
if (this.resizable) {
|
|
10416
|
+
this.setupResizeObserver();
|
|
10417
|
+
}
|
|
10418
|
+
},
|
|
10419
|
+
|
|
10420
|
+
beforeDestroy () {
|
|
10421
|
+
if (this.resizeObserver) {
|
|
10422
|
+
this.resizeObserver.disconnect();
|
|
10423
|
+
}
|
|
10424
|
+
if (this.resizeTimeout) {
|
|
10425
|
+
clearTimeout(this.resizeTimeout);
|
|
10426
|
+
}
|
|
10371
10427
|
},
|
|
10372
10428
|
|
|
10373
10429
|
methods: {
|
|
10430
|
+
parseHeight (height) {
|
|
10431
|
+
if (typeof height === 'number') return height
|
|
10432
|
+
if (typeof height === 'string') {
|
|
10433
|
+
// Remove 'px' and parse to number
|
|
10434
|
+
return parseFloat(height.replace('px', '').replace('rem', '')) * (height.includes('rem') ? 16 : 1)
|
|
10435
|
+
}
|
|
10436
|
+
return 0
|
|
10437
|
+
},
|
|
10438
|
+
|
|
10439
|
+
calculateContentHeight (editor) {
|
|
10440
|
+
if (!editor) return
|
|
10441
|
+
|
|
10442
|
+
const session = editor.session;
|
|
10443
|
+
const lineCount = session.getLength();
|
|
10444
|
+
const lineHeight = editor.renderer.lineHeight || 16;
|
|
10445
|
+
const padding = 14; // Top and bottom padding
|
|
10446
|
+
|
|
10447
|
+
const contentHeight = (lineCount * lineHeight) + padding;
|
|
10448
|
+
|
|
10449
|
+
// Parse minHeight to ensure we don't go below it
|
|
10450
|
+
const minHeightPx = this.parseHeight(this.minHeight);
|
|
10451
|
+
const finalHeight = Math.max(contentHeight, minHeightPx);
|
|
10452
|
+
|
|
10453
|
+
// Set flag to prevent ResizeObserver from reacting to this change
|
|
10454
|
+
this.programmaticUpdate = true;
|
|
10455
|
+
this.contentHeight = `${finalHeight}px`;
|
|
10456
|
+
|
|
10457
|
+
// Clear the flag after a short delay
|
|
10458
|
+
this.$nextTick(() => {
|
|
10459
|
+
setTimeout(() => {
|
|
10460
|
+
this.programmaticUpdate = false;
|
|
10461
|
+
}, 50);
|
|
10462
|
+
});
|
|
10463
|
+
},
|
|
10464
|
+
|
|
10465
|
+
setupResizeObserver () {
|
|
10466
|
+
let lastHeight = null;
|
|
10467
|
+
let isInitialized = false;
|
|
10468
|
+
|
|
10469
|
+
this.resizeObserver = new ResizeObserver((entries) => {
|
|
10470
|
+
// Skip if we're in the middle of a programmatic update
|
|
10471
|
+
if (this.programmaticUpdate) {
|
|
10472
|
+
return
|
|
10473
|
+
}
|
|
10474
|
+
|
|
10475
|
+
for (const entry of entries) {
|
|
10476
|
+
const newHeight = entry.contentRect.height;
|
|
10477
|
+
|
|
10478
|
+
// Skip the first observation (initialization)
|
|
10479
|
+
if (!isInitialized) {
|
|
10480
|
+
lastHeight = newHeight;
|
|
10481
|
+
isInitialized = true;
|
|
10482
|
+
return
|
|
10483
|
+
}
|
|
10484
|
+
|
|
10485
|
+
// Only update if height actually changed significantly (more than 2px to avoid rounding issues)
|
|
10486
|
+
if (lastHeight !== null && Math.abs(lastHeight - newHeight) > 2) {
|
|
10487
|
+
// Clear any pending timeout
|
|
10488
|
+
if (this.resizeTimeout) {
|
|
10489
|
+
clearTimeout(this.resizeTimeout);
|
|
10490
|
+
}
|
|
10491
|
+
|
|
10492
|
+
// Debounce the update slightly to prevent flickering
|
|
10493
|
+
this.resizeTimeout = setTimeout(() => {
|
|
10494
|
+
this.manualHeight = `${newHeight}px`;
|
|
10495
|
+
this.updateEditorSize();
|
|
10496
|
+
lastHeight = newHeight;
|
|
10497
|
+
}, 10);
|
|
10498
|
+
}
|
|
10499
|
+
}
|
|
10500
|
+
});
|
|
10501
|
+
|
|
10502
|
+
if (this.$refs.container) {
|
|
10503
|
+
this.resizeObserver.observe(this.$refs.container);
|
|
10504
|
+
}
|
|
10505
|
+
},
|
|
10506
|
+
|
|
10507
|
+
updateEditorSize () {
|
|
10508
|
+
// Force ace editor to resize
|
|
10509
|
+
this.$nextTick(() => {
|
|
10510
|
+
if (this.$refs.aceeditor && this.$refs.aceeditor.editor) {
|
|
10511
|
+
const editor = this.$refs.aceeditor.editor;
|
|
10512
|
+
editor.resize();
|
|
10513
|
+
}
|
|
10514
|
+
});
|
|
10515
|
+
},
|
|
10516
|
+
|
|
10374
10517
|
editorInit (editor) {
|
|
10375
10518
|
Promise.resolve().then(function () { return text$1; });
|
|
10376
10519
|
Promise.resolve().then(function () { return html$1; });
|
|
@@ -10378,7 +10521,6 @@ var script$V = {
|
|
|
10378
10521
|
Promise.resolve().then(function () { return scss$1; });
|
|
10379
10522
|
Promise.resolve().then(function () { return json$1; });
|
|
10380
10523
|
Promise.resolve().then(function () { return javascript$1; });
|
|
10381
|
-
Promise.resolve().then(function () { return json$1; });
|
|
10382
10524
|
|
|
10383
10525
|
Promise.resolve().then(function () { return text; });
|
|
10384
10526
|
Promise.resolve().then(function () { return html; });
|
|
@@ -10386,7 +10528,6 @@ var script$V = {
|
|
|
10386
10528
|
Promise.resolve().then(function () { return scss; });
|
|
10387
10529
|
Promise.resolve().then(function () { return json; });
|
|
10388
10530
|
Promise.resolve().then(function () { return javascript; });
|
|
10389
|
-
Promise.resolve().then(function () { return json; });
|
|
10390
10531
|
|
|
10391
10532
|
Promise.resolve().then(function () { return chrome; });
|
|
10392
10533
|
Promise.resolve().then(function () { return language_tools; });
|
|
@@ -10405,8 +10546,6 @@ var script$V = {
|
|
|
10405
10546
|
readOnly: this.readOnly,
|
|
10406
10547
|
highlightActiveLine: this.highlightActiveLine,
|
|
10407
10548
|
cursorStyle: 'smooth',
|
|
10408
|
-
// // minLines: this.height,
|
|
10409
|
-
// maxPixelHeight: 100,
|
|
10410
10549
|
|
|
10411
10550
|
...(this.autoComplete && {
|
|
10412
10551
|
enableBasicAutocompletion: true,
|
|
@@ -10422,6 +10561,19 @@ var script$V = {
|
|
|
10422
10561
|
editor.on('input', this.updatePlaceholder);
|
|
10423
10562
|
this.updatePlaceholder(undefined, editor);
|
|
10424
10563
|
|
|
10564
|
+
// Calculate initial content height and listen for changes if resizable
|
|
10565
|
+
if (this.resizable) {
|
|
10566
|
+
// Calculate initial height
|
|
10567
|
+
this.$nextTick(() => {
|
|
10568
|
+
this.calculateContentHeight(editor);
|
|
10569
|
+
});
|
|
10570
|
+
|
|
10571
|
+
// Recalculate on content change
|
|
10572
|
+
editor.session.on('change', () => {
|
|
10573
|
+
this.calculateContentHeight(editor);
|
|
10574
|
+
});
|
|
10575
|
+
}
|
|
10576
|
+
|
|
10425
10577
|
if (this.initExpressions) {
|
|
10426
10578
|
this.processExpressionAutoComplete(editor);
|
|
10427
10579
|
} else if (this.autoComplete) {
|
|
@@ -10465,55 +10617,95 @@ var script$V = {
|
|
|
10465
10617
|
},
|
|
10466
10618
|
|
|
10467
10619
|
processExpressionAutoComplete (editor) {
|
|
10620
|
+
// Extract text context from current cursor position
|
|
10621
|
+
const getTextContext = (pos) => {
|
|
10622
|
+
const session = editor.session;
|
|
10623
|
+
const line = session.getLine(pos.row);
|
|
10624
|
+
const lastSpaceIndex = Math.max(0, line.lastIndexOf(' '));
|
|
10625
|
+
const textAfterSpace = line.slice(lastSpaceIndex, pos.column).trim();
|
|
10626
|
+
const lastDotIndex = textAfterSpace.lastIndexOf('.');
|
|
10627
|
+
const searchTextForCaption = lastDotIndex >= 0 ? textAfterSpace.slice(lastDotIndex + 1) : textAfterSpace;
|
|
10628
|
+
|
|
10629
|
+
return { line, textAfterSpace, searchTextForCaption }
|
|
10630
|
+
};
|
|
10631
|
+
|
|
10632
|
+
// Check if suggestion matches search text
|
|
10633
|
+
const matchesSuggestion = (suggestion, textAfterSpace, searchTextForCaption) => {
|
|
10634
|
+
const suggestionValue = typeof suggestion === 'string' ? suggestion : suggestion.value;
|
|
10635
|
+
const suggestionCaption = typeof suggestion === 'string' ? suggestion : suggestion.caption;
|
|
10636
|
+
return suggestionValue.toLowerCase().startsWith(textAfterSpace.toLowerCase()) ||
|
|
10637
|
+
suggestionCaption.toLowerCase().startsWith(searchTextForCaption.toLowerCase())
|
|
10638
|
+
};
|
|
10639
|
+
|
|
10640
|
+
// Check and trigger autocomplete if there are matching suggestions
|
|
10641
|
+
const checkAndTriggerAutocomplete = () => {
|
|
10642
|
+
setTimeout(() => {
|
|
10643
|
+
const pos = editor.getCursorPosition();
|
|
10644
|
+
const { line, textAfterSpace, searchTextForCaption } = getTextContext(pos);
|
|
10645
|
+
|
|
10646
|
+
// Don't trigger after closing braces
|
|
10647
|
+
const charBeforeCursor = pos.column > 0 ? line[pos.column - 1] : '';
|
|
10648
|
+
if (charBeforeCursor === '}' || charBeforeCursor === ')' || textAfterSpace.length === 0) {
|
|
10649
|
+
return
|
|
10650
|
+
}
|
|
10651
|
+
|
|
10652
|
+
const context = this.getContext(editor, editor.session, pos);
|
|
10653
|
+
const suggestions = this.getSuggestionsForContext(context);
|
|
10654
|
+
const hasMatches = suggestions.some(s => matchesSuggestion(s, textAfterSpace, searchTextForCaption));
|
|
10655
|
+
|
|
10656
|
+
if (hasMatches) {
|
|
10657
|
+
editor.execCommand('startAutocomplete');
|
|
10658
|
+
}
|
|
10659
|
+
}, 10);
|
|
10660
|
+
};
|
|
10661
|
+
|
|
10468
10662
|
const staticWordCompleter = {
|
|
10663
|
+
identifierRegexps: [/[${\w]+/],
|
|
10469
10664
|
getCompletions: (editor, session, pos, prefix, callback) => {
|
|
10470
10665
|
const context = this.getContext(editor, session, pos);
|
|
10471
10666
|
const suggestions = this.getSuggestionsForContext(context);
|
|
10472
|
-
|
|
10473
|
-
|
|
10474
|
-
|
|
10475
|
-
|
|
10476
|
-
|
|
10477
|
-
|
|
10478
|
-
|
|
10479
|
-
|
|
10480
|
-
|
|
10481
|
-
|
|
10482
|
-
|
|
10483
|
-
|
|
10484
|
-
|
|
10485
|
-
|
|
10486
|
-
|
|
10487
|
-
|
|
10488
|
-
|
|
10489
|
-
|
|
10490
|
-
|
|
10491
|
-
|
|
10492
|
-
|
|
10493
|
-
|
|
10494
|
-
|
|
10495
|
-
|
|
10496
|
-
|
|
10497
|
-
|
|
10498
|
-
|
|
10499
|
-
}
|
|
10500
|
-
|
|
10501
|
-
insertEditor.session.replace({
|
|
10502
|
-
start: { row: pos.row, column: lastSpaceIndex },
|
|
10503
|
-
end: { row: pos.row, column: pos.column },
|
|
10504
|
-
}, insertValue);
|
|
10667
|
+
const { textAfterSpace, searchTextForCaption } = getTextContext(pos);
|
|
10668
|
+
|
|
10669
|
+
const filteredSuggestions = suggestions
|
|
10670
|
+
.filter(s => matchesSuggestion(s, textAfterSpace, searchTextForCaption))
|
|
10671
|
+
.map(suggestion => {
|
|
10672
|
+
const caption = typeof suggestion === 'string' ? suggestion : suggestion.caption;
|
|
10673
|
+
const value = typeof suggestion === 'string' ? suggestion : suggestion.value;
|
|
10674
|
+
const captionMatch = caption.toLowerCase().indexOf(searchTextForCaption.toLowerCase());
|
|
10675
|
+
|
|
10676
|
+
return {
|
|
10677
|
+
caption,
|
|
10678
|
+
value,
|
|
10679
|
+
score: captionMatch === 0 ? 10000 : 1000,
|
|
10680
|
+
meta: 'variable',
|
|
10681
|
+
completer: {
|
|
10682
|
+
insertMatch: (insertEditor, data) => {
|
|
10683
|
+
insertEditor.jumpToMatching();
|
|
10684
|
+
const line = session.getLine(pos.row);
|
|
10685
|
+
const spaceIndex = line.lastIndexOf(' ');
|
|
10686
|
+
const startCol = spaceIndex > 0 ? spaceIndex + 1 : 0;
|
|
10687
|
+
|
|
10688
|
+
insertEditor.session.replace({
|
|
10689
|
+
start: { row: pos.row, column: startCol },
|
|
10690
|
+
end: { row: pos.row, column: pos.column },
|
|
10691
|
+
}, data.value);
|
|
10692
|
+
|
|
10693
|
+
checkAndTriggerAutocomplete();
|
|
10694
|
+
},
|
|
10505
10695
|
},
|
|
10506
|
-
}
|
|
10507
|
-
}
|
|
10508
|
-
|
|
10696
|
+
}
|
|
10697
|
+
});
|
|
10698
|
+
|
|
10699
|
+
callback(null, filteredSuggestions);
|
|
10509
10700
|
},
|
|
10510
10701
|
};
|
|
10511
10702
|
|
|
10512
10703
|
editor.completers = [staticWordCompleter];
|
|
10513
10704
|
|
|
10514
|
-
|
|
10705
|
+
// Only trigger autocomplete automatically when there's a partial match
|
|
10706
|
+
editor.commands.on('afterExec', (e) => {
|
|
10515
10707
|
if (['insertstring', 'Return'].includes(e.command.name) || /^[\w.($]$/.test(e.args)) {
|
|
10516
|
-
|
|
10708
|
+
checkAndTriggerAutocomplete();
|
|
10517
10709
|
}
|
|
10518
10710
|
});
|
|
10519
10711
|
|
|
@@ -10523,54 +10715,50 @@ var script$V = {
|
|
|
10523
10715
|
|
|
10524
10716
|
getContext (editor, session, pos) {
|
|
10525
10717
|
const line = session.getLine(pos.row);
|
|
10526
|
-
const lastSpaceIndex =
|
|
10527
|
-
const textBeforeCursor = line.slice(lastSpaceIndex, pos.column);
|
|
10528
|
-
|
|
10529
|
-
|
|
10530
|
-
return context
|
|
10718
|
+
const lastSpaceIndex = Math.max(0, line.lastIndexOf(' '));
|
|
10719
|
+
const textBeforeCursor = line.slice(lastSpaceIndex, pos.column).trim();
|
|
10720
|
+
return textBeforeCursor.split('.').slice(0, -1).join('.')
|
|
10531
10721
|
},
|
|
10532
10722
|
|
|
10533
10723
|
getSuggestionsForContext (context) {
|
|
10534
|
-
|
|
10535
|
-
|
|
10536
|
-
return suggestions[context] || []
|
|
10724
|
+
return this.autoCompleteSuggestions[context] || []
|
|
10537
10725
|
},
|
|
10538
10726
|
},
|
|
10539
10727
|
};
|
|
10540
10728
|
|
|
10541
10729
|
/* script */
|
|
10542
|
-
const __vue_script__$
|
|
10730
|
+
const __vue_script__$W = script$W;
|
|
10543
10731
|
|
|
10544
10732
|
/* template */
|
|
10545
|
-
var __vue_render__$
|
|
10546
|
-
var __vue_staticRenderFns__$
|
|
10733
|
+
var __vue_render__$U = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",staticClass:"position-relative ace-editor-wrapper",class:{ 'resizable': _vm.resizable },style:(_vm.containerStyle)},[_c('ace-editor',_vm._g({ref:"aceeditor",class:{ 'border-0 rounded-0': !_vm.border },attrs:{"lang":_vm.lang,"mode":_vm.lang,"theme":"chrome","width":"100%","height":_vm.effectiveHeight},on:{"init":_vm.editorInit},model:{value:(_vm.editorValue),callback:function ($$v) {_vm.editorValue=$$v;},expression:"editorValue"}},_vm.$listeners)),_vm._v(" "),(_vm.showPopout)?_c('b-button',{staticClass:"popout position-absolute px-2 py-1 mr-3",attrs:{"variant":"link"},on:{"click":function($event){return _vm.$emit('open')}}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'expand-alt']}})],1):_vm._e()],1)};
|
|
10734
|
+
var __vue_staticRenderFns__$U = [];
|
|
10547
10735
|
|
|
10548
10736
|
/* style */
|
|
10549
|
-
const __vue_inject_styles__$
|
|
10737
|
+
const __vue_inject_styles__$X = function (inject) {
|
|
10550
10738
|
if (!inject) return
|
|
10551
|
-
inject("data-v-
|
|
10552
|
-
,inject("data-v-
|
|
10739
|
+
inject("data-v-00e2204c_0", { source: ".popout[data-v-00e2204c]{z-index:7;bottom:0;right:0}.ace-editor-wrapper.resizable[data-v-00e2204c]{resize:vertical;overflow:auto}.ace-editor-wrapper.resizable .ace_editor[data-v-00e2204c]{height:100%!important}", map: undefined, media: undefined })
|
|
10740
|
+
,inject("data-v-00e2204c_1", { source: ".ace_editor{color:var(--black)!important;background-color:var(--white)!important;border-radius:.25rem;border:2px solid var(--extra-light);font-size:initial!important}.ace_editor .ace_gutter{background-color:var(--light)!important;color:var(--black)!important}.ace_editor .ace_gutter .ace_gutter-active-line{background-color:var(--extra-light)!important}.ace_editor .ace_hidden-cursors .ace_cursor{color:var(--white)!important}.ace_editor .ace_cursor{color:var(--black)!important}.ace_autocomplete{border:none!important}.ace_autocomplete .ace_active-line{background-color:var(--extra-light)!important}.ace_autocomplete .ace_line-hover{border:none!important;background-color:var(--extra-light)!important}.ace_autocomplete .ace_completion-highlight{color:var(--primary)!important}", map: undefined, media: undefined });
|
|
10553
10741
|
|
|
10554
10742
|
};
|
|
10555
10743
|
/* scoped */
|
|
10556
|
-
const __vue_scope_id__$
|
|
10744
|
+
const __vue_scope_id__$X = "data-v-00e2204c";
|
|
10557
10745
|
/* module identifier */
|
|
10558
|
-
const __vue_module_identifier__$
|
|
10746
|
+
const __vue_module_identifier__$X = undefined;
|
|
10559
10747
|
/* functional template */
|
|
10560
|
-
const __vue_is_functional_template__$
|
|
10748
|
+
const __vue_is_functional_template__$X = false;
|
|
10561
10749
|
/* style inject SSR */
|
|
10562
10750
|
|
|
10563
10751
|
/* style inject shadow dom */
|
|
10564
10752
|
|
|
10565
10753
|
|
|
10566
10754
|
|
|
10567
|
-
const __vue_component__$
|
|
10568
|
-
{ render: __vue_render__$
|
|
10569
|
-
__vue_inject_styles__$
|
|
10570
|
-
__vue_script__$
|
|
10571
|
-
__vue_scope_id__$
|
|
10572
|
-
__vue_is_functional_template__$
|
|
10573
|
-
__vue_module_identifier__$
|
|
10755
|
+
const __vue_component__$X = /*#__PURE__*/normalizeComponent(
|
|
10756
|
+
{ render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
|
|
10757
|
+
__vue_inject_styles__$X,
|
|
10758
|
+
__vue_script__$W,
|
|
10759
|
+
__vue_scope_id__$X,
|
|
10760
|
+
__vue_is_functional_template__$X,
|
|
10761
|
+
__vue_module_identifier__$X,
|
|
10574
10762
|
false,
|
|
10575
10763
|
createInjector);
|
|
10576
10764
|
|
|
@@ -10591,9 +10779,9 @@ var __vue_staticRenderFns__$T = [];
|
|
|
10591
10779
|
//
|
|
10592
10780
|
|
|
10593
10781
|
|
|
10594
|
-
var script$
|
|
10782
|
+
var script$V = {
|
|
10595
10783
|
components: {
|
|
10596
|
-
CAceEditor: __vue_component__$
|
|
10784
|
+
CAceEditor: __vue_component__$X,
|
|
10597
10785
|
},
|
|
10598
10786
|
|
|
10599
10787
|
props: {
|
|
@@ -10607,9 +10795,9 @@ var script$U = {
|
|
|
10607
10795
|
default: 'text',
|
|
10608
10796
|
},
|
|
10609
10797
|
|
|
10610
|
-
|
|
10798
|
+
minHeight: {
|
|
10611
10799
|
type: String,
|
|
10612
|
-
default: '
|
|
10800
|
+
default: '2.35rem',
|
|
10613
10801
|
},
|
|
10614
10802
|
|
|
10615
10803
|
showLineNumbers: {
|
|
@@ -10661,6 +10849,11 @@ var script$U = {
|
|
|
10661
10849
|
type: String,
|
|
10662
10850
|
default: '',
|
|
10663
10851
|
},
|
|
10852
|
+
|
|
10853
|
+
resizable: {
|
|
10854
|
+
type: Boolean,
|
|
10855
|
+
default: true,
|
|
10856
|
+
},
|
|
10664
10857
|
},
|
|
10665
10858
|
|
|
10666
10859
|
computed: {
|
|
@@ -10737,20 +10930,20 @@ var script$U = {
|
|
|
10737
10930
|
};
|
|
10738
10931
|
|
|
10739
10932
|
/* script */
|
|
10740
|
-
const __vue_script__$
|
|
10933
|
+
const __vue_script__$V = script$V;
|
|
10741
10934
|
|
|
10742
10935
|
/* template */
|
|
10743
|
-
var __vue_render__$
|
|
10744
|
-
var __vue_staticRenderFns__$
|
|
10936
|
+
var __vue_render__$T = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('c-ace-editor',_vm._g(_vm._b({attrs:{"auto-complete":"","init-expressions":"","auto-complete-suggestions":_vm.autoCompleteSuggestions},model:{value:(_vm.editorValue),callback:function ($$v) {_vm.editorValue=$$v;},expression:"editorValue"}},'c-ace-editor',Object.assign({}, _vm.$attrs, _vm.$props),false),_vm.$listeners))],1)};
|
|
10937
|
+
var __vue_staticRenderFns__$T = [];
|
|
10745
10938
|
|
|
10746
10939
|
/* style */
|
|
10747
|
-
const __vue_inject_styles__$
|
|
10940
|
+
const __vue_inject_styles__$W = undefined;
|
|
10748
10941
|
/* scoped */
|
|
10749
|
-
const __vue_scope_id__$
|
|
10942
|
+
const __vue_scope_id__$W = undefined;
|
|
10750
10943
|
/* module identifier */
|
|
10751
|
-
const __vue_module_identifier__$
|
|
10944
|
+
const __vue_module_identifier__$W = undefined;
|
|
10752
10945
|
/* functional template */
|
|
10753
|
-
const __vue_is_functional_template__$
|
|
10946
|
+
const __vue_is_functional_template__$W = false;
|
|
10754
10947
|
/* style inject */
|
|
10755
10948
|
|
|
10756
10949
|
/* style inject SSR */
|
|
@@ -10759,13 +10952,13 @@ var __vue_staticRenderFns__$S = [];
|
|
|
10759
10952
|
|
|
10760
10953
|
|
|
10761
10954
|
|
|
10762
|
-
const __vue_component__$
|
|
10763
|
-
{ render: __vue_render__$
|
|
10764
|
-
__vue_inject_styles__$
|
|
10765
|
-
__vue_script__$
|
|
10766
|
-
__vue_scope_id__$
|
|
10767
|
-
__vue_is_functional_template__$
|
|
10768
|
-
__vue_module_identifier__$
|
|
10955
|
+
const __vue_component__$W = /*#__PURE__*/normalizeComponent(
|
|
10956
|
+
{ render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
|
|
10957
|
+
__vue_inject_styles__$W,
|
|
10958
|
+
__vue_script__$V,
|
|
10959
|
+
__vue_scope_id__$W,
|
|
10960
|
+
__vue_is_functional_template__$W,
|
|
10961
|
+
__vue_module_identifier__$W,
|
|
10769
10962
|
false,
|
|
10770
10963
|
undefined);
|
|
10771
10964
|
|
|
@@ -10804,7 +10997,7 @@ var __vue_staticRenderFns__$S = [];
|
|
|
10804
10997
|
//
|
|
10805
10998
|
//
|
|
10806
10999
|
|
|
10807
|
-
var script$
|
|
11000
|
+
var script$U = {
|
|
10808
11001
|
name: 'CButtonSubmit',
|
|
10809
11002
|
|
|
10810
11003
|
props: {
|
|
@@ -10857,20 +11050,20 @@ var script$T = {
|
|
|
10857
11050
|
};
|
|
10858
11051
|
|
|
10859
11052
|
/* script */
|
|
10860
|
-
const __vue_script__$
|
|
11053
|
+
const __vue_script__$U = script$U;
|
|
10861
11054
|
|
|
10862
11055
|
/* template */
|
|
10863
|
-
var __vue_render__$
|
|
10864
|
-
var __vue_staticRenderFns__$
|
|
11056
|
+
var __vue_render__$S = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{class:_vm.buttonClass,attrs:{"data-test-id":"button-submit","type":"submit","variant":_vm.variant,"disabled":_vm.disabled || _vm.processing || _vm.success,"size":_vm.size,"block":_vm.block,"title":_vm.title},on:{"click":function($event){$event.preventDefault();return _vm.$emit('submit')}}},[(_vm.processing)?_c('b-spinner',{staticClass:"align-middle",attrs:{"data-test-id":"spinner","small":""}}):(_vm.success)?_c('font-awesome-icon',{attrs:{"data-test-id":"icon-success","icon":['fas', 'check']}}):(_vm.text)?_c('span',{attrs:{"data-test-id":"button-text"}},[_vm._v("\n "+_vm._s(_vm.text)+"\n ")]):_vm._e()],1)};
|
|
11057
|
+
var __vue_staticRenderFns__$S = [];
|
|
10865
11058
|
|
|
10866
11059
|
/* style */
|
|
10867
|
-
const __vue_inject_styles__$
|
|
11060
|
+
const __vue_inject_styles__$V = undefined;
|
|
10868
11061
|
/* scoped */
|
|
10869
|
-
const __vue_scope_id__$
|
|
11062
|
+
const __vue_scope_id__$V = undefined;
|
|
10870
11063
|
/* module identifier */
|
|
10871
|
-
const __vue_module_identifier__$
|
|
11064
|
+
const __vue_module_identifier__$V = undefined;
|
|
10872
11065
|
/* functional template */
|
|
10873
|
-
const __vue_is_functional_template__$
|
|
11066
|
+
const __vue_is_functional_template__$V = false;
|
|
10874
11067
|
/* style inject */
|
|
10875
11068
|
|
|
10876
11069
|
/* style inject SSR */
|
|
@@ -10879,13 +11072,13 @@ var __vue_staticRenderFns__$R = [];
|
|
|
10879
11072
|
|
|
10880
11073
|
|
|
10881
11074
|
|
|
10882
|
-
const __vue_component__$
|
|
10883
|
-
{ render: __vue_render__$
|
|
10884
|
-
__vue_inject_styles__$
|
|
10885
|
-
__vue_script__$
|
|
10886
|
-
__vue_scope_id__$
|
|
10887
|
-
__vue_is_functional_template__$
|
|
10888
|
-
__vue_module_identifier__$
|
|
11075
|
+
const __vue_component__$V = /*#__PURE__*/normalizeComponent(
|
|
11076
|
+
{ render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
|
|
11077
|
+
__vue_inject_styles__$V,
|
|
11078
|
+
__vue_script__$U,
|
|
11079
|
+
__vue_scope_id__$V,
|
|
11080
|
+
__vue_is_functional_template__$V,
|
|
11081
|
+
__vue_module_identifier__$V,
|
|
10889
11082
|
false,
|
|
10890
11083
|
undefined);
|
|
10891
11084
|
|
|
@@ -10909,7 +11102,7 @@ var __vue_staticRenderFns__$R = [];
|
|
|
10909
11102
|
//
|
|
10910
11103
|
|
|
10911
11104
|
|
|
10912
|
-
var script$
|
|
11105
|
+
var script$T = {
|
|
10913
11106
|
props: {
|
|
10914
11107
|
value: {
|
|
10915
11108
|
type: [Array, String, Object],
|
|
@@ -10994,9 +11187,9 @@ var script$S = {
|
|
|
10994
11187
|
}, 400),
|
|
10995
11188
|
|
|
10996
11189
|
updateValue (role) {
|
|
10997
|
-
// reset
|
|
10998
|
-
if (this
|
|
10999
|
-
this.$refs.
|
|
11190
|
+
// reset role-select value for better value presentation
|
|
11191
|
+
if (this.clearOnSelect && this.$refs.roleSelect) {
|
|
11192
|
+
this.$refs.roleSelect._data._value = undefined;
|
|
11000
11193
|
}
|
|
11001
11194
|
|
|
11002
11195
|
this.$emit('input', role);
|
|
@@ -11009,20 +11202,20 @@ var script$S = {
|
|
|
11009
11202
|
};
|
|
11010
11203
|
|
|
11011
11204
|
/* script */
|
|
11012
|
-
const __vue_script__$
|
|
11205
|
+
const __vue_script__$T = script$T;
|
|
11013
11206
|
|
|
11014
11207
|
/* template */
|
|
11015
|
-
var __vue_render__$
|
|
11016
|
-
var __vue_staticRenderFns__$
|
|
11208
|
+
var __vue_render__$R = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-input-select',{ref:"roleSelect",attrs:{"value":_vm.value,"options":_vm.roles,"placeholder":_vm.placeholder,"get-option-key":function (r) { return r.roleID; },"get-option-label":function (r) { return _vm.getRoleLabel(r); },"filterable":false,"selectable":_vm.selectable,"multiple":_vm.multiple,"clearable":_vm.clearable,"loading":_vm.loading},on:{"search":_vm.search,"input":_vm.updateValue}})};
|
|
11209
|
+
var __vue_staticRenderFns__$R = [];
|
|
11017
11210
|
|
|
11018
11211
|
/* style */
|
|
11019
|
-
const __vue_inject_styles__$
|
|
11212
|
+
const __vue_inject_styles__$U = undefined;
|
|
11020
11213
|
/* scoped */
|
|
11021
|
-
const __vue_scope_id__$
|
|
11214
|
+
const __vue_scope_id__$U = undefined;
|
|
11022
11215
|
/* module identifier */
|
|
11023
|
-
const __vue_module_identifier__$
|
|
11216
|
+
const __vue_module_identifier__$U = undefined;
|
|
11024
11217
|
/* functional template */
|
|
11025
|
-
const __vue_is_functional_template__$
|
|
11218
|
+
const __vue_is_functional_template__$U = false;
|
|
11026
11219
|
/* style inject */
|
|
11027
11220
|
|
|
11028
11221
|
/* style inject SSR */
|
|
@@ -11031,13 +11224,13 @@ var __vue_staticRenderFns__$Q = [];
|
|
|
11031
11224
|
|
|
11032
11225
|
|
|
11033
11226
|
|
|
11034
|
-
const __vue_component__$
|
|
11035
|
-
{ render: __vue_render__$
|
|
11036
|
-
__vue_inject_styles__$
|
|
11037
|
-
__vue_script__$
|
|
11038
|
-
__vue_scope_id__$
|
|
11039
|
-
__vue_is_functional_template__$
|
|
11040
|
-
__vue_module_identifier__$
|
|
11227
|
+
const __vue_component__$U = /*#__PURE__*/normalizeComponent(
|
|
11228
|
+
{ render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
|
|
11229
|
+
__vue_inject_styles__$U,
|
|
11230
|
+
__vue_script__$T,
|
|
11231
|
+
__vue_scope_id__$U,
|
|
11232
|
+
__vue_is_functional_template__$U,
|
|
11233
|
+
__vue_module_identifier__$U,
|
|
11041
11234
|
false,
|
|
11042
11235
|
undefined);
|
|
11043
11236
|
|
|
@@ -11057,9 +11250,10 @@ var __vue_staticRenderFns__$Q = [];
|
|
|
11057
11250
|
//
|
|
11058
11251
|
//
|
|
11059
11252
|
//
|
|
11253
|
+
//
|
|
11060
11254
|
|
|
11061
11255
|
|
|
11062
|
-
var script$
|
|
11256
|
+
var script$S = {
|
|
11063
11257
|
name: 'CInputUser',
|
|
11064
11258
|
|
|
11065
11259
|
props: {
|
|
@@ -11072,6 +11266,11 @@ var script$R = {
|
|
|
11072
11266
|
type: String,
|
|
11073
11267
|
default: '',
|
|
11074
11268
|
},
|
|
11269
|
+
|
|
11270
|
+
clearOnSelect: {
|
|
11271
|
+
type: Boolean,
|
|
11272
|
+
default: false,
|
|
11273
|
+
},
|
|
11075
11274
|
},
|
|
11076
11275
|
|
|
11077
11276
|
data () {
|
|
@@ -11136,8 +11335,13 @@ var script$R = {
|
|
|
11136
11335
|
}
|
|
11137
11336
|
},
|
|
11138
11337
|
|
|
11139
|
-
onUserUpdate (
|
|
11140
|
-
this.$
|
|
11338
|
+
onUserUpdate (user) {
|
|
11339
|
+
if (this.clearOnSelect && this.$refs.userSelect) {
|
|
11340
|
+
this.$refs.userSelect._data._value = undefined;
|
|
11341
|
+
}
|
|
11342
|
+
|
|
11343
|
+
this.$emit('input', user.userID);
|
|
11344
|
+
this.$emit('input-object', user);
|
|
11141
11345
|
},
|
|
11142
11346
|
|
|
11143
11347
|
getOptionKey ({ userID }) {
|
|
@@ -11150,11 +11354,153 @@ var script$R = {
|
|
|
11150
11354
|
},
|
|
11151
11355
|
};
|
|
11152
11356
|
|
|
11357
|
+
/* script */
|
|
11358
|
+
const __vue_script__$S = script$S;
|
|
11359
|
+
|
|
11360
|
+
/* template */
|
|
11361
|
+
var __vue_render__$Q = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-input-select',_vm._b({ref:"userSelect",attrs:{"value":_vm.user.value,"data-test-id":"select-user","options":_vm.user.options,"get-option-label":_vm.getOptionLabel,"get-option-key":_vm.getOptionKey,"placeholder":_vm.placeholder,"loading":_vm.processing,"filterable":false},on:{"search":_vm.search,"input":_vm.onUserUpdate}},'c-input-select',_vm.$attrs,false))};
|
|
11362
|
+
var __vue_staticRenderFns__$Q = [];
|
|
11363
|
+
|
|
11364
|
+
/* style */
|
|
11365
|
+
const __vue_inject_styles__$T = undefined;
|
|
11366
|
+
/* scoped */
|
|
11367
|
+
const __vue_scope_id__$T = undefined;
|
|
11368
|
+
/* module identifier */
|
|
11369
|
+
const __vue_module_identifier__$T = undefined;
|
|
11370
|
+
/* functional template */
|
|
11371
|
+
const __vue_is_functional_template__$T = false;
|
|
11372
|
+
/* style inject */
|
|
11373
|
+
|
|
11374
|
+
/* style inject SSR */
|
|
11375
|
+
|
|
11376
|
+
/* style inject shadow dom */
|
|
11377
|
+
|
|
11378
|
+
|
|
11379
|
+
|
|
11380
|
+
const __vue_component__$T = /*#__PURE__*/normalizeComponent(
|
|
11381
|
+
{ render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
|
|
11382
|
+
__vue_inject_styles__$T,
|
|
11383
|
+
__vue_script__$S,
|
|
11384
|
+
__vue_scope_id__$T,
|
|
11385
|
+
__vue_is_functional_template__$T,
|
|
11386
|
+
__vue_module_identifier__$T,
|
|
11387
|
+
false,
|
|
11388
|
+
undefined);
|
|
11389
|
+
|
|
11390
|
+
//
|
|
11391
|
+
//
|
|
11392
|
+
//
|
|
11393
|
+
//
|
|
11394
|
+
//
|
|
11395
|
+
//
|
|
11396
|
+
//
|
|
11397
|
+
//
|
|
11398
|
+
//
|
|
11399
|
+
//
|
|
11400
|
+
//
|
|
11401
|
+
//
|
|
11402
|
+
//
|
|
11403
|
+
//
|
|
11404
|
+
//
|
|
11405
|
+
//
|
|
11406
|
+
|
|
11407
|
+
|
|
11408
|
+
var script$R = {
|
|
11409
|
+
name: 'CInputUserGroup',
|
|
11410
|
+
|
|
11411
|
+
props: {
|
|
11412
|
+
value: {
|
|
11413
|
+
type: String,
|
|
11414
|
+
default: null,
|
|
11415
|
+
},
|
|
11416
|
+
|
|
11417
|
+
placeholder: {
|
|
11418
|
+
type: String,
|
|
11419
|
+
default: '',
|
|
11420
|
+
},
|
|
11421
|
+
},
|
|
11422
|
+
|
|
11423
|
+
data () {
|
|
11424
|
+
return {
|
|
11425
|
+
processing: false,
|
|
11426
|
+
|
|
11427
|
+
userGroup: {
|
|
11428
|
+
options: [],
|
|
11429
|
+
value: undefined,
|
|
11430
|
+
|
|
11431
|
+
filter: {
|
|
11432
|
+
query: null,
|
|
11433
|
+
limit: 20,
|
|
11434
|
+
},
|
|
11435
|
+
},
|
|
11436
|
+
}
|
|
11437
|
+
},
|
|
11438
|
+
|
|
11439
|
+
created () {
|
|
11440
|
+
this.fetchUserGroups().then(() => {
|
|
11441
|
+
this.getUserGroupByID(this.value);
|
|
11442
|
+
});
|
|
11443
|
+
},
|
|
11444
|
+
|
|
11445
|
+
methods: {
|
|
11446
|
+
search: debounce(function (query) {
|
|
11447
|
+
if (query !== this.userGroup.filter.query) {
|
|
11448
|
+
this.userGroup.filter.query = query;
|
|
11449
|
+
this.userGroup.filter.page = 1;
|
|
11450
|
+
}
|
|
11451
|
+
|
|
11452
|
+
this.fetchUserGroups();
|
|
11453
|
+
}, 300),
|
|
11454
|
+
|
|
11455
|
+
fetchUserGroups() {
|
|
11456
|
+
this.processing = true;
|
|
11457
|
+
|
|
11458
|
+
return this.$SystemAPI
|
|
11459
|
+
.userGroupList(this.userGroup.filter)
|
|
11460
|
+
.then(({ set }) => {
|
|
11461
|
+
this.userGroup.options = set.map((m) => new system.UserGroup(m));
|
|
11462
|
+
})
|
|
11463
|
+
.finally(() => {
|
|
11464
|
+
setTimeout(() => {
|
|
11465
|
+
this.processing = false;
|
|
11466
|
+
}, 500);
|
|
11467
|
+
})
|
|
11468
|
+
},
|
|
11469
|
+
|
|
11470
|
+
getUserGroupByID (userGroupID) {
|
|
11471
|
+
if (!userGroupID || userGroupID === NoID) {
|
|
11472
|
+
this.userGroup.value = this.userGroup.options.find(({ isRoot }) => !!isRoot);
|
|
11473
|
+
|
|
11474
|
+
this.$emit('input', this.userGroup.value?.userGroupID);
|
|
11475
|
+
return
|
|
11476
|
+
}
|
|
11477
|
+
|
|
11478
|
+
const userGroup = this.userGroup.options.find(o => o.userGroupID === userGroupID);
|
|
11479
|
+
|
|
11480
|
+
if (userGroup) {
|
|
11481
|
+
this.userGroup.value = userGroup;
|
|
11482
|
+
}
|
|
11483
|
+
},
|
|
11484
|
+
|
|
11485
|
+
onUserGroupUpdate ({ userGroupID }) {
|
|
11486
|
+
this.$emit('input', userGroupID);
|
|
11487
|
+
},
|
|
11488
|
+
|
|
11489
|
+
getOptionKey ({ userGroupID }) {
|
|
11490
|
+
return userGroupID
|
|
11491
|
+
},
|
|
11492
|
+
|
|
11493
|
+
getOptionLabel ({ handle, meta = {}, userGroupID }) {
|
|
11494
|
+
return meta.short || handle || userGroupID
|
|
11495
|
+
},
|
|
11496
|
+
},
|
|
11497
|
+
};
|
|
11498
|
+
|
|
11153
11499
|
/* script */
|
|
11154
11500
|
const __vue_script__$R = script$R;
|
|
11155
11501
|
|
|
11156
11502
|
/* template */
|
|
11157
|
-
var __vue_render__$P = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-input-select',_vm._b({attrs:{"data-test-id":"select-user","options":_vm.
|
|
11503
|
+
var __vue_render__$P = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-input-select',_vm._b({attrs:{"data-test-id":"select-user-group","options":_vm.userGroup.options,"get-option-label":_vm.getOptionLabel,"get-option-key":_vm.getOptionKey,"placeholder":_vm.placeholder,"loading":_vm.processing,"filterable":false},on:{"search":_vm.search,"input":_vm.onUserGroupUpdate},model:{value:(_vm.userGroup.value),callback:function ($$v) {_vm.$set(_vm.userGroup, "value", $$v);},expression:"userGroup.value"}},'c-input-select',_vm.$attrs,false))};
|
|
11158
11504
|
var __vue_staticRenderFns__$P = [];
|
|
11159
11505
|
|
|
11160
11506
|
/* style */
|
|
@@ -11561,8 +11907,8 @@ var script$M = {
|
|
|
11561
11907
|
|
|
11562
11908
|
components: {
|
|
11563
11909
|
Rules: __vue_component__$O,
|
|
11564
|
-
CInputSelect: __vue_component__$
|
|
11565
|
-
CInputRole: __vue_component__$
|
|
11910
|
+
CInputSelect: __vue_component__$1c,
|
|
11911
|
+
CInputRole: __vue_component__$U,
|
|
11566
11912
|
},
|
|
11567
11913
|
|
|
11568
11914
|
props: {
|
|
@@ -12196,7 +12542,7 @@ var script$H = {
|
|
|
12196
12542
|
name: 'CPromptComposeRecordPicker',
|
|
12197
12543
|
|
|
12198
12544
|
components: {
|
|
12199
|
-
CInputSelect: __vue_component__$
|
|
12545
|
+
CInputSelect: __vue_component__$1c,
|
|
12200
12546
|
CPagination: __vue_component__$J,
|
|
12201
12547
|
},
|
|
12202
12548
|
|
|
@@ -12463,7 +12809,7 @@ var script$G = {
|
|
|
12463
12809
|
name: 'CPromptInput',
|
|
12464
12810
|
|
|
12465
12811
|
components: {
|
|
12466
|
-
CInputDateTime: __vue_component__$
|
|
12812
|
+
CInputDateTime: __vue_component__$1d,
|
|
12467
12813
|
},
|
|
12468
12814
|
|
|
12469
12815
|
extends: __vue_component__$M,
|
|
@@ -12582,7 +12928,7 @@ var script$E = {
|
|
|
12582
12928
|
name: 'CPromptOptions',
|
|
12583
12929
|
|
|
12584
12930
|
components: {
|
|
12585
|
-
CInputSelect: __vue_component__$
|
|
12931
|
+
CInputSelect: __vue_component__$1c,
|
|
12586
12932
|
},
|
|
12587
12933
|
|
|
12588
12934
|
extends: __vue_component__$M,
|
|
@@ -15160,7 +15506,7 @@ var script$n = {
|
|
|
15160
15506
|
components: {
|
|
15161
15507
|
draggable: Draggable,
|
|
15162
15508
|
CItemPickerItem: __vue_component__$p,
|
|
15163
|
-
CInputSearch: __vue_component__$
|
|
15509
|
+
CInputSearch: __vue_component__$19,
|
|
15164
15510
|
},
|
|
15165
15511
|
|
|
15166
15512
|
props: {
|
|
@@ -16456,7 +16802,7 @@ var __vue_staticRenderFns__$i = [];
|
|
|
16456
16802
|
|
|
16457
16803
|
var script$g = {
|
|
16458
16804
|
components: {
|
|
16459
|
-
CInputSelect: __vue_component__$
|
|
16805
|
+
CInputSelect: __vue_component__$1c,
|
|
16460
16806
|
},
|
|
16461
16807
|
|
|
16462
16808
|
props: {
|
|
@@ -16817,7 +17163,7 @@ var script$f = {
|
|
|
16817
17163
|
name: 'ResourceList',
|
|
16818
17164
|
|
|
16819
17165
|
components: {
|
|
16820
|
-
CInputSearch: __vue_component__$
|
|
17166
|
+
CInputSearch: __vue_component__$19,
|
|
16821
17167
|
},
|
|
16822
17168
|
|
|
16823
17169
|
props: {
|
|
@@ -17520,7 +17866,7 @@ n(css$3,{});
|
|
|
17520
17866
|
var script$c = {
|
|
17521
17867
|
components: {
|
|
17522
17868
|
LControl,
|
|
17523
|
-
CInputSearch: __vue_component__$
|
|
17869
|
+
CInputSearch: __vue_component__$19,
|
|
17524
17870
|
LPolygon,
|
|
17525
17871
|
LTileLayer,
|
|
17526
17872
|
LMarker,
|
|
@@ -18317,7 +18663,7 @@ var script$8 = {
|
|
|
18317
18663
|
},
|
|
18318
18664
|
|
|
18319
18665
|
components: {
|
|
18320
|
-
CInputConfirm: __vue_component__$
|
|
18666
|
+
CInputConfirm: __vue_component__$1f,
|
|
18321
18667
|
},
|
|
18322
18668
|
|
|
18323
18669
|
props: {
|
|
@@ -19358,35 +19704,36 @@ var index$6 = {
|
|
|
19358
19704
|
var index$5 = /*#__PURE__*/Object.freeze({
|
|
19359
19705
|
__proto__: null,
|
|
19360
19706
|
C3: index$6,
|
|
19361
|
-
CAceEditor: __vue_component__$
|
|
19362
|
-
CButtonSubmit: __vue_component__$
|
|
19707
|
+
CAceEditor: __vue_component__$X,
|
|
19708
|
+
CButtonSubmit: __vue_component__$V,
|
|
19363
19709
|
CChart: __vue_component__$m,
|
|
19364
|
-
CCorredorManualButtons: __vue_component__$
|
|
19365
|
-
CExtendSession: __vue_component__$
|
|
19366
|
-
CFormTableWrapper: __vue_component__$
|
|
19710
|
+
CCorredorManualButtons: __vue_component__$1o,
|
|
19711
|
+
CExtendSession: __vue_component__$1p,
|
|
19712
|
+
CFormTableWrapper: __vue_component__$1b,
|
|
19367
19713
|
CHint: __vue_component__$d,
|
|
19368
|
-
CInputCheckbox: __vue_component__$
|
|
19369
|
-
CInputColorPicker: __vue_component__$
|
|
19370
|
-
CInputConfirm: __vue_component__$
|
|
19371
|
-
CInputDateTime: __vue_component__$
|
|
19372
|
-
CInputExpression: __vue_component__$
|
|
19373
|
-
CInputPresort: __vue_component__$
|
|
19374
|
-
CInputProcessing: __vue_component__$
|
|
19375
|
-
CInputRole: __vue_component__$
|
|
19376
|
-
CInputSearch: __vue_component__$
|
|
19377
|
-
CInputSelect: __vue_component__$
|
|
19378
|
-
CInputUser: __vue_component__$
|
|
19714
|
+
CInputCheckbox: __vue_component__$Y,
|
|
19715
|
+
CInputColorPicker: __vue_component__$18,
|
|
19716
|
+
CInputConfirm: __vue_component__$1f,
|
|
19717
|
+
CInputDateTime: __vue_component__$1d,
|
|
19718
|
+
CInputExpression: __vue_component__$W,
|
|
19719
|
+
CInputPresort: __vue_component__$1a,
|
|
19720
|
+
CInputProcessing: __vue_component__$1e,
|
|
19721
|
+
CInputRole: __vue_component__$U,
|
|
19722
|
+
CInputSearch: __vue_component__$19,
|
|
19723
|
+
CInputSelect: __vue_component__$1c,
|
|
19724
|
+
CInputUser: __vue_component__$T,
|
|
19725
|
+
CInputUserGroup: __vue_component__$S,
|
|
19379
19726
|
CItemPicker: __vue_component__$o,
|
|
19380
19727
|
CItemPickerItem: __vue_component__$p,
|
|
19381
|
-
CLightbox: __vue_component__$
|
|
19728
|
+
CLightbox: __vue_component__$1j,
|
|
19382
19729
|
CLoaderLogo: __vue_component__$B,
|
|
19383
19730
|
CMap: __vue_component__$c,
|
|
19384
19731
|
CNotificationButton: __vue_component__$A,
|
|
19385
19732
|
CNotificationSidebar: __vue_component__$6,
|
|
19386
19733
|
CPermissionsButton: __vue_component__$R,
|
|
19387
19734
|
CPermissionsModal: __vue_component__$N,
|
|
19388
|
-
CPreviewInline: __vue_component__$
|
|
19389
|
-
CPreviewLightbox: __vue_component__$
|
|
19735
|
+
CPreviewInline: __vue_component__$1g,
|
|
19736
|
+
CPreviewLightbox: __vue_component__$1h,
|
|
19390
19737
|
CProgress: __vue_component__$f,
|
|
19391
19738
|
CPromptModal: __vue_component__$D,
|
|
19392
19739
|
CPromptToast: __vue_component__$E,
|
|
@@ -19397,7 +19744,7 @@ var index$5 = /*#__PURE__*/Object.freeze({
|
|
|
19397
19744
|
CReportTable: __vue_component__$j,
|
|
19398
19745
|
CReportText: __vue_component__$i,
|
|
19399
19746
|
CResourceList: __vue_component__$g,
|
|
19400
|
-
CRichTextInput: __vue_component__$
|
|
19747
|
+
CRichTextInput: __vue_component__$Z,
|
|
19401
19748
|
CSensitivityLevelPicker: __vue_component__$h,
|
|
19402
19749
|
CSidebar: __vue_component__$y,
|
|
19403
19750
|
CSidebarNavItems: __vue_component__$x,
|