@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.cjs
CHANGED
|
@@ -5773,7 +5773,7 @@ var index$7 = /*#__PURE__*/Object.freeze({
|
|
|
5773
5773
|
//
|
|
5774
5774
|
|
|
5775
5775
|
|
|
5776
|
-
var script$
|
|
5776
|
+
var script$1n = {
|
|
5777
5777
|
name: 'CExtendSession',
|
|
5778
5778
|
|
|
5779
5779
|
props: {
|
|
@@ -5950,20 +5950,20 @@ function normalizeComponent(template, style, script, scopeId, isFunctionalTempla
|
|
|
5950
5950
|
}
|
|
5951
5951
|
|
|
5952
5952
|
/* script */
|
|
5953
|
-
const __vue_script__$
|
|
5953
|
+
const __vue_script__$1n = script$1n;
|
|
5954
5954
|
|
|
5955
5955
|
/* template */
|
|
5956
|
-
var __vue_render__$
|
|
5957
|
-
var __vue_staticRenderFns__$
|
|
5956
|
+
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)};
|
|
5957
|
+
var __vue_staticRenderFns__$1i = [];
|
|
5958
5958
|
|
|
5959
5959
|
/* style */
|
|
5960
|
-
const __vue_inject_styles__$
|
|
5960
|
+
const __vue_inject_styles__$1p = undefined;
|
|
5961
5961
|
/* scoped */
|
|
5962
|
-
const __vue_scope_id__$
|
|
5962
|
+
const __vue_scope_id__$1p = undefined;
|
|
5963
5963
|
/* module identifier */
|
|
5964
|
-
const __vue_module_identifier__$
|
|
5964
|
+
const __vue_module_identifier__$1p = undefined;
|
|
5965
5965
|
/* functional template */
|
|
5966
|
-
const __vue_is_functional_template__$
|
|
5966
|
+
const __vue_is_functional_template__$1p = false;
|
|
5967
5967
|
/* style inject */
|
|
5968
5968
|
|
|
5969
5969
|
/* style inject SSR */
|
|
@@ -5972,17 +5972,17 @@ var __vue_staticRenderFns__$1h = [];
|
|
|
5972
5972
|
|
|
5973
5973
|
|
|
5974
5974
|
|
|
5975
|
-
const __vue_component__$
|
|
5976
|
-
{ render: __vue_render__$
|
|
5977
|
-
__vue_inject_styles__$
|
|
5978
|
-
__vue_script__$
|
|
5979
|
-
__vue_scope_id__$
|
|
5980
|
-
__vue_is_functional_template__$
|
|
5981
|
-
__vue_module_identifier__$
|
|
5975
|
+
const __vue_component__$1p = /*#__PURE__*/normalizeComponent(
|
|
5976
|
+
{ render: __vue_render__$1i, staticRenderFns: __vue_staticRenderFns__$1i },
|
|
5977
|
+
__vue_inject_styles__$1p,
|
|
5978
|
+
__vue_script__$1n,
|
|
5979
|
+
__vue_scope_id__$1p,
|
|
5980
|
+
__vue_is_functional_template__$1p,
|
|
5981
|
+
__vue_module_identifier__$1p,
|
|
5982
5982
|
false,
|
|
5983
5983
|
undefined);
|
|
5984
5984
|
|
|
5985
|
-
var script$
|
|
5985
|
+
var script$1m = {
|
|
5986
5986
|
props: {
|
|
5987
5987
|
resourceType: {
|
|
5988
5988
|
type: String,
|
|
@@ -6023,20 +6023,20 @@ var script$1l = {
|
|
|
6023
6023
|
};
|
|
6024
6024
|
|
|
6025
6025
|
/* script */
|
|
6026
|
-
const __vue_script__$
|
|
6026
|
+
const __vue_script__$1m = script$1m;
|
|
6027
6027
|
|
|
6028
6028
|
/* template */
|
|
6029
|
-
var __vue_render__$
|
|
6030
|
-
var __vue_staticRenderFns__$
|
|
6029
|
+
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()};
|
|
6030
|
+
var __vue_staticRenderFns__$1h = [];
|
|
6031
6031
|
|
|
6032
6032
|
/* style */
|
|
6033
|
-
const __vue_inject_styles__$
|
|
6033
|
+
const __vue_inject_styles__$1o = undefined;
|
|
6034
6034
|
/* scoped */
|
|
6035
|
-
const __vue_scope_id__$
|
|
6035
|
+
const __vue_scope_id__$1o = undefined;
|
|
6036
6036
|
/* module identifier */
|
|
6037
|
-
const __vue_module_identifier__$
|
|
6037
|
+
const __vue_module_identifier__$1o = undefined;
|
|
6038
6038
|
/* functional template */
|
|
6039
|
-
const __vue_is_functional_template__$
|
|
6039
|
+
const __vue_is_functional_template__$1o = false;
|
|
6040
6040
|
/* style inject */
|
|
6041
6041
|
|
|
6042
6042
|
/* style inject SSR */
|
|
@@ -6045,17 +6045,17 @@ var __vue_staticRenderFns__$1g = [];
|
|
|
6045
6045
|
|
|
6046
6046
|
|
|
6047
6047
|
|
|
6048
|
-
const __vue_component__$
|
|
6049
|
-
{ render: __vue_render__$
|
|
6050
|
-
__vue_inject_styles__$
|
|
6051
|
-
__vue_script__$
|
|
6052
|
-
__vue_scope_id__$
|
|
6053
|
-
__vue_is_functional_template__$
|
|
6054
|
-
__vue_module_identifier__$
|
|
6048
|
+
const __vue_component__$1o = /*#__PURE__*/normalizeComponent(
|
|
6049
|
+
{ render: __vue_render__$1h, staticRenderFns: __vue_staticRenderFns__$1h },
|
|
6050
|
+
__vue_inject_styles__$1o,
|
|
6051
|
+
__vue_script__$1m,
|
|
6052
|
+
__vue_scope_id__$1o,
|
|
6053
|
+
__vue_is_functional_template__$1o,
|
|
6054
|
+
__vue_module_identifier__$1o,
|
|
6055
6055
|
false,
|
|
6056
6056
|
undefined);
|
|
6057
6057
|
|
|
6058
|
-
var script$
|
|
6058
|
+
var script$1l = {
|
|
6059
6059
|
props: {
|
|
6060
6060
|
labels: {
|
|
6061
6061
|
type: Object,
|
|
@@ -6101,18 +6101,18 @@ var script$1k = {
|
|
|
6101
6101
|
};
|
|
6102
6102
|
|
|
6103
6103
|
/* script */
|
|
6104
|
-
const __vue_script__$
|
|
6104
|
+
const __vue_script__$1l = script$1l;
|
|
6105
6105
|
|
|
6106
6106
|
/* template */
|
|
6107
6107
|
|
|
6108
6108
|
/* style */
|
|
6109
|
-
const __vue_inject_styles__$
|
|
6109
|
+
const __vue_inject_styles__$1n = undefined;
|
|
6110
6110
|
/* scoped */
|
|
6111
|
-
const __vue_scope_id__$
|
|
6111
|
+
const __vue_scope_id__$1n = undefined;
|
|
6112
6112
|
/* module identifier */
|
|
6113
|
-
const __vue_module_identifier__$
|
|
6113
|
+
const __vue_module_identifier__$1n = undefined;
|
|
6114
6114
|
/* functional template */
|
|
6115
|
-
const __vue_is_functional_template__$
|
|
6115
|
+
const __vue_is_functional_template__$1n = undefined;
|
|
6116
6116
|
/* style inject */
|
|
6117
6117
|
|
|
6118
6118
|
/* style inject SSR */
|
|
@@ -6121,18 +6121,18 @@ const __vue_script__$1k = script$1k;
|
|
|
6121
6121
|
|
|
6122
6122
|
|
|
6123
6123
|
|
|
6124
|
-
const __vue_component__$
|
|
6124
|
+
const __vue_component__$1n = /*#__PURE__*/normalizeComponent(
|
|
6125
6125
|
{},
|
|
6126
|
-
__vue_inject_styles__$
|
|
6127
|
-
__vue_script__$
|
|
6128
|
-
__vue_scope_id__$
|
|
6129
|
-
__vue_is_functional_template__$
|
|
6130
|
-
__vue_module_identifier__$
|
|
6126
|
+
__vue_inject_styles__$1n,
|
|
6127
|
+
__vue_script__$1l,
|
|
6128
|
+
__vue_scope_id__$1n,
|
|
6129
|
+
__vue_is_functional_template__$1n,
|
|
6130
|
+
__vue_module_identifier__$1n,
|
|
6131
6131
|
false,
|
|
6132
6132
|
undefined);
|
|
6133
6133
|
|
|
6134
|
-
var script$
|
|
6135
|
-
extends: __vue_component__$
|
|
6134
|
+
var script$1k = {
|
|
6135
|
+
extends: __vue_component__$1n,
|
|
6136
6136
|
|
|
6137
6137
|
props: {
|
|
6138
6138
|
alt: {
|
|
@@ -6241,46 +6241,46 @@ function addStyle(id, css) {
|
|
|
6241
6241
|
}
|
|
6242
6242
|
|
|
6243
6243
|
/* script */
|
|
6244
|
-
const __vue_script__$
|
|
6244
|
+
const __vue_script__$1k = script$1k;
|
|
6245
6245
|
|
|
6246
6246
|
/* template */
|
|
6247
|
-
var __vue_render__$
|
|
6248
|
-
var __vue_staticRenderFns__$
|
|
6247
|
+
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;}}})])};
|
|
6248
|
+
var __vue_staticRenderFns__$1g = [];
|
|
6249
6249
|
|
|
6250
6250
|
/* style */
|
|
6251
|
-
const __vue_inject_styles__$
|
|
6251
|
+
const __vue_inject_styles__$1m = function (inject) {
|
|
6252
6252
|
if (!inject) return
|
|
6253
6253
|
inject("data-v-5b22ddfb_0", { source: "div[data-v-5b22ddfb]{object-fit:contain}div img.loaded[data-v-5b22ddfb]{width:auto;height:auto;display:block}div.inline img[data-v-5b22ddfb]{cursor:zoom-in}div.inline img.disable-zoom-cursor[data-v-5b22ddfb]{cursor:default}", map: undefined, media: undefined });
|
|
6254
6254
|
|
|
6255
6255
|
};
|
|
6256
6256
|
/* scoped */
|
|
6257
|
-
const __vue_scope_id__$
|
|
6257
|
+
const __vue_scope_id__$1m = "data-v-5b22ddfb";
|
|
6258
6258
|
/* module identifier */
|
|
6259
|
-
const __vue_module_identifier__$
|
|
6259
|
+
const __vue_module_identifier__$1m = undefined;
|
|
6260
6260
|
/* functional template */
|
|
6261
|
-
const __vue_is_functional_template__$
|
|
6261
|
+
const __vue_is_functional_template__$1m = false;
|
|
6262
6262
|
/* style inject SSR */
|
|
6263
6263
|
|
|
6264
6264
|
/* style inject shadow dom */
|
|
6265
6265
|
|
|
6266
6266
|
|
|
6267
6267
|
|
|
6268
|
-
const __vue_component__$
|
|
6269
|
-
{ render: __vue_render__$
|
|
6270
|
-
__vue_inject_styles__$
|
|
6271
|
-
__vue_script__$
|
|
6272
|
-
__vue_scope_id__$
|
|
6273
|
-
__vue_is_functional_template__$
|
|
6274
|
-
__vue_module_identifier__$
|
|
6268
|
+
const __vue_component__$1m = /*#__PURE__*/normalizeComponent(
|
|
6269
|
+
{ render: __vue_render__$1g, staticRenderFns: __vue_staticRenderFns__$1g },
|
|
6270
|
+
__vue_inject_styles__$1m,
|
|
6271
|
+
__vue_script__$1k,
|
|
6272
|
+
__vue_scope_id__$1m,
|
|
6273
|
+
__vue_is_functional_template__$1m,
|
|
6274
|
+
__vue_module_identifier__$1m,
|
|
6275
6275
|
false,
|
|
6276
6276
|
createInjector);
|
|
6277
6277
|
|
|
6278
|
-
var script$
|
|
6278
|
+
var script$1j = {
|
|
6279
6279
|
components: {
|
|
6280
6280
|
PhotoSwipe: vPhotoswipe.PhotoSwipe,
|
|
6281
6281
|
},
|
|
6282
6282
|
|
|
6283
|
-
extends: __vue_component__$
|
|
6283
|
+
extends: __vue_component__$1n,
|
|
6284
6284
|
|
|
6285
6285
|
data () {
|
|
6286
6286
|
return {
|
|
@@ -6336,37 +6336,37 @@ var script$1i = {
|
|
|
6336
6336
|
};
|
|
6337
6337
|
|
|
6338
6338
|
/* script */
|
|
6339
|
-
const __vue_script__$
|
|
6339
|
+
const __vue_script__$1j = script$1j;
|
|
6340
6340
|
|
|
6341
6341
|
/* template */
|
|
6342
|
-
var __vue_render__$
|
|
6343
|
-
var __vue_staticRenderFns__$
|
|
6342
|
+
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)};
|
|
6343
|
+
var __vue_staticRenderFns__$1f = [];
|
|
6344
6344
|
|
|
6345
6345
|
/* style */
|
|
6346
|
-
const __vue_inject_styles__$
|
|
6346
|
+
const __vue_inject_styles__$1l = function (inject) {
|
|
6347
6347
|
if (!inject) return
|
|
6348
6348
|
inject("data-v-40b06160_0", { source: ".popup-img-preview .pswp{pointer-events:none}.popup-img-preview .pswp .pswp__img{pointer-events:all}.popup-img-preview .pswp__top-bar{display:none!important}", map: undefined, media: undefined });
|
|
6349
6349
|
|
|
6350
6350
|
};
|
|
6351
6351
|
/* scoped */
|
|
6352
|
-
const __vue_scope_id__$
|
|
6352
|
+
const __vue_scope_id__$1l = undefined;
|
|
6353
6353
|
/* module identifier */
|
|
6354
|
-
const __vue_module_identifier__$
|
|
6354
|
+
const __vue_module_identifier__$1l = undefined;
|
|
6355
6355
|
/* functional template */
|
|
6356
|
-
const __vue_is_functional_template__$
|
|
6356
|
+
const __vue_is_functional_template__$1l = false;
|
|
6357
6357
|
/* style inject SSR */
|
|
6358
6358
|
|
|
6359
6359
|
/* style inject shadow dom */
|
|
6360
6360
|
|
|
6361
6361
|
|
|
6362
6362
|
|
|
6363
|
-
const __vue_component__$
|
|
6364
|
-
{ render: __vue_render__$
|
|
6365
|
-
__vue_inject_styles__$
|
|
6366
|
-
__vue_script__$
|
|
6367
|
-
__vue_scope_id__$
|
|
6368
|
-
__vue_is_functional_template__$
|
|
6369
|
-
__vue_module_identifier__$
|
|
6363
|
+
const __vue_component__$1l = /*#__PURE__*/normalizeComponent(
|
|
6364
|
+
{ render: __vue_render__$1f, staticRenderFns: __vue_staticRenderFns__$1f },
|
|
6365
|
+
__vue_inject_styles__$1l,
|
|
6366
|
+
__vue_script__$1j,
|
|
6367
|
+
__vue_scope_id__$1l,
|
|
6368
|
+
__vue_is_functional_template__$1l,
|
|
6369
|
+
__vue_module_identifier__$1l,
|
|
6370
6370
|
false,
|
|
6371
6371
|
createInjector);
|
|
6372
6372
|
|
|
@@ -6460,8 +6460,8 @@ function sleep (t) {
|
|
|
6460
6460
|
return new Promise(resolve => setTimeout(resolve, t))
|
|
6461
6461
|
}
|
|
6462
6462
|
|
|
6463
|
-
var script$
|
|
6464
|
-
extends: __vue_component__$
|
|
6463
|
+
var script$1i = {
|
|
6464
|
+
extends: __vue_component__$1n,
|
|
6465
6465
|
|
|
6466
6466
|
props: {
|
|
6467
6467
|
retryBackoff: {
|
|
@@ -6711,72 +6711,72 @@ var script$1h = {
|
|
|
6711
6711
|
};
|
|
6712
6712
|
|
|
6713
6713
|
/* script */
|
|
6714
|
-
const __vue_script__$
|
|
6714
|
+
const __vue_script__$1i = script$1i;
|
|
6715
6715
|
|
|
6716
6716
|
/* template */
|
|
6717
|
-
var __vue_render__$
|
|
6718
|
-
var __vue_staticRenderFns__$
|
|
6717
|
+
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()])};
|
|
6718
|
+
var __vue_staticRenderFns__$1e = [];
|
|
6719
6719
|
|
|
6720
6720
|
/* style */
|
|
6721
|
-
const __vue_inject_styles__$
|
|
6721
|
+
const __vue_inject_styles__$1k = function (inject) {
|
|
6722
6722
|
if (!inject) return
|
|
6723
6723
|
inject("data-v-6b03f585_0", { source: ".doc-msg[data-v-6b03f585]{display:flex;align-items:center;justify-content:center;height:100%;width:100%;background-color:var(--white)}.doc-err[data-v-6b03f585]{cursor:pointer}.doc-err .err-message[data-v-6b03f585]{color:var(--danger)}", map: undefined, media: undefined })
|
|
6724
6724
|
,inject("data-v-6b03f585_1", { source: ".pdf-preview{text-align:center;width:100%;height:auto}.pdf-preview.inline{cursor:zoom-in}.pdf-preview.inline canvas{width:100%;height:auto}.pdf-preview canvas{margin-bottom:10px;box-shadow:0 0 3px rgba(30,30,30,.2549019608);width:80%;height:auto}.pdf-preview canvas:last-of-type{margin-bottom:unset}.pdf-preview .loader{margin-bottom:10px}", map: undefined, media: undefined });
|
|
6725
6725
|
|
|
6726
6726
|
};
|
|
6727
6727
|
/* scoped */
|
|
6728
|
-
const __vue_scope_id__$
|
|
6728
|
+
const __vue_scope_id__$1k = "data-v-6b03f585";
|
|
6729
6729
|
/* module identifier */
|
|
6730
|
-
const __vue_module_identifier__$
|
|
6730
|
+
const __vue_module_identifier__$1k = undefined;
|
|
6731
6731
|
/* functional template */
|
|
6732
|
-
const __vue_is_functional_template__$
|
|
6732
|
+
const __vue_is_functional_template__$1k = false;
|
|
6733
6733
|
/* style inject SSR */
|
|
6734
6734
|
|
|
6735
6735
|
/* style inject shadow dom */
|
|
6736
6736
|
|
|
6737
6737
|
|
|
6738
6738
|
|
|
6739
|
-
const __vue_component__$
|
|
6740
|
-
{ render: __vue_render__$
|
|
6741
|
-
__vue_inject_styles__$
|
|
6742
|
-
__vue_script__$
|
|
6743
|
-
__vue_scope_id__$
|
|
6744
|
-
__vue_is_functional_template__$
|
|
6745
|
-
__vue_module_identifier__$
|
|
6739
|
+
const __vue_component__$1k = /*#__PURE__*/normalizeComponent(
|
|
6740
|
+
{ render: __vue_render__$1e, staticRenderFns: __vue_staticRenderFns__$1e },
|
|
6741
|
+
__vue_inject_styles__$1k,
|
|
6742
|
+
__vue_script__$1i,
|
|
6743
|
+
__vue_scope_id__$1k,
|
|
6744
|
+
__vue_is_functional_template__$1k,
|
|
6745
|
+
__vue_module_identifier__$1k,
|
|
6746
6746
|
false,
|
|
6747
6747
|
createInjector);
|
|
6748
6748
|
|
|
6749
6749
|
/* script */
|
|
6750
6750
|
|
|
6751
6751
|
/* template */
|
|
6752
|
-
var __vue_render__$
|
|
6753
|
-
var __vue_staticRenderFns__$
|
|
6752
|
+
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)])};
|
|
6753
|
+
var __vue_staticRenderFns__$1d = [];
|
|
6754
6754
|
|
|
6755
6755
|
/* style */
|
|
6756
|
-
const __vue_inject_styles__$
|
|
6756
|
+
const __vue_inject_styles__$1j = function (inject) {
|
|
6757
6757
|
if (!inject) return
|
|
6758
6758
|
inject("data-v-30782d92_0", { source: ".lightbox[data-v-30782d92]{position:fixed;left:0;top:0;right:0;bottom:0;background-color:#eef1f3;z-index:2000}.lightbox header[data-v-30782d92]{display:flex;justify-content:space-between;background-color:#fff;position:absolute;left:0;top:0;right:0;box-shadow:0 0 3px #1e1E1E41;z-index:1000;height:50px}.lightbox header .left[data-v-30782d92]{margin-left:10px}.lightbox header .right[data-v-30782d92]{margin-right:10px}.lightbox header>div[data-v-30782d92]{display:flex;align-items:center}.lightbox main[data-v-30782d92]{position:absolute;top:50px;left:0;right:0;bottom:0;overflow-y:scroll;z-index:1}.lightbox header button[data-v-30782d92]{background-color:transparent;border:none;outline:0;font-size:25px;font-weight:700;margin:10px;cursor:pointer;box-sizing:border-box}.lightbox header button[data-v-30782d92]:last-of-type{margin-right:0}", map: undefined, media: undefined });
|
|
6759
6759
|
|
|
6760
6760
|
};
|
|
6761
6761
|
/* scoped */
|
|
6762
|
-
const __vue_scope_id__$
|
|
6762
|
+
const __vue_scope_id__$1j = "data-v-30782d92";
|
|
6763
6763
|
/* module identifier */
|
|
6764
|
-
const __vue_module_identifier__$
|
|
6764
|
+
const __vue_module_identifier__$1j = undefined;
|
|
6765
6765
|
/* functional template */
|
|
6766
|
-
const __vue_is_functional_template__$
|
|
6766
|
+
const __vue_is_functional_template__$1j = false;
|
|
6767
6767
|
/* style inject SSR */
|
|
6768
6768
|
|
|
6769
6769
|
/* style inject shadow dom */
|
|
6770
6770
|
|
|
6771
6771
|
|
|
6772
6772
|
|
|
6773
|
-
const __vue_component__$
|
|
6774
|
-
{ render: __vue_render__$
|
|
6775
|
-
__vue_inject_styles__$
|
|
6773
|
+
const __vue_component__$1j = /*#__PURE__*/normalizeComponent(
|
|
6774
|
+
{ render: __vue_render__$1d, staticRenderFns: __vue_staticRenderFns__$1d },
|
|
6775
|
+
__vue_inject_styles__$1j,
|
|
6776
6776
|
{},
|
|
6777
|
-
__vue_scope_id__$
|
|
6778
|
-
__vue_is_functional_template__$
|
|
6779
|
-
__vue_module_identifier__$
|
|
6777
|
+
__vue_scope_id__$1j,
|
|
6778
|
+
__vue_is_functional_template__$1j,
|
|
6779
|
+
__vue_module_identifier__$1j,
|
|
6780
6780
|
false,
|
|
6781
6781
|
createInjector);
|
|
6782
6782
|
|
|
@@ -6831,7 +6831,7 @@ var canPreview = function canPreview(_ref2) {
|
|
|
6831
6831
|
});
|
|
6832
6832
|
};
|
|
6833
6833
|
|
|
6834
|
-
var script$
|
|
6834
|
+
var script$1h = {
|
|
6835
6835
|
inheritAttrs: false,
|
|
6836
6836
|
|
|
6837
6837
|
props: {
|
|
@@ -6853,18 +6853,18 @@ var script$1g = {
|
|
|
6853
6853
|
};
|
|
6854
6854
|
|
|
6855
6855
|
/* script */
|
|
6856
|
-
const __vue_script__$
|
|
6856
|
+
const __vue_script__$1h = script$1h;
|
|
6857
6857
|
|
|
6858
6858
|
/* template */
|
|
6859
6859
|
|
|
6860
6860
|
/* style */
|
|
6861
|
-
const __vue_inject_styles__$
|
|
6861
|
+
const __vue_inject_styles__$1i = undefined;
|
|
6862
6862
|
/* scoped */
|
|
6863
|
-
const __vue_scope_id__$
|
|
6863
|
+
const __vue_scope_id__$1i = undefined;
|
|
6864
6864
|
/* module identifier */
|
|
6865
|
-
const __vue_module_identifier__$
|
|
6865
|
+
const __vue_module_identifier__$1i = undefined;
|
|
6866
6866
|
/* functional template */
|
|
6867
|
-
const __vue_is_functional_template__$
|
|
6867
|
+
const __vue_is_functional_template__$1i = undefined;
|
|
6868
6868
|
/* style inject */
|
|
6869
6869
|
|
|
6870
6870
|
/* style inject SSR */
|
|
@@ -6873,41 +6873,41 @@ const __vue_script__$1g = script$1g;
|
|
|
6873
6873
|
|
|
6874
6874
|
|
|
6875
6875
|
|
|
6876
|
-
const __vue_component__$
|
|
6876
|
+
const __vue_component__$1i = /*#__PURE__*/normalizeComponent(
|
|
6877
6877
|
{},
|
|
6878
|
-
__vue_inject_styles__$
|
|
6879
|
-
__vue_script__$
|
|
6880
|
-
__vue_scope_id__$
|
|
6881
|
-
__vue_is_functional_template__$
|
|
6882
|
-
__vue_module_identifier__$
|
|
6878
|
+
__vue_inject_styles__$1i,
|
|
6879
|
+
__vue_script__$1h,
|
|
6880
|
+
__vue_scope_id__$1i,
|
|
6881
|
+
__vue_is_functional_template__$1i,
|
|
6882
|
+
__vue_module_identifier__$1i,
|
|
6883
6883
|
false,
|
|
6884
6884
|
undefined);
|
|
6885
6885
|
|
|
6886
|
-
var script$
|
|
6886
|
+
var script$1g = {
|
|
6887
6887
|
components: {
|
|
6888
|
-
CLightbox: __vue_component__$
|
|
6889
|
-
IMG: __vue_component__$
|
|
6890
|
-
PDF: __vue_component__$
|
|
6888
|
+
CLightbox: __vue_component__$1j,
|
|
6889
|
+
IMG: __vue_component__$1l,
|
|
6890
|
+
PDF: __vue_component__$1k,
|
|
6891
6891
|
},
|
|
6892
6892
|
|
|
6893
|
-
extends: __vue_component__$
|
|
6893
|
+
extends: __vue_component__$1i,
|
|
6894
6894
|
};
|
|
6895
6895
|
|
|
6896
6896
|
/* script */
|
|
6897
|
-
const __vue_script__$
|
|
6897
|
+
const __vue_script__$1g = script$1g;
|
|
6898
6898
|
|
|
6899
6899
|
/* template */
|
|
6900
|
-
var __vue_render__$
|
|
6901
|
-
var __vue_staticRenderFns__$
|
|
6900
|
+
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)};
|
|
6901
|
+
var __vue_staticRenderFns__$1c = [];
|
|
6902
6902
|
|
|
6903
6903
|
/* style */
|
|
6904
|
-
const __vue_inject_styles__$
|
|
6904
|
+
const __vue_inject_styles__$1h = undefined;
|
|
6905
6905
|
/* scoped */
|
|
6906
|
-
const __vue_scope_id__$
|
|
6906
|
+
const __vue_scope_id__$1h = undefined;
|
|
6907
6907
|
/* module identifier */
|
|
6908
|
-
const __vue_module_identifier__$
|
|
6908
|
+
const __vue_module_identifier__$1h = undefined;
|
|
6909
6909
|
/* functional template */
|
|
6910
|
-
const __vue_is_functional_template__$
|
|
6910
|
+
const __vue_is_functional_template__$1h = false;
|
|
6911
6911
|
/* style inject */
|
|
6912
6912
|
|
|
6913
6913
|
/* style inject SSR */
|
|
@@ -6916,40 +6916,40 @@ var __vue_staticRenderFns__$1b = [];
|
|
|
6916
6916
|
|
|
6917
6917
|
|
|
6918
6918
|
|
|
6919
|
-
const __vue_component__$
|
|
6920
|
-
{ render: __vue_render__$
|
|
6921
|
-
__vue_inject_styles__$
|
|
6922
|
-
__vue_script__$
|
|
6923
|
-
__vue_scope_id__$
|
|
6924
|
-
__vue_is_functional_template__$
|
|
6925
|
-
__vue_module_identifier__$
|
|
6919
|
+
const __vue_component__$1h = /*#__PURE__*/normalizeComponent(
|
|
6920
|
+
{ render: __vue_render__$1c, staticRenderFns: __vue_staticRenderFns__$1c },
|
|
6921
|
+
__vue_inject_styles__$1h,
|
|
6922
|
+
__vue_script__$1g,
|
|
6923
|
+
__vue_scope_id__$1h,
|
|
6924
|
+
__vue_is_functional_template__$1h,
|
|
6925
|
+
__vue_module_identifier__$1h,
|
|
6926
6926
|
false,
|
|
6927
6927
|
undefined);
|
|
6928
6928
|
|
|
6929
|
-
var script$
|
|
6929
|
+
var script$1f = {
|
|
6930
6930
|
components: {
|
|
6931
|
-
IMG: __vue_component__$
|
|
6932
|
-
PDF: __vue_component__$
|
|
6931
|
+
IMG: __vue_component__$1m,
|
|
6932
|
+
PDF: __vue_component__$1k,
|
|
6933
6933
|
},
|
|
6934
6934
|
|
|
6935
|
-
extends: __vue_component__$
|
|
6935
|
+
extends: __vue_component__$1i,
|
|
6936
6936
|
};
|
|
6937
6937
|
|
|
6938
6938
|
/* script */
|
|
6939
|
-
const __vue_script__$
|
|
6939
|
+
const __vue_script__$1f = script$1f;
|
|
6940
6940
|
|
|
6941
6941
|
/* template */
|
|
6942
|
-
var __vue_render__$
|
|
6943
|
-
var __vue_staticRenderFns__$
|
|
6942
|
+
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)])};
|
|
6943
|
+
var __vue_staticRenderFns__$1b = [];
|
|
6944
6944
|
|
|
6945
6945
|
/* style */
|
|
6946
|
-
const __vue_inject_styles__$
|
|
6946
|
+
const __vue_inject_styles__$1g = undefined;
|
|
6947
6947
|
/* scoped */
|
|
6948
|
-
const __vue_scope_id__$
|
|
6948
|
+
const __vue_scope_id__$1g = undefined;
|
|
6949
6949
|
/* module identifier */
|
|
6950
|
-
const __vue_module_identifier__$
|
|
6950
|
+
const __vue_module_identifier__$1g = undefined;
|
|
6951
6951
|
/* functional template */
|
|
6952
|
-
const __vue_is_functional_template__$
|
|
6952
|
+
const __vue_is_functional_template__$1g = false;
|
|
6953
6953
|
/* style inject */
|
|
6954
6954
|
|
|
6955
6955
|
/* style inject SSR */
|
|
@@ -6958,17 +6958,17 @@ var __vue_staticRenderFns__$1a = [];
|
|
|
6958
6958
|
|
|
6959
6959
|
|
|
6960
6960
|
|
|
6961
|
-
const __vue_component__$
|
|
6962
|
-
{ render: __vue_render__$
|
|
6963
|
-
__vue_inject_styles__$
|
|
6964
|
-
__vue_script__$
|
|
6965
|
-
__vue_scope_id__$
|
|
6966
|
-
__vue_is_functional_template__$
|
|
6967
|
-
__vue_module_identifier__$
|
|
6961
|
+
const __vue_component__$1g = /*#__PURE__*/normalizeComponent(
|
|
6962
|
+
{ render: __vue_render__$1b, staticRenderFns: __vue_staticRenderFns__$1b },
|
|
6963
|
+
__vue_inject_styles__$1g,
|
|
6964
|
+
__vue_script__$1f,
|
|
6965
|
+
__vue_scope_id__$1g,
|
|
6966
|
+
__vue_is_functional_template__$1g,
|
|
6967
|
+
__vue_module_identifier__$1g,
|
|
6968
6968
|
false,
|
|
6969
6969
|
undefined);
|
|
6970
6970
|
|
|
6971
|
-
var script$
|
|
6971
|
+
var script$1e = {
|
|
6972
6972
|
props: {
|
|
6973
6973
|
disabled: Boolean,
|
|
6974
6974
|
okDisabled: Boolean,
|
|
@@ -7071,20 +7071,20 @@ var script$1d = {
|
|
|
7071
7071
|
};
|
|
7072
7072
|
|
|
7073
7073
|
/* script */
|
|
7074
|
-
const __vue_script__$
|
|
7074
|
+
const __vue_script__$1e = script$1e;
|
|
7075
7075
|
|
|
7076
7076
|
/* template */
|
|
7077
|
-
var __vue_render__$
|
|
7078
|
-
var __vue_staticRenderFns__$
|
|
7077
|
+
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)};
|
|
7078
|
+
var __vue_staticRenderFns__$1a = [];
|
|
7079
7079
|
|
|
7080
7080
|
/* style */
|
|
7081
|
-
const __vue_inject_styles__$
|
|
7081
|
+
const __vue_inject_styles__$1f = undefined;
|
|
7082
7082
|
/* scoped */
|
|
7083
|
-
const __vue_scope_id__$
|
|
7083
|
+
const __vue_scope_id__$1f = undefined;
|
|
7084
7084
|
/* module identifier */
|
|
7085
|
-
const __vue_module_identifier__$
|
|
7085
|
+
const __vue_module_identifier__$1f = undefined;
|
|
7086
7086
|
/* functional template */
|
|
7087
|
-
const __vue_is_functional_template__$
|
|
7087
|
+
const __vue_is_functional_template__$1f = false;
|
|
7088
7088
|
/* style inject */
|
|
7089
7089
|
|
|
7090
7090
|
/* style inject SSR */
|
|
@@ -7093,16 +7093,16 @@ var __vue_staticRenderFns__$19 = [];
|
|
|
7093
7093
|
|
|
7094
7094
|
|
|
7095
7095
|
|
|
7096
|
-
const __vue_component__$
|
|
7097
|
-
{ render: __vue_render__$
|
|
7098
|
-
__vue_inject_styles__$
|
|
7099
|
-
__vue_script__$
|
|
7100
|
-
__vue_scope_id__$
|
|
7101
|
-
__vue_is_functional_template__$
|
|
7102
|
-
__vue_module_identifier__$
|
|
7103
|
-
false,
|
|
7104
|
-
undefined);
|
|
7105
|
-
|
|
7096
|
+
const __vue_component__$1f = /*#__PURE__*/normalizeComponent(
|
|
7097
|
+
{ render: __vue_render__$1a, staticRenderFns: __vue_staticRenderFns__$1a },
|
|
7098
|
+
__vue_inject_styles__$1f,
|
|
7099
|
+
__vue_script__$1e,
|
|
7100
|
+
__vue_scope_id__$1f,
|
|
7101
|
+
__vue_is_functional_template__$1f,
|
|
7102
|
+
__vue_module_identifier__$1f,
|
|
7103
|
+
false,
|
|
7104
|
+
undefined);
|
|
7105
|
+
|
|
7106
7106
|
//
|
|
7107
7107
|
//
|
|
7108
7108
|
//
|
|
@@ -7122,7 +7122,7 @@ var __vue_staticRenderFns__$19 = [];
|
|
|
7122
7122
|
//
|
|
7123
7123
|
//
|
|
7124
7124
|
|
|
7125
|
-
var script$
|
|
7125
|
+
var script$1d = {
|
|
7126
7126
|
props: {
|
|
7127
7127
|
variant: {
|
|
7128
7128
|
type: String,
|
|
@@ -7144,20 +7144,20 @@ var script$1c = {
|
|
|
7144
7144
|
};
|
|
7145
7145
|
|
|
7146
7146
|
/* script */
|
|
7147
|
-
const __vue_script__$
|
|
7147
|
+
const __vue_script__$1d = script$1d;
|
|
7148
7148
|
|
|
7149
7149
|
/* template */
|
|
7150
|
-
var __vue_render__$
|
|
7151
|
-
var __vue_staticRenderFns__$
|
|
7150
|
+
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)};
|
|
7151
|
+
var __vue_staticRenderFns__$19 = [];
|
|
7152
7152
|
|
|
7153
7153
|
/* style */
|
|
7154
|
-
const __vue_inject_styles__$
|
|
7154
|
+
const __vue_inject_styles__$1e = undefined;
|
|
7155
7155
|
/* scoped */
|
|
7156
|
-
const __vue_scope_id__$
|
|
7156
|
+
const __vue_scope_id__$1e = undefined;
|
|
7157
7157
|
/* module identifier */
|
|
7158
|
-
const __vue_module_identifier__$
|
|
7158
|
+
const __vue_module_identifier__$1e = undefined;
|
|
7159
7159
|
/* functional template */
|
|
7160
|
-
const __vue_is_functional_template__$
|
|
7160
|
+
const __vue_is_functional_template__$1e = false;
|
|
7161
7161
|
/* style inject */
|
|
7162
7162
|
|
|
7163
7163
|
/* style inject SSR */
|
|
@@ -7166,13 +7166,13 @@ var __vue_staticRenderFns__$18 = [];
|
|
|
7166
7166
|
|
|
7167
7167
|
|
|
7168
7168
|
|
|
7169
|
-
const __vue_component__$
|
|
7170
|
-
{ render: __vue_render__$
|
|
7171
|
-
__vue_inject_styles__$
|
|
7172
|
-
__vue_script__$
|
|
7173
|
-
__vue_scope_id__$
|
|
7174
|
-
__vue_is_functional_template__$
|
|
7175
|
-
__vue_module_identifier__$
|
|
7169
|
+
const __vue_component__$1e = /*#__PURE__*/normalizeComponent(
|
|
7170
|
+
{ render: __vue_render__$19, staticRenderFns: __vue_staticRenderFns__$19 },
|
|
7171
|
+
__vue_inject_styles__$1e,
|
|
7172
|
+
__vue_script__$1d,
|
|
7173
|
+
__vue_scope_id__$1e,
|
|
7174
|
+
__vue_is_functional_template__$1e,
|
|
7175
|
+
__vue_module_identifier__$1e,
|
|
7176
7176
|
false,
|
|
7177
7177
|
undefined);
|
|
7178
7178
|
|
|
@@ -7220,7 +7220,7 @@ function setTime(time, value, noDate = false, noTime = false) {
|
|
|
7220
7220
|
return moment(date + ' ' + time, 'YYYY-MM-DD HH:mm').utc().format();
|
|
7221
7221
|
}
|
|
7222
7222
|
|
|
7223
|
-
var script$
|
|
7223
|
+
var script$1c = {
|
|
7224
7224
|
props: {
|
|
7225
7225
|
value: {
|
|
7226
7226
|
type: [String, Date],
|
|
@@ -7305,37 +7305,37 @@ var script$1b = {
|
|
|
7305
7305
|
};
|
|
7306
7306
|
|
|
7307
7307
|
/* script */
|
|
7308
|
-
const __vue_script__$
|
|
7308
|
+
const __vue_script__$1c = script$1c;
|
|
7309
7309
|
|
|
7310
7310
|
/* template */
|
|
7311
|
-
var __vue_render__$
|
|
7312
|
-
var __vue_staticRenderFns__$
|
|
7311
|
+
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)};
|
|
7312
|
+
var __vue_staticRenderFns__$18 = [];
|
|
7313
7313
|
|
|
7314
7314
|
/* style */
|
|
7315
|
-
const __vue_inject_styles__$
|
|
7315
|
+
const __vue_inject_styles__$1d = function (inject) {
|
|
7316
7316
|
if (!inject) return
|
|
7317
7317
|
inject("data-v-7de35dbd_0", { source: ".c-input-date-time{min-width:120px}.c-input-date-time .btn{padding:.25rem .5rem}.c-input-date-time label{font-family:var(--font-regular);color:var(--black)!important}.c-input-date-time .b-form-datepicker,.c-input-date-time .b-form-timepicker{flex:1 0 130px}.c-input-date-time .b-calendar-inner{background-color:var(--white)}.c-input-date-time .b-calendar-inner .b-calendar-grid-body{height:14rem;display:flex;flex-direction:column;justify-content:center}", map: undefined, media: undefined });
|
|
7318
7318
|
|
|
7319
7319
|
};
|
|
7320
7320
|
/* scoped */
|
|
7321
|
-
const __vue_scope_id__$
|
|
7321
|
+
const __vue_scope_id__$1d = undefined;
|
|
7322
7322
|
/* module identifier */
|
|
7323
|
-
const __vue_module_identifier__$
|
|
7323
|
+
const __vue_module_identifier__$1d = undefined;
|
|
7324
7324
|
/* functional template */
|
|
7325
|
-
const __vue_is_functional_template__$
|
|
7325
|
+
const __vue_is_functional_template__$1d = false;
|
|
7326
7326
|
/* style inject SSR */
|
|
7327
7327
|
|
|
7328
7328
|
/* style inject shadow dom */
|
|
7329
7329
|
|
|
7330
7330
|
|
|
7331
7331
|
|
|
7332
|
-
const __vue_component__$
|
|
7333
|
-
{ render: __vue_render__$
|
|
7334
|
-
__vue_inject_styles__$
|
|
7335
|
-
__vue_script__$
|
|
7336
|
-
__vue_scope_id__$
|
|
7337
|
-
__vue_is_functional_template__$
|
|
7338
|
-
__vue_module_identifier__$
|
|
7332
|
+
const __vue_component__$1d = /*#__PURE__*/normalizeComponent(
|
|
7333
|
+
{ render: __vue_render__$18, staticRenderFns: __vue_staticRenderFns__$18 },
|
|
7334
|
+
__vue_inject_styles__$1d,
|
|
7335
|
+
__vue_script__$1c,
|
|
7336
|
+
__vue_scope_id__$1d,
|
|
7337
|
+
__vue_is_functional_template__$1d,
|
|
7338
|
+
__vue_module_identifier__$1d,
|
|
7339
7339
|
false,
|
|
7340
7340
|
createInjector);
|
|
7341
7341
|
|
|
@@ -7419,7 +7419,7 @@ n(css$4,{});
|
|
|
7419
7419
|
//
|
|
7420
7420
|
|
|
7421
7421
|
|
|
7422
|
-
var script$
|
|
7422
|
+
var script$1b = {
|
|
7423
7423
|
name: 'CInputSelect',
|
|
7424
7424
|
|
|
7425
7425
|
components: {
|
|
@@ -7586,40 +7586,40 @@ var script$1a = {
|
|
|
7586
7586
|
};
|
|
7587
7587
|
|
|
7588
7588
|
/* script */
|
|
7589
|
-
const __vue_script__$
|
|
7589
|
+
const __vue_script__$1b = script$1b;
|
|
7590
7590
|
|
|
7591
7591
|
/* template */
|
|
7592
|
-
var __vue_render__$
|
|
7592
|
+
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){
|
|
7593
7593
|
var option = ref.option;
|
|
7594
7594
|
var deselect = ref.deselect;
|
|
7595
7595
|
return [_c('span',{staticClass:"d-flex align-items-center badge badge-pill mx-1 mt-1 w-auto",style:(_vm.getOptionStyle(option))},[_vm._v("\n "+_vm._s(option.text)+"\n\n "),_c('font-awesome-icon',{staticClass:"pointer ml-2",attrs:{"icon":['fas', 'times']},on:{"click":function($event){return deselect(option)}}})],1)]}}:null],null,true),model:{value:(_vm._value),callback:function ($$v) {_vm._value=$$v;},expression:"_value"}},'vue-select',_vm.$attrs,false))};
|
|
7596
|
-
var __vue_staticRenderFns__$
|
|
7596
|
+
var __vue_staticRenderFns__$17 = [];
|
|
7597
7597
|
|
|
7598
7598
|
/* style */
|
|
7599
|
-
const __vue_inject_styles__$
|
|
7599
|
+
const __vue_inject_styles__$1c = function (inject) {
|
|
7600
7600
|
if (!inject) return
|
|
7601
7601
|
inject("data-v-0fdac2b1_0", { source: ":root{--vs-dropdown-bg:var(--white);--vs-dropdown-option--active-bg:var(--light);--vs-state-disabled-color:var(--secondary);--vs-state-disabled-bg:var(--light);--vs-colors--light:var(--black);--vs-colors--dark:var(--black);--vs-dropdown-option-color:var(--black);--vs-dropdown-option--active-color:var(--black);--vs-selected-bg:var(--extra-light);--vs-search-input-color:var(--secondary);--vs-search-input-bg:var(--white)}.v-select{min-width:auto;position:relative;-ms-flex:1 1 auto;flex:1 1 auto;margin-bottom:0;font-size:.9rem!important;font-family:var(--font-regular)}.v-select .vs__selected-options{width:0;padding:0}.v-select .vs__selected{display:block;white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden;border:0;color:var(--black)}.v-select .vs__search{font-size:.9rem;border:0;padding:0 2px;padding-top:.375rem;margin:0}.v-select:not(.vs--open):not(.vs--loading) .vs__selected+.vs__search{width:0;margin:0;border:none;padding:0;height:0}.v-select .vs__dropdown-toggle{min-height:calc(1.5em + .75rem + 4px);padding:.375rem calc(.75rem - 2px);padding-top:0!important;border-width:2px;border-color:var(--extra-light)}.v-select .vs__dropdown-toggle .vs__selected{margin-top:.375rem;padding:0 2px}.v-select .vs__dropdown-toggle .vs__actions{padding-top:.375rem;padding-right:0}.v-select .vs__clear,.v-select .vs__open-indicator{fill:var(--black);display:inline-flex}.v-select .vs__clear{padding:0;border:0;background-color:transparent;cursor:pointer;margin-right:8px}.v-select.vs--single .vs__selected{margin-left:0;margin-right:0}.vs--open .vs__dropdown-toggle{border-color:var(--primary);border-radius:.25rem!important}.input-group>.v-select:not(:last-child) .vs__dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.vs__spinner{border:.7em solid var(--dark);border-left-color:var(--white)}.vs__spinner,.vs__spinner::after{width:4em;height:4em}.vs__dropdown-menu{z-index:1100}.vs__dropdown-menu .vs__dropdown-option.vs__dropdown-option--selected{background:var(--vs-dropdown-option--active-bg);color:var(--vs-dropdown-option--active-color)}.vs__dropdown-menu .vs__dropdown-option.vs__dropdown-option--disabled{cursor:var(--vs-state-disabled-cursor)!important;opacity:.5}.vs__dropdown-menu .vs__dropdown-option:active{color:var(--white);background-color:var(--primary)}.c-input-sm{font-size:.7875rem!important}.c-input-sm .vs__search{font-size:.7875rem;padding-top:.25rem}.c-input-sm .vs__dropdown-toggle{min-height:calc(1.5em + .5rem + 4px);padding:.25rem calc(.5rem - 2px);border-radius:.2rem}.c-input-sm .vs__dropdown-toggle .vs__selected{margin-top:.25rem}.c-input-sm .vs__dropdown-toggle .vs__actions{padding-top:.25rem}.c-input-lg{font-size:1.125rem!important}.c-input-lg .vs__search{font-size:1.125rem;padding-top:.5rem}.c-input-lg .vs__dropdown-toggle{min-height:calc(1.5em + 1rem + 4px);padding:.5rem calc(1rem - 2px);border-radius:.3rem}.c-input-lg .vs__dropdown-toggle .vs__selected{margin-top:.5rem}.c-input-lg .vs__dropdown-toggle .vs__actions{padding-top:.5rem}", map: undefined, media: undefined });
|
|
7602
7602
|
|
|
7603
7603
|
};
|
|
7604
7604
|
/* scoped */
|
|
7605
|
-
const __vue_scope_id__$
|
|
7605
|
+
const __vue_scope_id__$1c = undefined;
|
|
7606
7606
|
/* module identifier */
|
|
7607
|
-
const __vue_module_identifier__$
|
|
7607
|
+
const __vue_module_identifier__$1c = undefined;
|
|
7608
7608
|
/* functional template */
|
|
7609
|
-
const __vue_is_functional_template__$
|
|
7609
|
+
const __vue_is_functional_template__$1c = false;
|
|
7610
7610
|
/* style inject SSR */
|
|
7611
7611
|
|
|
7612
7612
|
/* style inject shadow dom */
|
|
7613
7613
|
|
|
7614
7614
|
|
|
7615
7615
|
|
|
7616
|
-
const __vue_component__$
|
|
7617
|
-
{ render: __vue_render__$
|
|
7618
|
-
__vue_inject_styles__$
|
|
7619
|
-
__vue_script__$
|
|
7620
|
-
__vue_scope_id__$
|
|
7621
|
-
__vue_is_functional_template__$
|
|
7622
|
-
__vue_module_identifier__$
|
|
7616
|
+
const __vue_component__$1c = /*#__PURE__*/normalizeComponent(
|
|
7617
|
+
{ render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
|
|
7618
|
+
__vue_inject_styles__$1c,
|
|
7619
|
+
__vue_script__$1b,
|
|
7620
|
+
__vue_scope_id__$1c,
|
|
7621
|
+
__vue_is_functional_template__$1c,
|
|
7622
|
+
__vue_module_identifier__$1c,
|
|
7623
7623
|
false,
|
|
7624
7624
|
createInjector);
|
|
7625
7625
|
|
|
@@ -7656,7 +7656,7 @@ var __vue_staticRenderFns__$16 = [];
|
|
|
7656
7656
|
//
|
|
7657
7657
|
//
|
|
7658
7658
|
|
|
7659
|
-
var script$
|
|
7659
|
+
var script$1a = {
|
|
7660
7660
|
name: 'CFormTableWrapper',
|
|
7661
7661
|
|
|
7662
7662
|
props: {
|
|
@@ -7693,37 +7693,37 @@ var script$19 = {
|
|
|
7693
7693
|
};
|
|
7694
7694
|
|
|
7695
7695
|
/* script */
|
|
7696
|
-
const __vue_script__$
|
|
7696
|
+
const __vue_script__$1a = script$1a;
|
|
7697
7697
|
|
|
7698
7698
|
/* template */
|
|
7699
|
-
var __vue_render__$
|
|
7700
|
-
var __vue_staticRenderFns__$
|
|
7699
|
+
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)};
|
|
7700
|
+
var __vue_staticRenderFns__$16 = [];
|
|
7701
7701
|
|
|
7702
7702
|
/* style */
|
|
7703
|
-
const __vue_inject_styles__$
|
|
7703
|
+
const __vue_inject_styles__$1b = function (inject) {
|
|
7704
7704
|
if (!inject) return
|
|
7705
7705
|
inject("data-v-7ae53668_0", { source: ".list-background[data-v-7ae53668]{background-color:var(--body-bg)}", map: undefined, media: undefined });
|
|
7706
7706
|
|
|
7707
7707
|
};
|
|
7708
7708
|
/* scoped */
|
|
7709
|
-
const __vue_scope_id__$
|
|
7709
|
+
const __vue_scope_id__$1b = "data-v-7ae53668";
|
|
7710
7710
|
/* module identifier */
|
|
7711
|
-
const __vue_module_identifier__$
|
|
7711
|
+
const __vue_module_identifier__$1b = undefined;
|
|
7712
7712
|
/* functional template */
|
|
7713
|
-
const __vue_is_functional_template__$
|
|
7713
|
+
const __vue_is_functional_template__$1b = false;
|
|
7714
7714
|
/* style inject SSR */
|
|
7715
7715
|
|
|
7716
7716
|
/* style inject shadow dom */
|
|
7717
7717
|
|
|
7718
7718
|
|
|
7719
7719
|
|
|
7720
|
-
const __vue_component__$
|
|
7721
|
-
{ render: __vue_render__$
|
|
7722
|
-
__vue_inject_styles__$
|
|
7723
|
-
__vue_script__$
|
|
7724
|
-
__vue_scope_id__$
|
|
7725
|
-
__vue_is_functional_template__$
|
|
7726
|
-
__vue_module_identifier__$
|
|
7720
|
+
const __vue_component__$1b = /*#__PURE__*/normalizeComponent(
|
|
7721
|
+
{ render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
|
|
7722
|
+
__vue_inject_styles__$1b,
|
|
7723
|
+
__vue_script__$1a,
|
|
7724
|
+
__vue_scope_id__$1b,
|
|
7725
|
+
__vue_is_functional_template__$1b,
|
|
7726
|
+
__vue_module_identifier__$1b,
|
|
7727
7727
|
false,
|
|
7728
7728
|
createInjector);
|
|
7729
7729
|
|
|
@@ -7831,11 +7831,11 @@ var __vue_staticRenderFns__$15 = [];
|
|
|
7831
7831
|
//
|
|
7832
7832
|
|
|
7833
7833
|
|
|
7834
|
-
var script$
|
|
7834
|
+
var script$19 = {
|
|
7835
7835
|
components: {
|
|
7836
7836
|
Draggable,
|
|
7837
|
-
CInputSelect: __vue_component__$
|
|
7838
|
-
CFormTableWrapper: __vue_component__$
|
|
7837
|
+
CInputSelect: __vue_component__$1c,
|
|
7838
|
+
CFormTableWrapper: __vue_component__$1b,
|
|
7839
7839
|
},
|
|
7840
7840
|
|
|
7841
7841
|
props: {
|
|
@@ -7945,20 +7945,20 @@ var script$18 = {
|
|
|
7945
7945
|
};
|
|
7946
7946
|
|
|
7947
7947
|
/* script */
|
|
7948
|
-
const __vue_script__$
|
|
7948
|
+
const __vue_script__$19 = script$19;
|
|
7949
7949
|
|
|
7950
7950
|
/* template */
|
|
7951
|
-
var __vue_render__$
|
|
7952
|
-
var __vue_staticRenderFns__$
|
|
7951
|
+
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)};
|
|
7952
|
+
var __vue_staticRenderFns__$15 = [];
|
|
7953
7953
|
|
|
7954
7954
|
/* style */
|
|
7955
|
-
const __vue_inject_styles__$
|
|
7955
|
+
const __vue_inject_styles__$1a = undefined;
|
|
7956
7956
|
/* scoped */
|
|
7957
|
-
const __vue_scope_id__$
|
|
7957
|
+
const __vue_scope_id__$1a = undefined;
|
|
7958
7958
|
/* module identifier */
|
|
7959
|
-
const __vue_module_identifier__$
|
|
7959
|
+
const __vue_module_identifier__$1a = undefined;
|
|
7960
7960
|
/* functional template */
|
|
7961
|
-
const __vue_is_functional_template__$
|
|
7961
|
+
const __vue_is_functional_template__$1a = false;
|
|
7962
7962
|
/* style inject */
|
|
7963
7963
|
|
|
7964
7964
|
/* style inject SSR */
|
|
@@ -7967,13 +7967,13 @@ var __vue_staticRenderFns__$14 = [];
|
|
|
7967
7967
|
|
|
7968
7968
|
|
|
7969
7969
|
|
|
7970
|
-
const __vue_component__$
|
|
7971
|
-
{ render: __vue_render__$
|
|
7972
|
-
__vue_inject_styles__$
|
|
7973
|
-
__vue_script__$
|
|
7974
|
-
__vue_scope_id__$
|
|
7975
|
-
__vue_is_functional_template__$
|
|
7976
|
-
__vue_module_identifier__$
|
|
7970
|
+
const __vue_component__$1a = /*#__PURE__*/normalizeComponent(
|
|
7971
|
+
{ render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
|
|
7972
|
+
__vue_inject_styles__$1a,
|
|
7973
|
+
__vue_script__$19,
|
|
7974
|
+
__vue_scope_id__$1a,
|
|
7975
|
+
__vue_is_functional_template__$1a,
|
|
7976
|
+
__vue_module_identifier__$1a,
|
|
7977
7977
|
false,
|
|
7978
7978
|
undefined);
|
|
7979
7979
|
|
|
@@ -8017,7 +8017,7 @@ var __vue_staticRenderFns__$14 = [];
|
|
|
8017
8017
|
//
|
|
8018
8018
|
//
|
|
8019
8019
|
|
|
8020
|
-
var script$
|
|
8020
|
+
var script$18 = {
|
|
8021
8021
|
name: 'CInputSearch',
|
|
8022
8022
|
|
|
8023
8023
|
props: {
|
|
@@ -8111,37 +8111,37 @@ var script$17 = {
|
|
|
8111
8111
|
};
|
|
8112
8112
|
|
|
8113
8113
|
/* script */
|
|
8114
|
-
const __vue_script__$
|
|
8114
|
+
const __vue_script__$18 = script$18;
|
|
8115
8115
|
|
|
8116
8116
|
/* template */
|
|
8117
|
-
var __vue_render__$
|
|
8118
|
-
var __vue_staticRenderFns__$
|
|
8117
|
+
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)};
|
|
8118
|
+
var __vue_staticRenderFns__$14 = [];
|
|
8119
8119
|
|
|
8120
8120
|
/* style */
|
|
8121
|
-
const __vue_inject_styles__$
|
|
8121
|
+
const __vue_inject_styles__$19 = function (inject) {
|
|
8122
8122
|
if (!inject) return
|
|
8123
8123
|
inject("data-v-ec96b2dc_0", { source: "input[data-v-ec96b2dc]:focus::placeholder{color:transparent}.c-input-search .search-button[data-v-ec96b2dc]{position:absolute;right:2px;top:2px;bottom:2px;z-index:4;border-left-width:2px}.c-input-search[data-v-ec96b2dc] ::-webkit-search-cancel-button{-webkit-appearance:none;height:1em;width:1em;background:var(--primary);-webkit-mask-image:url(\"data:image/svg+xml;charset=UTF-8,%3csvg viewPort='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='1' y1='11' x2='11' y2='1' stroke='black' stroke-width='2'/%3e%3cline x1='1' y1='1' x2='11' y2='11' stroke='black' stroke-width='2'/%3e%3c/svg%3e\");mask-image:url(\"data:image/svg+xml;charset=UTF-8,%3csvg viewPort='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='1' y1='11' x2='11' y2='1' stroke='black' stroke-width='2'/%3e%3cline x1='1' y1='1' x2='11' y2='11' stroke='black' stroke-width='2'/%3e%3c/svg%3e\");cursor:pointer;margin-right:13px;margin-left:5px}.c-input-search.submittable[data-v-ec96b2dc] ::-webkit-search-cancel-button{margin-right:56px}.cursor-default[data-v-ec96b2dc]{cursor:default!important}", map: undefined, media: undefined });
|
|
8124
8124
|
|
|
8125
8125
|
};
|
|
8126
8126
|
/* scoped */
|
|
8127
|
-
const __vue_scope_id__$
|
|
8127
|
+
const __vue_scope_id__$19 = "data-v-ec96b2dc";
|
|
8128
8128
|
/* module identifier */
|
|
8129
|
-
const __vue_module_identifier__$
|
|
8129
|
+
const __vue_module_identifier__$19 = undefined;
|
|
8130
8130
|
/* functional template */
|
|
8131
|
-
const __vue_is_functional_template__$
|
|
8131
|
+
const __vue_is_functional_template__$19 = false;
|
|
8132
8132
|
/* style inject SSR */
|
|
8133
8133
|
|
|
8134
8134
|
/* style inject shadow dom */
|
|
8135
8135
|
|
|
8136
8136
|
|
|
8137
8137
|
|
|
8138
|
-
const __vue_component__$
|
|
8139
|
-
{ render: __vue_render__$
|
|
8140
|
-
__vue_inject_styles__$
|
|
8141
|
-
__vue_script__$
|
|
8142
|
-
__vue_scope_id__$
|
|
8143
|
-
__vue_is_functional_template__$
|
|
8144
|
-
__vue_module_identifier__$
|
|
8138
|
+
const __vue_component__$19 = /*#__PURE__*/normalizeComponent(
|
|
8139
|
+
{ render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
|
|
8140
|
+
__vue_inject_styles__$19,
|
|
8141
|
+
__vue_script__$18,
|
|
8142
|
+
__vue_scope_id__$19,
|
|
8143
|
+
__vue_is_functional_template__$19,
|
|
8144
|
+
__vue_module_identifier__$19,
|
|
8145
8145
|
false,
|
|
8146
8146
|
createInjector);
|
|
8147
8147
|
|
|
@@ -8276,7 +8276,7 @@ var __vue_staticRenderFns__$13 = [];
|
|
|
8276
8276
|
//
|
|
8277
8277
|
|
|
8278
8278
|
|
|
8279
|
-
var script$
|
|
8279
|
+
var script$17 = {
|
|
8280
8280
|
name: 'CInputColorPicker',
|
|
8281
8281
|
|
|
8282
8282
|
components: {
|
|
@@ -8428,45 +8428,45 @@ var script$16 = {
|
|
|
8428
8428
|
};
|
|
8429
8429
|
|
|
8430
8430
|
/* script */
|
|
8431
|
-
const __vue_script__$
|
|
8431
|
+
const __vue_script__$17 = script$17;
|
|
8432
8432
|
|
|
8433
8433
|
/* template */
|
|
8434
|
-
var __vue_render__$
|
|
8435
|
-
var __vue_staticRenderFns__$
|
|
8434
|
+
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)};
|
|
8435
|
+
var __vue_staticRenderFns__$13 = [];
|
|
8436
8436
|
|
|
8437
8437
|
/* style */
|
|
8438
|
-
const __vue_inject_styles__$
|
|
8438
|
+
const __vue_inject_styles__$18 = function (inject) {
|
|
8439
8439
|
if (!inject) return
|
|
8440
8440
|
inject("data-v-0db7b6ea_0", { source: ".swatch[data-v-0db7b6ea]{height:58px;min-width:50px}", map: undefined, media: undefined })
|
|
8441
8441
|
,inject("data-v-0db7b6ea_1", { source: ".vc-chrome{font-family:var(--font-medium)!important}.vc-chrome .vc-chrome-body{background:var(--white)!important}.vc-chrome .vc-chrome-body .vc-input__input{color:var(--black)!important;background-color:var(--white)!important}.vc-chrome .vc-chrome-body .vc-input__label{color:var(--black)!important}.vc-chrome .vc-chrome-body .vc-chrome-toggle-btn path{fill:var(--black)!important}.vc-chrome .vc-chrome-body .vc-chrome-toggle-btn .vc-chrome-toggle-icon-highlight{background:var(--light)!important}", map: undefined, media: undefined });
|
|
8442
8442
|
|
|
8443
8443
|
};
|
|
8444
8444
|
/* scoped */
|
|
8445
|
-
const __vue_scope_id__$
|
|
8445
|
+
const __vue_scope_id__$18 = "data-v-0db7b6ea";
|
|
8446
8446
|
/* module identifier */
|
|
8447
|
-
const __vue_module_identifier__$
|
|
8447
|
+
const __vue_module_identifier__$18 = undefined;
|
|
8448
8448
|
/* functional template */
|
|
8449
|
-
const __vue_is_functional_template__$
|
|
8449
|
+
const __vue_is_functional_template__$18 = false;
|
|
8450
8450
|
/* style inject SSR */
|
|
8451
8451
|
|
|
8452
8452
|
/* style inject shadow dom */
|
|
8453
8453
|
|
|
8454
8454
|
|
|
8455
8455
|
|
|
8456
|
-
const __vue_component__$
|
|
8457
|
-
{ render: __vue_render__$
|
|
8458
|
-
__vue_inject_styles__$
|
|
8459
|
-
__vue_script__$
|
|
8460
|
-
__vue_scope_id__$
|
|
8461
|
-
__vue_is_functional_template__$
|
|
8462
|
-
__vue_module_identifier__$
|
|
8456
|
+
const __vue_component__$18 = /*#__PURE__*/normalizeComponent(
|
|
8457
|
+
{ render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
|
|
8458
|
+
__vue_inject_styles__$18,
|
|
8459
|
+
__vue_script__$17,
|
|
8460
|
+
__vue_scope_id__$18,
|
|
8461
|
+
__vue_is_functional_template__$18,
|
|
8462
|
+
__vue_module_identifier__$18,
|
|
8463
8463
|
false,
|
|
8464
8464
|
createInjector);
|
|
8465
8465
|
|
|
8466
8466
|
/**
|
|
8467
8467
|
* Defines common props, methods between different toolbar item types
|
|
8468
8468
|
*/
|
|
8469
|
-
var script$
|
|
8469
|
+
var script$16 = {
|
|
8470
8470
|
props: {
|
|
8471
8471
|
editor: {
|
|
8472
8472
|
type: Object,
|
|
@@ -8520,18 +8520,18 @@ var script$15 = {
|
|
|
8520
8520
|
};
|
|
8521
8521
|
|
|
8522
8522
|
/* script */
|
|
8523
|
-
const __vue_script__$
|
|
8523
|
+
const __vue_script__$16 = script$16;
|
|
8524
8524
|
|
|
8525
8525
|
/* template */
|
|
8526
8526
|
|
|
8527
8527
|
/* style */
|
|
8528
|
-
const __vue_inject_styles__$
|
|
8528
|
+
const __vue_inject_styles__$17 = undefined;
|
|
8529
8529
|
/* scoped */
|
|
8530
|
-
const __vue_scope_id__$
|
|
8530
|
+
const __vue_scope_id__$17 = undefined;
|
|
8531
8531
|
/* module identifier */
|
|
8532
|
-
const __vue_module_identifier__$
|
|
8532
|
+
const __vue_module_identifier__$17 = undefined;
|
|
8533
8533
|
/* functional template */
|
|
8534
|
-
const __vue_is_functional_template__$
|
|
8534
|
+
const __vue_is_functional_template__$17 = undefined;
|
|
8535
8535
|
/* style inject */
|
|
8536
8536
|
|
|
8537
8537
|
/* style inject SSR */
|
|
@@ -8540,13 +8540,13 @@ const __vue_script__$15 = script$15;
|
|
|
8540
8540
|
|
|
8541
8541
|
|
|
8542
8542
|
|
|
8543
|
-
const __vue_component__$
|
|
8543
|
+
const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
|
|
8544
8544
|
{},
|
|
8545
|
-
__vue_inject_styles__$
|
|
8546
|
-
__vue_script__$
|
|
8547
|
-
__vue_scope_id__$
|
|
8548
|
-
__vue_is_functional_template__$
|
|
8549
|
-
__vue_module_identifier__$
|
|
8545
|
+
__vue_inject_styles__$17,
|
|
8546
|
+
__vue_script__$16,
|
|
8547
|
+
__vue_scope_id__$17,
|
|
8548
|
+
__vue_is_functional_template__$17,
|
|
8549
|
+
__vue_module_identifier__$17,
|
|
8550
8550
|
false,
|
|
8551
8551
|
undefined);
|
|
8552
8552
|
|
|
@@ -8581,18 +8581,16 @@ const __vue_script__$15 = script$15;
|
|
|
8581
8581
|
//
|
|
8582
8582
|
//
|
|
8583
8583
|
//
|
|
8584
|
-
//
|
|
8585
|
-
//
|
|
8586
8584
|
|
|
8587
8585
|
|
|
8588
|
-
var script$
|
|
8586
|
+
var script$15 = {
|
|
8589
8587
|
name: 'TMarkColor',
|
|
8590
8588
|
|
|
8591
8589
|
components: {
|
|
8592
|
-
CInputColorPicker: __vue_component__$
|
|
8590
|
+
CInputColorPicker: __vue_component__$18,
|
|
8593
8591
|
},
|
|
8594
8592
|
|
|
8595
|
-
extends: __vue_component__$
|
|
8593
|
+
extends: __vue_component__$17,
|
|
8596
8594
|
|
|
8597
8595
|
props: {
|
|
8598
8596
|
background: {
|
|
@@ -8607,12 +8605,6 @@ var script$14 = {
|
|
|
8607
8605
|
}
|
|
8608
8606
|
},
|
|
8609
8607
|
|
|
8610
|
-
computed: {
|
|
8611
|
-
typeStyle () {
|
|
8612
|
-
return `${this.format.type}-icon`
|
|
8613
|
-
},
|
|
8614
|
-
},
|
|
8615
|
-
|
|
8616
8608
|
methods: {
|
|
8617
8609
|
getComputedColor (cssVar) {
|
|
8618
8610
|
try {
|
|
@@ -8642,42 +8634,40 @@ var script$14 = {
|
|
|
8642
8634
|
};
|
|
8643
8635
|
|
|
8644
8636
|
/* script */
|
|
8645
|
-
const __vue_script__$
|
|
8637
|
+
const __vue_script__$15 = script$15;
|
|
8646
8638
|
|
|
8647
8639
|
/* template */
|
|
8648
|
-
var __vue_render__$
|
|
8640
|
+
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:({
|
|
8649
8641
|
backgroundColor: _vm.background ? _vm.selectedColor : 'transparent',
|
|
8650
|
-
|
|
8642
|
+
'border-bottom': _vm.background ? 'none' : ("2px solid " + _vm.selectedColor),
|
|
8651
8643
|
})},[_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)};
|
|
8652
|
-
var __vue_staticRenderFns__$
|
|
8644
|
+
var __vue_staticRenderFns__$12 = [];
|
|
8653
8645
|
|
|
8654
8646
|
/* style */
|
|
8655
|
-
const __vue_inject_styles__$
|
|
8656
|
-
if (!inject) return
|
|
8657
|
-
inject("data-v-f18be530_0", { source: ".icon[data-v-f18be530]{padding:0 2px}.icon.color-icon[data-v-f18be530]{border-bottom:2px solid var(--dark)}.icon.background-icon[data-v-f18be530]{padding:2px 3px}", map: undefined, media: undefined });
|
|
8658
|
-
|
|
8659
|
-
};
|
|
8647
|
+
const __vue_inject_styles__$16 = undefined;
|
|
8660
8648
|
/* scoped */
|
|
8661
|
-
const __vue_scope_id__$
|
|
8649
|
+
const __vue_scope_id__$16 = undefined;
|
|
8662
8650
|
/* module identifier */
|
|
8663
|
-
const __vue_module_identifier__$
|
|
8651
|
+
const __vue_module_identifier__$16 = undefined;
|
|
8664
8652
|
/* functional template */
|
|
8665
|
-
const __vue_is_functional_template__$
|
|
8653
|
+
const __vue_is_functional_template__$16 = false;
|
|
8654
|
+
/* style inject */
|
|
8655
|
+
|
|
8666
8656
|
/* style inject SSR */
|
|
8667
8657
|
|
|
8668
8658
|
/* style inject shadow dom */
|
|
8669
8659
|
|
|
8670
8660
|
|
|
8671
8661
|
|
|
8672
|
-
const __vue_component__$
|
|
8673
|
-
{ render: __vue_render__$
|
|
8674
|
-
__vue_inject_styles__$
|
|
8675
|
-
__vue_script__$
|
|
8676
|
-
__vue_scope_id__$
|
|
8677
|
-
__vue_is_functional_template__$
|
|
8678
|
-
__vue_module_identifier__$
|
|
8662
|
+
const __vue_component__$16 = /*#__PURE__*/normalizeComponent(
|
|
8663
|
+
{ render: __vue_render__$12, staticRenderFns: __vue_staticRenderFns__$12 },
|
|
8664
|
+
__vue_inject_styles__$16,
|
|
8665
|
+
__vue_script__$15,
|
|
8666
|
+
__vue_scope_id__$16,
|
|
8667
|
+
__vue_is_functional_template__$16,
|
|
8668
|
+
__vue_module_identifier__$16,
|
|
8679
8669
|
false,
|
|
8680
|
-
|
|
8670
|
+
undefined);
|
|
8681
8671
|
|
|
8682
8672
|
//
|
|
8683
8673
|
//
|
|
@@ -8703,26 +8693,26 @@ var __vue_staticRenderFns__$11 = [];
|
|
|
8703
8693
|
/**
|
|
8704
8694
|
* Component is used to display simple formatter options such as bold, italic, ...
|
|
8705
8695
|
*/
|
|
8706
|
-
var script$
|
|
8696
|
+
var script$14 = {
|
|
8707
8697
|
name: 'TMarkItem',
|
|
8708
|
-
extends: __vue_component__$
|
|
8698
|
+
extends: __vue_component__$17,
|
|
8709
8699
|
};
|
|
8710
8700
|
|
|
8711
8701
|
/* script */
|
|
8712
|
-
const __vue_script__$
|
|
8702
|
+
const __vue_script__$14 = script$14;
|
|
8713
8703
|
|
|
8714
8704
|
/* template */
|
|
8715
|
-
var __vue_render__$
|
|
8716
|
-
var __vue_staticRenderFns__$
|
|
8705
|
+
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)])};
|
|
8706
|
+
var __vue_staticRenderFns__$11 = [];
|
|
8717
8707
|
|
|
8718
8708
|
/* style */
|
|
8719
|
-
const __vue_inject_styles__$
|
|
8709
|
+
const __vue_inject_styles__$15 = undefined;
|
|
8720
8710
|
/* scoped */
|
|
8721
|
-
const __vue_scope_id__$
|
|
8711
|
+
const __vue_scope_id__$15 = undefined;
|
|
8722
8712
|
/* module identifier */
|
|
8723
|
-
const __vue_module_identifier__$
|
|
8713
|
+
const __vue_module_identifier__$15 = undefined;
|
|
8724
8714
|
/* functional template */
|
|
8725
|
-
const __vue_is_functional_template__$
|
|
8715
|
+
const __vue_is_functional_template__$15 = false;
|
|
8726
8716
|
/* style inject */
|
|
8727
8717
|
|
|
8728
8718
|
/* style inject SSR */
|
|
@@ -8731,13 +8721,13 @@ var __vue_staticRenderFns__$10 = [];
|
|
|
8731
8721
|
|
|
8732
8722
|
|
|
8733
8723
|
|
|
8734
|
-
const __vue_component__$
|
|
8735
|
-
{ render: __vue_render__$
|
|
8736
|
-
__vue_inject_styles__$
|
|
8737
|
-
__vue_script__$
|
|
8738
|
-
__vue_scope_id__$
|
|
8739
|
-
__vue_is_functional_template__$
|
|
8740
|
-
__vue_module_identifier__$
|
|
8724
|
+
const __vue_component__$15 = /*#__PURE__*/normalizeComponent(
|
|
8725
|
+
{ render: __vue_render__$11, staticRenderFns: __vue_staticRenderFns__$11 },
|
|
8726
|
+
__vue_inject_styles__$15,
|
|
8727
|
+
__vue_script__$14,
|
|
8728
|
+
__vue_scope_id__$15,
|
|
8729
|
+
__vue_is_functional_template__$15,
|
|
8730
|
+
__vue_module_identifier__$15,
|
|
8741
8731
|
false,
|
|
8742
8732
|
undefined);
|
|
8743
8733
|
|
|
@@ -8792,9 +8782,9 @@ var __vue_staticRenderFns__$10 = [];
|
|
|
8792
8782
|
* Component is used to display link formatters. It provides an interface to
|
|
8793
8783
|
* input the URL that should be applied.
|
|
8794
8784
|
*/
|
|
8795
|
-
var script$
|
|
8785
|
+
var script$13 = {
|
|
8796
8786
|
name: 'TMarkLink',
|
|
8797
|
-
extends: __vue_component__$
|
|
8787
|
+
extends: __vue_component__$17,
|
|
8798
8788
|
|
|
8799
8789
|
props: {
|
|
8800
8790
|
labels: {
|
|
@@ -8854,20 +8844,20 @@ var script$12 = {
|
|
|
8854
8844
|
};
|
|
8855
8845
|
|
|
8856
8846
|
/* script */
|
|
8857
|
-
const __vue_script__$
|
|
8847
|
+
const __vue_script__$13 = script$13;
|
|
8858
8848
|
|
|
8859
8849
|
/* template */
|
|
8860
|
-
var __vue_render__
|
|
8861
|
-
var __vue_staticRenderFns__
|
|
8850
|
+
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)};
|
|
8851
|
+
var __vue_staticRenderFns__$10 = [];
|
|
8862
8852
|
|
|
8863
8853
|
/* style */
|
|
8864
|
-
const __vue_inject_styles__$
|
|
8854
|
+
const __vue_inject_styles__$14 = undefined;
|
|
8865
8855
|
/* scoped */
|
|
8866
|
-
const __vue_scope_id__$
|
|
8856
|
+
const __vue_scope_id__$14 = undefined;
|
|
8867
8857
|
/* module identifier */
|
|
8868
|
-
const __vue_module_identifier__$
|
|
8858
|
+
const __vue_module_identifier__$14 = undefined;
|
|
8869
8859
|
/* functional template */
|
|
8870
|
-
const __vue_is_functional_template__$
|
|
8860
|
+
const __vue_is_functional_template__$14 = false;
|
|
8871
8861
|
/* style inject */
|
|
8872
8862
|
|
|
8873
8863
|
/* style inject SSR */
|
|
@@ -8876,20 +8866,20 @@ var __vue_staticRenderFns__$$ = [];
|
|
|
8876
8866
|
|
|
8877
8867
|
|
|
8878
8868
|
|
|
8879
|
-
const __vue_component__$
|
|
8880
|
-
{ render: __vue_render__
|
|
8881
|
-
__vue_inject_styles__$
|
|
8882
|
-
__vue_script__$
|
|
8883
|
-
__vue_scope_id__$
|
|
8884
|
-
__vue_is_functional_template__$
|
|
8885
|
-
__vue_module_identifier__$
|
|
8869
|
+
const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
|
|
8870
|
+
{ render: __vue_render__$10, staticRenderFns: __vue_staticRenderFns__$10 },
|
|
8871
|
+
__vue_inject_styles__$14,
|
|
8872
|
+
__vue_script__$13,
|
|
8873
|
+
__vue_scope_id__$14,
|
|
8874
|
+
__vue_is_functional_template__$14,
|
|
8875
|
+
__vue_module_identifier__$14,
|
|
8886
8876
|
false,
|
|
8887
8877
|
undefined);
|
|
8888
8878
|
|
|
8889
8879
|
var mark = {
|
|
8890
|
-
Color: __vue_component__$
|
|
8891
|
-
Item: __vue_component__$
|
|
8892
|
-
Link: __vue_component__$
|
|
8880
|
+
Color: __vue_component__$16,
|
|
8881
|
+
Item: __vue_component__$15,
|
|
8882
|
+
Link: __vue_component__$14
|
|
8893
8883
|
};
|
|
8894
8884
|
|
|
8895
8885
|
//
|
|
@@ -8914,7 +8904,7 @@ var mark = {
|
|
|
8914
8904
|
//
|
|
8915
8905
|
//
|
|
8916
8906
|
|
|
8917
|
-
var script$
|
|
8907
|
+
var script$12 = {
|
|
8918
8908
|
name: 'MentionList',
|
|
8919
8909
|
|
|
8920
8910
|
props: {
|
|
@@ -8996,40 +8986,40 @@ var script$11 = {
|
|
|
8996
8986
|
};
|
|
8997
8987
|
|
|
8998
8988
|
/* script */
|
|
8999
|
-
const __vue_script__$
|
|
8989
|
+
const __vue_script__$12 = script$12;
|
|
9000
8990
|
|
|
9001
8991
|
/* template */
|
|
9002
|
-
var __vue_render__
|
|
8992
|
+
var __vue_render__$$ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.items.length)?_c('div',{staticClass:"mention-dropdown"},_vm._l((_vm.items),function(item,index){return _c('button',{key:index,class:[
|
|
9003
8993
|
'mention-option',
|
|
9004
8994
|
{ 'mention-option--highlighted': index === _vm.selectedIndex }
|
|
9005
8995
|
],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()};
|
|
9006
|
-
var __vue_staticRenderFns__
|
|
8996
|
+
var __vue_staticRenderFns__$$ = [];
|
|
9007
8997
|
|
|
9008
8998
|
/* style */
|
|
9009
|
-
const __vue_inject_styles__$
|
|
8999
|
+
const __vue_inject_styles__$13 = function (inject) {
|
|
9010
9000
|
if (!inject) return
|
|
9011
9001
|
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 });
|
|
9012
9002
|
|
|
9013
9003
|
};
|
|
9014
9004
|
/* scoped */
|
|
9015
|
-
const __vue_scope_id__$
|
|
9005
|
+
const __vue_scope_id__$13 = "data-v-d2ebe8ce";
|
|
9016
9006
|
/* module identifier */
|
|
9017
|
-
const __vue_module_identifier__$
|
|
9007
|
+
const __vue_module_identifier__$13 = undefined;
|
|
9018
9008
|
/* functional template */
|
|
9019
|
-
const __vue_is_functional_template__$
|
|
9009
|
+
const __vue_is_functional_template__$13 = false;
|
|
9020
9010
|
/* style inject SSR */
|
|
9021
9011
|
|
|
9022
9012
|
/* style inject shadow dom */
|
|
9023
9013
|
|
|
9024
9014
|
|
|
9025
9015
|
|
|
9026
|
-
const __vue_component__$
|
|
9027
|
-
{ render: __vue_render__
|
|
9028
|
-
__vue_inject_styles__$
|
|
9029
|
-
__vue_script__$
|
|
9030
|
-
__vue_scope_id__$
|
|
9031
|
-
__vue_is_functional_template__$
|
|
9032
|
-
__vue_module_identifier__$
|
|
9016
|
+
const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
|
|
9017
|
+
{ render: __vue_render__$$, staticRenderFns: __vue_staticRenderFns__$$ },
|
|
9018
|
+
__vue_inject_styles__$13,
|
|
9019
|
+
__vue_script__$12,
|
|
9020
|
+
__vue_scope_id__$13,
|
|
9021
|
+
__vue_is_functional_template__$13,
|
|
9022
|
+
__vue_module_identifier__$13,
|
|
9033
9023
|
false,
|
|
9034
9024
|
createInjector);
|
|
9035
9025
|
|
|
@@ -9064,7 +9054,7 @@ var suggestion = {
|
|
|
9064
9054
|
return {
|
|
9065
9055
|
onStart: function onStart(props) {
|
|
9066
9056
|
var _props$editor$view$do;
|
|
9067
|
-
component = new vue2.VueRenderer(__vue_component__$
|
|
9057
|
+
component = new vue2.VueRenderer(__vue_component__$13, {
|
|
9068
9058
|
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,
|
|
9069
9059
|
propsData: props
|
|
9070
9060
|
});
|
|
@@ -9097,11 +9087,11 @@ var suggestion = {
|
|
|
9097
9087
|
}
|
|
9098
9088
|
});
|
|
9099
9089
|
};
|
|
9100
|
-
popup.addEventListener('click', function (
|
|
9101
|
-
return handleSelection
|
|
9090
|
+
popup.addEventListener('click', function () {
|
|
9091
|
+
return handleSelection;
|
|
9102
9092
|
});
|
|
9103
|
-
popup.addEventListener('mouseup', function (
|
|
9104
|
-
return handleSelection
|
|
9093
|
+
popup.addEventListener('mouseup', function () {
|
|
9094
|
+
return handleSelection;
|
|
9105
9095
|
});
|
|
9106
9096
|
popperInstance = core.createPopper(virtualElement, popup, {
|
|
9107
9097
|
placement: 'bottom-start',
|
|
@@ -9350,7 +9340,7 @@ var nodeTypes = getToolbar().filter(function (_ref2) {
|
|
|
9350
9340
|
/**
|
|
9351
9341
|
* Defines common props, methods between different toolbar item types
|
|
9352
9342
|
*/
|
|
9353
|
-
var script$
|
|
9343
|
+
var script$11 = {
|
|
9354
9344
|
props: {
|
|
9355
9345
|
editor: {
|
|
9356
9346
|
type: Object,
|
|
@@ -9463,18 +9453,18 @@ var script$10 = {
|
|
|
9463
9453
|
};
|
|
9464
9454
|
|
|
9465
9455
|
/* script */
|
|
9466
|
-
const __vue_script__$
|
|
9456
|
+
const __vue_script__$11 = script$11;
|
|
9467
9457
|
|
|
9468
9458
|
/* template */
|
|
9469
9459
|
|
|
9470
9460
|
/* style */
|
|
9471
|
-
const __vue_inject_styles__$
|
|
9461
|
+
const __vue_inject_styles__$12 = undefined;
|
|
9472
9462
|
/* scoped */
|
|
9473
|
-
const __vue_scope_id__$
|
|
9463
|
+
const __vue_scope_id__$12 = undefined;
|
|
9474
9464
|
/* module identifier */
|
|
9475
|
-
const __vue_module_identifier__$
|
|
9465
|
+
const __vue_module_identifier__$12 = undefined;
|
|
9476
9466
|
/* functional template */
|
|
9477
|
-
const __vue_is_functional_template__$
|
|
9467
|
+
const __vue_is_functional_template__$12 = undefined;
|
|
9478
9468
|
/* style inject */
|
|
9479
9469
|
|
|
9480
9470
|
/* style inject SSR */
|
|
@@ -9483,13 +9473,13 @@ const __vue_script__$10 = script$10;
|
|
|
9483
9473
|
|
|
9484
9474
|
|
|
9485
9475
|
|
|
9486
|
-
const __vue_component__$
|
|
9476
|
+
const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
|
|
9487
9477
|
{},
|
|
9488
|
-
__vue_inject_styles__$
|
|
9489
|
-
__vue_script__$
|
|
9490
|
-
__vue_scope_id__$
|
|
9491
|
-
__vue_is_functional_template__$
|
|
9492
|
-
__vue_module_identifier__$
|
|
9478
|
+
__vue_inject_styles__$12,
|
|
9479
|
+
__vue_script__$11,
|
|
9480
|
+
__vue_scope_id__$12,
|
|
9481
|
+
__vue_is_functional_template__$12,
|
|
9482
|
+
__vue_module_identifier__$12,
|
|
9493
9483
|
false,
|
|
9494
9484
|
undefined);
|
|
9495
9485
|
|
|
@@ -9517,26 +9507,26 @@ const __vue_script__$10 = script$10;
|
|
|
9517
9507
|
/**
|
|
9518
9508
|
* Component is used to display node types; paragraph, headding, ...
|
|
9519
9509
|
*/
|
|
9520
|
-
var script
|
|
9510
|
+
var script$10 = {
|
|
9521
9511
|
name: 'TNodeItem',
|
|
9522
|
-
extends: __vue_component__$
|
|
9512
|
+
extends: __vue_component__$12,
|
|
9523
9513
|
};
|
|
9524
9514
|
|
|
9525
9515
|
/* script */
|
|
9526
|
-
const __vue_script__
|
|
9516
|
+
const __vue_script__$10 = script$10;
|
|
9527
9517
|
|
|
9528
9518
|
/* template */
|
|
9529
|
-
var __vue_render__$
|
|
9530
|
-
var __vue_staticRenderFns__$
|
|
9519
|
+
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)])};
|
|
9520
|
+
var __vue_staticRenderFns__$_ = [];
|
|
9531
9521
|
|
|
9532
9522
|
/* style */
|
|
9533
|
-
const __vue_inject_styles__$
|
|
9523
|
+
const __vue_inject_styles__$11 = undefined;
|
|
9534
9524
|
/* scoped */
|
|
9535
|
-
const __vue_scope_id__$
|
|
9525
|
+
const __vue_scope_id__$11 = undefined;
|
|
9536
9526
|
/* module identifier */
|
|
9537
|
-
const __vue_module_identifier__$
|
|
9527
|
+
const __vue_module_identifier__$11 = undefined;
|
|
9538
9528
|
/* functional template */
|
|
9539
|
-
const __vue_is_functional_template__$
|
|
9529
|
+
const __vue_is_functional_template__$11 = false;
|
|
9540
9530
|
/* style inject */
|
|
9541
9531
|
|
|
9542
9532
|
/* style inject SSR */
|
|
@@ -9545,18 +9535,18 @@ var __vue_staticRenderFns__$Z = [];
|
|
|
9545
9535
|
|
|
9546
9536
|
|
|
9547
9537
|
|
|
9548
|
-
const __vue_component__$
|
|
9549
|
-
{ render: __vue_render__$
|
|
9550
|
-
__vue_inject_styles__$
|
|
9551
|
-
__vue_script__
|
|
9552
|
-
__vue_scope_id__$
|
|
9553
|
-
__vue_is_functional_template__$
|
|
9554
|
-
__vue_module_identifier__$
|
|
9538
|
+
const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
|
|
9539
|
+
{ render: __vue_render__$_, staticRenderFns: __vue_staticRenderFns__$_ },
|
|
9540
|
+
__vue_inject_styles__$11,
|
|
9541
|
+
__vue_script__$10,
|
|
9542
|
+
__vue_scope_id__$11,
|
|
9543
|
+
__vue_is_functional_template__$11,
|
|
9544
|
+
__vue_module_identifier__$11,
|
|
9555
9545
|
false,
|
|
9556
9546
|
undefined);
|
|
9557
9547
|
|
|
9558
9548
|
var node = {
|
|
9559
|
-
Item: __vue_component__$
|
|
9549
|
+
Item: __vue_component__$11
|
|
9560
9550
|
};
|
|
9561
9551
|
|
|
9562
9552
|
//
|
|
@@ -9601,10 +9591,10 @@ var node = {
|
|
|
9601
9591
|
/**
|
|
9602
9592
|
* Component is used to display node alignment formatting
|
|
9603
9593
|
*/
|
|
9604
|
-
var script
|
|
9594
|
+
var script$$ = {
|
|
9605
9595
|
name: 'TNattrAlignment',
|
|
9606
9596
|
|
|
9607
|
-
extends: __vue_component__$
|
|
9597
|
+
extends: __vue_component__$12,
|
|
9608
9598
|
|
|
9609
9599
|
props: {
|
|
9610
9600
|
isActive: {
|
|
@@ -9637,20 +9627,20 @@ var script$_ = {
|
|
|
9637
9627
|
};
|
|
9638
9628
|
|
|
9639
9629
|
/* script */
|
|
9640
|
-
const __vue_script__
|
|
9630
|
+
const __vue_script__$$ = script$$;
|
|
9641
9631
|
|
|
9642
9632
|
/* template */
|
|
9643
|
-
var __vue_render__$
|
|
9644
|
-
var __vue_staticRenderFns__$
|
|
9633
|
+
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)};
|
|
9634
|
+
var __vue_staticRenderFns__$Z = [];
|
|
9645
9635
|
|
|
9646
9636
|
/* style */
|
|
9647
|
-
const __vue_inject_styles__
|
|
9637
|
+
const __vue_inject_styles__$10 = undefined;
|
|
9648
9638
|
/* scoped */
|
|
9649
|
-
const __vue_scope_id__
|
|
9639
|
+
const __vue_scope_id__$10 = undefined;
|
|
9650
9640
|
/* module identifier */
|
|
9651
|
-
const __vue_module_identifier__
|
|
9641
|
+
const __vue_module_identifier__$10 = undefined;
|
|
9652
9642
|
/* functional template */
|
|
9653
|
-
const __vue_is_functional_template__
|
|
9643
|
+
const __vue_is_functional_template__$10 = false;
|
|
9654
9644
|
/* style inject */
|
|
9655
9645
|
|
|
9656
9646
|
/* style inject SSR */
|
|
@@ -9659,13 +9649,13 @@ var __vue_staticRenderFns__$Y = [];
|
|
|
9659
9649
|
|
|
9660
9650
|
|
|
9661
9651
|
|
|
9662
|
-
const __vue_component__
|
|
9663
|
-
{ render: __vue_render__$
|
|
9664
|
-
__vue_inject_styles__
|
|
9665
|
-
__vue_script__
|
|
9666
|
-
__vue_scope_id__
|
|
9667
|
-
__vue_is_functional_template__
|
|
9668
|
-
__vue_module_identifier__
|
|
9652
|
+
const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
|
|
9653
|
+
{ render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
|
|
9654
|
+
__vue_inject_styles__$10,
|
|
9655
|
+
__vue_script__$$,
|
|
9656
|
+
__vue_scope_id__$10,
|
|
9657
|
+
__vue_is_functional_template__$10,
|
|
9658
|
+
__vue_module_identifier__$10,
|
|
9669
9659
|
false,
|
|
9670
9660
|
undefined);
|
|
9671
9661
|
|
|
@@ -9703,9 +9693,9 @@ var __vue_staticRenderFns__$Y = [];
|
|
|
9703
9693
|
/**
|
|
9704
9694
|
* Component is used to display node alignment formatting
|
|
9705
9695
|
*/
|
|
9706
|
-
var script$
|
|
9696
|
+
var script$_ = {
|
|
9707
9697
|
name: 'TNattrTable',
|
|
9708
|
-
extends: __vue_component__$
|
|
9698
|
+
extends: __vue_component__$12,
|
|
9709
9699
|
|
|
9710
9700
|
props: {
|
|
9711
9701
|
isActive: {
|
|
@@ -9763,20 +9753,20 @@ var script$Z = {
|
|
|
9763
9753
|
};
|
|
9764
9754
|
|
|
9765
9755
|
/* script */
|
|
9766
|
-
const __vue_script__$
|
|
9756
|
+
const __vue_script__$_ = script$_;
|
|
9767
9757
|
|
|
9768
9758
|
/* template */
|
|
9769
|
-
var __vue_render__$
|
|
9770
|
-
var __vue_staticRenderFns__$
|
|
9759
|
+
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)};
|
|
9760
|
+
var __vue_staticRenderFns__$Y = [];
|
|
9771
9761
|
|
|
9772
9762
|
/* style */
|
|
9773
|
-
const __vue_inject_styles__
|
|
9763
|
+
const __vue_inject_styles__$$ = undefined;
|
|
9774
9764
|
/* scoped */
|
|
9775
|
-
const __vue_scope_id__
|
|
9765
|
+
const __vue_scope_id__$$ = undefined;
|
|
9776
9766
|
/* module identifier */
|
|
9777
|
-
const __vue_module_identifier__
|
|
9767
|
+
const __vue_module_identifier__$$ = undefined;
|
|
9778
9768
|
/* functional template */
|
|
9779
|
-
const __vue_is_functional_template__
|
|
9769
|
+
const __vue_is_functional_template__$$ = false;
|
|
9780
9770
|
/* style inject */
|
|
9781
9771
|
|
|
9782
9772
|
/* style inject SSR */
|
|
@@ -9785,19 +9775,19 @@ var __vue_staticRenderFns__$X = [];
|
|
|
9785
9775
|
|
|
9786
9776
|
|
|
9787
9777
|
|
|
9788
|
-
const __vue_component__
|
|
9789
|
-
{ render: __vue_render__$
|
|
9790
|
-
__vue_inject_styles__
|
|
9791
|
-
__vue_script__$
|
|
9792
|
-
__vue_scope_id__
|
|
9793
|
-
__vue_is_functional_template__
|
|
9794
|
-
__vue_module_identifier__
|
|
9778
|
+
const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
|
|
9779
|
+
{ render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
|
|
9780
|
+
__vue_inject_styles__$$,
|
|
9781
|
+
__vue_script__$_,
|
|
9782
|
+
__vue_scope_id__$$,
|
|
9783
|
+
__vue_is_functional_template__$$,
|
|
9784
|
+
__vue_module_identifier__$$,
|
|
9795
9785
|
false,
|
|
9796
9786
|
undefined);
|
|
9797
9787
|
|
|
9798
9788
|
var nodeAttr = {
|
|
9799
|
-
Alignment: __vue_component__
|
|
9800
|
-
Table: __vue_component__
|
|
9789
|
+
Alignment: __vue_component__$10,
|
|
9790
|
+
Table: __vue_component__$$
|
|
9801
9791
|
};
|
|
9802
9792
|
|
|
9803
9793
|
var cc = {
|
|
@@ -9835,7 +9825,7 @@ var cc = {
|
|
|
9835
9825
|
//
|
|
9836
9826
|
|
|
9837
9827
|
|
|
9838
|
-
var script$
|
|
9828
|
+
var script$Z = {
|
|
9839
9829
|
inheritAttrs: true,
|
|
9840
9830
|
|
|
9841
9831
|
props: {
|
|
@@ -9958,37 +9948,37 @@ var script$Y = {
|
|
|
9958
9948
|
};
|
|
9959
9949
|
|
|
9960
9950
|
/* script */
|
|
9961
|
-
const __vue_script__$
|
|
9951
|
+
const __vue_script__$Z = script$Z;
|
|
9962
9952
|
|
|
9963
9953
|
/* template */
|
|
9964
|
-
var __vue_render__$
|
|
9965
|
-
var __vue_staticRenderFns__$
|
|
9954
|
+
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)};
|
|
9955
|
+
var __vue_staticRenderFns__$X = [];
|
|
9966
9956
|
|
|
9967
9957
|
/* style */
|
|
9968
|
-
const __vue_inject_styles__$
|
|
9958
|
+
const __vue_inject_styles__$_ = function (inject) {
|
|
9969
9959
|
if (!inject) return
|
|
9970
9960
|
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 });
|
|
9971
9961
|
|
|
9972
9962
|
};
|
|
9973
9963
|
/* scoped */
|
|
9974
|
-
const __vue_scope_id__$
|
|
9964
|
+
const __vue_scope_id__$_ = undefined;
|
|
9975
9965
|
/* module identifier */
|
|
9976
|
-
const __vue_module_identifier__$
|
|
9966
|
+
const __vue_module_identifier__$_ = undefined;
|
|
9977
9967
|
/* functional template */
|
|
9978
|
-
const __vue_is_functional_template__$
|
|
9968
|
+
const __vue_is_functional_template__$_ = false;
|
|
9979
9969
|
/* style inject SSR */
|
|
9980
9970
|
|
|
9981
9971
|
/* style inject shadow dom */
|
|
9982
9972
|
|
|
9983
9973
|
|
|
9984
9974
|
|
|
9985
|
-
const __vue_component__$
|
|
9986
|
-
{ render: __vue_render__$
|
|
9987
|
-
__vue_inject_styles__$
|
|
9988
|
-
__vue_script__$
|
|
9989
|
-
__vue_scope_id__$
|
|
9990
|
-
__vue_is_functional_template__$
|
|
9991
|
-
__vue_module_identifier__$
|
|
9975
|
+
const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
|
|
9976
|
+
{ render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
|
|
9977
|
+
__vue_inject_styles__$_,
|
|
9978
|
+
__vue_script__$Z,
|
|
9979
|
+
__vue_scope_id__$_,
|
|
9980
|
+
__vue_is_functional_template__$_,
|
|
9981
|
+
__vue_module_identifier__$_,
|
|
9992
9982
|
false,
|
|
9993
9983
|
createInjector);
|
|
9994
9984
|
|
|
@@ -10021,12 +10011,12 @@ var __vue_staticRenderFns__$W = [];
|
|
|
10021
10011
|
//
|
|
10022
10012
|
|
|
10023
10013
|
|
|
10024
|
-
var script$
|
|
10014
|
+
var script$Y = {
|
|
10025
10015
|
name: 'CRichTextInput',
|
|
10026
10016
|
|
|
10027
10017
|
components: {
|
|
10028
10018
|
EditorContent: vue2.EditorContent,
|
|
10029
|
-
RToolbar: __vue_component__$
|
|
10019
|
+
RToolbar: __vue_component__$_,
|
|
10030
10020
|
},
|
|
10031
10021
|
|
|
10032
10022
|
props: {
|
|
@@ -10128,37 +10118,37 @@ var script$X = {
|
|
|
10128
10118
|
};
|
|
10129
10119
|
|
|
10130
10120
|
/* script */
|
|
10131
|
-
const __vue_script__$
|
|
10121
|
+
const __vue_script__$Y = script$Y;
|
|
10132
10122
|
|
|
10133
10123
|
/* template */
|
|
10134
|
-
var __vue_render__$
|
|
10135
|
-
var __vue_staticRenderFns__$
|
|
10124
|
+
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)};
|
|
10125
|
+
var __vue_staticRenderFns__$W = [];
|
|
10136
10126
|
|
|
10137
10127
|
/* style */
|
|
10138
|
-
const __vue_inject_styles__$
|
|
10128
|
+
const __vue_inject_styles__$Z = function (inject) {
|
|
10139
10129
|
if (!inject) return
|
|
10140
10130
|
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 });
|
|
10141
10131
|
|
|
10142
10132
|
};
|
|
10143
10133
|
/* scoped */
|
|
10144
|
-
const __vue_scope_id__$
|
|
10134
|
+
const __vue_scope_id__$Z = undefined;
|
|
10145
10135
|
/* module identifier */
|
|
10146
|
-
const __vue_module_identifier__$
|
|
10136
|
+
const __vue_module_identifier__$Z = undefined;
|
|
10147
10137
|
/* functional template */
|
|
10148
|
-
const __vue_is_functional_template__$
|
|
10138
|
+
const __vue_is_functional_template__$Z = false;
|
|
10149
10139
|
/* style inject SSR */
|
|
10150
10140
|
|
|
10151
10141
|
/* style inject shadow dom */
|
|
10152
10142
|
|
|
10153
10143
|
|
|
10154
10144
|
|
|
10155
|
-
const __vue_component__$
|
|
10156
|
-
{ render: __vue_render__$
|
|
10157
|
-
__vue_inject_styles__$
|
|
10158
|
-
__vue_script__$
|
|
10159
|
-
__vue_scope_id__$
|
|
10160
|
-
__vue_is_functional_template__$
|
|
10161
|
-
__vue_module_identifier__$
|
|
10145
|
+
const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
|
|
10146
|
+
{ render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
|
|
10147
|
+
__vue_inject_styles__$Z,
|
|
10148
|
+
__vue_script__$Y,
|
|
10149
|
+
__vue_scope_id__$Z,
|
|
10150
|
+
__vue_is_functional_template__$Z,
|
|
10151
|
+
__vue_module_identifier__$Z,
|
|
10162
10152
|
false,
|
|
10163
10153
|
createInjector);
|
|
10164
10154
|
|
|
@@ -10193,7 +10183,7 @@ var __vue_staticRenderFns__$V = [];
|
|
|
10193
10183
|
//
|
|
10194
10184
|
//
|
|
10195
10185
|
|
|
10196
|
-
var script$
|
|
10186
|
+
var script$X = {
|
|
10197
10187
|
props: {
|
|
10198
10188
|
value: {
|
|
10199
10189
|
type: Boolean,
|
|
@@ -10232,20 +10222,20 @@ var script$W = {
|
|
|
10232
10222
|
};
|
|
10233
10223
|
|
|
10234
10224
|
/* script */
|
|
10235
|
-
const __vue_script__$
|
|
10225
|
+
const __vue_script__$X = script$X;
|
|
10236
10226
|
|
|
10237
10227
|
/* template */
|
|
10238
|
-
var __vue_render__$
|
|
10239
|
-
var __vue_staticRenderFns__$
|
|
10228
|
+
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)};
|
|
10229
|
+
var __vue_staticRenderFns__$V = [];
|
|
10240
10230
|
|
|
10241
10231
|
/* style */
|
|
10242
|
-
const __vue_inject_styles__$
|
|
10232
|
+
const __vue_inject_styles__$Y = undefined;
|
|
10243
10233
|
/* scoped */
|
|
10244
|
-
const __vue_scope_id__$
|
|
10234
|
+
const __vue_scope_id__$Y = undefined;
|
|
10245
10235
|
/* module identifier */
|
|
10246
|
-
const __vue_module_identifier__$
|
|
10236
|
+
const __vue_module_identifier__$Y = undefined;
|
|
10247
10237
|
/* functional template */
|
|
10248
|
-
const __vue_is_functional_template__$
|
|
10238
|
+
const __vue_is_functional_template__$Y = false;
|
|
10249
10239
|
/* style inject */
|
|
10250
10240
|
|
|
10251
10241
|
/* style inject SSR */
|
|
@@ -10254,13 +10244,13 @@ var __vue_staticRenderFns__$U = [];
|
|
|
10254
10244
|
|
|
10255
10245
|
|
|
10256
10246
|
|
|
10257
|
-
const __vue_component__$
|
|
10258
|
-
{ render: __vue_render__$
|
|
10259
|
-
__vue_inject_styles__$
|
|
10260
|
-
__vue_script__$
|
|
10261
|
-
__vue_scope_id__$
|
|
10262
|
-
__vue_is_functional_template__$
|
|
10263
|
-
__vue_module_identifier__$
|
|
10247
|
+
const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
|
|
10248
|
+
{ render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
|
|
10249
|
+
__vue_inject_styles__$Y,
|
|
10250
|
+
__vue_script__$X,
|
|
10251
|
+
__vue_scope_id__$Y,
|
|
10252
|
+
__vue_is_functional_template__$Y,
|
|
10253
|
+
__vue_module_identifier__$Y,
|
|
10264
10254
|
false,
|
|
10265
10255
|
undefined);
|
|
10266
10256
|
|
|
@@ -10294,11 +10284,14 @@ var __vue_staticRenderFns__$U = [];
|
|
|
10294
10284
|
//
|
|
10295
10285
|
//
|
|
10296
10286
|
//
|
|
10287
|
+
//
|
|
10288
|
+
//
|
|
10289
|
+
//
|
|
10297
10290
|
|
|
10298
10291
|
|
|
10299
10292
|
fontawesomeSvgCore.library.add(freeSolidSvgIcons.faExpandAlt);
|
|
10300
10293
|
|
|
10301
|
-
var script$
|
|
10294
|
+
var script$W = {
|
|
10302
10295
|
components: {
|
|
10303
10296
|
AceEditor,
|
|
10304
10297
|
},
|
|
@@ -10314,9 +10307,9 @@ var script$V = {
|
|
|
10314
10307
|
default: 'text',
|
|
10315
10308
|
},
|
|
10316
10309
|
|
|
10317
|
-
|
|
10310
|
+
minHeight: {
|
|
10318
10311
|
type: String,
|
|
10319
|
-
default: '
|
|
10312
|
+
default: '2.35rem',
|
|
10320
10313
|
},
|
|
10321
10314
|
|
|
10322
10315
|
showLineNumbers: {
|
|
@@ -10378,10 +10371,25 @@ var script$V = {
|
|
|
10378
10371
|
type: String,
|
|
10379
10372
|
default: '',
|
|
10380
10373
|
},
|
|
10381
|
-
},
|
|
10382
10374
|
|
|
10383
|
-
|
|
10384
|
-
|
|
10375
|
+
resizable: {
|
|
10376
|
+
type: Boolean,
|
|
10377
|
+
default: false,
|
|
10378
|
+
},
|
|
10379
|
+
},
|
|
10380
|
+
|
|
10381
|
+
data () {
|
|
10382
|
+
return {
|
|
10383
|
+
resizeObserver: null,
|
|
10384
|
+
manualHeight: null,
|
|
10385
|
+
contentHeight: null,
|
|
10386
|
+
programmaticUpdate: false,
|
|
10387
|
+
resizeTimeout: null,
|
|
10388
|
+
}
|
|
10389
|
+
},
|
|
10390
|
+
|
|
10391
|
+
computed: {
|
|
10392
|
+
editorValue: {
|
|
10385
10393
|
get () {
|
|
10386
10394
|
return this.value
|
|
10387
10395
|
},
|
|
@@ -10390,9 +10398,144 @@ var script$V = {
|
|
|
10390
10398
|
this.$emit('update:value', value);
|
|
10391
10399
|
},
|
|
10392
10400
|
},
|
|
10401
|
+
|
|
10402
|
+
containerStyle () {
|
|
10403
|
+
if (this.resizable) {
|
|
10404
|
+
return {
|
|
10405
|
+
minHeight: this.minHeight,
|
|
10406
|
+
height: this.effectiveHeight,
|
|
10407
|
+
}
|
|
10408
|
+
}
|
|
10409
|
+
return {}
|
|
10410
|
+
},
|
|
10411
|
+
|
|
10412
|
+
effectiveHeight () {
|
|
10413
|
+
if (this.resizable) {
|
|
10414
|
+
// Use the larger of manual height, content height, or minimum height
|
|
10415
|
+
const manualHeightPx = this.manualHeight ? this.parseHeight(this.manualHeight) : 0;
|
|
10416
|
+
const contentHeightPx = this.contentHeight ? this.parseHeight(this.contentHeight) : 0;
|
|
10417
|
+
const minHeightPx = this.parseHeight(this.minHeight);
|
|
10418
|
+
|
|
10419
|
+
const maxHeight = Math.max(manualHeightPx, contentHeightPx, minHeightPx);
|
|
10420
|
+
return `${maxHeight}px`
|
|
10421
|
+
}
|
|
10422
|
+
return this.minHeight
|
|
10423
|
+
},
|
|
10424
|
+
},
|
|
10425
|
+
|
|
10426
|
+
watch: {
|
|
10427
|
+
value () {
|
|
10428
|
+
if (this.resizable && this.$refs.aceeditor && this.$refs.aceeditor.editor) {
|
|
10429
|
+
this.$nextTick(() => {
|
|
10430
|
+
this.calculateContentHeight(this.$refs.aceeditor.editor);
|
|
10431
|
+
});
|
|
10432
|
+
}
|
|
10433
|
+
},
|
|
10434
|
+
},
|
|
10435
|
+
|
|
10436
|
+
mounted () {
|
|
10437
|
+
if (this.resizable) {
|
|
10438
|
+
this.setupResizeObserver();
|
|
10439
|
+
}
|
|
10440
|
+
},
|
|
10441
|
+
|
|
10442
|
+
beforeDestroy () {
|
|
10443
|
+
if (this.resizeObserver) {
|
|
10444
|
+
this.resizeObserver.disconnect();
|
|
10445
|
+
}
|
|
10446
|
+
if (this.resizeTimeout) {
|
|
10447
|
+
clearTimeout(this.resizeTimeout);
|
|
10448
|
+
}
|
|
10393
10449
|
},
|
|
10394
10450
|
|
|
10395
10451
|
methods: {
|
|
10452
|
+
parseHeight (height) {
|
|
10453
|
+
if (typeof height === 'number') return height
|
|
10454
|
+
if (typeof height === 'string') {
|
|
10455
|
+
// Remove 'px' and parse to number
|
|
10456
|
+
return parseFloat(height.replace('px', '').replace('rem', '')) * (height.includes('rem') ? 16 : 1)
|
|
10457
|
+
}
|
|
10458
|
+
return 0
|
|
10459
|
+
},
|
|
10460
|
+
|
|
10461
|
+
calculateContentHeight (editor) {
|
|
10462
|
+
if (!editor) return
|
|
10463
|
+
|
|
10464
|
+
const session = editor.session;
|
|
10465
|
+
const lineCount = session.getLength();
|
|
10466
|
+
const lineHeight = editor.renderer.lineHeight || 16;
|
|
10467
|
+
const padding = 14; // Top and bottom padding
|
|
10468
|
+
|
|
10469
|
+
const contentHeight = (lineCount * lineHeight) + padding;
|
|
10470
|
+
|
|
10471
|
+
// Parse minHeight to ensure we don't go below it
|
|
10472
|
+
const minHeightPx = this.parseHeight(this.minHeight);
|
|
10473
|
+
const finalHeight = Math.max(contentHeight, minHeightPx);
|
|
10474
|
+
|
|
10475
|
+
// Set flag to prevent ResizeObserver from reacting to this change
|
|
10476
|
+
this.programmaticUpdate = true;
|
|
10477
|
+
this.contentHeight = `${finalHeight}px`;
|
|
10478
|
+
|
|
10479
|
+
// Clear the flag after a short delay
|
|
10480
|
+
this.$nextTick(() => {
|
|
10481
|
+
setTimeout(() => {
|
|
10482
|
+
this.programmaticUpdate = false;
|
|
10483
|
+
}, 50);
|
|
10484
|
+
});
|
|
10485
|
+
},
|
|
10486
|
+
|
|
10487
|
+
setupResizeObserver () {
|
|
10488
|
+
let lastHeight = null;
|
|
10489
|
+
let isInitialized = false;
|
|
10490
|
+
|
|
10491
|
+
this.resizeObserver = new ResizeObserver((entries) => {
|
|
10492
|
+
// Skip if we're in the middle of a programmatic update
|
|
10493
|
+
if (this.programmaticUpdate) {
|
|
10494
|
+
return
|
|
10495
|
+
}
|
|
10496
|
+
|
|
10497
|
+
for (const entry of entries) {
|
|
10498
|
+
const newHeight = entry.contentRect.height;
|
|
10499
|
+
|
|
10500
|
+
// Skip the first observation (initialization)
|
|
10501
|
+
if (!isInitialized) {
|
|
10502
|
+
lastHeight = newHeight;
|
|
10503
|
+
isInitialized = true;
|
|
10504
|
+
return
|
|
10505
|
+
}
|
|
10506
|
+
|
|
10507
|
+
// Only update if height actually changed significantly (more than 2px to avoid rounding issues)
|
|
10508
|
+
if (lastHeight !== null && Math.abs(lastHeight - newHeight) > 2) {
|
|
10509
|
+
// Clear any pending timeout
|
|
10510
|
+
if (this.resizeTimeout) {
|
|
10511
|
+
clearTimeout(this.resizeTimeout);
|
|
10512
|
+
}
|
|
10513
|
+
|
|
10514
|
+
// Debounce the update slightly to prevent flickering
|
|
10515
|
+
this.resizeTimeout = setTimeout(() => {
|
|
10516
|
+
this.manualHeight = `${newHeight}px`;
|
|
10517
|
+
this.updateEditorSize();
|
|
10518
|
+
lastHeight = newHeight;
|
|
10519
|
+
}, 10);
|
|
10520
|
+
}
|
|
10521
|
+
}
|
|
10522
|
+
});
|
|
10523
|
+
|
|
10524
|
+
if (this.$refs.container) {
|
|
10525
|
+
this.resizeObserver.observe(this.$refs.container);
|
|
10526
|
+
}
|
|
10527
|
+
},
|
|
10528
|
+
|
|
10529
|
+
updateEditorSize () {
|
|
10530
|
+
// Force ace editor to resize
|
|
10531
|
+
this.$nextTick(() => {
|
|
10532
|
+
if (this.$refs.aceeditor && this.$refs.aceeditor.editor) {
|
|
10533
|
+
const editor = this.$refs.aceeditor.editor;
|
|
10534
|
+
editor.resize();
|
|
10535
|
+
}
|
|
10536
|
+
});
|
|
10537
|
+
},
|
|
10538
|
+
|
|
10396
10539
|
editorInit (editor) {
|
|
10397
10540
|
Promise.resolve().then(function () { return text$1; });
|
|
10398
10541
|
Promise.resolve().then(function () { return html$1; });
|
|
@@ -10400,7 +10543,6 @@ var script$V = {
|
|
|
10400
10543
|
Promise.resolve().then(function () { return scss$1; });
|
|
10401
10544
|
Promise.resolve().then(function () { return json$1; });
|
|
10402
10545
|
Promise.resolve().then(function () { return javascript$1; });
|
|
10403
|
-
Promise.resolve().then(function () { return json$1; });
|
|
10404
10546
|
|
|
10405
10547
|
Promise.resolve().then(function () { return text; });
|
|
10406
10548
|
Promise.resolve().then(function () { return html; });
|
|
@@ -10408,7 +10550,6 @@ var script$V = {
|
|
|
10408
10550
|
Promise.resolve().then(function () { return scss; });
|
|
10409
10551
|
Promise.resolve().then(function () { return json; });
|
|
10410
10552
|
Promise.resolve().then(function () { return javascript; });
|
|
10411
|
-
Promise.resolve().then(function () { return json; });
|
|
10412
10553
|
|
|
10413
10554
|
Promise.resolve().then(function () { return chrome; });
|
|
10414
10555
|
Promise.resolve().then(function () { return language_tools; });
|
|
@@ -10427,8 +10568,6 @@ var script$V = {
|
|
|
10427
10568
|
readOnly: this.readOnly,
|
|
10428
10569
|
highlightActiveLine: this.highlightActiveLine,
|
|
10429
10570
|
cursorStyle: 'smooth',
|
|
10430
|
-
// // minLines: this.height,
|
|
10431
|
-
// maxPixelHeight: 100,
|
|
10432
10571
|
|
|
10433
10572
|
...(this.autoComplete && {
|
|
10434
10573
|
enableBasicAutocompletion: true,
|
|
@@ -10444,6 +10583,19 @@ var script$V = {
|
|
|
10444
10583
|
editor.on('input', this.updatePlaceholder);
|
|
10445
10584
|
this.updatePlaceholder(undefined, editor);
|
|
10446
10585
|
|
|
10586
|
+
// Calculate initial content height and listen for changes if resizable
|
|
10587
|
+
if (this.resizable) {
|
|
10588
|
+
// Calculate initial height
|
|
10589
|
+
this.$nextTick(() => {
|
|
10590
|
+
this.calculateContentHeight(editor);
|
|
10591
|
+
});
|
|
10592
|
+
|
|
10593
|
+
// Recalculate on content change
|
|
10594
|
+
editor.session.on('change', () => {
|
|
10595
|
+
this.calculateContentHeight(editor);
|
|
10596
|
+
});
|
|
10597
|
+
}
|
|
10598
|
+
|
|
10447
10599
|
if (this.initExpressions) {
|
|
10448
10600
|
this.processExpressionAutoComplete(editor);
|
|
10449
10601
|
} else if (this.autoComplete) {
|
|
@@ -10487,55 +10639,95 @@ var script$V = {
|
|
|
10487
10639
|
},
|
|
10488
10640
|
|
|
10489
10641
|
processExpressionAutoComplete (editor) {
|
|
10642
|
+
// Extract text context from current cursor position
|
|
10643
|
+
const getTextContext = (pos) => {
|
|
10644
|
+
const session = editor.session;
|
|
10645
|
+
const line = session.getLine(pos.row);
|
|
10646
|
+
const lastSpaceIndex = Math.max(0, line.lastIndexOf(' '));
|
|
10647
|
+
const textAfterSpace = line.slice(lastSpaceIndex, pos.column).trim();
|
|
10648
|
+
const lastDotIndex = textAfterSpace.lastIndexOf('.');
|
|
10649
|
+
const searchTextForCaption = lastDotIndex >= 0 ? textAfterSpace.slice(lastDotIndex + 1) : textAfterSpace;
|
|
10650
|
+
|
|
10651
|
+
return { line, textAfterSpace, searchTextForCaption }
|
|
10652
|
+
};
|
|
10653
|
+
|
|
10654
|
+
// Check if suggestion matches search text
|
|
10655
|
+
const matchesSuggestion = (suggestion, textAfterSpace, searchTextForCaption) => {
|
|
10656
|
+
const suggestionValue = typeof suggestion === 'string' ? suggestion : suggestion.value;
|
|
10657
|
+
const suggestionCaption = typeof suggestion === 'string' ? suggestion : suggestion.caption;
|
|
10658
|
+
return suggestionValue.toLowerCase().startsWith(textAfterSpace.toLowerCase()) ||
|
|
10659
|
+
suggestionCaption.toLowerCase().startsWith(searchTextForCaption.toLowerCase())
|
|
10660
|
+
};
|
|
10661
|
+
|
|
10662
|
+
// Check and trigger autocomplete if there are matching suggestions
|
|
10663
|
+
const checkAndTriggerAutocomplete = () => {
|
|
10664
|
+
setTimeout(() => {
|
|
10665
|
+
const pos = editor.getCursorPosition();
|
|
10666
|
+
const { line, textAfterSpace, searchTextForCaption } = getTextContext(pos);
|
|
10667
|
+
|
|
10668
|
+
// Don't trigger after closing braces
|
|
10669
|
+
const charBeforeCursor = pos.column > 0 ? line[pos.column - 1] : '';
|
|
10670
|
+
if (charBeforeCursor === '}' || charBeforeCursor === ')' || textAfterSpace.length === 0) {
|
|
10671
|
+
return
|
|
10672
|
+
}
|
|
10673
|
+
|
|
10674
|
+
const context = this.getContext(editor, editor.session, pos);
|
|
10675
|
+
const suggestions = this.getSuggestionsForContext(context);
|
|
10676
|
+
const hasMatches = suggestions.some(s => matchesSuggestion(s, textAfterSpace, searchTextForCaption));
|
|
10677
|
+
|
|
10678
|
+
if (hasMatches) {
|
|
10679
|
+
editor.execCommand('startAutocomplete');
|
|
10680
|
+
}
|
|
10681
|
+
}, 10);
|
|
10682
|
+
};
|
|
10683
|
+
|
|
10490
10684
|
const staticWordCompleter = {
|
|
10685
|
+
identifierRegexps: [/[${\w]+/],
|
|
10491
10686
|
getCompletions: (editor, session, pos, prefix, callback) => {
|
|
10492
10687
|
const context = this.getContext(editor, session, pos);
|
|
10493
10688
|
const suggestions = this.getSuggestionsForContext(context);
|
|
10494
|
-
|
|
10495
|
-
|
|
10496
|
-
|
|
10497
|
-
|
|
10498
|
-
|
|
10499
|
-
|
|
10500
|
-
|
|
10501
|
-
|
|
10502
|
-
|
|
10503
|
-
|
|
10504
|
-
|
|
10505
|
-
|
|
10506
|
-
|
|
10507
|
-
|
|
10508
|
-
|
|
10509
|
-
|
|
10510
|
-
|
|
10511
|
-
|
|
10512
|
-
|
|
10513
|
-
|
|
10514
|
-
|
|
10515
|
-
|
|
10516
|
-
|
|
10517
|
-
|
|
10518
|
-
|
|
10519
|
-
|
|
10520
|
-
|
|
10521
|
-
}
|
|
10522
|
-
|
|
10523
|
-
insertEditor.session.replace({
|
|
10524
|
-
start: { row: pos.row, column: lastSpaceIndex },
|
|
10525
|
-
end: { row: pos.row, column: pos.column },
|
|
10526
|
-
}, insertValue);
|
|
10689
|
+
const { textAfterSpace, searchTextForCaption } = getTextContext(pos);
|
|
10690
|
+
|
|
10691
|
+
const filteredSuggestions = suggestions
|
|
10692
|
+
.filter(s => matchesSuggestion(s, textAfterSpace, searchTextForCaption))
|
|
10693
|
+
.map(suggestion => {
|
|
10694
|
+
const caption = typeof suggestion === 'string' ? suggestion : suggestion.caption;
|
|
10695
|
+
const value = typeof suggestion === 'string' ? suggestion : suggestion.value;
|
|
10696
|
+
const captionMatch = caption.toLowerCase().indexOf(searchTextForCaption.toLowerCase());
|
|
10697
|
+
|
|
10698
|
+
return {
|
|
10699
|
+
caption,
|
|
10700
|
+
value,
|
|
10701
|
+
score: captionMatch === 0 ? 10000 : 1000,
|
|
10702
|
+
meta: 'variable',
|
|
10703
|
+
completer: {
|
|
10704
|
+
insertMatch: (insertEditor, data) => {
|
|
10705
|
+
insertEditor.jumpToMatching();
|
|
10706
|
+
const line = session.getLine(pos.row);
|
|
10707
|
+
const spaceIndex = line.lastIndexOf(' ');
|
|
10708
|
+
const startCol = spaceIndex > 0 ? spaceIndex + 1 : 0;
|
|
10709
|
+
|
|
10710
|
+
insertEditor.session.replace({
|
|
10711
|
+
start: { row: pos.row, column: startCol },
|
|
10712
|
+
end: { row: pos.row, column: pos.column },
|
|
10713
|
+
}, data.value);
|
|
10714
|
+
|
|
10715
|
+
checkAndTriggerAutocomplete();
|
|
10716
|
+
},
|
|
10527
10717
|
},
|
|
10528
|
-
}
|
|
10529
|
-
}
|
|
10530
|
-
|
|
10718
|
+
}
|
|
10719
|
+
});
|
|
10720
|
+
|
|
10721
|
+
callback(null, filteredSuggestions);
|
|
10531
10722
|
},
|
|
10532
10723
|
};
|
|
10533
10724
|
|
|
10534
10725
|
editor.completers = [staticWordCompleter];
|
|
10535
10726
|
|
|
10536
|
-
|
|
10727
|
+
// Only trigger autocomplete automatically when there's a partial match
|
|
10728
|
+
editor.commands.on('afterExec', (e) => {
|
|
10537
10729
|
if (['insertstring', 'Return'].includes(e.command.name) || /^[\w.($]$/.test(e.args)) {
|
|
10538
|
-
|
|
10730
|
+
checkAndTriggerAutocomplete();
|
|
10539
10731
|
}
|
|
10540
10732
|
});
|
|
10541
10733
|
|
|
@@ -10545,54 +10737,50 @@ var script$V = {
|
|
|
10545
10737
|
|
|
10546
10738
|
getContext (editor, session, pos) {
|
|
10547
10739
|
const line = session.getLine(pos.row);
|
|
10548
|
-
const lastSpaceIndex =
|
|
10549
|
-
const textBeforeCursor = line.slice(lastSpaceIndex, pos.column);
|
|
10550
|
-
|
|
10551
|
-
|
|
10552
|
-
return context
|
|
10740
|
+
const lastSpaceIndex = Math.max(0, line.lastIndexOf(' '));
|
|
10741
|
+
const textBeforeCursor = line.slice(lastSpaceIndex, pos.column).trim();
|
|
10742
|
+
return textBeforeCursor.split('.').slice(0, -1).join('.')
|
|
10553
10743
|
},
|
|
10554
10744
|
|
|
10555
10745
|
getSuggestionsForContext (context) {
|
|
10556
|
-
|
|
10557
|
-
|
|
10558
|
-
return suggestions[context] || []
|
|
10746
|
+
return this.autoCompleteSuggestions[context] || []
|
|
10559
10747
|
},
|
|
10560
10748
|
},
|
|
10561
10749
|
};
|
|
10562
10750
|
|
|
10563
10751
|
/* script */
|
|
10564
|
-
const __vue_script__$
|
|
10752
|
+
const __vue_script__$W = script$W;
|
|
10565
10753
|
|
|
10566
10754
|
/* template */
|
|
10567
|
-
var __vue_render__$
|
|
10568
|
-
var __vue_staticRenderFns__$
|
|
10755
|
+
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)};
|
|
10756
|
+
var __vue_staticRenderFns__$U = [];
|
|
10569
10757
|
|
|
10570
10758
|
/* style */
|
|
10571
|
-
const __vue_inject_styles__$
|
|
10759
|
+
const __vue_inject_styles__$X = function (inject) {
|
|
10572
10760
|
if (!inject) return
|
|
10573
|
-
inject("data-v-
|
|
10574
|
-
,inject("data-v-
|
|
10761
|
+
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 })
|
|
10762
|
+
,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 });
|
|
10575
10763
|
|
|
10576
10764
|
};
|
|
10577
10765
|
/* scoped */
|
|
10578
|
-
const __vue_scope_id__$
|
|
10766
|
+
const __vue_scope_id__$X = "data-v-00e2204c";
|
|
10579
10767
|
/* module identifier */
|
|
10580
|
-
const __vue_module_identifier__$
|
|
10768
|
+
const __vue_module_identifier__$X = undefined;
|
|
10581
10769
|
/* functional template */
|
|
10582
|
-
const __vue_is_functional_template__$
|
|
10770
|
+
const __vue_is_functional_template__$X = false;
|
|
10583
10771
|
/* style inject SSR */
|
|
10584
10772
|
|
|
10585
10773
|
/* style inject shadow dom */
|
|
10586
10774
|
|
|
10587
10775
|
|
|
10588
10776
|
|
|
10589
|
-
const __vue_component__$
|
|
10590
|
-
{ render: __vue_render__$
|
|
10591
|
-
__vue_inject_styles__$
|
|
10592
|
-
__vue_script__$
|
|
10593
|
-
__vue_scope_id__$
|
|
10594
|
-
__vue_is_functional_template__$
|
|
10595
|
-
__vue_module_identifier__$
|
|
10777
|
+
const __vue_component__$X = /*#__PURE__*/normalizeComponent(
|
|
10778
|
+
{ render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
|
|
10779
|
+
__vue_inject_styles__$X,
|
|
10780
|
+
__vue_script__$W,
|
|
10781
|
+
__vue_scope_id__$X,
|
|
10782
|
+
__vue_is_functional_template__$X,
|
|
10783
|
+
__vue_module_identifier__$X,
|
|
10596
10784
|
false,
|
|
10597
10785
|
createInjector);
|
|
10598
10786
|
|
|
@@ -10613,9 +10801,9 @@ var __vue_staticRenderFns__$T = [];
|
|
|
10613
10801
|
//
|
|
10614
10802
|
|
|
10615
10803
|
|
|
10616
|
-
var script$
|
|
10804
|
+
var script$V = {
|
|
10617
10805
|
components: {
|
|
10618
|
-
CAceEditor: __vue_component__$
|
|
10806
|
+
CAceEditor: __vue_component__$X,
|
|
10619
10807
|
},
|
|
10620
10808
|
|
|
10621
10809
|
props: {
|
|
@@ -10629,9 +10817,9 @@ var script$U = {
|
|
|
10629
10817
|
default: 'text',
|
|
10630
10818
|
},
|
|
10631
10819
|
|
|
10632
|
-
|
|
10820
|
+
minHeight: {
|
|
10633
10821
|
type: String,
|
|
10634
|
-
default: '
|
|
10822
|
+
default: '2.35rem',
|
|
10635
10823
|
},
|
|
10636
10824
|
|
|
10637
10825
|
showLineNumbers: {
|
|
@@ -10683,6 +10871,11 @@ var script$U = {
|
|
|
10683
10871
|
type: String,
|
|
10684
10872
|
default: '',
|
|
10685
10873
|
},
|
|
10874
|
+
|
|
10875
|
+
resizable: {
|
|
10876
|
+
type: Boolean,
|
|
10877
|
+
default: true,
|
|
10878
|
+
},
|
|
10686
10879
|
},
|
|
10687
10880
|
|
|
10688
10881
|
computed: {
|
|
@@ -10759,20 +10952,20 @@ var script$U = {
|
|
|
10759
10952
|
};
|
|
10760
10953
|
|
|
10761
10954
|
/* script */
|
|
10762
|
-
const __vue_script__$
|
|
10955
|
+
const __vue_script__$V = script$V;
|
|
10763
10956
|
|
|
10764
10957
|
/* template */
|
|
10765
|
-
var __vue_render__$
|
|
10766
|
-
var __vue_staticRenderFns__$
|
|
10958
|
+
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)};
|
|
10959
|
+
var __vue_staticRenderFns__$T = [];
|
|
10767
10960
|
|
|
10768
10961
|
/* style */
|
|
10769
|
-
const __vue_inject_styles__$
|
|
10962
|
+
const __vue_inject_styles__$W = undefined;
|
|
10770
10963
|
/* scoped */
|
|
10771
|
-
const __vue_scope_id__$
|
|
10964
|
+
const __vue_scope_id__$W = undefined;
|
|
10772
10965
|
/* module identifier */
|
|
10773
|
-
const __vue_module_identifier__$
|
|
10966
|
+
const __vue_module_identifier__$W = undefined;
|
|
10774
10967
|
/* functional template */
|
|
10775
|
-
const __vue_is_functional_template__$
|
|
10968
|
+
const __vue_is_functional_template__$W = false;
|
|
10776
10969
|
/* style inject */
|
|
10777
10970
|
|
|
10778
10971
|
/* style inject SSR */
|
|
@@ -10781,13 +10974,13 @@ var __vue_staticRenderFns__$S = [];
|
|
|
10781
10974
|
|
|
10782
10975
|
|
|
10783
10976
|
|
|
10784
|
-
const __vue_component__$
|
|
10785
|
-
{ render: __vue_render__$
|
|
10786
|
-
__vue_inject_styles__$
|
|
10787
|
-
__vue_script__$
|
|
10788
|
-
__vue_scope_id__$
|
|
10789
|
-
__vue_is_functional_template__$
|
|
10790
|
-
__vue_module_identifier__$
|
|
10977
|
+
const __vue_component__$W = /*#__PURE__*/normalizeComponent(
|
|
10978
|
+
{ render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
|
|
10979
|
+
__vue_inject_styles__$W,
|
|
10980
|
+
__vue_script__$V,
|
|
10981
|
+
__vue_scope_id__$W,
|
|
10982
|
+
__vue_is_functional_template__$W,
|
|
10983
|
+
__vue_module_identifier__$W,
|
|
10791
10984
|
false,
|
|
10792
10985
|
undefined);
|
|
10793
10986
|
|
|
@@ -10826,7 +11019,7 @@ var __vue_staticRenderFns__$S = [];
|
|
|
10826
11019
|
//
|
|
10827
11020
|
//
|
|
10828
11021
|
|
|
10829
|
-
var script$
|
|
11022
|
+
var script$U = {
|
|
10830
11023
|
name: 'CButtonSubmit',
|
|
10831
11024
|
|
|
10832
11025
|
props: {
|
|
@@ -10879,20 +11072,20 @@ var script$T = {
|
|
|
10879
11072
|
};
|
|
10880
11073
|
|
|
10881
11074
|
/* script */
|
|
10882
|
-
const __vue_script__$
|
|
11075
|
+
const __vue_script__$U = script$U;
|
|
10883
11076
|
|
|
10884
11077
|
/* template */
|
|
10885
|
-
var __vue_render__$
|
|
10886
|
-
var __vue_staticRenderFns__$
|
|
11078
|
+
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)};
|
|
11079
|
+
var __vue_staticRenderFns__$S = [];
|
|
10887
11080
|
|
|
10888
11081
|
/* style */
|
|
10889
|
-
const __vue_inject_styles__$
|
|
11082
|
+
const __vue_inject_styles__$V = undefined;
|
|
10890
11083
|
/* scoped */
|
|
10891
|
-
const __vue_scope_id__$
|
|
11084
|
+
const __vue_scope_id__$V = undefined;
|
|
10892
11085
|
/* module identifier */
|
|
10893
|
-
const __vue_module_identifier__$
|
|
11086
|
+
const __vue_module_identifier__$V = undefined;
|
|
10894
11087
|
/* functional template */
|
|
10895
|
-
const __vue_is_functional_template__$
|
|
11088
|
+
const __vue_is_functional_template__$V = false;
|
|
10896
11089
|
/* style inject */
|
|
10897
11090
|
|
|
10898
11091
|
/* style inject SSR */
|
|
@@ -10901,13 +11094,13 @@ var __vue_staticRenderFns__$R = [];
|
|
|
10901
11094
|
|
|
10902
11095
|
|
|
10903
11096
|
|
|
10904
|
-
const __vue_component__$
|
|
10905
|
-
{ render: __vue_render__$
|
|
10906
|
-
__vue_inject_styles__$
|
|
10907
|
-
__vue_script__$
|
|
10908
|
-
__vue_scope_id__$
|
|
10909
|
-
__vue_is_functional_template__$
|
|
10910
|
-
__vue_module_identifier__$
|
|
11097
|
+
const __vue_component__$V = /*#__PURE__*/normalizeComponent(
|
|
11098
|
+
{ render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
|
|
11099
|
+
__vue_inject_styles__$V,
|
|
11100
|
+
__vue_script__$U,
|
|
11101
|
+
__vue_scope_id__$V,
|
|
11102
|
+
__vue_is_functional_template__$V,
|
|
11103
|
+
__vue_module_identifier__$V,
|
|
10911
11104
|
false,
|
|
10912
11105
|
undefined);
|
|
10913
11106
|
|
|
@@ -10931,7 +11124,7 @@ var __vue_staticRenderFns__$R = [];
|
|
|
10931
11124
|
//
|
|
10932
11125
|
|
|
10933
11126
|
|
|
10934
|
-
var script$
|
|
11127
|
+
var script$T = {
|
|
10935
11128
|
props: {
|
|
10936
11129
|
value: {
|
|
10937
11130
|
type: [Array, String, Object],
|
|
@@ -11016,9 +11209,9 @@ var script$S = {
|
|
|
11016
11209
|
}, 400),
|
|
11017
11210
|
|
|
11018
11211
|
updateValue (role) {
|
|
11019
|
-
// reset
|
|
11020
|
-
if (this
|
|
11021
|
-
this.$refs.
|
|
11212
|
+
// reset role-select value for better value presentation
|
|
11213
|
+
if (this.clearOnSelect && this.$refs.roleSelect) {
|
|
11214
|
+
this.$refs.roleSelect._data._value = undefined;
|
|
11022
11215
|
}
|
|
11023
11216
|
|
|
11024
11217
|
this.$emit('input', role);
|
|
@@ -11031,20 +11224,20 @@ var script$S = {
|
|
|
11031
11224
|
};
|
|
11032
11225
|
|
|
11033
11226
|
/* script */
|
|
11034
|
-
const __vue_script__$
|
|
11227
|
+
const __vue_script__$T = script$T;
|
|
11035
11228
|
|
|
11036
11229
|
/* template */
|
|
11037
|
-
var __vue_render__$
|
|
11038
|
-
var __vue_staticRenderFns__$
|
|
11230
|
+
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}})};
|
|
11231
|
+
var __vue_staticRenderFns__$R = [];
|
|
11039
11232
|
|
|
11040
11233
|
/* style */
|
|
11041
|
-
const __vue_inject_styles__$
|
|
11234
|
+
const __vue_inject_styles__$U = undefined;
|
|
11042
11235
|
/* scoped */
|
|
11043
|
-
const __vue_scope_id__$
|
|
11236
|
+
const __vue_scope_id__$U = undefined;
|
|
11044
11237
|
/* module identifier */
|
|
11045
|
-
const __vue_module_identifier__$
|
|
11238
|
+
const __vue_module_identifier__$U = undefined;
|
|
11046
11239
|
/* functional template */
|
|
11047
|
-
const __vue_is_functional_template__$
|
|
11240
|
+
const __vue_is_functional_template__$U = false;
|
|
11048
11241
|
/* style inject */
|
|
11049
11242
|
|
|
11050
11243
|
/* style inject SSR */
|
|
@@ -11053,13 +11246,13 @@ var __vue_staticRenderFns__$Q = [];
|
|
|
11053
11246
|
|
|
11054
11247
|
|
|
11055
11248
|
|
|
11056
|
-
const __vue_component__$
|
|
11057
|
-
{ render: __vue_render__$
|
|
11058
|
-
__vue_inject_styles__$
|
|
11059
|
-
__vue_script__$
|
|
11060
|
-
__vue_scope_id__$
|
|
11061
|
-
__vue_is_functional_template__$
|
|
11062
|
-
__vue_module_identifier__$
|
|
11249
|
+
const __vue_component__$U = /*#__PURE__*/normalizeComponent(
|
|
11250
|
+
{ render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
|
|
11251
|
+
__vue_inject_styles__$U,
|
|
11252
|
+
__vue_script__$T,
|
|
11253
|
+
__vue_scope_id__$U,
|
|
11254
|
+
__vue_is_functional_template__$U,
|
|
11255
|
+
__vue_module_identifier__$U,
|
|
11063
11256
|
false,
|
|
11064
11257
|
undefined);
|
|
11065
11258
|
|
|
@@ -11079,9 +11272,10 @@ var __vue_staticRenderFns__$Q = [];
|
|
|
11079
11272
|
//
|
|
11080
11273
|
//
|
|
11081
11274
|
//
|
|
11275
|
+
//
|
|
11082
11276
|
|
|
11083
11277
|
|
|
11084
|
-
var script$
|
|
11278
|
+
var script$S = {
|
|
11085
11279
|
name: 'CInputUser',
|
|
11086
11280
|
|
|
11087
11281
|
props: {
|
|
@@ -11094,6 +11288,11 @@ var script$R = {
|
|
|
11094
11288
|
type: String,
|
|
11095
11289
|
default: '',
|
|
11096
11290
|
},
|
|
11291
|
+
|
|
11292
|
+
clearOnSelect: {
|
|
11293
|
+
type: Boolean,
|
|
11294
|
+
default: false,
|
|
11295
|
+
},
|
|
11097
11296
|
},
|
|
11098
11297
|
|
|
11099
11298
|
data () {
|
|
@@ -11158,8 +11357,13 @@ var script$R = {
|
|
|
11158
11357
|
}
|
|
11159
11358
|
},
|
|
11160
11359
|
|
|
11161
|
-
onUserUpdate (
|
|
11162
|
-
this.$
|
|
11360
|
+
onUserUpdate (user) {
|
|
11361
|
+
if (this.clearOnSelect && this.$refs.userSelect) {
|
|
11362
|
+
this.$refs.userSelect._data._value = undefined;
|
|
11363
|
+
}
|
|
11364
|
+
|
|
11365
|
+
this.$emit('input', user.userID);
|
|
11366
|
+
this.$emit('input-object', user);
|
|
11163
11367
|
},
|
|
11164
11368
|
|
|
11165
11369
|
getOptionKey ({ userID }) {
|
|
@@ -11172,11 +11376,153 @@ var script$R = {
|
|
|
11172
11376
|
},
|
|
11173
11377
|
};
|
|
11174
11378
|
|
|
11379
|
+
/* script */
|
|
11380
|
+
const __vue_script__$S = script$S;
|
|
11381
|
+
|
|
11382
|
+
/* template */
|
|
11383
|
+
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))};
|
|
11384
|
+
var __vue_staticRenderFns__$Q = [];
|
|
11385
|
+
|
|
11386
|
+
/* style */
|
|
11387
|
+
const __vue_inject_styles__$T = undefined;
|
|
11388
|
+
/* scoped */
|
|
11389
|
+
const __vue_scope_id__$T = undefined;
|
|
11390
|
+
/* module identifier */
|
|
11391
|
+
const __vue_module_identifier__$T = undefined;
|
|
11392
|
+
/* functional template */
|
|
11393
|
+
const __vue_is_functional_template__$T = false;
|
|
11394
|
+
/* style inject */
|
|
11395
|
+
|
|
11396
|
+
/* style inject SSR */
|
|
11397
|
+
|
|
11398
|
+
/* style inject shadow dom */
|
|
11399
|
+
|
|
11400
|
+
|
|
11401
|
+
|
|
11402
|
+
const __vue_component__$T = /*#__PURE__*/normalizeComponent(
|
|
11403
|
+
{ render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
|
|
11404
|
+
__vue_inject_styles__$T,
|
|
11405
|
+
__vue_script__$S,
|
|
11406
|
+
__vue_scope_id__$T,
|
|
11407
|
+
__vue_is_functional_template__$T,
|
|
11408
|
+
__vue_module_identifier__$T,
|
|
11409
|
+
false,
|
|
11410
|
+
undefined);
|
|
11411
|
+
|
|
11412
|
+
//
|
|
11413
|
+
//
|
|
11414
|
+
//
|
|
11415
|
+
//
|
|
11416
|
+
//
|
|
11417
|
+
//
|
|
11418
|
+
//
|
|
11419
|
+
//
|
|
11420
|
+
//
|
|
11421
|
+
//
|
|
11422
|
+
//
|
|
11423
|
+
//
|
|
11424
|
+
//
|
|
11425
|
+
//
|
|
11426
|
+
//
|
|
11427
|
+
//
|
|
11428
|
+
|
|
11429
|
+
|
|
11430
|
+
var script$R = {
|
|
11431
|
+
name: 'CInputUserGroup',
|
|
11432
|
+
|
|
11433
|
+
props: {
|
|
11434
|
+
value: {
|
|
11435
|
+
type: String,
|
|
11436
|
+
default: null,
|
|
11437
|
+
},
|
|
11438
|
+
|
|
11439
|
+
placeholder: {
|
|
11440
|
+
type: String,
|
|
11441
|
+
default: '',
|
|
11442
|
+
},
|
|
11443
|
+
},
|
|
11444
|
+
|
|
11445
|
+
data () {
|
|
11446
|
+
return {
|
|
11447
|
+
processing: false,
|
|
11448
|
+
|
|
11449
|
+
userGroup: {
|
|
11450
|
+
options: [],
|
|
11451
|
+
value: undefined,
|
|
11452
|
+
|
|
11453
|
+
filter: {
|
|
11454
|
+
query: null,
|
|
11455
|
+
limit: 20,
|
|
11456
|
+
},
|
|
11457
|
+
},
|
|
11458
|
+
}
|
|
11459
|
+
},
|
|
11460
|
+
|
|
11461
|
+
created () {
|
|
11462
|
+
this.fetchUserGroups().then(() => {
|
|
11463
|
+
this.getUserGroupByID(this.value);
|
|
11464
|
+
});
|
|
11465
|
+
},
|
|
11466
|
+
|
|
11467
|
+
methods: {
|
|
11468
|
+
search: _.debounce(function (query) {
|
|
11469
|
+
if (query !== this.userGroup.filter.query) {
|
|
11470
|
+
this.userGroup.filter.query = query;
|
|
11471
|
+
this.userGroup.filter.page = 1;
|
|
11472
|
+
}
|
|
11473
|
+
|
|
11474
|
+
this.fetchUserGroups();
|
|
11475
|
+
}, 300),
|
|
11476
|
+
|
|
11477
|
+
fetchUserGroups() {
|
|
11478
|
+
this.processing = true;
|
|
11479
|
+
|
|
11480
|
+
return this.$SystemAPI
|
|
11481
|
+
.userGroupList(this.userGroup.filter)
|
|
11482
|
+
.then(({ set }) => {
|
|
11483
|
+
this.userGroup.options = set.map((m) => new cortezaJs.system.UserGroup(m));
|
|
11484
|
+
})
|
|
11485
|
+
.finally(() => {
|
|
11486
|
+
setTimeout(() => {
|
|
11487
|
+
this.processing = false;
|
|
11488
|
+
}, 500);
|
|
11489
|
+
})
|
|
11490
|
+
},
|
|
11491
|
+
|
|
11492
|
+
getUserGroupByID (userGroupID) {
|
|
11493
|
+
if (!userGroupID || userGroupID === cortezaJs.NoID) {
|
|
11494
|
+
this.userGroup.value = this.userGroup.options.find(({ isRoot }) => !!isRoot);
|
|
11495
|
+
|
|
11496
|
+
this.$emit('input', this.userGroup.value?.userGroupID);
|
|
11497
|
+
return
|
|
11498
|
+
}
|
|
11499
|
+
|
|
11500
|
+
const userGroup = this.userGroup.options.find(o => o.userGroupID === userGroupID);
|
|
11501
|
+
|
|
11502
|
+
if (userGroup) {
|
|
11503
|
+
this.userGroup.value = userGroup;
|
|
11504
|
+
}
|
|
11505
|
+
},
|
|
11506
|
+
|
|
11507
|
+
onUserGroupUpdate ({ userGroupID }) {
|
|
11508
|
+
this.$emit('input', userGroupID);
|
|
11509
|
+
},
|
|
11510
|
+
|
|
11511
|
+
getOptionKey ({ userGroupID }) {
|
|
11512
|
+
return userGroupID
|
|
11513
|
+
},
|
|
11514
|
+
|
|
11515
|
+
getOptionLabel ({ handle, meta = {}, userGroupID }) {
|
|
11516
|
+
return meta.short || handle || userGroupID
|
|
11517
|
+
},
|
|
11518
|
+
},
|
|
11519
|
+
};
|
|
11520
|
+
|
|
11175
11521
|
/* script */
|
|
11176
11522
|
const __vue_script__$R = script$R;
|
|
11177
11523
|
|
|
11178
11524
|
/* template */
|
|
11179
|
-
var __vue_render__$P = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-input-select',_vm._b({attrs:{"data-test-id":"select-user","options":_vm.
|
|
11525
|
+
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))};
|
|
11180
11526
|
var __vue_staticRenderFns__$P = [];
|
|
11181
11527
|
|
|
11182
11528
|
/* style */
|
|
@@ -11583,8 +11929,8 @@ var script$M = {
|
|
|
11583
11929
|
|
|
11584
11930
|
components: {
|
|
11585
11931
|
Rules: __vue_component__$O,
|
|
11586
|
-
CInputSelect: __vue_component__$
|
|
11587
|
-
CInputRole: __vue_component__$
|
|
11932
|
+
CInputSelect: __vue_component__$1c,
|
|
11933
|
+
CInputRole: __vue_component__$U,
|
|
11588
11934
|
},
|
|
11589
11935
|
|
|
11590
11936
|
props: {
|
|
@@ -12218,7 +12564,7 @@ var script$H = {
|
|
|
12218
12564
|
name: 'CPromptComposeRecordPicker',
|
|
12219
12565
|
|
|
12220
12566
|
components: {
|
|
12221
|
-
CInputSelect: __vue_component__$
|
|
12567
|
+
CInputSelect: __vue_component__$1c,
|
|
12222
12568
|
CPagination: __vue_component__$J,
|
|
12223
12569
|
},
|
|
12224
12570
|
|
|
@@ -12485,7 +12831,7 @@ var script$G = {
|
|
|
12485
12831
|
name: 'CPromptInput',
|
|
12486
12832
|
|
|
12487
12833
|
components: {
|
|
12488
|
-
CInputDateTime: __vue_component__$
|
|
12834
|
+
CInputDateTime: __vue_component__$1d,
|
|
12489
12835
|
},
|
|
12490
12836
|
|
|
12491
12837
|
extends: __vue_component__$M,
|
|
@@ -12604,7 +12950,7 @@ var script$E = {
|
|
|
12604
12950
|
name: 'CPromptOptions',
|
|
12605
12951
|
|
|
12606
12952
|
components: {
|
|
12607
|
-
CInputSelect: __vue_component__$
|
|
12953
|
+
CInputSelect: __vue_component__$1c,
|
|
12608
12954
|
},
|
|
12609
12955
|
|
|
12610
12956
|
extends: __vue_component__$M,
|
|
@@ -15182,7 +15528,7 @@ var script$n = {
|
|
|
15182
15528
|
components: {
|
|
15183
15529
|
draggable: Draggable,
|
|
15184
15530
|
CItemPickerItem: __vue_component__$p,
|
|
15185
|
-
CInputSearch: __vue_component__$
|
|
15531
|
+
CInputSearch: __vue_component__$19,
|
|
15186
15532
|
},
|
|
15187
15533
|
|
|
15188
15534
|
props: {
|
|
@@ -16478,7 +16824,7 @@ var __vue_staticRenderFns__$i = [];
|
|
|
16478
16824
|
|
|
16479
16825
|
var script$g = {
|
|
16480
16826
|
components: {
|
|
16481
|
-
CInputSelect: __vue_component__$
|
|
16827
|
+
CInputSelect: __vue_component__$1c,
|
|
16482
16828
|
},
|
|
16483
16829
|
|
|
16484
16830
|
props: {
|
|
@@ -16839,7 +17185,7 @@ var script$f = {
|
|
|
16839
17185
|
name: 'ResourceList',
|
|
16840
17186
|
|
|
16841
17187
|
components: {
|
|
16842
|
-
CInputSearch: __vue_component__$
|
|
17188
|
+
CInputSearch: __vue_component__$19,
|
|
16843
17189
|
},
|
|
16844
17190
|
|
|
16845
17191
|
props: {
|
|
@@ -17542,7 +17888,7 @@ n(css$3,{});
|
|
|
17542
17888
|
var script$c = {
|
|
17543
17889
|
components: {
|
|
17544
17890
|
LControl: vue2Leaflet.LControl,
|
|
17545
|
-
CInputSearch: __vue_component__$
|
|
17891
|
+
CInputSearch: __vue_component__$19,
|
|
17546
17892
|
LPolygon: vue2Leaflet.LPolygon,
|
|
17547
17893
|
LTileLayer: vue2Leaflet.LTileLayer,
|
|
17548
17894
|
LMarker: vue2Leaflet.LMarker,
|
|
@@ -18339,7 +18685,7 @@ var script$8 = {
|
|
|
18339
18685
|
},
|
|
18340
18686
|
|
|
18341
18687
|
components: {
|
|
18342
|
-
CInputConfirm: __vue_component__$
|
|
18688
|
+
CInputConfirm: __vue_component__$1f,
|
|
18343
18689
|
},
|
|
18344
18690
|
|
|
18345
18691
|
props: {
|
|
@@ -19380,35 +19726,36 @@ var index$6 = {
|
|
|
19380
19726
|
var index$5 = /*#__PURE__*/Object.freeze({
|
|
19381
19727
|
__proto__: null,
|
|
19382
19728
|
C3: index$6,
|
|
19383
|
-
CAceEditor: __vue_component__$
|
|
19384
|
-
CButtonSubmit: __vue_component__$
|
|
19729
|
+
CAceEditor: __vue_component__$X,
|
|
19730
|
+
CButtonSubmit: __vue_component__$V,
|
|
19385
19731
|
CChart: __vue_component__$m,
|
|
19386
|
-
CCorredorManualButtons: __vue_component__$
|
|
19387
|
-
CExtendSession: __vue_component__$
|
|
19388
|
-
CFormTableWrapper: __vue_component__$
|
|
19732
|
+
CCorredorManualButtons: __vue_component__$1o,
|
|
19733
|
+
CExtendSession: __vue_component__$1p,
|
|
19734
|
+
CFormTableWrapper: __vue_component__$1b,
|
|
19389
19735
|
CHint: __vue_component__$d,
|
|
19390
|
-
CInputCheckbox: __vue_component__$
|
|
19391
|
-
CInputColorPicker: __vue_component__$
|
|
19392
|
-
CInputConfirm: __vue_component__$
|
|
19393
|
-
CInputDateTime: __vue_component__$
|
|
19394
|
-
CInputExpression: __vue_component__$
|
|
19395
|
-
CInputPresort: __vue_component__$
|
|
19396
|
-
CInputProcessing: __vue_component__$
|
|
19397
|
-
CInputRole: __vue_component__$
|
|
19398
|
-
CInputSearch: __vue_component__$
|
|
19399
|
-
CInputSelect: __vue_component__$
|
|
19400
|
-
CInputUser: __vue_component__$
|
|
19736
|
+
CInputCheckbox: __vue_component__$Y,
|
|
19737
|
+
CInputColorPicker: __vue_component__$18,
|
|
19738
|
+
CInputConfirm: __vue_component__$1f,
|
|
19739
|
+
CInputDateTime: __vue_component__$1d,
|
|
19740
|
+
CInputExpression: __vue_component__$W,
|
|
19741
|
+
CInputPresort: __vue_component__$1a,
|
|
19742
|
+
CInputProcessing: __vue_component__$1e,
|
|
19743
|
+
CInputRole: __vue_component__$U,
|
|
19744
|
+
CInputSearch: __vue_component__$19,
|
|
19745
|
+
CInputSelect: __vue_component__$1c,
|
|
19746
|
+
CInputUser: __vue_component__$T,
|
|
19747
|
+
CInputUserGroup: __vue_component__$S,
|
|
19401
19748
|
CItemPicker: __vue_component__$o,
|
|
19402
19749
|
CItemPickerItem: __vue_component__$p,
|
|
19403
|
-
CLightbox: __vue_component__$
|
|
19750
|
+
CLightbox: __vue_component__$1j,
|
|
19404
19751
|
CLoaderLogo: __vue_component__$B,
|
|
19405
19752
|
CMap: __vue_component__$c,
|
|
19406
19753
|
CNotificationButton: __vue_component__$A,
|
|
19407
19754
|
CNotificationSidebar: __vue_component__$6,
|
|
19408
19755
|
CPermissionsButton: __vue_component__$R,
|
|
19409
19756
|
CPermissionsModal: __vue_component__$N,
|
|
19410
|
-
CPreviewInline: __vue_component__$
|
|
19411
|
-
CPreviewLightbox: __vue_component__$
|
|
19757
|
+
CPreviewInline: __vue_component__$1g,
|
|
19758
|
+
CPreviewLightbox: __vue_component__$1h,
|
|
19412
19759
|
CProgress: __vue_component__$f,
|
|
19413
19760
|
CPromptModal: __vue_component__$D,
|
|
19414
19761
|
CPromptToast: __vue_component__$E,
|
|
@@ -19419,7 +19766,7 @@ var index$5 = /*#__PURE__*/Object.freeze({
|
|
|
19419
19766
|
CReportTable: __vue_component__$j,
|
|
19420
19767
|
CReportText: __vue_component__$i,
|
|
19421
19768
|
CResourceList: __vue_component__$g,
|
|
19422
|
-
CRichTextInput: __vue_component__$
|
|
19769
|
+
CRichTextInput: __vue_component__$Z,
|
|
19423
19770
|
CSensitivityLevelPicker: __vue_component__$h,
|
|
19424
19771
|
CSidebar: __vue_component__$y,
|
|
19425
19772
|
CSidebarNavItems: __vue_component__$x,
|