@cortezaproject/corteza-vue 2024.9.3-dev.3 → 2024.9.3-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.d.ts +1 -1
- package/dist/components/input/index.d.ts +1 -0
- package/dist/index.es.js +717 -640
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +717 -640
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- 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/plugins/reminder.d.ts +0 -66
- package/dist/plugins/settings.d.ts +0 -27
package/dist/index.es.js
CHANGED
|
@@ -5897,7 +5897,7 @@ var index$7 = /*#__PURE__*/Object.freeze({
|
|
|
5897
5897
|
//
|
|
5898
5898
|
|
|
5899
5899
|
|
|
5900
|
-
var script$
|
|
5900
|
+
var script$1l = {
|
|
5901
5901
|
name: 'CExtendSession',
|
|
5902
5902
|
|
|
5903
5903
|
props: {
|
|
@@ -6074,20 +6074,20 @@ function normalizeComponent(template, style, script, scopeId, isFunctionalTempla
|
|
|
6074
6074
|
}
|
|
6075
6075
|
|
|
6076
6076
|
/* script */
|
|
6077
|
-
const __vue_script__$
|
|
6077
|
+
const __vue_script__$1l = script$1l;
|
|
6078
6078
|
|
|
6079
6079
|
/* template */
|
|
6080
|
-
var __vue_render__$
|
|
6081
|
-
var __vue_staticRenderFns__$
|
|
6080
|
+
var __vue_render__$1g = 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)};
|
|
6081
|
+
var __vue_staticRenderFns__$1g = [];
|
|
6082
6082
|
|
|
6083
6083
|
/* style */
|
|
6084
|
-
const __vue_inject_styles__$
|
|
6084
|
+
const __vue_inject_styles__$1n = undefined;
|
|
6085
6085
|
/* scoped */
|
|
6086
|
-
const __vue_scope_id__$
|
|
6086
|
+
const __vue_scope_id__$1n = undefined;
|
|
6087
6087
|
/* module identifier */
|
|
6088
|
-
const __vue_module_identifier__$
|
|
6088
|
+
const __vue_module_identifier__$1n = undefined;
|
|
6089
6089
|
/* functional template */
|
|
6090
|
-
const __vue_is_functional_template__$
|
|
6090
|
+
const __vue_is_functional_template__$1n = false;
|
|
6091
6091
|
/* style inject */
|
|
6092
6092
|
|
|
6093
6093
|
/* style inject SSR */
|
|
@@ -6096,17 +6096,17 @@ var __vue_staticRenderFns__$1f = [];
|
|
|
6096
6096
|
|
|
6097
6097
|
|
|
6098
6098
|
|
|
6099
|
-
const __vue_component__$
|
|
6100
|
-
{ render: __vue_render__$
|
|
6101
|
-
__vue_inject_styles__$
|
|
6102
|
-
__vue_script__$
|
|
6103
|
-
__vue_scope_id__$
|
|
6104
|
-
__vue_is_functional_template__$
|
|
6105
|
-
__vue_module_identifier__$
|
|
6099
|
+
const __vue_component__$1n = /*#__PURE__*/normalizeComponent(
|
|
6100
|
+
{ render: __vue_render__$1g, staticRenderFns: __vue_staticRenderFns__$1g },
|
|
6101
|
+
__vue_inject_styles__$1n,
|
|
6102
|
+
__vue_script__$1l,
|
|
6103
|
+
__vue_scope_id__$1n,
|
|
6104
|
+
__vue_is_functional_template__$1n,
|
|
6105
|
+
__vue_module_identifier__$1n,
|
|
6106
6106
|
false,
|
|
6107
6107
|
undefined);
|
|
6108
6108
|
|
|
6109
|
-
var script$
|
|
6109
|
+
var script$1k = {
|
|
6110
6110
|
props: {
|
|
6111
6111
|
resourceType: {
|
|
6112
6112
|
type: String,
|
|
@@ -6147,20 +6147,20 @@ var script$1j = {
|
|
|
6147
6147
|
};
|
|
6148
6148
|
|
|
6149
6149
|
/* script */
|
|
6150
|
-
const __vue_script__$
|
|
6150
|
+
const __vue_script__$1k = script$1k;
|
|
6151
6151
|
|
|
6152
6152
|
/* template */
|
|
6153
|
-
var __vue_render__$
|
|
6154
|
-
var __vue_staticRenderFns__$
|
|
6153
|
+
var __vue_render__$1f = 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()};
|
|
6154
|
+
var __vue_staticRenderFns__$1f = [];
|
|
6155
6155
|
|
|
6156
6156
|
/* style */
|
|
6157
|
-
const __vue_inject_styles__$
|
|
6157
|
+
const __vue_inject_styles__$1m = undefined;
|
|
6158
6158
|
/* scoped */
|
|
6159
|
-
const __vue_scope_id__$
|
|
6159
|
+
const __vue_scope_id__$1m = undefined;
|
|
6160
6160
|
/* module identifier */
|
|
6161
|
-
const __vue_module_identifier__$
|
|
6161
|
+
const __vue_module_identifier__$1m = undefined;
|
|
6162
6162
|
/* functional template */
|
|
6163
|
-
const __vue_is_functional_template__$
|
|
6163
|
+
const __vue_is_functional_template__$1m = false;
|
|
6164
6164
|
/* style inject */
|
|
6165
6165
|
|
|
6166
6166
|
/* style inject SSR */
|
|
@@ -6169,17 +6169,17 @@ var __vue_staticRenderFns__$1e = [];
|
|
|
6169
6169
|
|
|
6170
6170
|
|
|
6171
6171
|
|
|
6172
|
-
const __vue_component__$
|
|
6173
|
-
{ render: __vue_render__$
|
|
6174
|
-
__vue_inject_styles__$
|
|
6175
|
-
__vue_script__$
|
|
6176
|
-
__vue_scope_id__$
|
|
6177
|
-
__vue_is_functional_template__$
|
|
6178
|
-
__vue_module_identifier__$
|
|
6172
|
+
const __vue_component__$1m = /*#__PURE__*/normalizeComponent(
|
|
6173
|
+
{ render: __vue_render__$1f, staticRenderFns: __vue_staticRenderFns__$1f },
|
|
6174
|
+
__vue_inject_styles__$1m,
|
|
6175
|
+
__vue_script__$1k,
|
|
6176
|
+
__vue_scope_id__$1m,
|
|
6177
|
+
__vue_is_functional_template__$1m,
|
|
6178
|
+
__vue_module_identifier__$1m,
|
|
6179
6179
|
false,
|
|
6180
6180
|
undefined);
|
|
6181
6181
|
|
|
6182
|
-
var script$
|
|
6182
|
+
var script$1j = {
|
|
6183
6183
|
props: {
|
|
6184
6184
|
labels: {
|
|
6185
6185
|
type: Object,
|
|
@@ -6225,18 +6225,18 @@ var script$1i = {
|
|
|
6225
6225
|
};
|
|
6226
6226
|
|
|
6227
6227
|
/* script */
|
|
6228
|
-
const __vue_script__$
|
|
6228
|
+
const __vue_script__$1j = script$1j;
|
|
6229
6229
|
|
|
6230
6230
|
/* template */
|
|
6231
6231
|
|
|
6232
6232
|
/* style */
|
|
6233
|
-
const __vue_inject_styles__$
|
|
6233
|
+
const __vue_inject_styles__$1l = undefined;
|
|
6234
6234
|
/* scoped */
|
|
6235
|
-
const __vue_scope_id__$
|
|
6235
|
+
const __vue_scope_id__$1l = undefined;
|
|
6236
6236
|
/* module identifier */
|
|
6237
|
-
const __vue_module_identifier__$
|
|
6237
|
+
const __vue_module_identifier__$1l = undefined;
|
|
6238
6238
|
/* functional template */
|
|
6239
|
-
const __vue_is_functional_template__$
|
|
6239
|
+
const __vue_is_functional_template__$1l = undefined;
|
|
6240
6240
|
/* style inject */
|
|
6241
6241
|
|
|
6242
6242
|
/* style inject SSR */
|
|
@@ -6245,18 +6245,18 @@ const __vue_script__$1i = script$1i;
|
|
|
6245
6245
|
|
|
6246
6246
|
|
|
6247
6247
|
|
|
6248
|
-
const __vue_component__$
|
|
6248
|
+
const __vue_component__$1l = /*#__PURE__*/normalizeComponent(
|
|
6249
6249
|
{},
|
|
6250
|
-
__vue_inject_styles__$
|
|
6251
|
-
__vue_script__$
|
|
6252
|
-
__vue_scope_id__$
|
|
6253
|
-
__vue_is_functional_template__$
|
|
6254
|
-
__vue_module_identifier__$
|
|
6250
|
+
__vue_inject_styles__$1l,
|
|
6251
|
+
__vue_script__$1j,
|
|
6252
|
+
__vue_scope_id__$1l,
|
|
6253
|
+
__vue_is_functional_template__$1l,
|
|
6254
|
+
__vue_module_identifier__$1l,
|
|
6255
6255
|
false,
|
|
6256
6256
|
undefined);
|
|
6257
6257
|
|
|
6258
|
-
var script$
|
|
6259
|
-
extends: __vue_component__$
|
|
6258
|
+
var script$1i = {
|
|
6259
|
+
extends: __vue_component__$1l,
|
|
6260
6260
|
|
|
6261
6261
|
props: {
|
|
6262
6262
|
alt: {
|
|
@@ -6365,46 +6365,46 @@ function addStyle(id, css) {
|
|
|
6365
6365
|
}
|
|
6366
6366
|
|
|
6367
6367
|
/* script */
|
|
6368
|
-
const __vue_script__$
|
|
6368
|
+
const __vue_script__$1i = script$1i;
|
|
6369
6369
|
|
|
6370
6370
|
/* template */
|
|
6371
|
-
var __vue_render__$
|
|
6372
|
-
var __vue_staticRenderFns__$
|
|
6371
|
+
var __vue_render__$1e = 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;}}})])};
|
|
6372
|
+
var __vue_staticRenderFns__$1e = [];
|
|
6373
6373
|
|
|
6374
6374
|
/* style */
|
|
6375
|
-
const __vue_inject_styles__$
|
|
6375
|
+
const __vue_inject_styles__$1k = function (inject) {
|
|
6376
6376
|
if (!inject) return
|
|
6377
6377
|
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 });
|
|
6378
6378
|
|
|
6379
6379
|
};
|
|
6380
6380
|
/* scoped */
|
|
6381
|
-
const __vue_scope_id__$
|
|
6381
|
+
const __vue_scope_id__$1k = "data-v-5b22ddfb";
|
|
6382
6382
|
/* module identifier */
|
|
6383
|
-
const __vue_module_identifier__$
|
|
6383
|
+
const __vue_module_identifier__$1k = undefined;
|
|
6384
6384
|
/* functional template */
|
|
6385
|
-
const __vue_is_functional_template__$
|
|
6385
|
+
const __vue_is_functional_template__$1k = false;
|
|
6386
6386
|
/* style inject SSR */
|
|
6387
6387
|
|
|
6388
6388
|
/* style inject shadow dom */
|
|
6389
6389
|
|
|
6390
6390
|
|
|
6391
6391
|
|
|
6392
|
-
const __vue_component__$
|
|
6393
|
-
{ render: __vue_render__$
|
|
6394
|
-
__vue_inject_styles__$
|
|
6395
|
-
__vue_script__$
|
|
6396
|
-
__vue_scope_id__$
|
|
6397
|
-
__vue_is_functional_template__$
|
|
6398
|
-
__vue_module_identifier__$
|
|
6392
|
+
const __vue_component__$1k = /*#__PURE__*/normalizeComponent(
|
|
6393
|
+
{ render: __vue_render__$1e, staticRenderFns: __vue_staticRenderFns__$1e },
|
|
6394
|
+
__vue_inject_styles__$1k,
|
|
6395
|
+
__vue_script__$1i,
|
|
6396
|
+
__vue_scope_id__$1k,
|
|
6397
|
+
__vue_is_functional_template__$1k,
|
|
6398
|
+
__vue_module_identifier__$1k,
|
|
6399
6399
|
false,
|
|
6400
6400
|
createInjector);
|
|
6401
6401
|
|
|
6402
|
-
var script$
|
|
6402
|
+
var script$1h = {
|
|
6403
6403
|
components: {
|
|
6404
6404
|
PhotoSwipe,
|
|
6405
6405
|
},
|
|
6406
6406
|
|
|
6407
|
-
extends: __vue_component__$
|
|
6407
|
+
extends: __vue_component__$1l,
|
|
6408
6408
|
|
|
6409
6409
|
data () {
|
|
6410
6410
|
return {
|
|
@@ -6460,37 +6460,37 @@ var script$1g = {
|
|
|
6460
6460
|
};
|
|
6461
6461
|
|
|
6462
6462
|
/* script */
|
|
6463
|
-
const __vue_script__$
|
|
6463
|
+
const __vue_script__$1h = script$1h;
|
|
6464
6464
|
|
|
6465
6465
|
/* template */
|
|
6466
|
-
var __vue_render__$
|
|
6467
|
-
var __vue_staticRenderFns__$
|
|
6466
|
+
var __vue_render__$1d = 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)};
|
|
6467
|
+
var __vue_staticRenderFns__$1d = [];
|
|
6468
6468
|
|
|
6469
6469
|
/* style */
|
|
6470
|
-
const __vue_inject_styles__$
|
|
6470
|
+
const __vue_inject_styles__$1j = function (inject) {
|
|
6471
6471
|
if (!inject) return
|
|
6472
6472
|
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 });
|
|
6473
6473
|
|
|
6474
6474
|
};
|
|
6475
6475
|
/* scoped */
|
|
6476
|
-
const __vue_scope_id__$
|
|
6476
|
+
const __vue_scope_id__$1j = undefined;
|
|
6477
6477
|
/* module identifier */
|
|
6478
|
-
const __vue_module_identifier__$
|
|
6478
|
+
const __vue_module_identifier__$1j = undefined;
|
|
6479
6479
|
/* functional template */
|
|
6480
|
-
const __vue_is_functional_template__$
|
|
6480
|
+
const __vue_is_functional_template__$1j = false;
|
|
6481
6481
|
/* style inject SSR */
|
|
6482
6482
|
|
|
6483
6483
|
/* style inject shadow dom */
|
|
6484
6484
|
|
|
6485
6485
|
|
|
6486
6486
|
|
|
6487
|
-
const __vue_component__$
|
|
6488
|
-
{ render: __vue_render__$
|
|
6489
|
-
__vue_inject_styles__$
|
|
6490
|
-
__vue_script__$
|
|
6491
|
-
__vue_scope_id__$
|
|
6492
|
-
__vue_is_functional_template__$
|
|
6493
|
-
__vue_module_identifier__$
|
|
6487
|
+
const __vue_component__$1j = /*#__PURE__*/normalizeComponent(
|
|
6488
|
+
{ render: __vue_render__$1d, staticRenderFns: __vue_staticRenderFns__$1d },
|
|
6489
|
+
__vue_inject_styles__$1j,
|
|
6490
|
+
__vue_script__$1h,
|
|
6491
|
+
__vue_scope_id__$1j,
|
|
6492
|
+
__vue_is_functional_template__$1j,
|
|
6493
|
+
__vue_module_identifier__$1j,
|
|
6494
6494
|
false,
|
|
6495
6495
|
createInjector);
|
|
6496
6496
|
|
|
@@ -6584,8 +6584,8 @@ function sleep (t) {
|
|
|
6584
6584
|
return new Promise(resolve => setTimeout(resolve, t))
|
|
6585
6585
|
}
|
|
6586
6586
|
|
|
6587
|
-
var script$
|
|
6588
|
-
extends: __vue_component__$
|
|
6587
|
+
var script$1g = {
|
|
6588
|
+
extends: __vue_component__$1l,
|
|
6589
6589
|
|
|
6590
6590
|
props: {
|
|
6591
6591
|
retryBackoff: {
|
|
@@ -6835,72 +6835,72 @@ var script$1f = {
|
|
|
6835
6835
|
};
|
|
6836
6836
|
|
|
6837
6837
|
/* script */
|
|
6838
|
-
const __vue_script__$
|
|
6838
|
+
const __vue_script__$1g = script$1g;
|
|
6839
6839
|
|
|
6840
6840
|
/* template */
|
|
6841
|
-
var __vue_render__$
|
|
6842
|
-
var __vue_staticRenderFns__$
|
|
6841
|
+
var __vue_render__$1c = 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()])};
|
|
6842
|
+
var __vue_staticRenderFns__$1c = [];
|
|
6843
6843
|
|
|
6844
6844
|
/* style */
|
|
6845
|
-
const __vue_inject_styles__$
|
|
6845
|
+
const __vue_inject_styles__$1i = function (inject) {
|
|
6846
6846
|
if (!inject) return
|
|
6847
6847
|
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 })
|
|
6848
6848
|
,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 });
|
|
6849
6849
|
|
|
6850
6850
|
};
|
|
6851
6851
|
/* scoped */
|
|
6852
|
-
const __vue_scope_id__$
|
|
6852
|
+
const __vue_scope_id__$1i = "data-v-6b03f585";
|
|
6853
6853
|
/* module identifier */
|
|
6854
|
-
const __vue_module_identifier__$
|
|
6854
|
+
const __vue_module_identifier__$1i = undefined;
|
|
6855
6855
|
/* functional template */
|
|
6856
|
-
const __vue_is_functional_template__$
|
|
6856
|
+
const __vue_is_functional_template__$1i = false;
|
|
6857
6857
|
/* style inject SSR */
|
|
6858
6858
|
|
|
6859
6859
|
/* style inject shadow dom */
|
|
6860
6860
|
|
|
6861
6861
|
|
|
6862
6862
|
|
|
6863
|
-
const __vue_component__$
|
|
6864
|
-
{ render: __vue_render__$
|
|
6865
|
-
__vue_inject_styles__$
|
|
6866
|
-
__vue_script__$
|
|
6867
|
-
__vue_scope_id__$
|
|
6868
|
-
__vue_is_functional_template__$
|
|
6869
|
-
__vue_module_identifier__$
|
|
6863
|
+
const __vue_component__$1i = /*#__PURE__*/normalizeComponent(
|
|
6864
|
+
{ render: __vue_render__$1c, staticRenderFns: __vue_staticRenderFns__$1c },
|
|
6865
|
+
__vue_inject_styles__$1i,
|
|
6866
|
+
__vue_script__$1g,
|
|
6867
|
+
__vue_scope_id__$1i,
|
|
6868
|
+
__vue_is_functional_template__$1i,
|
|
6869
|
+
__vue_module_identifier__$1i,
|
|
6870
6870
|
false,
|
|
6871
6871
|
createInjector);
|
|
6872
6872
|
|
|
6873
6873
|
/* script */
|
|
6874
6874
|
|
|
6875
6875
|
/* template */
|
|
6876
|
-
var __vue_render__$
|
|
6877
|
-
var __vue_staticRenderFns__$
|
|
6876
|
+
var __vue_render__$1b = 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)])};
|
|
6877
|
+
var __vue_staticRenderFns__$1b = [];
|
|
6878
6878
|
|
|
6879
6879
|
/* style */
|
|
6880
|
-
const __vue_inject_styles__$
|
|
6880
|
+
const __vue_inject_styles__$1h = function (inject) {
|
|
6881
6881
|
if (!inject) return
|
|
6882
6882
|
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 });
|
|
6883
6883
|
|
|
6884
6884
|
};
|
|
6885
6885
|
/* scoped */
|
|
6886
|
-
const __vue_scope_id__$
|
|
6886
|
+
const __vue_scope_id__$1h = "data-v-30782d92";
|
|
6887
6887
|
/* module identifier */
|
|
6888
|
-
const __vue_module_identifier__$
|
|
6888
|
+
const __vue_module_identifier__$1h = undefined;
|
|
6889
6889
|
/* functional template */
|
|
6890
|
-
const __vue_is_functional_template__$
|
|
6890
|
+
const __vue_is_functional_template__$1h = false;
|
|
6891
6891
|
/* style inject SSR */
|
|
6892
6892
|
|
|
6893
6893
|
/* style inject shadow dom */
|
|
6894
6894
|
|
|
6895
6895
|
|
|
6896
6896
|
|
|
6897
|
-
const __vue_component__$
|
|
6898
|
-
{ render: __vue_render__$
|
|
6899
|
-
__vue_inject_styles__$
|
|
6897
|
+
const __vue_component__$1h = /*#__PURE__*/normalizeComponent(
|
|
6898
|
+
{ render: __vue_render__$1b, staticRenderFns: __vue_staticRenderFns__$1b },
|
|
6899
|
+
__vue_inject_styles__$1h,
|
|
6900
6900
|
{},
|
|
6901
|
-
__vue_scope_id__$
|
|
6902
|
-
__vue_is_functional_template__$
|
|
6903
|
-
__vue_module_identifier__$
|
|
6901
|
+
__vue_scope_id__$1h,
|
|
6902
|
+
__vue_is_functional_template__$1h,
|
|
6903
|
+
__vue_module_identifier__$1h,
|
|
6904
6904
|
false,
|
|
6905
6905
|
createInjector);
|
|
6906
6906
|
|
|
@@ -6955,7 +6955,7 @@ var canPreview = function canPreview(_ref2) {
|
|
|
6955
6955
|
});
|
|
6956
6956
|
};
|
|
6957
6957
|
|
|
6958
|
-
var script$
|
|
6958
|
+
var script$1f = {
|
|
6959
6959
|
inheritAttrs: false,
|
|
6960
6960
|
|
|
6961
6961
|
props: {
|
|
@@ -6977,18 +6977,18 @@ var script$1e = {
|
|
|
6977
6977
|
};
|
|
6978
6978
|
|
|
6979
6979
|
/* script */
|
|
6980
|
-
const __vue_script__$
|
|
6980
|
+
const __vue_script__$1f = script$1f;
|
|
6981
6981
|
|
|
6982
6982
|
/* template */
|
|
6983
6983
|
|
|
6984
6984
|
/* style */
|
|
6985
|
-
const __vue_inject_styles__$
|
|
6985
|
+
const __vue_inject_styles__$1g = undefined;
|
|
6986
6986
|
/* scoped */
|
|
6987
|
-
const __vue_scope_id__$
|
|
6987
|
+
const __vue_scope_id__$1g = undefined;
|
|
6988
6988
|
/* module identifier */
|
|
6989
|
-
const __vue_module_identifier__$
|
|
6989
|
+
const __vue_module_identifier__$1g = undefined;
|
|
6990
6990
|
/* functional template */
|
|
6991
|
-
const __vue_is_functional_template__$
|
|
6991
|
+
const __vue_is_functional_template__$1g = undefined;
|
|
6992
6992
|
/* style inject */
|
|
6993
6993
|
|
|
6994
6994
|
/* style inject SSR */
|
|
@@ -6997,41 +6997,41 @@ const __vue_script__$1e = script$1e;
|
|
|
6997
6997
|
|
|
6998
6998
|
|
|
6999
6999
|
|
|
7000
|
-
const __vue_component__$
|
|
7000
|
+
const __vue_component__$1g = /*#__PURE__*/normalizeComponent(
|
|
7001
7001
|
{},
|
|
7002
|
-
__vue_inject_styles__$
|
|
7003
|
-
__vue_script__$
|
|
7004
|
-
__vue_scope_id__$
|
|
7005
|
-
__vue_is_functional_template__$
|
|
7006
|
-
__vue_module_identifier__$
|
|
7002
|
+
__vue_inject_styles__$1g,
|
|
7003
|
+
__vue_script__$1f,
|
|
7004
|
+
__vue_scope_id__$1g,
|
|
7005
|
+
__vue_is_functional_template__$1g,
|
|
7006
|
+
__vue_module_identifier__$1g,
|
|
7007
7007
|
false,
|
|
7008
7008
|
undefined);
|
|
7009
7009
|
|
|
7010
|
-
var script$
|
|
7010
|
+
var script$1e = {
|
|
7011
7011
|
components: {
|
|
7012
|
-
CLightbox: __vue_component__$
|
|
7013
|
-
IMG: __vue_component__$
|
|
7014
|
-
PDF: __vue_component__$
|
|
7012
|
+
CLightbox: __vue_component__$1h,
|
|
7013
|
+
IMG: __vue_component__$1j,
|
|
7014
|
+
PDF: __vue_component__$1i,
|
|
7015
7015
|
},
|
|
7016
7016
|
|
|
7017
|
-
extends: __vue_component__$
|
|
7017
|
+
extends: __vue_component__$1g,
|
|
7018
7018
|
};
|
|
7019
7019
|
|
|
7020
7020
|
/* script */
|
|
7021
|
-
const __vue_script__$
|
|
7021
|
+
const __vue_script__$1e = script$1e;
|
|
7022
7022
|
|
|
7023
7023
|
/* template */
|
|
7024
|
-
var __vue_render__$
|
|
7025
|
-
var __vue_staticRenderFns__$
|
|
7024
|
+
var __vue_render__$1a = 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)};
|
|
7025
|
+
var __vue_staticRenderFns__$1a = [];
|
|
7026
7026
|
|
|
7027
7027
|
/* style */
|
|
7028
|
-
const __vue_inject_styles__$
|
|
7028
|
+
const __vue_inject_styles__$1f = undefined;
|
|
7029
7029
|
/* scoped */
|
|
7030
|
-
const __vue_scope_id__$
|
|
7030
|
+
const __vue_scope_id__$1f = undefined;
|
|
7031
7031
|
/* module identifier */
|
|
7032
|
-
const __vue_module_identifier__$
|
|
7032
|
+
const __vue_module_identifier__$1f = undefined;
|
|
7033
7033
|
/* functional template */
|
|
7034
|
-
const __vue_is_functional_template__$
|
|
7034
|
+
const __vue_is_functional_template__$1f = false;
|
|
7035
7035
|
/* style inject */
|
|
7036
7036
|
|
|
7037
7037
|
/* style inject SSR */
|
|
@@ -7040,40 +7040,40 @@ var __vue_staticRenderFns__$19 = [];
|
|
|
7040
7040
|
|
|
7041
7041
|
|
|
7042
7042
|
|
|
7043
|
-
const __vue_component__$
|
|
7044
|
-
{ render: __vue_render__$
|
|
7045
|
-
__vue_inject_styles__$
|
|
7046
|
-
__vue_script__$
|
|
7047
|
-
__vue_scope_id__$
|
|
7048
|
-
__vue_is_functional_template__$
|
|
7049
|
-
__vue_module_identifier__$
|
|
7043
|
+
const __vue_component__$1f = /*#__PURE__*/normalizeComponent(
|
|
7044
|
+
{ render: __vue_render__$1a, staticRenderFns: __vue_staticRenderFns__$1a },
|
|
7045
|
+
__vue_inject_styles__$1f,
|
|
7046
|
+
__vue_script__$1e,
|
|
7047
|
+
__vue_scope_id__$1f,
|
|
7048
|
+
__vue_is_functional_template__$1f,
|
|
7049
|
+
__vue_module_identifier__$1f,
|
|
7050
7050
|
false,
|
|
7051
7051
|
undefined);
|
|
7052
7052
|
|
|
7053
|
-
var script$
|
|
7053
|
+
var script$1d = {
|
|
7054
7054
|
components: {
|
|
7055
|
-
IMG: __vue_component__$
|
|
7056
|
-
PDF: __vue_component__$
|
|
7055
|
+
IMG: __vue_component__$1k,
|
|
7056
|
+
PDF: __vue_component__$1i,
|
|
7057
7057
|
},
|
|
7058
7058
|
|
|
7059
|
-
extends: __vue_component__$
|
|
7059
|
+
extends: __vue_component__$1g,
|
|
7060
7060
|
};
|
|
7061
7061
|
|
|
7062
7062
|
/* script */
|
|
7063
|
-
const __vue_script__$
|
|
7063
|
+
const __vue_script__$1d = script$1d;
|
|
7064
7064
|
|
|
7065
7065
|
/* template */
|
|
7066
|
-
var __vue_render__$
|
|
7067
|
-
var __vue_staticRenderFns__$
|
|
7066
|
+
var __vue_render__$19 = 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)])};
|
|
7067
|
+
var __vue_staticRenderFns__$19 = [];
|
|
7068
7068
|
|
|
7069
7069
|
/* style */
|
|
7070
|
-
const __vue_inject_styles__$
|
|
7070
|
+
const __vue_inject_styles__$1e = undefined;
|
|
7071
7071
|
/* scoped */
|
|
7072
|
-
const __vue_scope_id__$
|
|
7072
|
+
const __vue_scope_id__$1e = undefined;
|
|
7073
7073
|
/* module identifier */
|
|
7074
|
-
const __vue_module_identifier__$
|
|
7074
|
+
const __vue_module_identifier__$1e = undefined;
|
|
7075
7075
|
/* functional template */
|
|
7076
|
-
const __vue_is_functional_template__$
|
|
7076
|
+
const __vue_is_functional_template__$1e = false;
|
|
7077
7077
|
/* style inject */
|
|
7078
7078
|
|
|
7079
7079
|
/* style inject SSR */
|
|
@@ -7082,17 +7082,17 @@ var __vue_staticRenderFns__$18 = [];
|
|
|
7082
7082
|
|
|
7083
7083
|
|
|
7084
7084
|
|
|
7085
|
-
const __vue_component__$
|
|
7086
|
-
{ render: __vue_render__$
|
|
7087
|
-
__vue_inject_styles__$
|
|
7088
|
-
__vue_script__$
|
|
7089
|
-
__vue_scope_id__$
|
|
7090
|
-
__vue_is_functional_template__$
|
|
7091
|
-
__vue_module_identifier__$
|
|
7085
|
+
const __vue_component__$1e = /*#__PURE__*/normalizeComponent(
|
|
7086
|
+
{ render: __vue_render__$19, staticRenderFns: __vue_staticRenderFns__$19 },
|
|
7087
|
+
__vue_inject_styles__$1e,
|
|
7088
|
+
__vue_script__$1d,
|
|
7089
|
+
__vue_scope_id__$1e,
|
|
7090
|
+
__vue_is_functional_template__$1e,
|
|
7091
|
+
__vue_module_identifier__$1e,
|
|
7092
7092
|
false,
|
|
7093
7093
|
undefined);
|
|
7094
7094
|
|
|
7095
|
-
var script$
|
|
7095
|
+
var script$1c = {
|
|
7096
7096
|
props: {
|
|
7097
7097
|
disabled: Boolean,
|
|
7098
7098
|
okDisabled: Boolean,
|
|
@@ -7195,20 +7195,20 @@ var script$1b = {
|
|
|
7195
7195
|
};
|
|
7196
7196
|
|
|
7197
7197
|
/* script */
|
|
7198
|
-
const __vue_script__$
|
|
7198
|
+
const __vue_script__$1c = script$1c;
|
|
7199
7199
|
|
|
7200
7200
|
/* template */
|
|
7201
|
-
var __vue_render__$
|
|
7202
|
-
var __vue_staticRenderFns__$
|
|
7201
|
+
var __vue_render__$18 = 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)};
|
|
7202
|
+
var __vue_staticRenderFns__$18 = [];
|
|
7203
7203
|
|
|
7204
7204
|
/* style */
|
|
7205
|
-
const __vue_inject_styles__$
|
|
7205
|
+
const __vue_inject_styles__$1d = undefined;
|
|
7206
7206
|
/* scoped */
|
|
7207
|
-
const __vue_scope_id__$
|
|
7207
|
+
const __vue_scope_id__$1d = undefined;
|
|
7208
7208
|
/* module identifier */
|
|
7209
|
-
const __vue_module_identifier__$
|
|
7209
|
+
const __vue_module_identifier__$1d = undefined;
|
|
7210
7210
|
/* functional template */
|
|
7211
|
-
const __vue_is_functional_template__$
|
|
7211
|
+
const __vue_is_functional_template__$1d = false;
|
|
7212
7212
|
/* style inject */
|
|
7213
7213
|
|
|
7214
7214
|
/* style inject SSR */
|
|
@@ -7217,13 +7217,13 @@ var __vue_staticRenderFns__$17 = [];
|
|
|
7217
7217
|
|
|
7218
7218
|
|
|
7219
7219
|
|
|
7220
|
-
const __vue_component__$
|
|
7221
|
-
{ render: __vue_render__$
|
|
7222
|
-
__vue_inject_styles__$
|
|
7223
|
-
__vue_script__$
|
|
7224
|
-
__vue_scope_id__$
|
|
7225
|
-
__vue_is_functional_template__$
|
|
7226
|
-
__vue_module_identifier__$
|
|
7220
|
+
const __vue_component__$1d = /*#__PURE__*/normalizeComponent(
|
|
7221
|
+
{ render: __vue_render__$18, staticRenderFns: __vue_staticRenderFns__$18 },
|
|
7222
|
+
__vue_inject_styles__$1d,
|
|
7223
|
+
__vue_script__$1c,
|
|
7224
|
+
__vue_scope_id__$1d,
|
|
7225
|
+
__vue_is_functional_template__$1d,
|
|
7226
|
+
__vue_module_identifier__$1d,
|
|
7227
7227
|
false,
|
|
7228
7228
|
undefined);
|
|
7229
7229
|
|
|
@@ -7246,7 +7246,7 @@ var __vue_staticRenderFns__$17 = [];
|
|
|
7246
7246
|
//
|
|
7247
7247
|
//
|
|
7248
7248
|
|
|
7249
|
-
var script$
|
|
7249
|
+
var script$1b = {
|
|
7250
7250
|
props: {
|
|
7251
7251
|
variant: {
|
|
7252
7252
|
type: String,
|
|
@@ -7268,20 +7268,20 @@ var script$1a = {
|
|
|
7268
7268
|
};
|
|
7269
7269
|
|
|
7270
7270
|
/* script */
|
|
7271
|
-
const __vue_script__$
|
|
7271
|
+
const __vue_script__$1b = script$1b;
|
|
7272
7272
|
|
|
7273
7273
|
/* template */
|
|
7274
|
-
var __vue_render__$
|
|
7275
|
-
var __vue_staticRenderFns__$
|
|
7274
|
+
var __vue_render__$17 = 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)};
|
|
7275
|
+
var __vue_staticRenderFns__$17 = [];
|
|
7276
7276
|
|
|
7277
7277
|
/* style */
|
|
7278
|
-
const __vue_inject_styles__$
|
|
7278
|
+
const __vue_inject_styles__$1c = undefined;
|
|
7279
7279
|
/* scoped */
|
|
7280
|
-
const __vue_scope_id__$
|
|
7280
|
+
const __vue_scope_id__$1c = undefined;
|
|
7281
7281
|
/* module identifier */
|
|
7282
|
-
const __vue_module_identifier__$
|
|
7282
|
+
const __vue_module_identifier__$1c = undefined;
|
|
7283
7283
|
/* functional template */
|
|
7284
|
-
const __vue_is_functional_template__$
|
|
7284
|
+
const __vue_is_functional_template__$1c = false;
|
|
7285
7285
|
/* style inject */
|
|
7286
7286
|
|
|
7287
7287
|
/* style inject SSR */
|
|
@@ -7290,13 +7290,13 @@ var __vue_staticRenderFns__$16 = [];
|
|
|
7290
7290
|
|
|
7291
7291
|
|
|
7292
7292
|
|
|
7293
|
-
const __vue_component__$
|
|
7294
|
-
{ render: __vue_render__$
|
|
7295
|
-
__vue_inject_styles__$
|
|
7296
|
-
__vue_script__$
|
|
7297
|
-
__vue_scope_id__$
|
|
7298
|
-
__vue_is_functional_template__$
|
|
7299
|
-
__vue_module_identifier__$
|
|
7293
|
+
const __vue_component__$1c = /*#__PURE__*/normalizeComponent(
|
|
7294
|
+
{ render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
|
|
7295
|
+
__vue_inject_styles__$1c,
|
|
7296
|
+
__vue_script__$1b,
|
|
7297
|
+
__vue_scope_id__$1c,
|
|
7298
|
+
__vue_is_functional_template__$1c,
|
|
7299
|
+
__vue_module_identifier__$1c,
|
|
7300
7300
|
false,
|
|
7301
7301
|
undefined);
|
|
7302
7302
|
|
|
@@ -7344,7 +7344,7 @@ function setTime(time, value, noDate = false, noTime = false) {
|
|
|
7344
7344
|
return moment(date + ' ' + time, 'YYYY-MM-DD HH:mm').utc().format();
|
|
7345
7345
|
}
|
|
7346
7346
|
|
|
7347
|
-
var script$
|
|
7347
|
+
var script$1a = {
|
|
7348
7348
|
props: {
|
|
7349
7349
|
value: {
|
|
7350
7350
|
type: [String, Date],
|
|
@@ -7415,37 +7415,37 @@ var script$19 = {
|
|
|
7415
7415
|
};
|
|
7416
7416
|
|
|
7417
7417
|
/* script */
|
|
7418
|
-
const __vue_script__$
|
|
7418
|
+
const __vue_script__$1a = script$1a;
|
|
7419
7419
|
|
|
7420
7420
|
/* template */
|
|
7421
|
-
var __vue_render__$
|
|
7422
|
-
var __vue_staticRenderFns__$
|
|
7421
|
+
var __vue_render__$16 = 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,"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,"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)};
|
|
7422
|
+
var __vue_staticRenderFns__$16 = [];
|
|
7423
7423
|
|
|
7424
7424
|
/* style */
|
|
7425
|
-
const __vue_inject_styles__$
|
|
7425
|
+
const __vue_inject_styles__$1b = function (inject) {
|
|
7426
7426
|
if (!inject) return
|
|
7427
7427
|
inject("data-v-11e27d95_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 });
|
|
7428
7428
|
|
|
7429
7429
|
};
|
|
7430
7430
|
/* scoped */
|
|
7431
|
-
const __vue_scope_id__$
|
|
7431
|
+
const __vue_scope_id__$1b = undefined;
|
|
7432
7432
|
/* module identifier */
|
|
7433
|
-
const __vue_module_identifier__$
|
|
7433
|
+
const __vue_module_identifier__$1b = undefined;
|
|
7434
7434
|
/* functional template */
|
|
7435
|
-
const __vue_is_functional_template__$
|
|
7435
|
+
const __vue_is_functional_template__$1b = false;
|
|
7436
7436
|
/* style inject SSR */
|
|
7437
7437
|
|
|
7438
7438
|
/* style inject shadow dom */
|
|
7439
7439
|
|
|
7440
7440
|
|
|
7441
7441
|
|
|
7442
|
-
const __vue_component__$
|
|
7443
|
-
{ render: __vue_render__$
|
|
7444
|
-
__vue_inject_styles__$
|
|
7445
|
-
__vue_script__$
|
|
7446
|
-
__vue_scope_id__$
|
|
7447
|
-
__vue_is_functional_template__$
|
|
7448
|
-
__vue_module_identifier__$
|
|
7442
|
+
const __vue_component__$1b = /*#__PURE__*/normalizeComponent(
|
|
7443
|
+
{ render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
|
|
7444
|
+
__vue_inject_styles__$1b,
|
|
7445
|
+
__vue_script__$1a,
|
|
7446
|
+
__vue_scope_id__$1b,
|
|
7447
|
+
__vue_is_functional_template__$1b,
|
|
7448
|
+
__vue_module_identifier__$1b,
|
|
7449
7449
|
false,
|
|
7450
7450
|
createInjector);
|
|
7451
7451
|
|
|
@@ -7529,7 +7529,7 @@ n(css$5,{});
|
|
|
7529
7529
|
//
|
|
7530
7530
|
|
|
7531
7531
|
|
|
7532
|
-
var script$
|
|
7532
|
+
var script$19 = {
|
|
7533
7533
|
name: 'CInputSelect',
|
|
7534
7534
|
|
|
7535
7535
|
components: {
|
|
@@ -7696,40 +7696,40 @@ var script$18 = {
|
|
|
7696
7696
|
};
|
|
7697
7697
|
|
|
7698
7698
|
/* script */
|
|
7699
|
-
const __vue_script__$
|
|
7699
|
+
const __vue_script__$19 = script$19;
|
|
7700
7700
|
|
|
7701
7701
|
/* template */
|
|
7702
|
-
var __vue_render__$
|
|
7702
|
+
var __vue_render__$15 = 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){
|
|
7703
7703
|
var option = ref.option;
|
|
7704
7704
|
var deselect = ref.deselect;
|
|
7705
7705
|
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))};
|
|
7706
|
-
var __vue_staticRenderFns__$
|
|
7706
|
+
var __vue_staticRenderFns__$15 = [];
|
|
7707
7707
|
|
|
7708
7708
|
/* style */
|
|
7709
|
-
const __vue_inject_styles__$
|
|
7709
|
+
const __vue_inject_styles__$1a = function (inject) {
|
|
7710
7710
|
if (!inject) return
|
|
7711
7711
|
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 });
|
|
7712
7712
|
|
|
7713
7713
|
};
|
|
7714
7714
|
/* scoped */
|
|
7715
|
-
const __vue_scope_id__$
|
|
7715
|
+
const __vue_scope_id__$1a = undefined;
|
|
7716
7716
|
/* module identifier */
|
|
7717
|
-
const __vue_module_identifier__$
|
|
7717
|
+
const __vue_module_identifier__$1a = undefined;
|
|
7718
7718
|
/* functional template */
|
|
7719
|
-
const __vue_is_functional_template__$
|
|
7719
|
+
const __vue_is_functional_template__$1a = false;
|
|
7720
7720
|
/* style inject SSR */
|
|
7721
7721
|
|
|
7722
7722
|
/* style inject shadow dom */
|
|
7723
7723
|
|
|
7724
7724
|
|
|
7725
7725
|
|
|
7726
|
-
const __vue_component__$
|
|
7727
|
-
{ render: __vue_render__$
|
|
7728
|
-
__vue_inject_styles__$
|
|
7729
|
-
__vue_script__$
|
|
7730
|
-
__vue_scope_id__$
|
|
7731
|
-
__vue_is_functional_template__$
|
|
7732
|
-
__vue_module_identifier__$
|
|
7726
|
+
const __vue_component__$1a = /*#__PURE__*/normalizeComponent(
|
|
7727
|
+
{ render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
|
|
7728
|
+
__vue_inject_styles__$1a,
|
|
7729
|
+
__vue_script__$19,
|
|
7730
|
+
__vue_scope_id__$1a,
|
|
7731
|
+
__vue_is_functional_template__$1a,
|
|
7732
|
+
__vue_module_identifier__$1a,
|
|
7733
7733
|
false,
|
|
7734
7734
|
createInjector);
|
|
7735
7735
|
|
|
@@ -7766,7 +7766,7 @@ var __vue_staticRenderFns__$14 = [];
|
|
|
7766
7766
|
//
|
|
7767
7767
|
//
|
|
7768
7768
|
|
|
7769
|
-
var script$
|
|
7769
|
+
var script$18 = {
|
|
7770
7770
|
name: 'CFormTableWrapper',
|
|
7771
7771
|
|
|
7772
7772
|
props: {
|
|
@@ -7803,37 +7803,37 @@ var script$17 = {
|
|
|
7803
7803
|
};
|
|
7804
7804
|
|
|
7805
7805
|
/* script */
|
|
7806
|
-
const __vue_script__$
|
|
7806
|
+
const __vue_script__$18 = script$18;
|
|
7807
7807
|
|
|
7808
7808
|
/* template */
|
|
7809
|
-
var __vue_render__$
|
|
7810
|
-
var __vue_staticRenderFns__$
|
|
7809
|
+
var __vue_render__$14 = 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)};
|
|
7810
|
+
var __vue_staticRenderFns__$14 = [];
|
|
7811
7811
|
|
|
7812
7812
|
/* style */
|
|
7813
|
-
const __vue_inject_styles__$
|
|
7813
|
+
const __vue_inject_styles__$19 = function (inject) {
|
|
7814
7814
|
if (!inject) return
|
|
7815
7815
|
inject("data-v-7ae53668_0", { source: ".list-background[data-v-7ae53668]{background-color:var(--body-bg)}", map: undefined, media: undefined });
|
|
7816
7816
|
|
|
7817
7817
|
};
|
|
7818
7818
|
/* scoped */
|
|
7819
|
-
const __vue_scope_id__$
|
|
7819
|
+
const __vue_scope_id__$19 = "data-v-7ae53668";
|
|
7820
7820
|
/* module identifier */
|
|
7821
|
-
const __vue_module_identifier__$
|
|
7821
|
+
const __vue_module_identifier__$19 = undefined;
|
|
7822
7822
|
/* functional template */
|
|
7823
|
-
const __vue_is_functional_template__$
|
|
7823
|
+
const __vue_is_functional_template__$19 = false;
|
|
7824
7824
|
/* style inject SSR */
|
|
7825
7825
|
|
|
7826
7826
|
/* style inject shadow dom */
|
|
7827
7827
|
|
|
7828
7828
|
|
|
7829
7829
|
|
|
7830
|
-
const __vue_component__$
|
|
7831
|
-
{ render: __vue_render__$
|
|
7832
|
-
__vue_inject_styles__$
|
|
7833
|
-
__vue_script__$
|
|
7834
|
-
__vue_scope_id__$
|
|
7835
|
-
__vue_is_functional_template__$
|
|
7836
|
-
__vue_module_identifier__$
|
|
7830
|
+
const __vue_component__$19 = /*#__PURE__*/normalizeComponent(
|
|
7831
|
+
{ render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
|
|
7832
|
+
__vue_inject_styles__$19,
|
|
7833
|
+
__vue_script__$18,
|
|
7834
|
+
__vue_scope_id__$19,
|
|
7835
|
+
__vue_is_functional_template__$19,
|
|
7836
|
+
__vue_module_identifier__$19,
|
|
7837
7837
|
false,
|
|
7838
7838
|
createInjector);
|
|
7839
7839
|
|
|
@@ -7941,11 +7941,11 @@ var __vue_staticRenderFns__$13 = [];
|
|
|
7941
7941
|
//
|
|
7942
7942
|
|
|
7943
7943
|
|
|
7944
|
-
var script$
|
|
7944
|
+
var script$17 = {
|
|
7945
7945
|
components: {
|
|
7946
7946
|
Draggable,
|
|
7947
|
-
CInputSelect: __vue_component__$
|
|
7948
|
-
CFormTableWrapper: __vue_component__$
|
|
7947
|
+
CInputSelect: __vue_component__$1a,
|
|
7948
|
+
CFormTableWrapper: __vue_component__$19,
|
|
7949
7949
|
},
|
|
7950
7950
|
|
|
7951
7951
|
props: {
|
|
@@ -8055,20 +8055,20 @@ var script$16 = {
|
|
|
8055
8055
|
};
|
|
8056
8056
|
|
|
8057
8057
|
/* script */
|
|
8058
|
-
const __vue_script__$
|
|
8058
|
+
const __vue_script__$17 = script$17;
|
|
8059
8059
|
|
|
8060
8060
|
/* template */
|
|
8061
|
-
var __vue_render__$
|
|
8062
|
-
var __vue_staticRenderFns__$
|
|
8061
|
+
var __vue_render__$13 = 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)};
|
|
8062
|
+
var __vue_staticRenderFns__$13 = [];
|
|
8063
8063
|
|
|
8064
8064
|
/* style */
|
|
8065
|
-
const __vue_inject_styles__$
|
|
8065
|
+
const __vue_inject_styles__$18 = undefined;
|
|
8066
8066
|
/* scoped */
|
|
8067
|
-
const __vue_scope_id__$
|
|
8067
|
+
const __vue_scope_id__$18 = undefined;
|
|
8068
8068
|
/* module identifier */
|
|
8069
|
-
const __vue_module_identifier__$
|
|
8069
|
+
const __vue_module_identifier__$18 = undefined;
|
|
8070
8070
|
/* functional template */
|
|
8071
|
-
const __vue_is_functional_template__$
|
|
8071
|
+
const __vue_is_functional_template__$18 = false;
|
|
8072
8072
|
/* style inject */
|
|
8073
8073
|
|
|
8074
8074
|
/* style inject SSR */
|
|
@@ -8077,13 +8077,13 @@ var __vue_staticRenderFns__$12 = [];
|
|
|
8077
8077
|
|
|
8078
8078
|
|
|
8079
8079
|
|
|
8080
|
-
const __vue_component__$
|
|
8081
|
-
{ render: __vue_render__$
|
|
8082
|
-
__vue_inject_styles__$
|
|
8083
|
-
__vue_script__$
|
|
8084
|
-
__vue_scope_id__$
|
|
8085
|
-
__vue_is_functional_template__$
|
|
8086
|
-
__vue_module_identifier__$
|
|
8080
|
+
const __vue_component__$18 = /*#__PURE__*/normalizeComponent(
|
|
8081
|
+
{ render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
|
|
8082
|
+
__vue_inject_styles__$18,
|
|
8083
|
+
__vue_script__$17,
|
|
8084
|
+
__vue_scope_id__$18,
|
|
8085
|
+
__vue_is_functional_template__$18,
|
|
8086
|
+
__vue_module_identifier__$18,
|
|
8087
8087
|
false,
|
|
8088
8088
|
undefined);
|
|
8089
8089
|
|
|
@@ -8127,7 +8127,7 @@ var __vue_staticRenderFns__$12 = [];
|
|
|
8127
8127
|
//
|
|
8128
8128
|
//
|
|
8129
8129
|
|
|
8130
|
-
var script$
|
|
8130
|
+
var script$16 = {
|
|
8131
8131
|
name: 'CInputSearch',
|
|
8132
8132
|
|
|
8133
8133
|
props: {
|
|
@@ -8221,44 +8221,44 @@ var script$15 = {
|
|
|
8221
8221
|
};
|
|
8222
8222
|
|
|
8223
8223
|
/* script */
|
|
8224
|
-
const __vue_script__$
|
|
8224
|
+
const __vue_script__$16 = script$16;
|
|
8225
8225
|
|
|
8226
8226
|
/* template */
|
|
8227
|
-
var __vue_render__$
|
|
8228
|
-
var __vue_staticRenderFns__$
|
|
8227
|
+
var __vue_render__$12 = 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)};
|
|
8228
|
+
var __vue_staticRenderFns__$12 = [];
|
|
8229
8229
|
|
|
8230
8230
|
/* style */
|
|
8231
|
-
const __vue_inject_styles__$
|
|
8231
|
+
const __vue_inject_styles__$17 = function (inject) {
|
|
8232
8232
|
if (!inject) return
|
|
8233
8233
|
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 });
|
|
8234
8234
|
|
|
8235
8235
|
};
|
|
8236
8236
|
/* scoped */
|
|
8237
|
-
const __vue_scope_id__$
|
|
8237
|
+
const __vue_scope_id__$17 = "data-v-ec96b2dc";
|
|
8238
8238
|
/* module identifier */
|
|
8239
|
-
const __vue_module_identifier__$
|
|
8239
|
+
const __vue_module_identifier__$17 = undefined;
|
|
8240
8240
|
/* functional template */
|
|
8241
|
-
const __vue_is_functional_template__$
|
|
8241
|
+
const __vue_is_functional_template__$17 = false;
|
|
8242
8242
|
/* style inject SSR */
|
|
8243
8243
|
|
|
8244
8244
|
/* style inject shadow dom */
|
|
8245
8245
|
|
|
8246
8246
|
|
|
8247
8247
|
|
|
8248
|
-
const __vue_component__$
|
|
8249
|
-
{ render: __vue_render__$
|
|
8250
|
-
__vue_inject_styles__$
|
|
8251
|
-
__vue_script__$
|
|
8252
|
-
__vue_scope_id__$
|
|
8253
|
-
__vue_is_functional_template__$
|
|
8254
|
-
__vue_module_identifier__$
|
|
8248
|
+
const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
|
|
8249
|
+
{ render: __vue_render__$12, staticRenderFns: __vue_staticRenderFns__$12 },
|
|
8250
|
+
__vue_inject_styles__$17,
|
|
8251
|
+
__vue_script__$16,
|
|
8252
|
+
__vue_scope_id__$17,
|
|
8253
|
+
__vue_is_functional_template__$17,
|
|
8254
|
+
__vue_module_identifier__$17,
|
|
8255
8255
|
false,
|
|
8256
8256
|
createInjector);
|
|
8257
8257
|
|
|
8258
8258
|
/**
|
|
8259
8259
|
* Defines common props, methods between different toolbar item types
|
|
8260
8260
|
*/
|
|
8261
|
-
var script$
|
|
8261
|
+
var script$15 = {
|
|
8262
8262
|
props: {
|
|
8263
8263
|
format: {
|
|
8264
8264
|
type: Object,
|
|
@@ -8306,18 +8306,18 @@ var script$14 = {
|
|
|
8306
8306
|
};
|
|
8307
8307
|
|
|
8308
8308
|
/* script */
|
|
8309
|
-
const __vue_script__$
|
|
8309
|
+
const __vue_script__$15 = script$15;
|
|
8310
8310
|
|
|
8311
8311
|
/* template */
|
|
8312
8312
|
|
|
8313
8313
|
/* style */
|
|
8314
|
-
const __vue_inject_styles__$
|
|
8314
|
+
const __vue_inject_styles__$16 = undefined;
|
|
8315
8315
|
/* scoped */
|
|
8316
|
-
const __vue_scope_id__$
|
|
8316
|
+
const __vue_scope_id__$16 = undefined;
|
|
8317
8317
|
/* module identifier */
|
|
8318
|
-
const __vue_module_identifier__$
|
|
8318
|
+
const __vue_module_identifier__$16 = undefined;
|
|
8319
8319
|
/* functional template */
|
|
8320
|
-
const __vue_is_functional_template__$
|
|
8320
|
+
const __vue_is_functional_template__$16 = undefined;
|
|
8321
8321
|
/* style inject */
|
|
8322
8322
|
|
|
8323
8323
|
/* style inject SSR */
|
|
@@ -8326,13 +8326,13 @@ const __vue_script__$14 = script$14;
|
|
|
8326
8326
|
|
|
8327
8327
|
|
|
8328
8328
|
|
|
8329
|
-
const __vue_component__$
|
|
8329
|
+
const __vue_component__$16 = /*#__PURE__*/normalizeComponent(
|
|
8330
8330
|
{},
|
|
8331
|
-
__vue_inject_styles__$
|
|
8332
|
-
__vue_script__$
|
|
8333
|
-
__vue_scope_id__$
|
|
8334
|
-
__vue_is_functional_template__$
|
|
8335
|
-
__vue_module_identifier__$
|
|
8331
|
+
__vue_inject_styles__$16,
|
|
8332
|
+
__vue_script__$15,
|
|
8333
|
+
__vue_scope_id__$16,
|
|
8334
|
+
__vue_is_functional_template__$16,
|
|
8335
|
+
__vue_module_identifier__$16,
|
|
8336
8336
|
false,
|
|
8337
8337
|
undefined);
|
|
8338
8338
|
|
|
@@ -8378,13 +8378,13 @@ n(css$4,{});
|
|
|
8378
8378
|
* Component is used to display link formatters. It provides an interface to
|
|
8379
8379
|
* input the URL that should be applied.
|
|
8380
8380
|
*/
|
|
8381
|
-
var script$
|
|
8381
|
+
var script$14 = {
|
|
8382
8382
|
name: 'TMarkColor',
|
|
8383
8383
|
|
|
8384
8384
|
components: {
|
|
8385
8385
|
Swatches,
|
|
8386
8386
|
},
|
|
8387
|
-
extends: __vue_component__$
|
|
8387
|
+
extends: __vue_component__$16,
|
|
8388
8388
|
|
|
8389
8389
|
computed: {
|
|
8390
8390
|
typeStyle () {
|
|
@@ -8394,38 +8394,38 @@ var script$13 = {
|
|
|
8394
8394
|
};
|
|
8395
8395
|
|
|
8396
8396
|
/* script */
|
|
8397
|
-
const __vue_script__$
|
|
8397
|
+
const __vue_script__$14 = script$14;
|
|
8398
8398
|
|
|
8399
8399
|
/* template */
|
|
8400
|
-
var __vue_render__$
|
|
8401
|
-
var __vue_staticRenderFns__$
|
|
8400
|
+
var __vue_render__$11 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"id":("color-popover-" + (_vm.format.type)),"variant":"link"}},[_c('span',{staticClass:"icon",class:_vm.typeStyle},[_vm._v("A")])]),_vm._v(" "),_c('b-popover',{ref:"popover",attrs:{"delay":0,"no-fade":"","custom-class":"tcl-popover","triggers":"focus","target":("color-popover-" + (_vm.format.type)),"placement":"bottom","container":null}},[_c('swatches',{attrs:{"swatch-size":"14","colors":"text-advanced","inline":""},on:{"input":function($event){return _vm.onClick(_vm.format.type, { color: $event })}}})],1)],1)};
|
|
8401
|
+
var __vue_staticRenderFns__$11 = [];
|
|
8402
8402
|
|
|
8403
8403
|
/* style */
|
|
8404
|
-
const __vue_inject_styles__$
|
|
8404
|
+
const __vue_inject_styles__$15 = function (inject) {
|
|
8405
8405
|
if (!inject) return
|
|
8406
8406
|
inject("data-v-03ae8050_0", { source: ".icon[data-v-03ae8050]{padding:0 2px}.icon.color-icon[data-v-03ae8050]{border-bottom:1px solid #000}.icon.background-icon[data-v-03ae8050]{background-color:rgba(0,0,0,.07);padding:2px 3px}", map: undefined, media: undefined })
|
|
8407
8407
|
,inject("data-v-03ae8050_1", { source: ".tcl-popover .popover-body{padding:0!important}", map: undefined, media: undefined });
|
|
8408
8408
|
|
|
8409
8409
|
};
|
|
8410
8410
|
/* scoped */
|
|
8411
|
-
const __vue_scope_id__$
|
|
8411
|
+
const __vue_scope_id__$15 = "data-v-03ae8050";
|
|
8412
8412
|
/* module identifier */
|
|
8413
|
-
const __vue_module_identifier__$
|
|
8413
|
+
const __vue_module_identifier__$15 = undefined;
|
|
8414
8414
|
/* functional template */
|
|
8415
|
-
const __vue_is_functional_template__$
|
|
8415
|
+
const __vue_is_functional_template__$15 = false;
|
|
8416
8416
|
/* style inject SSR */
|
|
8417
8417
|
|
|
8418
8418
|
/* style inject shadow dom */
|
|
8419
8419
|
|
|
8420
8420
|
|
|
8421
8421
|
|
|
8422
|
-
const __vue_component__$
|
|
8423
|
-
{ render: __vue_render__$
|
|
8424
|
-
__vue_inject_styles__$
|
|
8425
|
-
__vue_script__$
|
|
8426
|
-
__vue_scope_id__$
|
|
8427
|
-
__vue_is_functional_template__$
|
|
8428
|
-
__vue_module_identifier__$
|
|
8422
|
+
const __vue_component__$15 = /*#__PURE__*/normalizeComponent(
|
|
8423
|
+
{ render: __vue_render__$11, staticRenderFns: __vue_staticRenderFns__$11 },
|
|
8424
|
+
__vue_inject_styles__$15,
|
|
8425
|
+
__vue_script__$14,
|
|
8426
|
+
__vue_scope_id__$15,
|
|
8427
|
+
__vue_is_functional_template__$15,
|
|
8428
|
+
__vue_module_identifier__$15,
|
|
8429
8429
|
false,
|
|
8430
8430
|
createInjector);
|
|
8431
8431
|
|
|
@@ -8453,26 +8453,26 @@ var __vue_staticRenderFns__$10 = [];
|
|
|
8453
8453
|
/**
|
|
8454
8454
|
* Component is used to display simple formatter options such as bold, italic, ...
|
|
8455
8455
|
*/
|
|
8456
|
-
var script$
|
|
8456
|
+
var script$13 = {
|
|
8457
8457
|
name: 'TMarkItem',
|
|
8458
|
-
extends: __vue_component__$
|
|
8458
|
+
extends: __vue_component__$16,
|
|
8459
8459
|
};
|
|
8460
8460
|
|
|
8461
8461
|
/* script */
|
|
8462
|
-
const __vue_script__$
|
|
8462
|
+
const __vue_script__$13 = script$13;
|
|
8463
8463
|
|
|
8464
8464
|
/* template */
|
|
8465
|
-
var __vue_render__
|
|
8466
|
-
var __vue_staticRenderFns__
|
|
8465
|
+
var __vue_render__$10 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"variant":"link"},on:{"click":function($event){return _vm.onClick(_vm.format.type, _vm.format.attrs)}}},[_c('span',{class:_vm.activeClasses(_vm.format.attrs)},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])};
|
|
8466
|
+
var __vue_staticRenderFns__$10 = [];
|
|
8467
8467
|
|
|
8468
8468
|
/* style */
|
|
8469
|
-
const __vue_inject_styles__$
|
|
8469
|
+
const __vue_inject_styles__$14 = undefined;
|
|
8470
8470
|
/* scoped */
|
|
8471
|
-
const __vue_scope_id__$
|
|
8471
|
+
const __vue_scope_id__$14 = undefined;
|
|
8472
8472
|
/* module identifier */
|
|
8473
|
-
const __vue_module_identifier__$
|
|
8473
|
+
const __vue_module_identifier__$14 = undefined;
|
|
8474
8474
|
/* functional template */
|
|
8475
|
-
const __vue_is_functional_template__$
|
|
8475
|
+
const __vue_is_functional_template__$14 = false;
|
|
8476
8476
|
/* style inject */
|
|
8477
8477
|
|
|
8478
8478
|
/* style inject SSR */
|
|
@@ -8481,13 +8481,13 @@ var __vue_staticRenderFns__$$ = [];
|
|
|
8481
8481
|
|
|
8482
8482
|
|
|
8483
8483
|
|
|
8484
|
-
const __vue_component__$
|
|
8485
|
-
{ render: __vue_render__
|
|
8486
|
-
__vue_inject_styles__$
|
|
8487
|
-
__vue_script__$
|
|
8488
|
-
__vue_scope_id__$
|
|
8489
|
-
__vue_is_functional_template__$
|
|
8490
|
-
__vue_module_identifier__$
|
|
8484
|
+
const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
|
|
8485
|
+
{ render: __vue_render__$10, staticRenderFns: __vue_staticRenderFns__$10 },
|
|
8486
|
+
__vue_inject_styles__$14,
|
|
8487
|
+
__vue_script__$13,
|
|
8488
|
+
__vue_scope_id__$14,
|
|
8489
|
+
__vue_is_functional_template__$14,
|
|
8490
|
+
__vue_module_identifier__$14,
|
|
8491
8491
|
false,
|
|
8492
8492
|
undefined);
|
|
8493
8493
|
|
|
@@ -8541,9 +8541,9 @@ var __vue_staticRenderFns__$$ = [];
|
|
|
8541
8541
|
* Component is used to display link formatters. It provides an interface to
|
|
8542
8542
|
* input the URL that should be applied.
|
|
8543
8543
|
*/
|
|
8544
|
-
var script$
|
|
8544
|
+
var script$12 = {
|
|
8545
8545
|
name: 'TMarkLink',
|
|
8546
|
-
extends: __vue_component__$
|
|
8546
|
+
extends: __vue_component__$16,
|
|
8547
8547
|
|
|
8548
8548
|
props: {
|
|
8549
8549
|
labels: {
|
|
@@ -8603,20 +8603,20 @@ var script$11 = {
|
|
|
8603
8603
|
};
|
|
8604
8604
|
|
|
8605
8605
|
/* script */
|
|
8606
|
-
const __vue_script__$
|
|
8606
|
+
const __vue_script__$12 = script$12;
|
|
8607
8607
|
|
|
8608
8608
|
/* template */
|
|
8609
|
-
var __vue_render__
|
|
8610
|
-
var __vue_staticRenderFns__
|
|
8609
|
+
var __vue_render__$$ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":"link-popover-container"}},[_c('b-button',{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{"id":"link-popover","variant":"link"},on:{"click":_vm.showPopover}},[_c('span',{class:_vm.activeClasses(_vm.format.attrs)},[_c('font-awesome-icon',{attrs:{"icon":"link"}})],1)]),_vm._v(" "),(_vm.currentValue)?_c('b-popover',{ref:"popover",attrs:{"show":_vm.visible,"triggers":"focus","target":"link-popover","placement":"auto","container":"link-popover-container"},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)};
|
|
8610
|
+
var __vue_staticRenderFns__$$ = [];
|
|
8611
8611
|
|
|
8612
8612
|
/* style */
|
|
8613
|
-
const __vue_inject_styles__$
|
|
8613
|
+
const __vue_inject_styles__$13 = undefined;
|
|
8614
8614
|
/* scoped */
|
|
8615
|
-
const __vue_scope_id__$
|
|
8615
|
+
const __vue_scope_id__$13 = undefined;
|
|
8616
8616
|
/* module identifier */
|
|
8617
|
-
const __vue_module_identifier__$
|
|
8617
|
+
const __vue_module_identifier__$13 = undefined;
|
|
8618
8618
|
/* functional template */
|
|
8619
|
-
const __vue_is_functional_template__$
|
|
8619
|
+
const __vue_is_functional_template__$13 = false;
|
|
8620
8620
|
/* style inject */
|
|
8621
8621
|
|
|
8622
8622
|
/* style inject SSR */
|
|
@@ -8625,20 +8625,20 @@ var __vue_staticRenderFns__$_ = [];
|
|
|
8625
8625
|
|
|
8626
8626
|
|
|
8627
8627
|
|
|
8628
|
-
const __vue_component__$
|
|
8629
|
-
{ render: __vue_render__
|
|
8630
|
-
__vue_inject_styles__$
|
|
8631
|
-
__vue_script__$
|
|
8632
|
-
__vue_scope_id__$
|
|
8633
|
-
__vue_is_functional_template__$
|
|
8634
|
-
__vue_module_identifier__$
|
|
8628
|
+
const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
|
|
8629
|
+
{ render: __vue_render__$$, staticRenderFns: __vue_staticRenderFns__$$ },
|
|
8630
|
+
__vue_inject_styles__$13,
|
|
8631
|
+
__vue_script__$12,
|
|
8632
|
+
__vue_scope_id__$13,
|
|
8633
|
+
__vue_is_functional_template__$13,
|
|
8634
|
+
__vue_module_identifier__$13,
|
|
8635
8635
|
false,
|
|
8636
8636
|
undefined);
|
|
8637
8637
|
|
|
8638
8638
|
var mark = {
|
|
8639
|
-
Color: __vue_component__$
|
|
8640
|
-
Item: __vue_component__$
|
|
8641
|
-
Link: __vue_component__$
|
|
8639
|
+
Color: __vue_component__$15,
|
|
8640
|
+
Item: __vue_component__$14,
|
|
8641
|
+
Link: __vue_component__$13
|
|
8642
8642
|
};
|
|
8643
8643
|
|
|
8644
8644
|
function findDiffStart(a, b, pos) {
|
|
@@ -12109,7 +12109,7 @@ var nodeTypes = getToolbar().filter(function (_ref) {
|
|
|
12109
12109
|
/**
|
|
12110
12110
|
* Defines common props, methods between different toolbar item types
|
|
12111
12111
|
*/
|
|
12112
|
-
var script$
|
|
12112
|
+
var script$11 = {
|
|
12113
12113
|
props: {
|
|
12114
12114
|
format: {
|
|
12115
12115
|
type: Object,
|
|
@@ -12216,18 +12216,18 @@ var script$10 = {
|
|
|
12216
12216
|
};
|
|
12217
12217
|
|
|
12218
12218
|
/* script */
|
|
12219
|
-
const __vue_script__$
|
|
12219
|
+
const __vue_script__$11 = script$11;
|
|
12220
12220
|
|
|
12221
12221
|
/* template */
|
|
12222
12222
|
|
|
12223
12223
|
/* style */
|
|
12224
|
-
const __vue_inject_styles__$
|
|
12224
|
+
const __vue_inject_styles__$12 = undefined;
|
|
12225
12225
|
/* scoped */
|
|
12226
|
-
const __vue_scope_id__$
|
|
12226
|
+
const __vue_scope_id__$12 = undefined;
|
|
12227
12227
|
/* module identifier */
|
|
12228
|
-
const __vue_module_identifier__$
|
|
12228
|
+
const __vue_module_identifier__$12 = undefined;
|
|
12229
12229
|
/* functional template */
|
|
12230
|
-
const __vue_is_functional_template__$
|
|
12230
|
+
const __vue_is_functional_template__$12 = undefined;
|
|
12231
12231
|
/* style inject */
|
|
12232
12232
|
|
|
12233
12233
|
/* style inject SSR */
|
|
@@ -12236,13 +12236,13 @@ const __vue_script__$10 = script$10;
|
|
|
12236
12236
|
|
|
12237
12237
|
|
|
12238
12238
|
|
|
12239
|
-
const __vue_component__$
|
|
12239
|
+
const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
|
|
12240
12240
|
{},
|
|
12241
|
-
__vue_inject_styles__$
|
|
12242
|
-
__vue_script__$
|
|
12243
|
-
__vue_scope_id__$
|
|
12244
|
-
__vue_is_functional_template__$
|
|
12245
|
-
__vue_module_identifier__$
|
|
12241
|
+
__vue_inject_styles__$12,
|
|
12242
|
+
__vue_script__$11,
|
|
12243
|
+
__vue_scope_id__$12,
|
|
12244
|
+
__vue_is_functional_template__$12,
|
|
12245
|
+
__vue_module_identifier__$12,
|
|
12246
12246
|
false,
|
|
12247
12247
|
undefined);
|
|
12248
12248
|
|
|
@@ -12270,26 +12270,26 @@ const __vue_script__$10 = script$10;
|
|
|
12270
12270
|
/**
|
|
12271
12271
|
* Component is used to display node types; paragraph, headding, ...
|
|
12272
12272
|
*/
|
|
12273
|
-
var script
|
|
12273
|
+
var script$10 = {
|
|
12274
12274
|
name: 'TNodeItem',
|
|
12275
|
-
extends: __vue_component__$
|
|
12275
|
+
extends: __vue_component__$12,
|
|
12276
12276
|
};
|
|
12277
12277
|
|
|
12278
12278
|
/* script */
|
|
12279
|
-
const __vue_script__
|
|
12279
|
+
const __vue_script__$10 = script$10;
|
|
12280
12280
|
|
|
12281
12281
|
/* template */
|
|
12282
|
-
var __vue_render__$
|
|
12283
|
-
var __vue_staticRenderFns__$
|
|
12282
|
+
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)])};
|
|
12283
|
+
var __vue_staticRenderFns__$_ = [];
|
|
12284
12284
|
|
|
12285
12285
|
/* style */
|
|
12286
|
-
const __vue_inject_styles__$
|
|
12286
|
+
const __vue_inject_styles__$11 = undefined;
|
|
12287
12287
|
/* scoped */
|
|
12288
|
-
const __vue_scope_id__$
|
|
12288
|
+
const __vue_scope_id__$11 = undefined;
|
|
12289
12289
|
/* module identifier */
|
|
12290
|
-
const __vue_module_identifier__$
|
|
12290
|
+
const __vue_module_identifier__$11 = undefined;
|
|
12291
12291
|
/* functional template */
|
|
12292
|
-
const __vue_is_functional_template__$
|
|
12292
|
+
const __vue_is_functional_template__$11 = false;
|
|
12293
12293
|
/* style inject */
|
|
12294
12294
|
|
|
12295
12295
|
/* style inject SSR */
|
|
@@ -12298,18 +12298,18 @@ var __vue_staticRenderFns__$Z = [];
|
|
|
12298
12298
|
|
|
12299
12299
|
|
|
12300
12300
|
|
|
12301
|
-
const __vue_component__$
|
|
12302
|
-
{ render: __vue_render__$
|
|
12303
|
-
__vue_inject_styles__$
|
|
12304
|
-
__vue_script__
|
|
12305
|
-
__vue_scope_id__$
|
|
12306
|
-
__vue_is_functional_template__$
|
|
12307
|
-
__vue_module_identifier__$
|
|
12301
|
+
const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
|
|
12302
|
+
{ render: __vue_render__$_, staticRenderFns: __vue_staticRenderFns__$_ },
|
|
12303
|
+
__vue_inject_styles__$11,
|
|
12304
|
+
__vue_script__$10,
|
|
12305
|
+
__vue_scope_id__$11,
|
|
12306
|
+
__vue_is_functional_template__$11,
|
|
12307
|
+
__vue_module_identifier__$11,
|
|
12308
12308
|
false,
|
|
12309
12309
|
undefined);
|
|
12310
12310
|
|
|
12311
12311
|
var node = {
|
|
12312
|
-
Item: __vue_component__$
|
|
12312
|
+
Item: __vue_component__$11
|
|
12313
12313
|
};
|
|
12314
12314
|
|
|
12315
12315
|
//
|
|
@@ -12355,10 +12355,10 @@ var node = {
|
|
|
12355
12355
|
/**
|
|
12356
12356
|
* Component is used to display node alignment formatting
|
|
12357
12357
|
*/
|
|
12358
|
-
var script
|
|
12358
|
+
var script$$ = {
|
|
12359
12359
|
name: 'TNattrAlignment',
|
|
12360
12360
|
|
|
12361
|
-
extends: __vue_component__$
|
|
12361
|
+
extends: __vue_component__$12,
|
|
12362
12362
|
|
|
12363
12363
|
props: {
|
|
12364
12364
|
isActive: {
|
|
@@ -12412,20 +12412,20 @@ var script$_ = {
|
|
|
12412
12412
|
};
|
|
12413
12413
|
|
|
12414
12414
|
/* script */
|
|
12415
|
-
const __vue_script__
|
|
12415
|
+
const __vue_script__$$ = script$$;
|
|
12416
12416
|
|
|
12417
12417
|
/* template */
|
|
12418
|
-
var __vue_render__$
|
|
12419
|
-
var __vue_staticRenderFns__$
|
|
12418
|
+
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","variant":"link","boundary":"window"},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[_c('span',{class:_vm.rootActiveClasses()},[(_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.dispatchTransaction(v)}}},[_c('span',{class:_vm.activeClasses(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)};
|
|
12419
|
+
var __vue_staticRenderFns__$Z = [];
|
|
12420
12420
|
|
|
12421
12421
|
/* style */
|
|
12422
|
-
const __vue_inject_styles__
|
|
12422
|
+
const __vue_inject_styles__$10 = undefined;
|
|
12423
12423
|
/* scoped */
|
|
12424
|
-
const __vue_scope_id__
|
|
12424
|
+
const __vue_scope_id__$10 = undefined;
|
|
12425
12425
|
/* module identifier */
|
|
12426
|
-
const __vue_module_identifier__
|
|
12426
|
+
const __vue_module_identifier__$10 = undefined;
|
|
12427
12427
|
/* functional template */
|
|
12428
|
-
const __vue_is_functional_template__
|
|
12428
|
+
const __vue_is_functional_template__$10 = false;
|
|
12429
12429
|
/* style inject */
|
|
12430
12430
|
|
|
12431
12431
|
/* style inject SSR */
|
|
@@ -12434,13 +12434,13 @@ var __vue_staticRenderFns__$Y = [];
|
|
|
12434
12434
|
|
|
12435
12435
|
|
|
12436
12436
|
|
|
12437
|
-
const __vue_component__
|
|
12438
|
-
{ render: __vue_render__$
|
|
12439
|
-
__vue_inject_styles__
|
|
12440
|
-
__vue_script__
|
|
12441
|
-
__vue_scope_id__
|
|
12442
|
-
__vue_is_functional_template__
|
|
12443
|
-
__vue_module_identifier__
|
|
12437
|
+
const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
|
|
12438
|
+
{ render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
|
|
12439
|
+
__vue_inject_styles__$10,
|
|
12440
|
+
__vue_script__$$,
|
|
12441
|
+
__vue_scope_id__$10,
|
|
12442
|
+
__vue_is_functional_template__$10,
|
|
12443
|
+
__vue_module_identifier__$10,
|
|
12444
12444
|
false,
|
|
12445
12445
|
undefined);
|
|
12446
12446
|
|
|
@@ -12479,9 +12479,9 @@ var __vue_staticRenderFns__$Y = [];
|
|
|
12479
12479
|
/**
|
|
12480
12480
|
* Component is used to display node alignment formatting
|
|
12481
12481
|
*/
|
|
12482
|
-
var script$
|
|
12482
|
+
var script$_ = {
|
|
12483
12483
|
name: 'TNattrTable',
|
|
12484
|
-
extends: __vue_component__$
|
|
12484
|
+
extends: __vue_component__$12,
|
|
12485
12485
|
|
|
12486
12486
|
props: {
|
|
12487
12487
|
isActive: {
|
|
@@ -12540,20 +12540,20 @@ var script$Z = {
|
|
|
12540
12540
|
};
|
|
12541
12541
|
|
|
12542
12542
|
/* script */
|
|
12543
|
-
const __vue_script__$
|
|
12543
|
+
const __vue_script__$_ = script$_;
|
|
12544
12544
|
|
|
12545
12545
|
/* template */
|
|
12546
|
-
var __vue_render__$
|
|
12547
|
-
var __vue_staticRenderFns__$
|
|
12546
|
+
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","variant":"link","boundary":"window"},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[_c('span',{class:_vm.rootActiveClasses()},[(_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)};
|
|
12547
|
+
var __vue_staticRenderFns__$Y = [];
|
|
12548
12548
|
|
|
12549
12549
|
/* style */
|
|
12550
|
-
const __vue_inject_styles__
|
|
12550
|
+
const __vue_inject_styles__$$ = undefined;
|
|
12551
12551
|
/* scoped */
|
|
12552
|
-
const __vue_scope_id__
|
|
12552
|
+
const __vue_scope_id__$$ = undefined;
|
|
12553
12553
|
/* module identifier */
|
|
12554
|
-
const __vue_module_identifier__
|
|
12554
|
+
const __vue_module_identifier__$$ = undefined;
|
|
12555
12555
|
/* functional template */
|
|
12556
|
-
const __vue_is_functional_template__
|
|
12556
|
+
const __vue_is_functional_template__$$ = false;
|
|
12557
12557
|
/* style inject */
|
|
12558
12558
|
|
|
12559
12559
|
/* style inject SSR */
|
|
@@ -12562,19 +12562,19 @@ var __vue_staticRenderFns__$X = [];
|
|
|
12562
12562
|
|
|
12563
12563
|
|
|
12564
12564
|
|
|
12565
|
-
const __vue_component__
|
|
12566
|
-
{ render: __vue_render__$
|
|
12567
|
-
__vue_inject_styles__
|
|
12568
|
-
__vue_script__$
|
|
12569
|
-
__vue_scope_id__
|
|
12570
|
-
__vue_is_functional_template__
|
|
12571
|
-
__vue_module_identifier__
|
|
12565
|
+
const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
|
|
12566
|
+
{ render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
|
|
12567
|
+
__vue_inject_styles__$$,
|
|
12568
|
+
__vue_script__$_,
|
|
12569
|
+
__vue_scope_id__$$,
|
|
12570
|
+
__vue_is_functional_template__$$,
|
|
12571
|
+
__vue_module_identifier__$$,
|
|
12572
12572
|
false,
|
|
12573
12573
|
undefined);
|
|
12574
12574
|
|
|
12575
12575
|
var nodeAttr = {
|
|
12576
|
-
Alignment: __vue_component__
|
|
12577
|
-
Table: __vue_component__
|
|
12576
|
+
Alignment: __vue_component__$10,
|
|
12577
|
+
Table: __vue_component__$$
|
|
12578
12578
|
};
|
|
12579
12579
|
|
|
12580
12580
|
var cc = {
|
|
@@ -12609,7 +12609,7 @@ var cc = {
|
|
|
12609
12609
|
//
|
|
12610
12610
|
|
|
12611
12611
|
|
|
12612
|
-
var script$
|
|
12612
|
+
var script$Z = {
|
|
12613
12613
|
inheritAttrs: true,
|
|
12614
12614
|
|
|
12615
12615
|
props: {
|
|
@@ -12695,20 +12695,20 @@ var script$Y = {
|
|
|
12695
12695
|
};
|
|
12696
12696
|
|
|
12697
12697
|
/* script */
|
|
12698
|
-
const __vue_script__$
|
|
12698
|
+
const __vue_script__$Z = script$Z;
|
|
12699
12699
|
|
|
12700
12700
|
/* template */
|
|
12701
|
-
var __vue_render__$
|
|
12702
|
-
var __vue_staticRenderFns__$
|
|
12701
|
+
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",attrs:{"format":f,"labels":_vm.labels,"current-value":_vm.currentValue},on:{"click":_vm.triggerCommand}},'component',_vm.$props,false))}),_vm._v(" "),_c('b-button',{staticClass:"text-dark font-weight-bold",attrs:{"variant":"link"},on:{"click":_vm.removeMarks}},[_c('font-awesome-icon',{attrs:{"icon":"remove-format"}})],1)],2)};
|
|
12702
|
+
var __vue_staticRenderFns__$X = [];
|
|
12703
12703
|
|
|
12704
12704
|
/* style */
|
|
12705
|
-
const __vue_inject_styles__$
|
|
12705
|
+
const __vue_inject_styles__$_ = undefined;
|
|
12706
12706
|
/* scoped */
|
|
12707
|
-
const __vue_scope_id__$
|
|
12707
|
+
const __vue_scope_id__$_ = undefined;
|
|
12708
12708
|
/* module identifier */
|
|
12709
|
-
const __vue_module_identifier__$
|
|
12709
|
+
const __vue_module_identifier__$_ = undefined;
|
|
12710
12710
|
/* functional template */
|
|
12711
|
-
const __vue_is_functional_template__$
|
|
12711
|
+
const __vue_is_functional_template__$_ = false;
|
|
12712
12712
|
/* style inject */
|
|
12713
12713
|
|
|
12714
12714
|
/* style inject SSR */
|
|
@@ -12717,13 +12717,13 @@ var __vue_staticRenderFns__$W = [];
|
|
|
12717
12717
|
|
|
12718
12718
|
|
|
12719
12719
|
|
|
12720
|
-
const __vue_component__$
|
|
12721
|
-
{ render: __vue_render__$
|
|
12722
|
-
__vue_inject_styles__$
|
|
12723
|
-
__vue_script__$
|
|
12724
|
-
__vue_scope_id__$
|
|
12725
|
-
__vue_is_functional_template__$
|
|
12726
|
-
__vue_module_identifier__$
|
|
12720
|
+
const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
|
|
12721
|
+
{ render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
|
|
12722
|
+
__vue_inject_styles__$_,
|
|
12723
|
+
__vue_script__$Z,
|
|
12724
|
+
__vue_scope_id__$_,
|
|
12725
|
+
__vue_is_functional_template__$_,
|
|
12726
|
+
__vue_module_identifier__$_,
|
|
12727
12727
|
false,
|
|
12728
12728
|
undefined);
|
|
12729
12729
|
|
|
@@ -12763,12 +12763,12 @@ var __vue_staticRenderFns__$W = [];
|
|
|
12763
12763
|
//
|
|
12764
12764
|
|
|
12765
12765
|
|
|
12766
|
-
var script$
|
|
12766
|
+
var script$Y = {
|
|
12767
12767
|
name: 'CRichTextInput',
|
|
12768
12768
|
|
|
12769
12769
|
components: {
|
|
12770
12770
|
EditorContent,
|
|
12771
|
-
RToolbar: __vue_component__$
|
|
12771
|
+
RToolbar: __vue_component__$_,
|
|
12772
12772
|
EditorMenuBar,
|
|
12773
12773
|
},
|
|
12774
12774
|
|
|
@@ -12854,25 +12854,25 @@ var script$X = {
|
|
|
12854
12854
|
};
|
|
12855
12855
|
|
|
12856
12856
|
/* script */
|
|
12857
|
-
const __vue_script__$
|
|
12857
|
+
const __vue_script__$Y = script$Y;
|
|
12858
12858
|
|
|
12859
12859
|
/* template */
|
|
12860
|
-
var __vue_render__$
|
|
12860
|
+
var __vue_render__$W = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:"editor rt-content",attrs:{"no-body":""}},[(_vm.editor)?[_c('b-card-header',{attrs:{"header-class":"p-0 border-bottom"}},[_c('editor-menu-bar',{attrs:{"editor":_vm.editor},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
12861
12861
|
var commands = ref.commands;
|
|
12862
12862
|
var isActive = ref.isActive;
|
|
12863
12863
|
var getMarkAttrs = ref.getMarkAttrs;
|
|
12864
12864
|
var getNodeAttrs = ref.getNodeAttrs;
|
|
12865
12865
|
return [_c('r-toolbar',{attrs:{"editor":_vm.editor,"formats":_vm.toolbar,"commands":commands,"is-active":isActive,"get-mark-attrs":getMarkAttrs,"get-node-attrs":getNodeAttrs,"labels":_vm.labels,"current-value":_vm.currentValue}})]}}],null,false,2342935495)})],1),_vm._v(" "),_c('b-card-body',[_c('editor-content',{staticClass:"editor__content",attrs:{"editor":_vm.editor}})],1)]:_vm._e()],2)};
|
|
12866
|
-
var __vue_staticRenderFns__$
|
|
12866
|
+
var __vue_staticRenderFns__$W = [];
|
|
12867
12867
|
|
|
12868
12868
|
/* style */
|
|
12869
|
-
const __vue_inject_styles__$
|
|
12869
|
+
const __vue_inject_styles__$Z = undefined;
|
|
12870
12870
|
/* scoped */
|
|
12871
|
-
const __vue_scope_id__$
|
|
12871
|
+
const __vue_scope_id__$Z = undefined;
|
|
12872
12872
|
/* module identifier */
|
|
12873
|
-
const __vue_module_identifier__$
|
|
12873
|
+
const __vue_module_identifier__$Z = undefined;
|
|
12874
12874
|
/* functional template */
|
|
12875
|
-
const __vue_is_functional_template__$
|
|
12875
|
+
const __vue_is_functional_template__$Z = false;
|
|
12876
12876
|
/* style inject */
|
|
12877
12877
|
|
|
12878
12878
|
/* style inject SSR */
|
|
@@ -12881,13 +12881,13 @@ var __vue_staticRenderFns__$V = [];
|
|
|
12881
12881
|
|
|
12882
12882
|
|
|
12883
12883
|
|
|
12884
|
-
const __vue_component__$
|
|
12885
|
-
{ render: __vue_render__$
|
|
12886
|
-
__vue_inject_styles__$
|
|
12887
|
-
__vue_script__$
|
|
12888
|
-
__vue_scope_id__$
|
|
12889
|
-
__vue_is_functional_template__$
|
|
12890
|
-
__vue_module_identifier__$
|
|
12884
|
+
const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
|
|
12885
|
+
{ render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
|
|
12886
|
+
__vue_inject_styles__$Z,
|
|
12887
|
+
__vue_script__$Y,
|
|
12888
|
+
__vue_scope_id__$Z,
|
|
12889
|
+
__vue_is_functional_template__$Z,
|
|
12890
|
+
__vue_module_identifier__$Z,
|
|
12891
12891
|
false,
|
|
12892
12892
|
undefined);
|
|
12893
12893
|
|
|
@@ -12922,7 +12922,7 @@ var __vue_staticRenderFns__$V = [];
|
|
|
12922
12922
|
//
|
|
12923
12923
|
//
|
|
12924
12924
|
|
|
12925
|
-
var script$
|
|
12925
|
+
var script$X = {
|
|
12926
12926
|
props: {
|
|
12927
12927
|
value: {
|
|
12928
12928
|
type: Boolean,
|
|
@@ -12961,20 +12961,20 @@ var script$W = {
|
|
|
12961
12961
|
};
|
|
12962
12962
|
|
|
12963
12963
|
/* script */
|
|
12964
|
-
const __vue_script__$
|
|
12964
|
+
const __vue_script__$X = script$X;
|
|
12965
12965
|
|
|
12966
12966
|
/* template */
|
|
12967
|
-
var __vue_render__$
|
|
12968
|
-
var __vue_staticRenderFns__$
|
|
12967
|
+
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)};
|
|
12968
|
+
var __vue_staticRenderFns__$V = [];
|
|
12969
12969
|
|
|
12970
12970
|
/* style */
|
|
12971
|
-
const __vue_inject_styles__$
|
|
12971
|
+
const __vue_inject_styles__$Y = undefined;
|
|
12972
12972
|
/* scoped */
|
|
12973
|
-
const __vue_scope_id__$
|
|
12973
|
+
const __vue_scope_id__$Y = undefined;
|
|
12974
12974
|
/* module identifier */
|
|
12975
|
-
const __vue_module_identifier__$
|
|
12975
|
+
const __vue_module_identifier__$Y = undefined;
|
|
12976
12976
|
/* functional template */
|
|
12977
|
-
const __vue_is_functional_template__$
|
|
12977
|
+
const __vue_is_functional_template__$Y = false;
|
|
12978
12978
|
/* style inject */
|
|
12979
12979
|
|
|
12980
12980
|
/* style inject SSR */
|
|
@@ -12983,13 +12983,13 @@ var __vue_staticRenderFns__$U = [];
|
|
|
12983
12983
|
|
|
12984
12984
|
|
|
12985
12985
|
|
|
12986
|
-
const __vue_component__$
|
|
12987
|
-
{ render: __vue_render__$
|
|
12988
|
-
__vue_inject_styles__$
|
|
12989
|
-
__vue_script__$
|
|
12990
|
-
__vue_scope_id__$
|
|
12991
|
-
__vue_is_functional_template__$
|
|
12992
|
-
__vue_module_identifier__$
|
|
12986
|
+
const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
|
|
12987
|
+
{ render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
|
|
12988
|
+
__vue_inject_styles__$Y,
|
|
12989
|
+
__vue_script__$X,
|
|
12990
|
+
__vue_scope_id__$Y,
|
|
12991
|
+
__vue_is_functional_template__$Y,
|
|
12992
|
+
__vue_module_identifier__$Y,
|
|
12993
12993
|
false,
|
|
12994
12994
|
undefined);
|
|
12995
12995
|
|
|
@@ -13123,7 +13123,7 @@ var __vue_staticRenderFns__$U = [];
|
|
|
13123
13123
|
//
|
|
13124
13124
|
|
|
13125
13125
|
|
|
13126
|
-
var script$
|
|
13126
|
+
var script$W = {
|
|
13127
13127
|
name: 'CInputColorPicker',
|
|
13128
13128
|
|
|
13129
13129
|
components: {
|
|
@@ -13275,38 +13275,38 @@ var script$V = {
|
|
|
13275
13275
|
};
|
|
13276
13276
|
|
|
13277
13277
|
/* script */
|
|
13278
|
-
const __vue_script__$
|
|
13278
|
+
const __vue_script__$W = script$W;
|
|
13279
13279
|
|
|
13280
13280
|
/* template */
|
|
13281
|
-
var __vue_render__$
|
|
13282
|
-
var __vue_staticRenderFns__$
|
|
13281
|
+
var __vue_render__$U = 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.currentColor + "; fill: " + _vm.currentColor + ";")),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","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)+"\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)+"\n ")]),_vm._v(" "),_c('b-button',{attrs:{"variant":"primary"},on:{"click":_vm.saveColor}},[_vm._v("\n "+_vm._s(_vm.translations.saveBtnLabel)+"\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)};
|
|
13282
|
+
var __vue_staticRenderFns__$U = [];
|
|
13283
13283
|
|
|
13284
13284
|
/* style */
|
|
13285
|
-
const __vue_inject_styles__$
|
|
13285
|
+
const __vue_inject_styles__$X = function (inject) {
|
|
13286
13286
|
if (!inject) return
|
|
13287
13287
|
inject("data-v-6d23dfcd_0", { source: ".swatch[data-v-6d23dfcd]{height:58px;min-width:50px}", map: undefined, media: undefined })
|
|
13288
13288
|
,inject("data-v-6d23dfcd_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 });
|
|
13289
13289
|
|
|
13290
13290
|
};
|
|
13291
13291
|
/* scoped */
|
|
13292
|
-
const __vue_scope_id__$
|
|
13292
|
+
const __vue_scope_id__$X = "data-v-6d23dfcd";
|
|
13293
13293
|
/* module identifier */
|
|
13294
|
-
const __vue_module_identifier__$
|
|
13294
|
+
const __vue_module_identifier__$X = undefined;
|
|
13295
13295
|
/* functional template */
|
|
13296
|
-
const __vue_is_functional_template__$
|
|
13296
|
+
const __vue_is_functional_template__$X = false;
|
|
13297
13297
|
/* style inject SSR */
|
|
13298
13298
|
|
|
13299
13299
|
/* style inject shadow dom */
|
|
13300
13300
|
|
|
13301
13301
|
|
|
13302
13302
|
|
|
13303
|
-
const __vue_component__$
|
|
13304
|
-
{ render: __vue_render__$
|
|
13305
|
-
__vue_inject_styles__$
|
|
13306
|
-
__vue_script__$
|
|
13307
|
-
__vue_scope_id__$
|
|
13308
|
-
__vue_is_functional_template__$
|
|
13309
|
-
__vue_module_identifier__$
|
|
13303
|
+
const __vue_component__$X = /*#__PURE__*/normalizeComponent(
|
|
13304
|
+
{ render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
|
|
13305
|
+
__vue_inject_styles__$X,
|
|
13306
|
+
__vue_script__$W,
|
|
13307
|
+
__vue_scope_id__$X,
|
|
13308
|
+
__vue_is_functional_template__$X,
|
|
13309
|
+
__vue_module_identifier__$X,
|
|
13310
13310
|
false,
|
|
13311
13311
|
createInjector);
|
|
13312
13312
|
|
|
@@ -13344,7 +13344,7 @@ var __vue_staticRenderFns__$T = [];
|
|
|
13344
13344
|
|
|
13345
13345
|
library.add(faExpandAlt);
|
|
13346
13346
|
|
|
13347
|
-
var script$
|
|
13347
|
+
var script$V = {
|
|
13348
13348
|
components: {
|
|
13349
13349
|
AceEditor,
|
|
13350
13350
|
},
|
|
@@ -13607,38 +13607,38 @@ var script$U = {
|
|
|
13607
13607
|
};
|
|
13608
13608
|
|
|
13609
13609
|
/* script */
|
|
13610
|
-
const __vue_script__$
|
|
13610
|
+
const __vue_script__$V = script$V;
|
|
13611
13611
|
|
|
13612
13612
|
/* template */
|
|
13613
|
-
var __vue_render__$
|
|
13614
|
-
var __vue_staticRenderFns__$
|
|
13613
|
+
var __vue_render__$T = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('ace-editor',_vm._g({ref:"aceeditor",class:{ 'border-0 rounded-0': !_vm.border },attrs:{"lang":_vm.lang,"mode":_vm.lang,"theme":"chrome","width":"100%","height":_vm.height},on:{"init":_vm.editorInit},model:{value:(_vm.editorValue),callback:function ($$v) {_vm.editorValue=$$v;},expression:"editorValue"}},_vm.$listeners)),_vm._v(" "),(_vm.showPopout)?_c('b-button',{staticClass:"popout position-absolute px-2 py-1 mr-3",attrs:{"variant":"link"},on:{"click":function($event){return _vm.$emit('open')}}},[_c('font-awesome-icon',{attrs:{"icon":['fas', 'expand-alt']}})],1):_vm._e()],1)};
|
|
13614
|
+
var __vue_staticRenderFns__$T = [];
|
|
13615
13615
|
|
|
13616
13616
|
/* style */
|
|
13617
|
-
const __vue_inject_styles__$
|
|
13617
|
+
const __vue_inject_styles__$W = function (inject) {
|
|
13618
13618
|
if (!inject) return
|
|
13619
13619
|
inject("data-v-0a4a06ee_0", { source: ".popout[data-v-0a4a06ee]{z-index:7;bottom:0;right:0}", map: undefined, media: undefined })
|
|
13620
13620
|
,inject("data-v-0a4a06ee_1", { source: ".ace_editor{color:var(--black)!important;background-color:var(--white)!important;border-radius:.25rem;border:2px solid var(--extra-light);font-size:initial!important}.ace_editor .ace_gutter{background-color:var(--light)!important;color:var(--black)!important}.ace_editor .ace_gutter .ace_gutter-active-line{background-color:var(--extra-light)!important}.ace_editor .ace_hidden-cursors .ace_cursor{color:var(--white)!important}.ace_editor .ace_cursor{color:var(--black)!important}.ace_autocomplete{border:none!important}.ace_autocomplete .ace_active-line{background-color:var(--extra-light)!important}.ace_autocomplete .ace_line-hover{border:none!important;background-color:var(--extra-light)!important}.ace_autocomplete .ace_completion-highlight{color:var(--primary)!important}", map: undefined, media: undefined });
|
|
13621
13621
|
|
|
13622
13622
|
};
|
|
13623
13623
|
/* scoped */
|
|
13624
|
-
const __vue_scope_id__$
|
|
13624
|
+
const __vue_scope_id__$W = "data-v-0a4a06ee";
|
|
13625
13625
|
/* module identifier */
|
|
13626
|
-
const __vue_module_identifier__$
|
|
13626
|
+
const __vue_module_identifier__$W = undefined;
|
|
13627
13627
|
/* functional template */
|
|
13628
|
-
const __vue_is_functional_template__$
|
|
13628
|
+
const __vue_is_functional_template__$W = false;
|
|
13629
13629
|
/* style inject SSR */
|
|
13630
13630
|
|
|
13631
13631
|
/* style inject shadow dom */
|
|
13632
13632
|
|
|
13633
13633
|
|
|
13634
13634
|
|
|
13635
|
-
const __vue_component__$
|
|
13636
|
-
{ render: __vue_render__$
|
|
13637
|
-
__vue_inject_styles__$
|
|
13638
|
-
__vue_script__$
|
|
13639
|
-
__vue_scope_id__$
|
|
13640
|
-
__vue_is_functional_template__$
|
|
13641
|
-
__vue_module_identifier__$
|
|
13635
|
+
const __vue_component__$W = /*#__PURE__*/normalizeComponent(
|
|
13636
|
+
{ render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
|
|
13637
|
+
__vue_inject_styles__$W,
|
|
13638
|
+
__vue_script__$V,
|
|
13639
|
+
__vue_scope_id__$W,
|
|
13640
|
+
__vue_is_functional_template__$W,
|
|
13641
|
+
__vue_module_identifier__$W,
|
|
13642
13642
|
false,
|
|
13643
13643
|
createInjector);
|
|
13644
13644
|
|
|
@@ -13659,9 +13659,9 @@ var __vue_staticRenderFns__$S = [];
|
|
|
13659
13659
|
//
|
|
13660
13660
|
|
|
13661
13661
|
|
|
13662
|
-
var script$
|
|
13662
|
+
var script$U = {
|
|
13663
13663
|
components: {
|
|
13664
|
-
CAceEditor: __vue_component__$
|
|
13664
|
+
CAceEditor: __vue_component__$W,
|
|
13665
13665
|
},
|
|
13666
13666
|
|
|
13667
13667
|
props: {
|
|
@@ -13805,20 +13805,20 @@ var script$T = {
|
|
|
13805
13805
|
};
|
|
13806
13806
|
|
|
13807
13807
|
/* script */
|
|
13808
|
-
const __vue_script__$
|
|
13808
|
+
const __vue_script__$U = script$U;
|
|
13809
13809
|
|
|
13810
13810
|
/* template */
|
|
13811
|
-
var __vue_render__$
|
|
13812
|
-
var __vue_staticRenderFns__$
|
|
13811
|
+
var __vue_render__$S = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('c-ace-editor',_vm._g(_vm._b({attrs:{"auto-complete":"","init-expressions":"","auto-complete-suggestions":_vm.autoCompleteSuggestions},model:{value:(_vm.editorValue),callback:function ($$v) {_vm.editorValue=$$v;},expression:"editorValue"}},'c-ace-editor',Object.assign({}, _vm.$attrs, _vm.$props),false),_vm.$listeners))],1)};
|
|
13812
|
+
var __vue_staticRenderFns__$S = [];
|
|
13813
13813
|
|
|
13814
13814
|
/* style */
|
|
13815
|
-
const __vue_inject_styles__$
|
|
13815
|
+
const __vue_inject_styles__$V = undefined;
|
|
13816
13816
|
/* scoped */
|
|
13817
|
-
const __vue_scope_id__$
|
|
13817
|
+
const __vue_scope_id__$V = undefined;
|
|
13818
13818
|
/* module identifier */
|
|
13819
|
-
const __vue_module_identifier__$
|
|
13819
|
+
const __vue_module_identifier__$V = undefined;
|
|
13820
13820
|
/* functional template */
|
|
13821
|
-
const __vue_is_functional_template__$
|
|
13821
|
+
const __vue_is_functional_template__$V = false;
|
|
13822
13822
|
/* style inject */
|
|
13823
13823
|
|
|
13824
13824
|
/* style inject SSR */
|
|
@@ -13827,13 +13827,13 @@ var __vue_staticRenderFns__$R = [];
|
|
|
13827
13827
|
|
|
13828
13828
|
|
|
13829
13829
|
|
|
13830
|
-
const __vue_component__$
|
|
13831
|
-
{ render: __vue_render__$
|
|
13832
|
-
__vue_inject_styles__$
|
|
13833
|
-
__vue_script__$
|
|
13834
|
-
__vue_scope_id__$
|
|
13835
|
-
__vue_is_functional_template__$
|
|
13836
|
-
__vue_module_identifier__$
|
|
13830
|
+
const __vue_component__$V = /*#__PURE__*/normalizeComponent(
|
|
13831
|
+
{ render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
|
|
13832
|
+
__vue_inject_styles__$V,
|
|
13833
|
+
__vue_script__$U,
|
|
13834
|
+
__vue_scope_id__$V,
|
|
13835
|
+
__vue_is_functional_template__$V,
|
|
13836
|
+
__vue_module_identifier__$V,
|
|
13837
13837
|
false,
|
|
13838
13838
|
undefined);
|
|
13839
13839
|
|
|
@@ -13872,7 +13872,7 @@ var __vue_staticRenderFns__$R = [];
|
|
|
13872
13872
|
//
|
|
13873
13873
|
//
|
|
13874
13874
|
|
|
13875
|
-
var script$
|
|
13875
|
+
var script$T = {
|
|
13876
13876
|
name: 'CButtonSubmit',
|
|
13877
13877
|
|
|
13878
13878
|
props: {
|
|
@@ -13925,20 +13925,20 @@ var script$S = {
|
|
|
13925
13925
|
};
|
|
13926
13926
|
|
|
13927
13927
|
/* script */
|
|
13928
|
-
const __vue_script__$
|
|
13928
|
+
const __vue_script__$T = script$T;
|
|
13929
13929
|
|
|
13930
13930
|
/* template */
|
|
13931
|
-
var __vue_render__$
|
|
13932
|
-
var __vue_staticRenderFns__$
|
|
13931
|
+
var __vue_render__$R = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-button',{class:_vm.buttonClass,attrs:{"data-test-id":"button-submit","type":"submit","variant":_vm.variant,"disabled":_vm.disabled || _vm.processing || _vm.success,"size":_vm.size,"block":_vm.block,"title":_vm.title},on:{"click":function($event){$event.preventDefault();return _vm.$emit('submit')}}},[(_vm.processing)?_c('b-spinner',{staticClass:"align-middle",attrs:{"data-test-id":"spinner","small":""}}):(_vm.success)?_c('font-awesome-icon',{attrs:{"data-test-id":"icon-success","icon":['fas', 'check']}}):(_vm.text)?_c('span',{attrs:{"data-test-id":"button-text"}},[_vm._v("\n "+_vm._s(_vm.text)+"\n ")]):_vm._e()],1)};
|
|
13932
|
+
var __vue_staticRenderFns__$R = [];
|
|
13933
13933
|
|
|
13934
13934
|
/* style */
|
|
13935
|
-
const __vue_inject_styles__$
|
|
13935
|
+
const __vue_inject_styles__$U = undefined;
|
|
13936
13936
|
/* scoped */
|
|
13937
|
-
const __vue_scope_id__$
|
|
13937
|
+
const __vue_scope_id__$U = undefined;
|
|
13938
13938
|
/* module identifier */
|
|
13939
|
-
const __vue_module_identifier__$
|
|
13939
|
+
const __vue_module_identifier__$U = undefined;
|
|
13940
13940
|
/* functional template */
|
|
13941
|
-
const __vue_is_functional_template__$
|
|
13941
|
+
const __vue_is_functional_template__$U = false;
|
|
13942
13942
|
/* style inject */
|
|
13943
13943
|
|
|
13944
13944
|
/* style inject SSR */
|
|
@@ -13947,13 +13947,13 @@ var __vue_staticRenderFns__$Q = [];
|
|
|
13947
13947
|
|
|
13948
13948
|
|
|
13949
13949
|
|
|
13950
|
-
const __vue_component__$
|
|
13951
|
-
{ render: __vue_render__$
|
|
13952
|
-
__vue_inject_styles__$
|
|
13953
|
-
__vue_script__$
|
|
13954
|
-
__vue_scope_id__$
|
|
13955
|
-
__vue_is_functional_template__$
|
|
13956
|
-
__vue_module_identifier__$
|
|
13950
|
+
const __vue_component__$U = /*#__PURE__*/normalizeComponent(
|
|
13951
|
+
{ render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
|
|
13952
|
+
__vue_inject_styles__$U,
|
|
13953
|
+
__vue_script__$T,
|
|
13954
|
+
__vue_scope_id__$U,
|
|
13955
|
+
__vue_is_functional_template__$U,
|
|
13956
|
+
__vue_module_identifier__$U,
|
|
13957
13957
|
false,
|
|
13958
13958
|
undefined);
|
|
13959
13959
|
|
|
@@ -13977,7 +13977,7 @@ var __vue_staticRenderFns__$Q = [];
|
|
|
13977
13977
|
//
|
|
13978
13978
|
|
|
13979
13979
|
|
|
13980
|
-
var script$
|
|
13980
|
+
var script$S = {
|
|
13981
13981
|
props: {
|
|
13982
13982
|
value: {
|
|
13983
13983
|
type: [Array, String, Object],
|
|
@@ -14076,11 +14076,153 @@ var script$R = {
|
|
|
14076
14076
|
},
|
|
14077
14077
|
};
|
|
14078
14078
|
|
|
14079
|
+
/* script */
|
|
14080
|
+
const __vue_script__$S = script$S;
|
|
14081
|
+
|
|
14082
|
+
/* template */
|
|
14083
|
+
var __vue_render__$Q = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-input-select',{ref:"picker",attrs:{"value":_vm.value,"options":_vm.roles,"placeholder":_vm.placeholder,"get-option-key":function (r) { return r.roleID; },"get-option-label":function (r) { return _vm.getRoleLabel(r); },"filterable":false,"selectable":_vm.selectable,"multiple":_vm.multiple,"clearable":_vm.clearable,"loading":_vm.loading},on:{"search":_vm.search,"input":_vm.updateValue}})};
|
|
14084
|
+
var __vue_staticRenderFns__$Q = [];
|
|
14085
|
+
|
|
14086
|
+
/* style */
|
|
14087
|
+
const __vue_inject_styles__$T = undefined;
|
|
14088
|
+
/* scoped */
|
|
14089
|
+
const __vue_scope_id__$T = undefined;
|
|
14090
|
+
/* module identifier */
|
|
14091
|
+
const __vue_module_identifier__$T = undefined;
|
|
14092
|
+
/* functional template */
|
|
14093
|
+
const __vue_is_functional_template__$T = false;
|
|
14094
|
+
/* style inject */
|
|
14095
|
+
|
|
14096
|
+
/* style inject SSR */
|
|
14097
|
+
|
|
14098
|
+
/* style inject shadow dom */
|
|
14099
|
+
|
|
14100
|
+
|
|
14101
|
+
|
|
14102
|
+
const __vue_component__$T = /*#__PURE__*/normalizeComponent(
|
|
14103
|
+
{ render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
|
|
14104
|
+
__vue_inject_styles__$T,
|
|
14105
|
+
__vue_script__$S,
|
|
14106
|
+
__vue_scope_id__$T,
|
|
14107
|
+
__vue_is_functional_template__$T,
|
|
14108
|
+
__vue_module_identifier__$T,
|
|
14109
|
+
false,
|
|
14110
|
+
undefined);
|
|
14111
|
+
|
|
14112
|
+
//
|
|
14113
|
+
//
|
|
14114
|
+
//
|
|
14115
|
+
//
|
|
14116
|
+
//
|
|
14117
|
+
//
|
|
14118
|
+
//
|
|
14119
|
+
//
|
|
14120
|
+
//
|
|
14121
|
+
//
|
|
14122
|
+
//
|
|
14123
|
+
//
|
|
14124
|
+
//
|
|
14125
|
+
//
|
|
14126
|
+
//
|
|
14127
|
+
//
|
|
14128
|
+
|
|
14129
|
+
|
|
14130
|
+
var script$R = {
|
|
14131
|
+
name: 'CInputUser',
|
|
14132
|
+
|
|
14133
|
+
props: {
|
|
14134
|
+
value: {
|
|
14135
|
+
type: String,
|
|
14136
|
+
default: null,
|
|
14137
|
+
},
|
|
14138
|
+
|
|
14139
|
+
placeholder: {
|
|
14140
|
+
type: String,
|
|
14141
|
+
default: '',
|
|
14142
|
+
},
|
|
14143
|
+
},
|
|
14144
|
+
|
|
14145
|
+
data () {
|
|
14146
|
+
return {
|
|
14147
|
+
processing: false,
|
|
14148
|
+
|
|
14149
|
+
user: {
|
|
14150
|
+
options: [],
|
|
14151
|
+
value: undefined,
|
|
14152
|
+
|
|
14153
|
+
filter: {
|
|
14154
|
+
query: null,
|
|
14155
|
+
limit: 20,
|
|
14156
|
+
},
|
|
14157
|
+
},
|
|
14158
|
+
}
|
|
14159
|
+
},
|
|
14160
|
+
|
|
14161
|
+
created () {
|
|
14162
|
+
this.fetchUsers().then(() => {
|
|
14163
|
+
this.getUserByID(this.value);
|
|
14164
|
+
});
|
|
14165
|
+
},
|
|
14166
|
+
|
|
14167
|
+
methods: {
|
|
14168
|
+
search: debounce(function (query) {
|
|
14169
|
+
if (query !== this.user.filter.query) {
|
|
14170
|
+
this.user.filter.query = query;
|
|
14171
|
+
this.user.filter.page = 1;
|
|
14172
|
+
}
|
|
14173
|
+
|
|
14174
|
+
this.fetchUsers();
|
|
14175
|
+
}, 300),
|
|
14176
|
+
|
|
14177
|
+
fetchUsers () {
|
|
14178
|
+
this.processing = true;
|
|
14179
|
+
|
|
14180
|
+
return this.$SystemAPI.userList(this.user.filter).then(({ set }) => {
|
|
14181
|
+
this.user.options = set.map(m => Object.freeze(m));
|
|
14182
|
+
}).finally(() => {
|
|
14183
|
+
setTimeout(() => {
|
|
14184
|
+
this.processing = false;
|
|
14185
|
+
}, 500);
|
|
14186
|
+
})
|
|
14187
|
+
},
|
|
14188
|
+
|
|
14189
|
+
getUserByID (userID) {
|
|
14190
|
+
if (!userID || userID === NoID) {
|
|
14191
|
+
this.user.value = undefined;
|
|
14192
|
+
return
|
|
14193
|
+
}
|
|
14194
|
+
|
|
14195
|
+
const user = this.user.options.find(o => o.userID === userID);
|
|
14196
|
+
|
|
14197
|
+
if (user) {
|
|
14198
|
+
this.user.value = user;
|
|
14199
|
+
} else {
|
|
14200
|
+
return this.$SystemAPI.userRead({ userID }).then(user => {
|
|
14201
|
+
this.user.value = user;
|
|
14202
|
+
this.user.options.push(Object.freeze(user));
|
|
14203
|
+
})
|
|
14204
|
+
}
|
|
14205
|
+
},
|
|
14206
|
+
|
|
14207
|
+
onUserUpdate ({ userID }) {
|
|
14208
|
+
this.$emit('input', userID);
|
|
14209
|
+
},
|
|
14210
|
+
|
|
14211
|
+
getOptionKey ({ userID }) {
|
|
14212
|
+
return userID
|
|
14213
|
+
},
|
|
14214
|
+
|
|
14215
|
+
getOptionLabel ({ userID, email, name, username }) {
|
|
14216
|
+
return name || username || email || `<@${userID}>`
|
|
14217
|
+
},
|
|
14218
|
+
},
|
|
14219
|
+
};
|
|
14220
|
+
|
|
14079
14221
|
/* script */
|
|
14080
14222
|
const __vue_script__$R = script$R;
|
|
14081
14223
|
|
|
14082
14224
|
/* template */
|
|
14083
|
-
var __vue_render__$P = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-input-select',{
|
|
14225
|
+
var __vue_render__$P = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-input-select',_vm._b({attrs:{"data-test-id":"select-user","options":_vm.user.options,"get-option-label":_vm.getOptionLabel,"get-option-key":_vm.getOptionKey,"placeholder":_vm.placeholder,"loading":_vm.processing,"filterable":false},on:{"search":_vm.search,"input":_vm.onUserUpdate},model:{value:(_vm.user.value),callback:function ($$v) {_vm.$set(_vm.user, "value", $$v);},expression:"user.value"}},'c-input-select',_vm.$attrs,false))};
|
|
14084
14226
|
var __vue_staticRenderFns__$P = [];
|
|
14085
14227
|
|
|
14086
14228
|
/* style */
|
|
@@ -14487,8 +14629,8 @@ var script$M = {
|
|
|
14487
14629
|
|
|
14488
14630
|
components: {
|
|
14489
14631
|
Rules: __vue_component__$O,
|
|
14490
|
-
CInputSelect: __vue_component__$
|
|
14491
|
-
CInputRole: __vue_component__$
|
|
14632
|
+
CInputSelect: __vue_component__$1a,
|
|
14633
|
+
CInputRole: __vue_component__$T,
|
|
14492
14634
|
},
|
|
14493
14635
|
|
|
14494
14636
|
props: {
|
|
@@ -14848,17 +14990,17 @@ var script$M = {
|
|
|
14848
14990
|
const __vue_script__$M = script$M;
|
|
14849
14991
|
|
|
14850
14992
|
/* template */
|
|
14851
|
-
var __vue_render__$K = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-modal',{staticClass:"h-100 overflow-hidden",attrs:{"id":"permissions-modal","visible":_vm.showModal,"size":"xl","title":_vm.translatedTitle,"lazy":"","scrollable":"","no-fade":"","body-class":"d-flex flex-column p-0"},on:{"hide":_vm.onHide},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [_c('b-button',{attrs:{"data-test-id":"button-cancel","variant":"light"},on:{"click":_vm.onHide}},[_vm._v("\n "+_vm._s(_vm.labels.cancel)+"\n ")]),_vm._v(" "),_c('c-button-submit',{attrs:{"data-test-id":"button-save","disabled":_vm.submitDisabled,"processing":_vm.submitting,"text":_vm.labels.save},on:{"submit":_vm.onSubmit}})]},proxy:true}])},[_c('b-row',{staticClass:"bg-light border-bottom",attrs:{"no-gutters":""}},[_c('b-col',{staticClass:"p-3",attrs:{"lg":"4"}},[_vm._v("\n "+_vm._s(_vm.labels.edit.description)+"\n ")]),_vm._v(" "),_c('b-col',{staticClass:"d-none d-lg-block border-left p-3"},[_vm._v("\n "+_vm._s(_vm.labels.evaluate.description)+"\n ")])],1),_vm._v(" "),_c('b-row',{staticClass:"bg-light",attrs:{"no-gutters":"","align-v":"stretch"}},[_c('b-col',{staticClass:"d-flex align-items-center p-3 border-bottom",attrs:{"lg":"4"}},[_c('b-form-group',{staticClass:"mb-0 w-100",attrs:{"label":_vm.labels.edit.label,"label-class":"text-primary"}},[_c('c-input-role',{attrs:{"data-test-id":"select-user-list-roles","visible":_vm.isRoleVisible,"clearable":false,"preselect":""},on:{"input":_vm.onRoleChange},model:{value:(_vm.currentRoleID),callback:function ($$v) {_vm.currentRoleID=$$v;},expression:"currentRoleID"}})],1)],1),_vm._v(" "),_vm._l((_vm.evaluate),function(e,i){return _c('b-col',{key:i,staticClass:"pointer hide-eval border-bottom d-none d-lg-flex flex-column align-items-center justify-content-center overflow-hidden border-left p-3",attrs:{"data-test-id":"icon-remove","lg":"2"},on:{"click":function($event){return _vm.onHideEval(i)}}},[_vm._l((_vm.getEvalName(e)),function(n,index){return _c('label',{key:index,staticClass:"pointer text-center text-primary mb-1",attrs:{"title":n}},[_vm._v("\n "+_vm._s(n)+"\n ")])}),_vm._v(" "),_c('font-awesome-icon',{staticClass:"text-secondary rotate mt-1",attrs:{"icon":['fas', 'plus']}})],2)}),_vm._v(" "),(_vm.evaluate.length < 4)?_c('b-col',{directives:[{name:"b-modal",rawName:"v-b-modal.permissions-modal-eval",modifiers:{"permissions-modal-eval":true}}],staticClass:"d-none d-lg-flex pointer border-bottom flex-column align-items-center justify-content-center overflow-hidden border-left p-3",attrs:{"data-test-id":"icon-add"}},[_c('label',{staticClass:"pointer text-center text-primary mb-1"},[_vm._v("\n "+_vm._s(_vm.labels.add.label)+"\n ")]),_vm._v(" "),_c('font-awesome-icon',{staticClass:"text-success d-block mx-auto mt-1",attrs:{"icon":['fas', 'plus']}})],1):_vm._e()],2),_vm._v(" "),(_vm.processing)?_c('div',{staticClass:"d-flex flex-column align-items-center justify-content-center h-100 py-4",staticStyle:{"min-height":"50vh"}},[_c('b-spinner'),_vm._v(" "),_c('div',[_vm._v("\n "+_vm._s(_vm.labels.loading)+"\n ")])],1):_c('b-row',{attrs:{"no-gutters":""}},[_c('b-col',{staticClass:"p-3",attrs:{"lg":"4"}},[_c('rules',{attrs:{"rules":_vm.rules},on:{"update:rules":function($event){_vm.rules=$event;}}})],1),_vm._v(" "),_vm._l((_vm.evaluate),function(e,i){return _c('b-col',{key:i,staticClass:"d-none d-lg-flex border-left p-3 bg-light not-allowed",attrs:{"lg":"2"}},[_c('div',{staticClass:"d-flex flex-column align-items-center justify-content-between mt-4 w-100"},_vm._l((e.rules),function(r){return _c('h5',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: _vm.getRuleTooltip(r.access === 'unknown-context', !!e.userID), container: '#body' }),expression:"{ title: getRuleTooltip(r.access === 'unknown-context', !!e.userID), container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],key:r.operation,staticClass:"text-center mb-1 mt-2 w-100"},[(r.access === 'unknown-context')?_c('font-awesome-icon',{staticClass:"text-secondary",attrs:{"icon":['fas', 'question']}}):(r.access === 'allow')?_c('font-awesome-icon',{staticClass:"text-success",attrs:{"icon":['fas', 'check']}}):_c('font-awesome-icon',{staticClass:"text-danger",attrs:{"icon":['fas', 'times']}})],1)}),0)])}),_vm._v(" "),_c('b-col',{staticClass:"d-none d-lg-block pt-4 border-left"})],2)],1),_vm._v(" "),_c('b-modal',{attrs:{"id":"permissions-modal-eval","title":_vm.labels.add.title,"centered":"","no-fade":""},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [_c('c-button-submit',{attrs:{"data-test-id":"button-save","disabled":!_vm.addEnabled,"processing":_vm.processing,"text":_vm.labels.add.save},on:{"submit":_vm.onAddEval}})]},proxy:true}])},[_c('b-form-group',{staticClass:"mb-0",attrs:{"label":_vm.labels.add.role.label,"label-class":"text-primary"}},[_c('c-input-role',{attrs:{"data-test-id":"select-role","placeholder":_vm.labels.add.role.placeholder,"multiple":"","disabled":!!_vm.add.userID},model:{value:(_vm.add.roleID),callback:function ($$v) {_vm.$set(_vm.add, "roleID", $$v);},expression:"add.roleID"}})],1),_vm._v(" "),_c('b-form-group',{staticClass:"mt-3 mb-0",attrs:{"label":_vm.labels.add.user.label,"label-class":"text-primary"}},[_c('c-input-select',{attrs:{"data-test-id":"select-user","disabled":!!_vm.add.roleID.length,"options":_vm.userOptions,"get-option-label":_vm.getUserLabel,"
|
|
14993
|
+
var __vue_render__$K = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-modal',{staticClass:"h-100 overflow-hidden",attrs:{"id":"permissions-modal","visible":_vm.showModal,"size":"xl","title":_vm.translatedTitle,"lazy":"","scrollable":"","no-fade":"","body-class":"d-flex flex-column p-0"},on:{"hide":_vm.onHide},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [_c('b-button',{attrs:{"data-test-id":"button-cancel","variant":"light"},on:{"click":_vm.onHide}},[_vm._v("\n "+_vm._s(_vm.labels.cancel)+"\n ")]),_vm._v(" "),_c('c-button-submit',{attrs:{"data-test-id":"button-save","disabled":_vm.submitDisabled,"processing":_vm.submitting,"text":_vm.labels.save},on:{"submit":_vm.onSubmit}})]},proxy:true}])},[_c('b-row',{staticClass:"bg-light border-bottom",attrs:{"no-gutters":""}},[_c('b-col',{staticClass:"p-3",attrs:{"lg":"4"}},[_vm._v("\n "+_vm._s(_vm.labels.edit.description)+"\n ")]),_vm._v(" "),_c('b-col',{staticClass:"d-none d-lg-block border-left p-3"},[_vm._v("\n "+_vm._s(_vm.labels.evaluate.description)+"\n ")])],1),_vm._v(" "),_c('b-row',{staticClass:"bg-light",attrs:{"no-gutters":"","align-v":"stretch"}},[_c('b-col',{staticClass:"d-flex align-items-center p-3 border-bottom",attrs:{"lg":"4"}},[_c('b-form-group',{staticClass:"mb-0 w-100",attrs:{"label":_vm.labels.edit.label,"label-class":"text-primary"}},[_c('c-input-role',{attrs:{"data-test-id":"select-user-list-roles","visible":_vm.isRoleVisible,"clearable":false,"preselect":""},on:{"input":_vm.onRoleChange},model:{value:(_vm.currentRoleID),callback:function ($$v) {_vm.currentRoleID=$$v;},expression:"currentRoleID"}})],1)],1),_vm._v(" "),_vm._l((_vm.evaluate),function(e,i){return _c('b-col',{key:i,staticClass:"pointer hide-eval border-bottom d-none d-lg-flex flex-column align-items-center justify-content-center overflow-hidden border-left p-3",attrs:{"data-test-id":"icon-remove","lg":"2"},on:{"click":function($event){return _vm.onHideEval(i)}}},[_vm._l((_vm.getEvalName(e)),function(n,index){return _c('label',{key:index,staticClass:"pointer text-center text-primary mb-1",attrs:{"title":n}},[_vm._v("\n "+_vm._s(n)+"\n ")])}),_vm._v(" "),_c('font-awesome-icon',{staticClass:"text-secondary rotate mt-1",attrs:{"icon":['fas', 'plus']}})],2)}),_vm._v(" "),(_vm.evaluate.length < 4)?_c('b-col',{directives:[{name:"b-modal",rawName:"v-b-modal.permissions-modal-eval",modifiers:{"permissions-modal-eval":true}}],staticClass:"d-none d-lg-flex pointer border-bottom flex-column align-items-center justify-content-center overflow-hidden border-left p-3",attrs:{"data-test-id":"icon-add"}},[_c('label',{staticClass:"pointer text-center text-primary mb-1"},[_vm._v("\n "+_vm._s(_vm.labels.add.label)+"\n ")]),_vm._v(" "),_c('font-awesome-icon',{staticClass:"text-success d-block mx-auto mt-1",attrs:{"icon":['fas', 'plus']}})],1):_vm._e()],2),_vm._v(" "),(_vm.processing)?_c('div',{staticClass:"d-flex flex-column align-items-center justify-content-center h-100 py-4",staticStyle:{"min-height":"50vh"}},[_c('b-spinner'),_vm._v(" "),_c('div',[_vm._v("\n "+_vm._s(_vm.labels.loading)+"\n ")])],1):_c('b-row',{attrs:{"no-gutters":""}},[_c('b-col',{staticClass:"p-3",attrs:{"lg":"4"}},[_c('rules',{attrs:{"rules":_vm.rules},on:{"update:rules":function($event){_vm.rules=$event;}}})],1),_vm._v(" "),_vm._l((_vm.evaluate),function(e,i){return _c('b-col',{key:i,staticClass:"d-none d-lg-flex border-left p-3 bg-light not-allowed",attrs:{"lg":"2"}},[_c('div',{staticClass:"d-flex flex-column align-items-center justify-content-between mt-4 w-100"},_vm._l((e.rules),function(r){return _c('h5',{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.noninteractive.hover",value:({ title: _vm.getRuleTooltip(r.access === 'unknown-context', !!e.userID), container: '#body' }),expression:"{ title: getRuleTooltip(r.access === 'unknown-context', !!e.userID), container: '#body' }",modifiers:{"noninteractive":true,"hover":true}}],key:r.operation,staticClass:"text-center mb-1 mt-2 w-100"},[(r.access === 'unknown-context')?_c('font-awesome-icon',{staticClass:"text-secondary",attrs:{"icon":['fas', 'question']}}):(r.access === 'allow')?_c('font-awesome-icon',{staticClass:"text-success",attrs:{"icon":['fas', 'check']}}):_c('font-awesome-icon',{staticClass:"text-danger",attrs:{"icon":['fas', 'times']}})],1)}),0)])}),_vm._v(" "),_c('b-col',{staticClass:"d-none d-lg-block pt-4 border-left"})],2)],1),_vm._v(" "),_c('b-modal',{attrs:{"id":"permissions-modal-eval","title":_vm.labels.add.title,"centered":"","no-fade":""},scopedSlots:_vm._u([{key:"modal-footer",fn:function(){return [_c('c-button-submit',{attrs:{"data-test-id":"button-save","disabled":!_vm.addEnabled,"processing":_vm.processing,"text":_vm.labels.add.save},on:{"submit":_vm.onAddEval}})]},proxy:true}])},[_c('b-form-group',{staticClass:"mb-0",attrs:{"label":_vm.labels.add.role.label,"label-class":"text-primary"}},[_c('c-input-role',{attrs:{"data-test-id":"select-role","placeholder":_vm.labels.add.role.placeholder,"multiple":"","disabled":!!_vm.add.userID},model:{value:(_vm.add.roleID),callback:function ($$v) {_vm.$set(_vm.add, "roleID", $$v);},expression:"add.roleID"}})],1),_vm._v(" "),_c('b-form-group',{staticClass:"mt-3 mb-0",attrs:{"label":_vm.labels.add.user.label,"label-class":"text-primary"}},[_c('c-input-select',{attrs:{"data-test-id":"select-user","disabled":!!_vm.add.roleID.length,"options":_vm.userOptions,"get-option-label":_vm.getUserLabel,"placeholder":_vm.labels.add.user.placeholder,"filterable":false},on:{"search":_vm.searchUsers},model:{value:(_vm.add.userID),callback:function ($$v) {_vm.$set(_vm.add, "userID", $$v);},expression:"add.userID"}})],1)],1)],1)};
|
|
14852
14994
|
var __vue_staticRenderFns__$K = [];
|
|
14853
14995
|
|
|
14854
14996
|
/* style */
|
|
14855
14997
|
const __vue_inject_styles__$N = function (inject) {
|
|
14856
14998
|
if (!inject) return
|
|
14857
|
-
inject("data-v-
|
|
14999
|
+
inject("data-v-11574fdb_0", { source: ".not-allowed[data-v-11574fdb]{cursor:not-allowed}.pointer[data-v-11574fdb]{cursor:pointer}.rotate[data-v-11574fdb]{transform:rotate(45deg)}.hide-eval:hover .rotate[data-v-11574fdb]{color:var(--primary)!important}", map: undefined, media: undefined });
|
|
14858
15000
|
|
|
14859
15001
|
};
|
|
14860
15002
|
/* scoped */
|
|
14861
|
-
const __vue_scope_id__$N = "data-v-
|
|
15003
|
+
const __vue_scope_id__$N = "data-v-11574fdb";
|
|
14862
15004
|
/* module identifier */
|
|
14863
15005
|
const __vue_module_identifier__$N = undefined;
|
|
14864
15006
|
/* functional template */
|
|
@@ -14921,7 +15063,7 @@ var script$L = {
|
|
|
14921
15063
|
},
|
|
14922
15064
|
|
|
14923
15065
|
pRaw (k, defValue = undefined, defType = undefined) {
|
|
14924
|
-
if (this.payload && this.payload[k] && this.payload[k] !== undefined) {
|
|
15066
|
+
if (k && this.payload && this.payload[k] && this.payload[k] !== undefined) {
|
|
14925
15067
|
return this.payload[k]
|
|
14926
15068
|
}
|
|
14927
15069
|
|
|
@@ -14970,7 +15112,7 @@ var script$K = {
|
|
|
14970
15112
|
const __vue_script__$K = script$K;
|
|
14971
15113
|
|
|
14972
15114
|
/* template */
|
|
14973
|
-
var __vue_render__$J = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('
|
|
15115
|
+
var __vue_render__$J = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-button',{staticClass:"ml-auto",attrs:{"variant":_vm.pVal('buttonVariant', 'primary'),"disabled":_vm.loading},on:{"click":function($event){_vm.$emit('submit', { confirmed: _vm.pRaw(undefined, true, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Ok'))+"\n ")])],1)};
|
|
14974
15116
|
var __vue_staticRenderFns__$J = [];
|
|
14975
15117
|
|
|
14976
15118
|
/* style */
|
|
@@ -15008,7 +15150,7 @@ var script$J = {
|
|
|
15008
15150
|
const __vue_script__$J = script$J;
|
|
15009
15151
|
|
|
15010
15152
|
/* template */
|
|
15011
|
-
var __vue_render__$I = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-
|
|
15153
|
+
var __vue_render__$I = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"d-flex flex-wrap align-items-center gap-2"},[_c('b-button',{staticClass:"flex-grow-1",attrs:{"variant":_vm.pVal('confirmButtonVariant', 'primary'),"disabled":_vm.loading},on:{"click":function($event){_vm.$emit('submit', { value: _vm.pRaw('confirmButtonValue', true, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('confirmButtonLabel', 'Yes'))+"\n ")]),_vm._v(" "),_c('b-button',{staticClass:"flex-grow-1",attrs:{"disabled":_vm.loading,"variant":_vm.pVal('rejectButtonVariant', 'light')},on:{"click":function($event){_vm.$emit('submit', { value: _vm.pRaw('rejectButtonValue', false, 'Boolean') });}}},[_vm._v("\n "+_vm._s(_vm.pVal('rejectButtonLabel', 'No'))+"\n ")])],1)])};
|
|
15012
15154
|
var __vue_staticRenderFns__$I = [];
|
|
15013
15155
|
|
|
15014
15156
|
/* style */
|
|
@@ -15118,9 +15260,10 @@ var script$H = {
|
|
|
15118
15260
|
name: 'CPromptComposeRecordPicker',
|
|
15119
15261
|
|
|
15120
15262
|
components: {
|
|
15121
|
-
CInputSelect: __vue_component__$
|
|
15263
|
+
CInputSelect: __vue_component__$1a,
|
|
15122
15264
|
CPagination: __vue_component__$J,
|
|
15123
15265
|
},
|
|
15266
|
+
|
|
15124
15267
|
extends: __vue_component__$M,
|
|
15125
15268
|
|
|
15126
15269
|
data () {
|
|
@@ -15320,10 +15463,6 @@ var script$H = {
|
|
|
15320
15463
|
this.filter.pageCursor = next ? this.filter.nextPage : this.filter.prevPage;
|
|
15321
15464
|
},
|
|
15322
15465
|
|
|
15323
|
-
getOptionKey ({ recordID }) {
|
|
15324
|
-
return recordID
|
|
15325
|
-
},
|
|
15326
|
-
|
|
15327
15466
|
setDefaultValues () {
|
|
15328
15467
|
this.processing = false;
|
|
15329
15468
|
this.query = '';
|
|
@@ -15340,7 +15479,7 @@ var script$H = {
|
|
|
15340
15479
|
const __vue_script__$H = script$H;
|
|
15341
15480
|
|
|
15342
15481
|
/* template */
|
|
15343
|
-
var __vue_render__$G = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('
|
|
15482
|
+
var __vue_render__$G = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.pVal('label', ''),"label-class":"text-primary"}},[_c('c-input-select',{staticClass:"w-100",attrs:{"options":_vm.options,"get-option-key":function (r) { return r.recordID; },"loading":_vm.processing,"append-to-body":"","option-value":"recordID","placeholder":_vm.pVal('placeholder', 'Select a record'),"filterable":false,"reduce":function (r) { return r.recordID; }},on:{"search":_vm.search},scopedSlots:_vm._u([{key:"list-footer",fn:function(){return [(_vm.showPagination)?_c('c-pagination',{attrs:{"has-prev-page":_vm.hasPrevPage,"has-next-page":_vm.hasNextPage},on:{"prev":function($event){return _vm.goToPage(false)},"next":function($event){return _vm.goToPage(true)}}}):_vm._e()]},proxy:true}]),model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}})],1),_vm._v(" "),_c('b-button',{staticClass:"ml-auto",attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){_vm.$emit('submit', { value: _vm.encodeValue() });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)};
|
|
15344
15483
|
var __vue_staticRenderFns__$G = [];
|
|
15345
15484
|
|
|
15346
15485
|
/* style */
|
|
@@ -15415,7 +15554,7 @@ var script$G = {
|
|
|
15415
15554
|
const __vue_script__$G = script$G;
|
|
15416
15555
|
|
|
15417
15556
|
/* template */
|
|
15418
|
-
var __vue_render__$F = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.label,"label-class":"text-primary"}},[_c('b-input',{attrs:{"type":_vm.type,"disabled":_vm.loading},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}})],1),_vm._v(" "),_c('b-button',{attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){return _vm.$emit('submit', { value: { '@value': _vm.value, '@type': 'String' }})}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)};
|
|
15557
|
+
var __vue_render__$F = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.label,"label-class":"text-primary"}},[_c('b-input',{attrs:{"type":_vm.type,"disabled":_vm.loading},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}})],1),_vm._v(" "),_c('b-button',{staticClass:"ml-auto",attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){return _vm.$emit('submit', { value: { '@value': _vm.value, '@type': 'String' }})}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)};
|
|
15419
15558
|
var __vue_staticRenderFns__$F = [];
|
|
15420
15559
|
|
|
15421
15560
|
/* style */
|
|
@@ -15495,6 +15634,11 @@ const validTypes = [
|
|
|
15495
15634
|
|
|
15496
15635
|
var script$E = {
|
|
15497
15636
|
name: 'CPromptOptions',
|
|
15637
|
+
|
|
15638
|
+
components: {
|
|
15639
|
+
CInputSelect: __vue_component__$1a,
|
|
15640
|
+
},
|
|
15641
|
+
|
|
15498
15642
|
extends: __vue_component__$M,
|
|
15499
15643
|
|
|
15500
15644
|
data () {
|
|
@@ -15504,9 +15648,10 @@ var script$E = {
|
|
|
15504
15648
|
},
|
|
15505
15649
|
|
|
15506
15650
|
computed: {
|
|
15507
|
-
|
|
15651
|
+
itemOptions () {
|
|
15508
15652
|
const out = [];
|
|
15509
15653
|
const options = this.pVal('options', {});
|
|
15654
|
+
|
|
15510
15655
|
for (const value in options) {
|
|
15511
15656
|
out.push({ value, text: options[value] });
|
|
15512
15657
|
}
|
|
@@ -15514,7 +15659,7 @@ var script$E = {
|
|
|
15514
15659
|
return out
|
|
15515
15660
|
},
|
|
15516
15661
|
|
|
15517
|
-
|
|
15662
|
+
inputType () {
|
|
15518
15663
|
const t = this.pVal('type', 'text');
|
|
15519
15664
|
if (validTypes.indexOf(t) === -1) {
|
|
15520
15665
|
return 'select'
|
|
@@ -15560,7 +15705,7 @@ var script$E = {
|
|
|
15560
15705
|
const __vue_script__$E = script$E;
|
|
15561
15706
|
|
|
15562
15707
|
/* template */
|
|
15563
|
-
var __vue_render__$D = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!!_vm.message)?_c('p',{domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.pVal('label', 'Input'),"label-class":"text-primary"}},[(_vm.
|
|
15708
|
+
var __vue_render__$D = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex flex-column gap-1"},[(!!_vm.message)?_c('p',{staticClass:"text-break",domProps:{"innerHTML":_vm._s(_vm.message)}}):_vm._e(),_vm._v(" "),_c('b-form-group',{attrs:{"label":_vm.pVal('label', 'Input'),"label-class":"text-primary"}},[(_vm.inputType === 'select')?_c('c-input-select',{staticClass:"w-100",attrs:{"options":_vm.itemOptions,"disabled":_vm.loading,"multiple":_vm.multiple,"append-to-body":"","label":"text","get-option-key":function (r) { return r.value; },"placeholder":_vm.pVal('placeholder', 'Select an option'),"reduce":function (r) { return r.value; }},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}}):(_vm.inputType === 'radio')?_c('b-form-radio-group',{attrs:{"options":_vm.itemOptions,"disabled":_vm.loading},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v;},expression:"value"}}):_vm._e()],1),_vm._v(" "),_c('b-button',{staticClass:"ml-auto",attrs:{"disabled":_vm.loading,"variant":"primary"},on:{"click":function($event){_vm.$emit('submit', { value: _vm.encodeValue() });}}},[_vm._v("\n "+_vm._s(_vm.pVal('buttonLabel', 'Submit'))+"\n ")])],1)};
|
|
15564
15709
|
var __vue_staticRenderFns__$D = [];
|
|
15565
15710
|
|
|
15566
15711
|
/* style */
|
|
@@ -16274,7 +16419,6 @@ const prompts = Object.freeze([
|
|
|
16274
16419
|
{ name: 'message', types: ['String'], required: true },
|
|
16275
16420
|
{ name: 'buttonLabel', types: ['String'] },
|
|
16276
16421
|
{ name: 'buttonVariant', types: ['String'], meta: { visual: { input: { type: 'select', properties: { options: variants }, default: 'primary' } } } },
|
|
16277
|
-
{ name: 'buttonValue', types: ['Any'] },
|
|
16278
16422
|
],
|
|
16279
16423
|
},
|
|
16280
16424
|
{
|
|
@@ -16307,6 +16451,9 @@ const prompts = Object.freeze([
|
|
|
16307
16451
|
{ name: 'labelField', types: ['Handle'], required: true },
|
|
16308
16452
|
{ name: 'queryFields', types: ['Array'] },
|
|
16309
16453
|
{ name: 'prefilter', types: ['String'] },
|
|
16454
|
+
{ name: 'label', types: ['String'] },
|
|
16455
|
+
{ name: 'placeholder', types: ['String'] },
|
|
16456
|
+
{ name: 'buttonLabel', types: ['String'] },
|
|
16310
16457
|
],
|
|
16311
16458
|
results: [
|
|
16312
16459
|
{ name: 'value', types: ['ComposeRecord'] },
|
|
@@ -16345,6 +16492,7 @@ const prompts = Object.freeze([
|
|
|
16345
16492
|
},
|
|
16346
16493
|
},
|
|
16347
16494
|
{ name: 'inputValue', types: ['String'] },
|
|
16495
|
+
{ name: 'buttonLabel', types: ['String'] },
|
|
16348
16496
|
],
|
|
16349
16497
|
results: [
|
|
16350
16498
|
{ name: 'value', types: ['Any'] },
|
|
@@ -16378,8 +16526,10 @@ const prompts = Object.freeze([
|
|
|
16378
16526
|
},
|
|
16379
16527
|
},
|
|
16380
16528
|
{ name: 'value', types: ['String', 'Array'] },
|
|
16529
|
+
{ name: 'placeholder', types: ['String'] },
|
|
16381
16530
|
{ name: 'options', types: ['KV'] },
|
|
16382
16531
|
{ name: 'multiselect', types: ['Boolean'] },
|
|
16532
|
+
{ name: 'buttonLabel', types: ['String'] },
|
|
16383
16533
|
],
|
|
16384
16534
|
results: [
|
|
16385
16535
|
{ name: 'value', types: ['Any'] },
|
|
@@ -16769,7 +16919,7 @@ var script$y = {
|
|
|
16769
16919
|
},
|
|
16770
16920
|
|
|
16771
16921
|
props: {
|
|
16772
|
-
|
|
16922
|
+
sidebarExpanded: {
|
|
16773
16923
|
type: Boolean,
|
|
16774
16924
|
required: true,
|
|
16775
16925
|
default: false,
|
|
@@ -16896,7 +17046,7 @@ var script$y = {
|
|
|
16896
17046
|
const __vue_script__$y = script$y;
|
|
16897
17047
|
|
|
16898
17048
|
/* template */
|
|
16899
|
-
var __vue_render__$x = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header-navigation d-flex flex-wrap align-items-center py-2 px-3 gap-2"},[_c('div',{staticClass:"sidebar-spacer",class:{ 'expanded': _vm.
|
|
17049
|
+
var __vue_render__$x = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header-navigation d-flex flex-wrap align-items-center py-2 px-3 gap-2"},[_c('div',{staticClass:"sidebar-spacer",class:{ 'expanded': _vm.sidebarExpanded }}),_vm._v(" "),_c('h2',{staticClass:"title mb-0"},[_vm._t("title")],2),_vm._v(" "),_c('div',{staticClass:"tools-wrapper ml-auto"},[_vm._t("tools")],2),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center ml-auto gap-1"},[(!_vm.hideAppSelector && !_vm.settings.hideAppSelector)?_c('b-button',{staticClass:"text-dark border-0 px-1",attrs:{"data-test-id":"app-selector","variant":"outline-extra-light","href":_vm.appSelectorURL}},[_vm._v("\n "+_vm._s(_vm.labels.appMenu)+"\n ")]):_vm._e(),_vm._v(" "),_vm._t("right-tools"),_vm._v(" "),(!_vm.settings.hideNotifications)?_c('c-notification-button'):_vm._e(),_vm._v(" "),(!_vm.settings.hideHelp)?_c('b-dropdown',{staticClass:"nav-icon text-sm-nowrap",attrs:{"data-test-id":"dropdown-helper","size":"lg","variant":"outline-extra-light","toggle-class":"text-decoration-none text-dark rounded-circle border-0 w-100","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark mt-2","right":"","no-caret":""},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-center"},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['far', 'question-circle']}}),_vm._v(" "),_c('span',{staticClass:"sr-only"},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")])],1)]},proxy:true}],null,false,1129756517)},[_vm._v(" "),_c('div',[_vm._t("help-dropdown")],2),_vm._v(" "),_vm._l((_vm.helpLinks),function(helpLink,index){return _c('b-dropdown-item',{key:index,attrs:{"href":_vm._f("checkValidURL")(helpLink.url),"target":helpLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(helpLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideForumLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-forum","href":"https://forum.cortezaproject.org/","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideDocumentationLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-docs","href":_vm.documentationURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpDocumentation)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideFeedbackLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-helper-feedback","href":"mailto:info@cortezaproject.org","target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.helpFeedback)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.onlyVersion)?_c('b-dropdown-divider'):_vm._e(),_vm._v(" "),_c('b-dropdown-item',{staticClass:"small",attrs:{"disabled":""}},[_vm._v("\n "+_vm._s(_vm.labels.helpVersion)+"\n "),_c('br'),_vm._v("\n "+_vm._s(_vm.frontendVersion)+"\n ")])],2):_vm._e(),_vm._v(" "),(!_vm.settings.hideProfile)?_c('b-dropdown',{staticClass:"nav-user-icon",attrs:{"data-test-id":"dropdown-profile","variant":_vm.avatarExists ? 'link' : 'outline-extra-light',"toggle-class":("nav-icon text-decoration-none text-dark rounded-circle border " + (_vm.avatarExists ? 'p-0' : '')),"size":"lg","right":"","menu-class":"topbar-dropdown-menu border-0 shadow-sm text-dark mt-2","no-caret":""},on:{"hide":_vm.preventDropdownClose},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [(_vm.avatarExists)?_c('div',{staticClass:"avatar d-flex h-100",style:({
|
|
16900
17050
|
'background-image': _vm.avatarExists ? ("url(" + _vm.profileAvatarUrl + ")") : 'none',
|
|
16901
17051
|
})}):_c('div',{staticClass:"d-flex align-items-center justify-content-center"},[_c('font-awesome-icon',{staticClass:"m-0 h5",attrs:{"icon":['far', 'user']}}),_vm._v(" "),_c('span',{staticClass:"sr-only"},[_vm._v("\n "+_vm._s(_vm.labels.helpForum)+"\n ")])],1)]},proxy:true}],null,false,1615905304)},[_vm._v(" "),_c('b-dropdown-text',{staticClass:"text-muted mb-2",attrs:{"data-test-id":"dropdown-item-username"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsLoggedInAs)+"\n ")]),_vm._v(" "),_c('div',[_vm._t("avatar-dropdown")],2),_vm._v(" "),_vm._l((_vm.profileLinks),function(profileLink,index){return _c('b-dropdown-item',{key:index,attrs:{"href":_vm._f("checkValidURL")(profileLink.url),"target":profileLink.newTab ? '_blank' : ''}},[_vm._v("\n "+_vm._s(profileLink.handle)+"\n ")])}),_vm._v(" "),(!_vm.settings.hideProfileLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-profile-user","href":_vm.userProfileURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsProfile)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideChangePasswordLink)?_c('b-dropdown-item',{attrs:{"data-test-id":"dropdown-profile-change-password","href":_vm.changePasswordURL,"target":"_blank"}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsChangePassword)+"\n ")]):_vm._e(),_vm._v(" "),(!_vm.settings.hideThemeSelector)?_c('b-dropdown',{staticClass:"d-flex",attrs:{"id":"theme-dropleft","variant":"link","text":"Theme","dropleft":"","no-caret":"","toggle-class":"text-decoration-none text-left dropdown-item rounded-0"},on:{"show":function($event){_vm.isThemeDropdownVisible = true;},"hide":function($event){_vm.isThemeDropdownVisible = false;},"click":function($event){$event.preventDefault();$event.stopPropagation();}}},_vm._l((_vm.themes),function(theme){return _c('b-dropdown-item-button',{key:theme.id,attrs:{"disabled":_vm.currentTheme === theme.id},on:{"click":function($event){return _vm.saveThemeMode(theme.id)}}},[_vm._v("\n "+_vm._s(theme.label)+"\n ")])}),1):_vm._e(),_vm._v(" "),_c('b-dropdown-divider'),_vm._v(" "),_c('b-dropdown-item-button',{staticClass:"mt-2",attrs:{"data-test-id":"dropdown-profile-logout"},on:{"click":function($event){return _vm.$auth.logout()}}},[_vm._v("\n "+_vm._s(_vm.labels.userSettingsLogout)+"\n ")])],2):_vm._e()],2)])};
|
|
16902
17052
|
var __vue_staticRenderFns__$x = [];
|
|
@@ -16904,12 +17054,12 @@ var __vue_staticRenderFns__$x = [];
|
|
|
16904
17054
|
/* style */
|
|
16905
17055
|
const __vue_inject_styles__$z = function (inject) {
|
|
16906
17056
|
if (!inject) return
|
|
16907
|
-
inject("data-v-
|
|
16908
|
-
,inject("data-v-
|
|
17057
|
+
inject("data-v-2ac14c0d_0", { source: ".nav-icon[data-v-2ac14c0d]{width:calc(var(--topbar-height) - 24px);height:calc(var(--topbar-height) - 24px)}.nav-user-icon[data-v-2ac14c0d]{min-width:calc(var(--topbar-height) - 16px);min-height:calc(var(--topbar-height) - 16px)}.header-navigation[data-v-2ac14c0d]{width:100vw;min-height:var(--topbar-height);background-color:var(--topbar-bg)}.header-navigation .sidebar-spacer[data-v-2ac14c0d]{display:none;min-width:calc(var(--sidebar-width) - 60px)}.header-navigation .sidebar-spacer.expanded[data-v-2ac14c0d]{display:block}.avatar[data-v-2ac14c0d]{border-radius:50%;background-size:cover;background-repeat:no-repeat;background-position:center}.avatar[data-v-2ac14c0d]:hover{opacity:.8;transition:opacity .25s ease-in-out;-moz-transition:opacity .25s ease-in-out;-webkit-transition:opacity .25s ease-in-out}.title[data-v-2ac14c0d]{display:flex;align-items:center;min-height:calc(var(--topbar-height) - 16px);padding-left:47px}.title>*[data-v-2ac14c0d]{padding:.25rem 0;display:-webkit-box;display:-ms-flexbox;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;text-overflow:ellipsis}.tools-wrapper[data-v-2ac14c0d]{flex-grow:1}.tools-wrapper>*[data-v-2ac14c0d]{display:flex;justify-content:end;align-items:center;flex-wrap:wrap}", map: undefined, media: undefined })
|
|
17058
|
+
,inject("data-v-2ac14c0d_1", { source: ".topbar-dropdown-menu{z-index:1100}#theme-dropleft .btn{font-family:var(--font-regular)}", map: undefined, media: undefined });
|
|
16909
17059
|
|
|
16910
17060
|
};
|
|
16911
17061
|
/* scoped */
|
|
16912
|
-
const __vue_scope_id__$z = "data-v-
|
|
17062
|
+
const __vue_scope_id__$z = "data-v-2ac14c0d";
|
|
16913
17063
|
/* module identifier */
|
|
16914
17064
|
const __vue_module_identifier__$z = undefined;
|
|
16915
17065
|
/* functional template */
|
|
@@ -17043,10 +17193,6 @@ var __vue_staticRenderFns__$x = [];
|
|
|
17043
17193
|
//
|
|
17044
17194
|
//
|
|
17045
17195
|
//
|
|
17046
|
-
//
|
|
17047
|
-
//
|
|
17048
|
-
//
|
|
17049
|
-
//
|
|
17050
17196
|
|
|
17051
17197
|
|
|
17052
17198
|
var script$x = {
|
|
@@ -17056,11 +17202,6 @@ var script$x = {
|
|
|
17056
17202
|
default: false,
|
|
17057
17203
|
},
|
|
17058
17204
|
|
|
17059
|
-
pinned: {
|
|
17060
|
-
type: Boolean,
|
|
17061
|
-
default: false,
|
|
17062
|
-
},
|
|
17063
|
-
|
|
17064
17205
|
expandOnClick: {
|
|
17065
17206
|
type: Boolean,
|
|
17066
17207
|
default: false,
|
|
@@ -17089,7 +17230,6 @@ var script$x = {
|
|
|
17089
17230
|
|
|
17090
17231
|
data () {
|
|
17091
17232
|
return {
|
|
17092
|
-
sidebarSettings: {},
|
|
17093
17233
|
isMobile: false,
|
|
17094
17234
|
}
|
|
17095
17235
|
},
|
|
@@ -17102,20 +17242,6 @@ var script$x = {
|
|
|
17102
17242
|
|
|
17103
17243
|
set (expanded) {
|
|
17104
17244
|
this.$emit('update:expanded', expanded);
|
|
17105
|
-
|
|
17106
|
-
if (!expanded) {
|
|
17107
|
-
this.isPinned = false;
|
|
17108
|
-
}
|
|
17109
|
-
},
|
|
17110
|
-
},
|
|
17111
|
-
|
|
17112
|
-
isPinned: {
|
|
17113
|
-
get () {
|
|
17114
|
-
return this.pinned
|
|
17115
|
-
},
|
|
17116
|
-
|
|
17117
|
-
set (pinned) {
|
|
17118
|
-
this.$emit('update:pinned', pinned);
|
|
17119
17245
|
},
|
|
17120
17246
|
},
|
|
17121
17247
|
},
|
|
@@ -17134,8 +17260,9 @@ var script$x = {
|
|
|
17134
17260
|
},
|
|
17135
17261
|
},
|
|
17136
17262
|
|
|
17137
|
-
|
|
17138
|
-
this.checkSidebar();
|
|
17263
|
+
mounted () {
|
|
17264
|
+
this.checkSidebar(true);
|
|
17265
|
+
this.checkIfMobile();
|
|
17139
17266
|
|
|
17140
17267
|
this.$root.$on('close-sidebar', this.closeSidebar);
|
|
17141
17268
|
window.addEventListener('resize', this.checkIfMobile);
|
|
@@ -17148,81 +17275,23 @@ var script$x = {
|
|
|
17148
17275
|
|
|
17149
17276
|
methods: {
|
|
17150
17277
|
checkIfMobile: throttle$1(function () {
|
|
17151
|
-
this.isMobile = window.innerWidth < 1024
|
|
17152
|
-
|
|
17153
|
-
if (this.isMobile) {
|
|
17154
|
-
this.closeSidebar();
|
|
17155
|
-
}
|
|
17278
|
+
this.isMobile = window.innerWidth < 1024;
|
|
17156
17279
|
}, 500),
|
|
17157
17280
|
|
|
17158
|
-
checkSidebar () {
|
|
17281
|
+
checkSidebar (initial = false) {
|
|
17159
17282
|
// If sidebar should be disabled on route, close and unpin when navigating to route
|
|
17160
17283
|
if (this.disabledRoutes.includes(this.$route.name)) {
|
|
17161
|
-
this.isPinned = false;
|
|
17162
17284
|
this.isExpanded = false;
|
|
17163
|
-
} else if (this.
|
|
17164
|
-
this.defaultSidebarAppearance();
|
|
17165
|
-
}
|
|
17166
|
-
|
|
17167
|
-
this.checkIfMobile();
|
|
17168
|
-
},
|
|
17169
|
-
|
|
17170
|
-
onHover: throttle$1(function (expand) {
|
|
17171
|
-
if (!expand && !this.pinned && this.expandOnClick) {
|
|
17172
|
-
setTimeout(() => {
|
|
17173
|
-
this.isExpanded = expand;
|
|
17174
|
-
}, expand ? 0 : 100);
|
|
17175
|
-
}
|
|
17176
|
-
}, 300),
|
|
17177
|
-
|
|
17178
|
-
togglePin () {
|
|
17179
|
-
if (this.expandOnClick && !this.isExpanded) {
|
|
17285
|
+
} else if (!this.isMobile && initial) {
|
|
17180
17286
|
this.isExpanded = true;
|
|
17181
17287
|
}
|
|
17182
|
-
|
|
17183
|
-
if (!this.isMobile) {
|
|
17184
|
-
this.isPinned = !this.isPinned;
|
|
17185
|
-
this.saveSettings(this.isPinned);
|
|
17186
|
-
}
|
|
17187
|
-
},
|
|
17188
|
-
|
|
17189
|
-
defaultSidebarAppearance () {
|
|
17190
|
-
const localStorageSettings = JSON.parse(window.localStorage.getItem('sidebarSettings'));
|
|
17191
|
-
|
|
17192
|
-
if (localStorageSettings) {
|
|
17193
|
-
this.sidebarSettings = localStorageSettings;
|
|
17194
|
-
}
|
|
17195
|
-
|
|
17196
|
-
const appSidebar = (localStorageSettings || {})[this.$root.$options.name];
|
|
17197
|
-
|
|
17198
|
-
if (!this.isMobile) {
|
|
17199
|
-
if (appSidebar) {
|
|
17200
|
-
this.isExpanded = appSidebar.pinned;
|
|
17201
|
-
this.isPinned = appSidebar.pinned;
|
|
17202
|
-
} else {
|
|
17203
|
-
this.openSidebar();
|
|
17204
|
-
}
|
|
17205
|
-
} else {
|
|
17206
|
-
this.closeSidebar();
|
|
17207
|
-
}
|
|
17208
|
-
},
|
|
17209
|
-
|
|
17210
|
-
saveSettings (pinned) {
|
|
17211
|
-
if (this.sidebarSettings[this.$root.$options.name]) {
|
|
17212
|
-
this.sidebarSettings[this.$root.$options.name].pinned = pinned;
|
|
17213
|
-
} else {
|
|
17214
|
-
this.sidebarSettings[this.$root.$options.name] = { pinned };
|
|
17215
|
-
}
|
|
17216
|
-
window.localStorage.setItem('sidebarSettings', JSON.stringify(this.sidebarSettings));
|
|
17217
17288
|
},
|
|
17218
17289
|
|
|
17219
17290
|
openSidebar () {
|
|
17220
|
-
this.isPinned = true;
|
|
17221
17291
|
this.isExpanded = true;
|
|
17222
17292
|
},
|
|
17223
17293
|
|
|
17224
17294
|
closeSidebar () {
|
|
17225
|
-
this.isPinned = false;
|
|
17226
17295
|
this.isExpanded = false;
|
|
17227
17296
|
},
|
|
17228
17297
|
},
|
|
@@ -17232,18 +17301,18 @@ var script$x = {
|
|
|
17232
17301
|
const __vue_script__$x = script$x;
|
|
17233
17302
|
|
|
17234
17303
|
/* template */
|
|
17235
|
-
var __vue_render__$w = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('
|
|
17304
|
+
var __vue_render__$w = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-sidebar',{attrs:{"data-test-id":"sidebar","sidebar-class":("sidebar " + (_vm.isExpanded ? 'expanded' : '')),"header-class":("d-block sidebar-header " + (_vm.isExpanded ? 'expanded border-bottom p-2' : '')),"body-class":("" + (_vm.isExpanded ? 'px-3' : '')),"footer-class":("rounded-right " + (_vm.isExpanded ? 'px-2' : '')),"no-header":!_vm.isExpanded,"backdrop":_vm.isMobile,"backdrop-variant":"white","shadow":_vm.isExpanded && 'sm',"no-slide":"","right":_vm.right,"no-close-on-route-change":"","no-close-on-esc":""},scopedSlots:_vm._u([{key:"header",fn:function(){return [_c('div',{staticClass:"d-flex align-items-center justify-content-between pl-2",staticStyle:{"height":"47px"}},[_c('img',{staticClass:"logo w-auto border-0",attrs:{"data-test-id":"img-main-logo","src":_vm.logo}}),_vm._v(" "),_c('b-button',{staticClass:"d-flex align-items-center justify-content-center p-2 border-0 text-secondary",attrs:{"variant":"outline-light"},on:{"click":function($event){return _vm.closeSidebar()}}},[_c('font-awesome-icon',{staticClass:"h6 mb-0",attrs:{"icon":['fas', 'times']}})],1)],1),_vm._v(" "),(_vm.isExpanded)?_c('div',{staticClass:"px-2"},[_vm._t("header-expanded")],2):_vm._e(),_vm._v(" "),(!_vm.isExpanded)?_c('hr',{staticClass:"my-2"}):_vm._e()]},proxy:true},{key:"footer",fn:function(){return [(_vm.isExpanded)?_vm._t("footer-expanded"):_vm._e()]},proxy:true}],null,true),model:{value:(_vm.isExpanded),callback:function ($$v) {_vm.isExpanded=$$v;},expression:"isExpanded"}},[_vm._v(" "),(_vm.isExpanded)?_vm._t("body-expanded"):_vm._e()],2),_vm._v(" "),_c('div',{staticClass:"d-flex align-items-center justify-content-center tab position-absolute p-2"},[(_vm.disabledRoutes.includes(_vm.$route.name))?_c('div',{staticClass:"d-flex align-items-center border-0 p-2"},[_c('img',{staticClass:"icon w-auto border-0",attrs:{"src":_vm.icon}})]):(_vm.expandOnClick)?_c('b-button',{staticClass:"d-flex align-items-center border-0 text-primary",attrs:{"data-test-id":"button-sidebar-open","variant":"outline-extra-light","size":"lg"},on:{"click":function($event){return _vm.openSidebar()}}},[_c('font-awesome-icon',{staticClass:"h4 mb-0",attrs:{"icon":['fas', 'bars']}})],1):_c('b-button',{staticClass:"d-flex align-items-center p-2 border-0 text-primary",attrs:{"data-test-id":"button-home","variant":"outline-extra-light","size":"lg","to":{ name: 'root' }}},[_c('font-awesome-icon',{staticClass:"h4 mb-0",attrs:{"icon":['fas', 'home']}})],1)],1)],1)};
|
|
17236
17305
|
var __vue_staticRenderFns__$w = [];
|
|
17237
17306
|
|
|
17238
17307
|
/* style */
|
|
17239
17308
|
const __vue_inject_styles__$y = function (inject) {
|
|
17240
17309
|
if (!inject) return
|
|
17241
|
-
inject("data-v-
|
|
17242
|
-
,inject("data-v-
|
|
17310
|
+
inject("data-v-c2dbe544_0", { source: ".tab[data-v-c2dbe544]{z-index:1021;top:0;height:64px;width:66px}.icon[data-v-c2dbe544]{max-height:40px;max-width:40px}.logo[data-v-c2dbe544]{max-height:40px}.sidebar-header[data-v-c2dbe544]{height:64px}", map: undefined, media: undefined })
|
|
17311
|
+
,inject("data-v-c2dbe544_1", { source: ".b-sidebar{background-color:var(--white)!important}.b-sidebar-backdrop{opacity:.75!important}.sidebar{display:flex!important;left:calc(-320px)!important;transition:left .2s cubic-bezier(.4,0,.2,1)}.sidebar.expanded{left:0!important;transition:left .2s cubic-bezier(.4,0,.2,1)}[dir=rtl] .sidebar{right:calc(-320px)!important;left:auto!important;transition:right .2s cubic-bezier(.4,0,.2,1)}[dir=rtl] .sidebar.expanded{right:0!important;transition:right .2s cubic-bezier(.4,0,.2,1)}", map: undefined, media: undefined });
|
|
17243
17312
|
|
|
17244
17313
|
};
|
|
17245
17314
|
/* scoped */
|
|
17246
|
-
const __vue_scope_id__$y = "data-v-
|
|
17315
|
+
const __vue_scope_id__$y = "data-v-c2dbe544";
|
|
17247
17316
|
/* module identifier */
|
|
17248
17317
|
const __vue_module_identifier__$y = undefined;
|
|
17249
17318
|
/* functional template */
|
|
@@ -17341,6 +17410,9 @@ var __vue_staticRenderFns__$w = [];
|
|
|
17341
17410
|
//
|
|
17342
17411
|
//
|
|
17343
17412
|
//
|
|
17413
|
+
//
|
|
17414
|
+
//
|
|
17415
|
+
//
|
|
17344
17416
|
|
|
17345
17417
|
var script$w = {
|
|
17346
17418
|
name: 'CSidebarNavItems',
|
|
@@ -17357,6 +17429,10 @@ var script$w = {
|
|
|
17357
17429
|
required: true,
|
|
17358
17430
|
default: () => [],
|
|
17359
17431
|
},
|
|
17432
|
+
root: {
|
|
17433
|
+
type: Boolean,
|
|
17434
|
+
default: true,
|
|
17435
|
+
},
|
|
17360
17436
|
defaultRouteName: {
|
|
17361
17437
|
type: String,
|
|
17362
17438
|
required: true,
|
|
@@ -17378,7 +17454,7 @@ var script$w = {
|
|
|
17378
17454
|
immediate: true,
|
|
17379
17455
|
handler (items = []) {
|
|
17380
17456
|
items.forEach(({ page, params, children }) => {
|
|
17381
|
-
const px = this.
|
|
17457
|
+
const px = this.pageKey(page);
|
|
17382
17458
|
// Apply startExpanded only if page isn't currently expanded
|
|
17383
17459
|
this.$set(this.collapses, px, this.startExpanded || page.expanded || this.showChildren({ params, children }));
|
|
17384
17460
|
});
|
|
@@ -17387,18 +17463,18 @@ var script$w = {
|
|
|
17387
17463
|
},
|
|
17388
17464
|
|
|
17389
17465
|
methods: {
|
|
17390
|
-
|
|
17466
|
+
onItemClick () {
|
|
17391
17467
|
if (window.innerWidth < 576) {
|
|
17392
17468
|
this.$root.$emit('close-sidebar');
|
|
17393
17469
|
}
|
|
17394
17470
|
},
|
|
17395
17471
|
|
|
17396
|
-
|
|
17472
|
+
pageKey (p) {
|
|
17397
17473
|
return p.pageID || p.name || p.title
|
|
17398
17474
|
},
|
|
17399
17475
|
|
|
17400
17476
|
toggle (p) {
|
|
17401
|
-
const px = this.
|
|
17477
|
+
const px = this.pageKey(p);
|
|
17402
17478
|
this.$set(this.collapses, px, !this.collapses[px]);
|
|
17403
17479
|
},
|
|
17404
17480
|
|
|
@@ -17421,21 +17497,21 @@ var script$w = {
|
|
|
17421
17497
|
const __vue_script__$w = script$w;
|
|
17422
17498
|
|
|
17423
17499
|
/* template */
|
|
17424
|
-
var __vue_render__$v = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nav-sidebar"},_vm._l((_vm.items),function(ref){
|
|
17500
|
+
var __vue_render__$v = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"nav-sidebar",class:{ 'mt-1': _vm.root }},_vm._l((_vm.items),function(ref){
|
|
17425
17501
|
var page = ref.page; if ( page === void 0 ) page = {};
|
|
17426
17502
|
var params = ref.params; if ( params === void 0 ) params = {};
|
|
17427
17503
|
var children = ref.children; if ( children === void 0 ) children = [];
|
|
17428
|
-
return _c('
|
|
17504
|
+
return _c('div',{key:_vm.pageKey(page),class:{ 'mb-1': _vm.root }},[_c('div',{staticClass:"d-flex align-items-start pointer pb-1"},[_c('b-button',{staticClass:"nav-item d-flex align-items-center text-decoration-none rounded flex-grow-1 text-left pl-1 py-1 gap-1",attrs:{"variant":"link","active-class":"nav-active","exact-active-class":"nav-exact-active","title":page.title,"to":{ name: page.name || _vm.defaultRouteName, params: params }},on:{"click":function($event){return _vm.onItemClick()}}},[(page.icon)?[(Array.isArray(page.icon))?_c('font-awesome-icon',{staticClass:"icon",staticStyle:{"height":"1rem","width":"1rem"},attrs:{"icon":page.icon}}):_c('img',{staticClass:"mr-1",staticStyle:{"height":"1rem","width":"1rem"},attrs:{"src":page.icon}})]:_vm._e(),_vm._v(" "),_c('label',{staticClass:"title pointer mb-0",class:{ 'root': _vm.root }},[_vm._v("\n "+_vm._s(page.title)+"\n ")])],2),_vm._v(" "),(children.length)?_c('b-button',{staticClass:"p-0 border-0 ml-auto",staticStyle:{"min-width":"2rem","min-height":"2rem"},attrs:{"variant":"outline-light"},on:{"click":function($event){return _vm.toggle(page)}}},[(!_vm.collapses[_vm.pageKey(page)])?_c('font-awesome-icon',{staticClass:"text-dark",attrs:{"icon":['fas', 'chevron-down']}}):_c('font-awesome-icon',{staticClass:"text-primary",attrs:{"icon":['fas', 'chevron-up']}})],1):_vm._e()],1),_vm._v(" "),(children.length)?_c('b-collapse',{attrs:{"visible":_vm.collapses[_vm.pageKey(page)]}},[_c('c-sidebar-nav-items',_vm._g({staticClass:"py-1 ml-2",attrs:{"items":children,"start-expanded":_vm.startExpanded,"default-route-name":_vm.defaultRouteName,"root":false}},_vm.$listeners))],1):_vm._e()],1)}),0)};
|
|
17429
17505
|
var __vue_staticRenderFns__$v = [];
|
|
17430
17506
|
|
|
17431
17507
|
/* style */
|
|
17432
17508
|
const __vue_inject_styles__$x = function (inject) {
|
|
17433
17509
|
if (!inject) return
|
|
17434
|
-
inject("data-v-
|
|
17510
|
+
inject("data-v-493aa700_0", { source: ".nav-sidebar .nav-item[data-v-493aa700]{transition:background-color .25s ease-in-out}.nav-sidebar .nav-item .icon[data-v-493aa700]{color:var(--black);transition:color .25s}.nav-sidebar .nav-item .title[data-v-493aa700]{color:var(--black);font-family:var(--font-regular)!important;transition:color .25s;text-align:left}.nav-sidebar .nav-item[data-v-493aa700]:hover{background-color:var(--light)}.nav-sidebar .nav-active .icon[data-v-493aa700]{color:var(--primary)}.nav-sidebar .nav-active .title[data-v-493aa700]{font-family:var(--font-medium)!important;color:var(--primary)}", map: undefined, media: undefined });
|
|
17435
17511
|
|
|
17436
17512
|
};
|
|
17437
17513
|
/* scoped */
|
|
17438
|
-
const __vue_scope_id__$x = "data-v-
|
|
17514
|
+
const __vue_scope_id__$x = "data-v-493aa700";
|
|
17439
17515
|
/* module identifier */
|
|
17440
17516
|
const __vue_module_identifier__$x = undefined;
|
|
17441
17517
|
/* functional template */
|
|
@@ -18133,7 +18209,7 @@ var script$n = {
|
|
|
18133
18209
|
components: {
|
|
18134
18210
|
draggable: Draggable,
|
|
18135
18211
|
CItemPickerItem: __vue_component__$p,
|
|
18136
|
-
CInputSearch: __vue_component__$
|
|
18212
|
+
CInputSearch: __vue_component__$17,
|
|
18137
18213
|
},
|
|
18138
18214
|
|
|
18139
18215
|
props: {
|
|
@@ -19429,7 +19505,7 @@ var __vue_staticRenderFns__$i = [];
|
|
|
19429
19505
|
|
|
19430
19506
|
var script$g = {
|
|
19431
19507
|
components: {
|
|
19432
|
-
CInputSelect: __vue_component__$
|
|
19508
|
+
CInputSelect: __vue_component__$1a,
|
|
19433
19509
|
},
|
|
19434
19510
|
|
|
19435
19511
|
props: {
|
|
@@ -19790,7 +19866,7 @@ var script$f = {
|
|
|
19790
19866
|
name: 'ResourceList',
|
|
19791
19867
|
|
|
19792
19868
|
components: {
|
|
19793
|
-
CInputSearch: __vue_component__$
|
|
19869
|
+
CInputSearch: __vue_component__$17,
|
|
19794
19870
|
},
|
|
19795
19871
|
|
|
19796
19872
|
props: {
|
|
@@ -20471,7 +20547,7 @@ n(css$3,{});
|
|
|
20471
20547
|
var script$c = {
|
|
20472
20548
|
components: {
|
|
20473
20549
|
LControl,
|
|
20474
|
-
CInputSearch: __vue_component__$
|
|
20550
|
+
CInputSearch: __vue_component__$17,
|
|
20475
20551
|
LPolygon,
|
|
20476
20552
|
LTileLayer,
|
|
20477
20553
|
LMarker,
|
|
@@ -21258,7 +21334,7 @@ var script$8 = {
|
|
|
21258
21334
|
},
|
|
21259
21335
|
|
|
21260
21336
|
components: {
|
|
21261
|
-
CInputConfirm: __vue_component__$
|
|
21337
|
+
CInputConfirm: __vue_component__$1d,
|
|
21262
21338
|
},
|
|
21263
21339
|
|
|
21264
21340
|
props: {
|
|
@@ -22299,34 +22375,35 @@ var index$6 = {
|
|
|
22299
22375
|
var index$5 = /*#__PURE__*/Object.freeze({
|
|
22300
22376
|
__proto__: null,
|
|
22301
22377
|
C3: index$6,
|
|
22302
|
-
CAceEditor: __vue_component__$
|
|
22303
|
-
CButtonSubmit: __vue_component__$
|
|
22378
|
+
CAceEditor: __vue_component__$W,
|
|
22379
|
+
CButtonSubmit: __vue_component__$U,
|
|
22304
22380
|
CChart: __vue_component__$m,
|
|
22305
|
-
CCorredorManualButtons: __vue_component__$
|
|
22306
|
-
CExtendSession: __vue_component__$
|
|
22307
|
-
CFormTableWrapper: __vue_component__$
|
|
22381
|
+
CCorredorManualButtons: __vue_component__$1m,
|
|
22382
|
+
CExtendSession: __vue_component__$1n,
|
|
22383
|
+
CFormTableWrapper: __vue_component__$19,
|
|
22308
22384
|
CHint: __vue_component__$d,
|
|
22309
|
-
CInputCheckbox: __vue_component__$
|
|
22310
|
-
CInputColorPicker: __vue_component__$
|
|
22311
|
-
CInputConfirm: __vue_component__$
|
|
22312
|
-
CInputDateTime: __vue_component__$
|
|
22313
|
-
CInputExpression: __vue_component__$
|
|
22314
|
-
CInputPresort: __vue_component__$
|
|
22315
|
-
CInputProcessing: __vue_component__$
|
|
22316
|
-
CInputRole: __vue_component__$
|
|
22317
|
-
CInputSearch: __vue_component__$
|
|
22318
|
-
CInputSelect: __vue_component__$
|
|
22385
|
+
CInputCheckbox: __vue_component__$Y,
|
|
22386
|
+
CInputColorPicker: __vue_component__$X,
|
|
22387
|
+
CInputConfirm: __vue_component__$1d,
|
|
22388
|
+
CInputDateTime: __vue_component__$1b,
|
|
22389
|
+
CInputExpression: __vue_component__$V,
|
|
22390
|
+
CInputPresort: __vue_component__$18,
|
|
22391
|
+
CInputProcessing: __vue_component__$1c,
|
|
22392
|
+
CInputRole: __vue_component__$T,
|
|
22393
|
+
CInputSearch: __vue_component__$17,
|
|
22394
|
+
CInputSelect: __vue_component__$1a,
|
|
22395
|
+
CInputUser: __vue_component__$S,
|
|
22319
22396
|
CItemPicker: __vue_component__$o,
|
|
22320
22397
|
CItemPickerItem: __vue_component__$p,
|
|
22321
|
-
CLightbox: __vue_component__$
|
|
22398
|
+
CLightbox: __vue_component__$1h,
|
|
22322
22399
|
CLoaderLogo: __vue_component__$B,
|
|
22323
22400
|
CMap: __vue_component__$c,
|
|
22324
22401
|
CNotificationButton: __vue_component__$A,
|
|
22325
22402
|
CNotificationSidebar: __vue_component__$6,
|
|
22326
22403
|
CPermissionsButton: __vue_component__$R,
|
|
22327
22404
|
CPermissionsModal: __vue_component__$N,
|
|
22328
|
-
CPreviewInline: __vue_component__$
|
|
22329
|
-
CPreviewLightbox: __vue_component__$
|
|
22405
|
+
CPreviewInline: __vue_component__$1e,
|
|
22406
|
+
CPreviewLightbox: __vue_component__$1f,
|
|
22330
22407
|
CProgress: __vue_component__$f,
|
|
22331
22408
|
CPromptModal: __vue_component__$D,
|
|
22332
22409
|
CPromptToast: __vue_component__$E,
|
|
@@ -22337,7 +22414,7 @@ var index$5 = /*#__PURE__*/Object.freeze({
|
|
|
22337
22414
|
CReportTable: __vue_component__$j,
|
|
22338
22415
|
CReportText: __vue_component__$i,
|
|
22339
22416
|
CResourceList: __vue_component__$g,
|
|
22340
|
-
CRichTextInput: __vue_component__$
|
|
22417
|
+
CRichTextInput: __vue_component__$Z,
|
|
22341
22418
|
CSensitivityLevelPicker: __vue_component__$h,
|
|
22342
22419
|
CSidebar: __vue_component__$y,
|
|
22343
22420
|
CSidebarNavItems: __vue_component__$x,
|