vue-intergrall-plugins 1.0.30 → 1.0.32
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/README.md +208 -173
- package/dist/vue-intergrall-plugins.esm.js +62 -106
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +73 -115
- package/package.json +2 -3
- package/src/lib-components/Chat/BtnEmojis.vue +9 -10
- package/src/lib-components/Chat/BtnFiles.vue +41 -103
- package/src/lib-components/Chat/ExpandTextarea.vue +26 -37
- package/src/lib-components/Chat/TextFooter.vue +5 -3
- package/src/lib-components/Email/EmailItem.vue +6 -4
- package/src/lib-components/Messages/ChatMessages.vue +8 -6
- package/src/lib-components/Messages/InteratividadePopup.vue +10 -23
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _iterableToArrayLimit(r, l) {
|
|
2
2
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
3
3
|
if (null != t) {
|
|
4
4
|
var e,
|
|
@@ -2847,77 +2847,20 @@ var __vue_component__$J = /*#__PURE__*/normalizeComponent({
|
|
|
2847
2847
|
render: __vue_render__$B,
|
|
2848
2848
|
staticRenderFns: __vue_staticRenderFns__$B
|
|
2849
2849
|
}, __vue_inject_styles__$B, __vue_script__$B, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, undefined, createInjectorSSR, undefined);
|
|
2850
|
-
var TemplateSingle = __vue_component__$J;var
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
}
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
var HANDLER = '_vue_clickaway_handler';
|
|
2865
|
-
|
|
2866
|
-
function bind(el, binding, vnode) {
|
|
2867
|
-
unbind(el);
|
|
2868
|
-
|
|
2869
|
-
var vm = vnode.context;
|
|
2870
|
-
|
|
2871
|
-
var callback = binding.value;
|
|
2872
|
-
if (typeof callback !== 'function') {
|
|
2873
|
-
return;
|
|
2874
|
-
}
|
|
2875
|
-
|
|
2876
|
-
// @NOTE: Vue binds directives in microtasks, while UI events are dispatched
|
|
2877
|
-
// in macrotasks. This causes the listener to be set up before
|
|
2878
|
-
// the "origin" click event (the event that lead to the binding of
|
|
2879
|
-
// the directive) arrives at the document root. To work around that,
|
|
2880
|
-
// we ignore events until the end of the "initial" macrotask.
|
|
2881
|
-
// @REFERENCE: https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/
|
|
2882
|
-
// @REFERENCE: https://github.com/simplesmiler/vue-clickaway/issues/8
|
|
2883
|
-
var initialMacrotaskEnded = false;
|
|
2884
|
-
setTimeout(function() {
|
|
2885
|
-
initialMacrotaskEnded = true;
|
|
2886
|
-
}, 0);
|
|
2887
|
-
|
|
2888
|
-
el[HANDLER] = function(ev) {
|
|
2889
|
-
// @NOTE: this test used to be just `el.containts`, but working with path is better,
|
|
2890
|
-
// because it tests whether the element was there at the time of
|
|
2891
|
-
// the click, not whether it is there now, that the event has arrived
|
|
2892
|
-
// to the top.
|
|
2893
|
-
// @NOTE: `.path` is non-standard, the standard way is `.composedPath()`
|
|
2894
|
-
var path = ev.path || (ev.composedPath ? ev.composedPath() : undefined);
|
|
2895
|
-
if (initialMacrotaskEnded && (path ? path.indexOf(el) < 0 : !el.contains(ev.target))) {
|
|
2896
|
-
return callback.call(vm, ev);
|
|
2897
|
-
}
|
|
2898
|
-
};
|
|
2899
|
-
|
|
2900
|
-
document.documentElement.addEventListener('click', el[HANDLER], false);
|
|
2901
|
-
}
|
|
2902
|
-
|
|
2903
|
-
function unbind(el) {
|
|
2904
|
-
document.documentElement.removeEventListener('click', el[HANDLER], false);
|
|
2905
|
-
delete el[HANDLER];
|
|
2906
|
-
}
|
|
2907
|
-
|
|
2908
|
-
var directive = {
|
|
2909
|
-
bind: bind,
|
|
2910
|
-
update: function(el, binding) {
|
|
2911
|
-
if (binding.value === binding.oldValue) return;
|
|
2912
|
-
bind(el, binding);
|
|
2913
|
-
},
|
|
2914
|
-
unbind: unbind,
|
|
2915
|
-
};
|
|
2916
|
-
|
|
2917
|
-
var mixin = {
|
|
2918
|
-
directives: { onClickaway: directive },
|
|
2919
|
-
};
|
|
2920
|
-
var mixin_1 = mixin;var setResizeListeners = function setResizeListeners($el, inputClass, parentClass) {
|
|
2850
|
+
var TemplateSingle = __vue_component__$J;var Clickaway = {
|
|
2851
|
+
bind: function bind(el, binding, vnode) {
|
|
2852
|
+
el.clickAwayHandler = function (event) {
|
|
2853
|
+
if (!(el === event.target || el.contains(event.target))) binding.value(event);
|
|
2854
|
+
};
|
|
2855
|
+
setTimeout(function () {
|
|
2856
|
+
document.addEventListener('click', el.clickAwayHandler);
|
|
2857
|
+
}, 0);
|
|
2858
|
+
},
|
|
2859
|
+
unbind: function unbind(el) {
|
|
2860
|
+
document.removeEventListener('click', el.clickAwayHandler);
|
|
2861
|
+
el.clickAwayHandler = null;
|
|
2862
|
+
}
|
|
2863
|
+
};var setResizeListeners = function setResizeListeners($el, inputClass, parentClass) {
|
|
2921
2864
|
var inputTargets = $el.querySelectorAll(inputClass);
|
|
2922
2865
|
inputTargets.forEach(function (target) {
|
|
2923
2866
|
target.addEventListener("input", function () {
|
|
@@ -3453,7 +3396,9 @@ var script$w = {
|
|
|
3453
3396
|
components: {
|
|
3454
3397
|
Picker: Picker
|
|
3455
3398
|
},
|
|
3456
|
-
|
|
3399
|
+
directives: {
|
|
3400
|
+
clickaway: Clickaway
|
|
3401
|
+
},
|
|
3457
3402
|
props: {
|
|
3458
3403
|
emojiId: {
|
|
3459
3404
|
type: String,
|
|
@@ -3546,8 +3491,8 @@ var __vue_render__$w = function __vue_render__() {
|
|
|
3546
3491
|
var _c = _vm._self._c || _h;
|
|
3547
3492
|
return _c('div', {
|
|
3548
3493
|
directives: [{
|
|
3549
|
-
name: "
|
|
3550
|
-
rawName: "v-
|
|
3494
|
+
name: "clickaway",
|
|
3495
|
+
rawName: "v-clickaway",
|
|
3551
3496
|
value: _vm.away,
|
|
3552
3497
|
expression: "away"
|
|
3553
3498
|
}],
|
|
@@ -3574,7 +3519,7 @@ var __vue_staticRenderFns__$w = [];
|
|
|
3574
3519
|
/* style */
|
|
3575
3520
|
var __vue_inject_styles__$w = function __vue_inject_styles__(inject) {
|
|
3576
3521
|
if (!inject) return;
|
|
3577
|
-
inject("data-v-
|
|
3522
|
+
inject("data-v-6e4d9dd7_0", {
|
|
3578
3523
|
source: ".emoji-text-container{position:relative}.emoji-text-container .emoji-text-btn{font-size:19.2px;cursor:pointer}",
|
|
3579
3524
|
map: undefined,
|
|
3580
3525
|
media: undefined
|
|
@@ -3583,7 +3528,7 @@ var __vue_inject_styles__$w = function __vue_inject_styles__(inject) {
|
|
|
3583
3528
|
/* scoped */
|
|
3584
3529
|
var __vue_scope_id__$w = undefined;
|
|
3585
3530
|
/* module identifier */
|
|
3586
|
-
var __vue_module_identifier__$w = "data-v-
|
|
3531
|
+
var __vue_module_identifier__$w = "data-v-6e4d9dd7";
|
|
3587
3532
|
/* functional template */
|
|
3588
3533
|
var __vue_is_functional_template__$w = false;
|
|
3589
3534
|
/* style inject shadow dom */
|
|
@@ -4006,7 +3951,9 @@ var SingleFilePreview = __vue_component__$B;var script$s = {
|
|
|
4006
3951
|
SingleFilePreview: SingleFilePreview,
|
|
4007
3952
|
MultipleFilePreview: MultipleFilePreview
|
|
4008
3953
|
},
|
|
4009
|
-
|
|
3954
|
+
directives: {
|
|
3955
|
+
clickaway: Clickaway
|
|
3956
|
+
},
|
|
4010
3957
|
props: {
|
|
4011
3958
|
textId: {
|
|
4012
3959
|
type: String,
|
|
@@ -4450,8 +4397,8 @@ var __vue_render__$s = function __vue_render__() {
|
|
|
4450
4397
|
value: _vm.showFilePreview,
|
|
4451
4398
|
expression: "showFilePreview"
|
|
4452
4399
|
}, {
|
|
4453
|
-
name: "
|
|
4454
|
-
rawName: "v-
|
|
4400
|
+
name: "clickaway",
|
|
4401
|
+
rawName: "v-clickaway",
|
|
4455
4402
|
value: _vm.away,
|
|
4456
4403
|
expression: "away"
|
|
4457
4404
|
}],
|
|
@@ -4497,7 +4444,7 @@ var __vue_staticRenderFns__$s = [];
|
|
|
4497
4444
|
/* style */
|
|
4498
4445
|
var __vue_inject_styles__$s = function __vue_inject_styles__(inject) {
|
|
4499
4446
|
if (!inject) return;
|
|
4500
|
-
inject("data-v-
|
|
4447
|
+
inject("data-v-87cdc664_0", {
|
|
4501
4448
|
source: ".fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.files-counter{position:absolute;top:unset;transform:translate(17.5px,-15px);background-color:#888;z-index:1;font-size:8px;width:15px;height:15px;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .3s;color:#fff;font-weight:900}.files-counter:hover{opacity:1}.files-counter-2{transform:translate(-15px,28px);opacity:.9;position:absolute;display:flex;justify-content:center;align-items:center;color:#888;font-size:12.8px}.files-counter-2 svg{margin-left:5px}.files-counter-2:hover{opacity:1;text-decoration:underline}",
|
|
4502
4449
|
map: undefined,
|
|
4503
4450
|
media: undefined
|
|
@@ -4506,7 +4453,7 @@ var __vue_inject_styles__$s = function __vue_inject_styles__(inject) {
|
|
|
4506
4453
|
/* scoped */
|
|
4507
4454
|
var __vue_scope_id__$s = undefined;
|
|
4508
4455
|
/* module identifier */
|
|
4509
|
-
var __vue_module_identifier__$s = "data-v-
|
|
4456
|
+
var __vue_module_identifier__$s = "data-v-87cdc664";
|
|
4510
4457
|
/* functional template */
|
|
4511
4458
|
var __vue_is_functional_template__$s = false;
|
|
4512
4459
|
/* style inject shadow dom */
|
|
@@ -5222,7 +5169,9 @@ var StandardMessages = __vue_component__$v;var script$m = {
|
|
|
5222
5169
|
BtnScreenShare: BtnScreenShare,
|
|
5223
5170
|
BtnDownloadAllFiles: BtnDownloadAllFiles
|
|
5224
5171
|
},
|
|
5225
|
-
|
|
5172
|
+
directives: {
|
|
5173
|
+
clickaway: Clickaway
|
|
5174
|
+
},
|
|
5226
5175
|
props: {
|
|
5227
5176
|
buttons: {
|
|
5228
5177
|
type: Object,
|
|
@@ -5684,8 +5633,8 @@ var __vue_render__$m = function __vue_render__() {
|
|
|
5684
5633
|
var _c = _vm._self._c || _h;
|
|
5685
5634
|
return _vm.textId ? _c('div', {
|
|
5686
5635
|
directives: [{
|
|
5687
|
-
name: "
|
|
5688
|
-
rawName: "v-
|
|
5636
|
+
name: "clickaway",
|
|
5637
|
+
rawName: "v-clickaway",
|
|
5689
5638
|
value: _vm.away,
|
|
5690
5639
|
expression: "away"
|
|
5691
5640
|
}],
|
|
@@ -5889,7 +5838,7 @@ var __vue_staticRenderFns__$m = [];
|
|
|
5889
5838
|
/* style */
|
|
5890
5839
|
var __vue_inject_styles__$m = function __vue_inject_styles__(inject) {
|
|
5891
5840
|
if (!inject) return;
|
|
5892
|
-
inject("data-v-
|
|
5841
|
+
inject("data-v-bf33e062_0", {
|
|
5893
5842
|
source: ".text-footer-container{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;position:relative}.text-footer-container .text-footer{min-height:48px;box-shadow:0 3px 7px -2px rgba(0,0,0,.45);position:relative;display:flex;justify-content:center;align-items:center;border:1px solid #ccc;padding:5px 2px 5px 5px;border-radius:5px}.text-footer-container .text-footer.full{width:100%}.text-footer-container .text-footer.almostFull{width:95%}.text-footer-container .text-footer.medium{width:75%}.text-footer-container.bigger .text-footer{height:80px}.text-footer-container.bigger .text-footer>textarea{font-size:14px;height:75px;max-height:75px;min-height:75px}.text-footer-container textarea{margin:0 5px;border:unset;flex:1;resize:none;min-height:30px;max-height:60px;font-size:14px;font-family:inherit;background:inherit}.text-footer-container textarea:focus{outline:unset}.text-footer-container textarea::placeholder{font-size:12px}.text-footer-container .text-footer-audio{flex:1;display:flex;justify-content:center;align-items:center}.text-footer-container audio{flex:1;outline:unset;width:auto;height:38px}.text-footer-container .delete-audio{display:flex;justify-content:center;align-items:center;color:#e74c3c;transition:background .3s;border-radius:50%;font-size:16px;padding:10px;cursor:pointer;margin:0 5px;width:31px;height:31px}.text-footer-container .delete-audio:hover{background-color:rgba(208,0,0,.2)}.text-footer-container .max-characters{font-size:9.2px;z-index:1;color:#444;position:relative;top:30px;left:-30px}.text-footer-container .max-characters.no-width{width:0}.text-footer-container .text-footer-actions{display:flex}.text-footer-container .text-footer-actions.outside-buttons{display:flex;align-items:center;justify-content:flex-end;position:absolute;top:-30px;right:35px;background-color:#fafafa}.text-footer-container .text-footer-actions .text-footer-actions--btn{display:flex;justify-content:center;align-items:center;color:#777;border-radius:50%;transition:background .3s;padding:10px;font-size:16px;width:36px;height:36px;cursor:pointer;margin-right:2.5px}.text-footer-container .text-footer-actions .text-footer-actions--btn:last-child{margin-right:unset}.text-footer-container .text-footer-actions .text-footer-actions--btn:hover{background-color:rgba(0,0,0,.1)}.text-footer-container .text-footer-actions .text-footer-actions--btn.files-activated{background-color:rgba(0,0,0,.1)}.text-footer-container .text-footer-actions .text-footer-actions--btn.audio-activated{background-color:rgba(208,0,0,.7);color:#fff}.text-footer-container .text-footer-actions .text-footer-actions--btn.left-button{position:absolute;left:0}.text-footer-container .text-footer-hsm-container{margin:12px 0 7px 0}.text-footer-container .text-footer-hsm-container.full{width:100%}.text-footer-container .text-footer-hsm-container.almostFull{width:95%}.text-footer-container .text-footer-hsm-container.medium{width:75%}.text-footer-container .text-footer-hsm-container .text-footer-v-select{border-radius:5px;margin-bottom:5px}.text-footer-container .text-footer-hsm-container .text-footer-select-03{display:flex;align-items:center;flex:1;width:100%}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer-v-select{flex:1}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03{transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -3px rgba(0,0,0,.2);opacity:.9;border-radius:2.5px;display:flex;justify-content:center;align-items:center;margin-left:5px;margin-bottom:5px;background-color:#f7fe72;width:32px;height:32px}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:hover{opacity:1}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03 svg{font-size:16px}.text-footer-container .text-footer-files-container{position:absolute;right:0;top:-55px;padding:5px;background-color:rgba(0,0,0,.4);border-radius:5px;display:flex;align-items:center;justify-content:space-between;z-index:1}.text-footer-container .text-footer-files-container.horizontal{right:-55px;flex-direction:column}.text-footer-container .text-footer-files-container .files-btn{transition-duration:.3s;transition-property:opacity;opacity:.8;cursor:pointer;display:flex;justify-content:center;align-items:center;border-radius:10px;padding:3px;width:40px;height:40px;font-size:16px;color:#fff}.text-footer-container .text-footer-files-container .files-btn:hover{opacity:1}.text-footer-container .text-footer-files-container .files-btn svg{color:#fff}.text-footer-container .text-footer-files-container .files-btn.images{background-color:#9575cd;margin-right:5px}.text-footer-container .text-footer-files-container .files-btn.images.margin-bottom{margin-right:unset;margin-bottom:5px}.text-footer-container .text-footer-files-container .files-btn.docs{background-color:#7986cb}.text-footer-container .text-footer-files-container .files-btn.system{background-color:#49a349;margin-left:5px}.text-footer-container .text-footer-files-container .files-btn.both{font-size:15.2px;background-color:#5555ec;flex-direction:column}.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(1){transform:translateX(5px)}.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(2){transform:translateX(-5px)}.text-footer-container .text-footer-preview-container{width:100%;cursor:default;position:absolute;left:0;background-color:#f1f1f1;border:2px solid #ccc;border-bottom:unset;border-top-left-radius:2.5px;border-top-right-radius:2.5px}.text-footer-container .text-footer-preview-container.isDoc{top:-50px;width:100%;height:45px}.text-footer-container .text-footer-preview-container.isImg,.text-footer-container .text-footer-preview-container.isMultiple{top:-205px;width:100%;height:200px;min-width:200px}.text-footer-container .text-footer-preview-container.isImg .text-footer-image-preview{height:170px}.text-footer-container .text-footer-preview-container.isError{top:-80px;width:100%;height:75px}.text-footer-container .text-footer-alt{margin-top:-12px;width:100%;padding:0 10px}.text-footer-container .text-footer-alt .text-footer-out-session{margin-top:12px}.text-footer-container .text-footer-alt .text-footer-sem-24h{font-size:12.8px;text-align:right;font-weight:600;letter-spacing:-.5px;color:#dd7f0c;margin-top:5px;position:absolute;right:0}.text-footer-container .text-footer-alt .sem-templates{margin-top:10px;font-size:12.8px;text-align:right;font-weight:600;letter-spacing:-.5px;color:#921e12}.text-footer-container .text-footer-alt .text-footer-templates{position:relative;width:100%}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection{width:100%;display:flex;align-items:center}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection h4{margin-right:5px}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection .sm__select{flex:1}.vs__dropdown-menu{font-size:13.6px!important}.emoji-mart-anchor,.emoji-mart-emoji span{cursor:pointer!important}.emoji-mart{z-index:2!important}.emoji-mart-scroll{overflow-x:hidden}",
|
|
5894
5843
|
map: undefined,
|
|
5895
5844
|
media: undefined
|
|
@@ -5898,7 +5847,7 @@ var __vue_inject_styles__$m = function __vue_inject_styles__(inject) {
|
|
|
5898
5847
|
/* scoped */
|
|
5899
5848
|
var __vue_scope_id__$m = undefined;
|
|
5900
5849
|
/* module identifier */
|
|
5901
|
-
var __vue_module_identifier__$m = "data-v-
|
|
5850
|
+
var __vue_module_identifier__$m = "data-v-bf33e062";
|
|
5902
5851
|
/* functional template */
|
|
5903
5852
|
var __vue_is_functional_template__$m = false;
|
|
5904
5853
|
/* style inject shadow dom */
|
|
@@ -6336,7 +6285,9 @@ var script$j = {
|
|
|
6336
6285
|
BtnEmojis: BtnEmojis,
|
|
6337
6286
|
BtnFiles: BtnFiles
|
|
6338
6287
|
},
|
|
6339
|
-
|
|
6288
|
+
directives: {
|
|
6289
|
+
clickaway: Clickaway
|
|
6290
|
+
},
|
|
6340
6291
|
props: {
|
|
6341
6292
|
identifier: {
|
|
6342
6293
|
type: String,
|
|
@@ -6597,8 +6548,8 @@ var __vue_render__$j = function __vue_render__() {
|
|
|
6597
6548
|
var _c = _vm._self._c || _h;
|
|
6598
6549
|
return _c('div', {
|
|
6599
6550
|
directives: [{
|
|
6600
|
-
name: "
|
|
6601
|
-
rawName: "v-
|
|
6551
|
+
name: "clickaway",
|
|
6552
|
+
rawName: "v-clickaway",
|
|
6602
6553
|
value: _vm.away,
|
|
6603
6554
|
expression: "away"
|
|
6604
6555
|
}],
|
|
@@ -6658,7 +6609,7 @@ var __vue_staticRenderFns__$j = [];
|
|
|
6658
6609
|
/* style */
|
|
6659
6610
|
var __vue_inject_styles__$j = function __vue_inject_styles__(inject) {
|
|
6660
6611
|
if (!inject) return;
|
|
6661
|
-
inject("data-v-
|
|
6612
|
+
inject("data-v-53d5f793_0", {
|
|
6662
6613
|
source: ".sc-icone-fechar.sc-icone-fechar--externo{top:-10px;right:-10px}.sc-icone-fechar.sc-icone-fechar--interno{top:10px;right:10px}.expand-textarea{position:relative;width:90%;height:90%;z-index:1}.expand-textarea-content{overflow-x:hidden;overflow-y:auto;background-color:#fff;width:100%;height:100%;display:flex;flex-direction:column}.expand-textarea-title{padding:2.5px 8px;min-height:38px;display:flex;align-items:center;width:100%;font-size:20.8px;background-color:#222;color:#fff}.expand-textarea-content textarea{padding:10px;flex:1;width:100%;border:unset;resize:none;outline:0;overflow-x:hidden}.expand-textarea-content textarea:active,.expand-textarea-content textarea:hover{outline:0}.expand-textarea-footer{display:flex;justify-content:flex-end;align-items:center;padding:10px;background-color:#f7f7f7;position:relative}.expand-textarea-footer .text-footer-preview-container{position:absolute;top:-200px;right:145px;height:200px;background:#f7f7f7}.expand-textarea-footer .text-footer-actions--btn{width:36px;height:36px;border-radius:50%;background-color:rgba(255,255,255,0);color:#333;padding:2.5px;margin:0 15px 0 10px;display:flex;justify-content:center;align-items:center;font-size:20.8px;cursor:pointer;opacity:.9;transition:all .3s}.expand-textarea-footer .text-footer-actions--btn:hover{opacity:1;background-color:rgba(30,30,30,.1)}.expand-textarea-button{width:125px;height:30px;display:flex;justify-content:center;align-items:center;transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -2px rgba(0,0,0,.2);opacity:.9;border-radius:5px;padding:5px 10px;border-radius:2.5px;position:relative}.expand-textarea-button.green{background-color:#2a963a;color:#fff;margin-right:10px}.expand-textarea-button.red{background-color:#e74c3c;color:#fff}.expand-textarea-button:hover{opacity:1}.expand-textarea-button:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.expand-textarea-button.carregando{background-color:#777}",
|
|
6663
6614
|
map: undefined,
|
|
6664
6615
|
media: undefined
|
|
@@ -6667,7 +6618,7 @@ var __vue_inject_styles__$j = function __vue_inject_styles__(inject) {
|
|
|
6667
6618
|
/* scoped */
|
|
6668
6619
|
var __vue_scope_id__$j = undefined;
|
|
6669
6620
|
/* module identifier */
|
|
6670
|
-
var __vue_module_identifier__$j = "data-v-
|
|
6621
|
+
var __vue_module_identifier__$j = "data-v-53d5f793";
|
|
6671
6622
|
/* functional template */
|
|
6672
6623
|
var __vue_is_functional_template__$j = false;
|
|
6673
6624
|
/* style inject shadow dom */
|
|
@@ -7551,7 +7502,9 @@ var __vue_component__$l = /*#__PURE__*/normalizeComponent({
|
|
|
7551
7502
|
}, __vue_inject_styles__$g, __vue_script__$g, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, undefined, createInjectorSSR, undefined);
|
|
7552
7503
|
var __vue_component__$m = __vue_component__$l;//
|
|
7553
7504
|
var script$f = {
|
|
7554
|
-
|
|
7505
|
+
directives: {
|
|
7506
|
+
clickaway: Clickaway
|
|
7507
|
+
},
|
|
7555
7508
|
props: {
|
|
7556
7509
|
lista: {
|
|
7557
7510
|
type: [Array, Object],
|
|
@@ -7577,8 +7530,8 @@ var __vue_render__$f = function __vue_render__() {
|
|
|
7577
7530
|
var _c = _vm._self._c || _h;
|
|
7578
7531
|
return _c('div', {
|
|
7579
7532
|
directives: [{
|
|
7580
|
-
name: "
|
|
7581
|
-
rawName: "v-
|
|
7533
|
+
name: "clickaway",
|
|
7534
|
+
rawName: "v-clickaway",
|
|
7582
7535
|
value: _vm.away,
|
|
7583
7536
|
expression: "away"
|
|
7584
7537
|
}],
|
|
@@ -7601,7 +7554,7 @@ var __vue_staticRenderFns__$f = [];
|
|
|
7601
7554
|
/* style */
|
|
7602
7555
|
var __vue_inject_styles__$f = function __vue_inject_styles__(inject) {
|
|
7603
7556
|
if (!inject) return;
|
|
7604
|
-
inject("data-v-
|
|
7557
|
+
inject("data-v-327f52b4_0", {
|
|
7605
7558
|
source: ".box-shadow{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.interatividade-popup{position:absolute;top:15px;right:0;width:250px;height:auto;max-height:300px;overflow-y:auto;overflow-x:hidden;background-color:#fff;border-radius:15px;color:#333;font-size:14px}.interatividade-popup-titulo h1{padding:4px 10px;background-color:#333;color:#fff;font-size:1.2em;display:flex;justify-content:space-between;align-items:center}.interatividade-popup-titulo h1 svg{color:#e74c3c;cursor:pointer;font-size:.9em}.interatividade-popup-item{padding:10px;border-bottom:1px solid #d7d7d7}.interatividade-popup-item-desc{font-size:.9em;color:#767676}",
|
|
7606
7559
|
map: undefined,
|
|
7607
7560
|
media: undefined
|
|
@@ -7610,7 +7563,7 @@ var __vue_inject_styles__$f = function __vue_inject_styles__(inject) {
|
|
|
7610
7563
|
/* scoped */
|
|
7611
7564
|
var __vue_scope_id__$f = undefined;
|
|
7612
7565
|
/* module identifier */
|
|
7613
|
-
var __vue_module_identifier__$f = "data-v-
|
|
7566
|
+
var __vue_module_identifier__$f = "data-v-327f52b4";
|
|
7614
7567
|
/* functional template */
|
|
7615
7568
|
var __vue_is_functional_template__$f = false;
|
|
7616
7569
|
/* style inject shadow dom */
|
|
@@ -8801,7 +8754,9 @@ var LinkPreview = __vue_component__$c;var script$7 = {
|
|
|
8801
8754
|
created: function created() {
|
|
8802
8755
|
if (!this.$root.$refs.chatMessages) this.$root.$refs.chatMessages = this;
|
|
8803
8756
|
},
|
|
8804
|
-
|
|
8757
|
+
directives: {
|
|
8758
|
+
clickaway: Clickaway
|
|
8759
|
+
},
|
|
8805
8760
|
data: function data() {
|
|
8806
8761
|
return {
|
|
8807
8762
|
strTooltipAux: "",
|
|
@@ -9478,8 +9433,8 @@ var __vue_render__$7 = function __vue_render__() {
|
|
|
9478
9433
|
})], 1);
|
|
9479
9434
|
}) : _vm._e()], 2) : _vm._e(), _vm._v(" "), _vm.isEmojisOpen ? _c('div', {
|
|
9480
9435
|
directives: [{
|
|
9481
|
-
name: "
|
|
9482
|
-
rawName: "v-
|
|
9436
|
+
name: "clickaway",
|
|
9437
|
+
rawName: "v-clickaway",
|
|
9483
9438
|
value: _vm.closeEmojis,
|
|
9484
9439
|
expression: "closeEmojis"
|
|
9485
9440
|
}],
|
|
@@ -9503,8 +9458,8 @@ var __vue_render__$7 = function __vue_render__() {
|
|
|
9503
9458
|
}
|
|
9504
9459
|
}, [_c('ul', {
|
|
9505
9460
|
directives: [{
|
|
9506
|
-
name: "
|
|
9507
|
-
rawName: "v-
|
|
9461
|
+
name: "clickaway",
|
|
9462
|
+
rawName: "v-clickaway",
|
|
9508
9463
|
value: _vm.closeMenu,
|
|
9509
9464
|
expression: "closeMenu"
|
|
9510
9465
|
}],
|
|
@@ -9543,7 +9498,7 @@ var __vue_staticRenderFns__$7 = [];
|
|
|
9543
9498
|
/* style */
|
|
9544
9499
|
var __vue_inject_styles__$7 = function __vue_inject_styles__(inject) {
|
|
9545
9500
|
if (!inject) return;
|
|
9546
|
-
inject("data-v-
|
|
9501
|
+
inject("data-v-5dc8f4c6_0", {
|
|
9547
9502
|
source: ":root{--message-color:#373737;--text-color:#fff;--files-bg:rgba(255, 255, 255, 0.1);--files-bg-hover:rgba(255, 255, 255, 0.1);--light:80;--threshold:60}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem-reply{padding:5px 10px;font-size:12px;color:#666;transition:background-color 150ms ease-in-out;border-radius:5px;margin:5px 0;overflow:hidden;max-width:100%}.mensagem-reply p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-reply-principal{border-left:3px solid transparent;background-color:rgba(100,100,100,.1)}.message-reply-principal:hover{background-color:rgba(100,100,100,.2)}.message-reply-outros{background-color:#f5f5f5;border-left:3px solid var(--message-color)}.message-reply-outros:hover{background-color:#ebebeb}.mensagem-reply-vazia{display:flex;align-items:center}.mensagem-reply-vazia svg{margin-right:5px;color:#ba181b}.mensagem{padding:20px 7px 14px 7px;border-radius:5px;min-width:150px;min-height:60px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;max-width:80%;margin-bottom:10px;font-size:12px;word-break:break-word;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mensagem.max-w-60{max-width:60%}.mensagem.mapa{width:100%}.mensagem.hist-msg{animation:show 1s}.mensagem a{margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.mensagem a:hover{text-decoration:underline}.message p{white-space:pre-wrap}.mensagem:hover .menu-primario{visibility:visible;opacity:1}.mensagem-anexo a,.mensagem-div-mapa a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reply{cursor:pointer;position:absolute;right:53px;bottom:5px;font-size:9.6px;color:#67a332;width:14.4px;height:14.4px;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:#fff}.reply svg{margin-top:-1px;margin-right:-1px}.reply-with-2-icons{right:30px}.check{cursor:pointer;position:absolute;right:10px;bottom:2px;font-size:11.2px}.check.visualizado,.check.visualizado svg{color:#006daa}.check.verde,.check.verde svg{color:#4f772d}.check.vermelho,.check.vermelho svg{color:#ba181b}.check.cinza,.check.cinza svg{color:#999}.check.preto,.check.preto svg{color:#666}.star{cursor:pointer;position:absolute;right:30px;bottom:2px;font-size:6.4px;width:11.2px}.default-stick-size{width:180px;height:auto}.horario-envio{margin-right:15px;font-size:11.2px;position:absolute;left:10px;bottom:2px}.autor-mensagem{position:absolute;font-size:9.6px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:90%;font-weight:700;top:2px}.menu-primario{visibility:hidden;opacity:0;transition:opacity 150ms ease-in-out;position:absolute;font-size:11.2px;top:3px;display:flex;gap:5px;padding:2px 4px}.menu-primario.principal{left:4px;color:var(--text-color);background-color:var(--message-color)}.menu-primario.outros{right:4px;color:var(--text-color);background-color:#fff}.menu-primario.outros>span:nth-child(1){order:10}.menu-mensagem{cursor:pointer;padding:1px}.menu-flutuante{background-color:#fff;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);border-radius:10px;position:absolute;top:20px;width:120px;min-height:50px;height:50px;max-height:50px;overflow-x:hidden;overflow-y:auto;margin:0;padding:0;display:flex;flex-direction:column;z-index:1}.menu-flutuante.principal{left:3px}.menu-flutuante.outros{right:3px}.menu-flutuante li{transition:background-color .3s ease-in-out;width:100%;cursor:pointer;padding:5px 10px;display:flex;align-items:center}.menu-flutuante li:hover{background-color:#e9e9e9}.mensagem__principal{width:100%;display:flex;justify-content:flex-end}.mensagem__principal>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid var(--message-color);bottom:5px;right:-10px;transform:rotate(-90deg)}.mensagem__principal>.mensagem{background-color:var(--message-color);color:var(--text-color)}.mensagem__principal>.mensagem .horario-envio{color:var(--text-color)}.mensagem__principal>.mensagem .autor-mensagem{right:5px;color:var(--text-color)}.mensagem__outros{width:100%;display:flex}.mensagem__outros>.mensagem{background-color:#fff;color:#333}.mensagem__outros>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #fff;bottom:5px;left:-10px;transform:rotate(90deg)}.mensagem__outros>.autor-mensagem{left:5px;color:#333}.mensagem-div-mapa{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;margin-bottom:5px}.msg-mapa{width:100%;min-height:225px;height:100%;box-sizing:initial}.msg-mapa img{max-width:none!important}.info-mapa{list-style-type:none}.info-mapa li.title{font-size:.85em}.info-mapa li.address,.info-mapa li.url{font-size:.85em}.info-mapa li.url{font-size:.85em}.tooltip-list{margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.emoji-message-container{position:absolute;top:0;z-index:1;width:300px;height:250px}.emoji-message-container .sm-emoji-picker{width:300px;height:250px}.emoji-message-container .sm-emoji-picker .sm-emoji-header{overflow-x:auto;overflow-y:hidden}.reaction{position:absolute;bottom:0;border-radius:50%;display:flex;justify-content:center;align-items:center;background-color:rgba(100,100,100,.4);padding:5px;font-size:1.3em;min-width:1.8em;min-height:1.8em;max-width:1.8em;max-height:1.8em}.reaction>span{display:block;transform:translateY(-1px)}.mensagem__outros .reaction{right:-30px}.mensagem__principal .reaction{left:-30px}",
|
|
9548
9503
|
map: undefined,
|
|
9549
9504
|
media: undefined
|
|
@@ -9552,7 +9507,7 @@ var __vue_inject_styles__$7 = function __vue_inject_styles__(inject) {
|
|
|
9552
9507
|
/* scoped */
|
|
9553
9508
|
var __vue_scope_id__$7 = undefined;
|
|
9554
9509
|
/* module identifier */
|
|
9555
|
-
var __vue_module_identifier__$7 = "data-v-
|
|
9510
|
+
var __vue_module_identifier__$7 = "data-v-5dc8f4c6";
|
|
9556
9511
|
/* functional template */
|
|
9557
9512
|
var __vue_is_functional_template__$7 = false;
|
|
9558
9513
|
/* style inject shadow dom */
|
|
@@ -10216,7 +10171,10 @@ var __vue_component__$2 = /*#__PURE__*/normalizeComponent({
|
|
|
10216
10171
|
}, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, createInjectorSSR, undefined);
|
|
10217
10172
|
var EmailFrom = __vue_component__$2;//
|
|
10218
10173
|
var script = {
|
|
10219
|
-
mixins: [textoLongo
|
|
10174
|
+
mixins: [textoLongo],
|
|
10175
|
+
directives: {
|
|
10176
|
+
clickaway: Clickaway
|
|
10177
|
+
},
|
|
10220
10178
|
components: {
|
|
10221
10179
|
EmailFile: EmailFile,
|
|
10222
10180
|
EmailTo: EmailTo,
|
|
@@ -10339,7 +10297,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10339
10297
|
return _c('div', {
|
|
10340
10298
|
staticClass: "email-item box-shadow",
|
|
10341
10299
|
class: "" + (_vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass)
|
|
10342
|
-
}, [_vm._ssrNode("<div class=\"email-header\" data-v-
|
|
10300
|
+
}, [_vm._ssrNode("<div class=\"email-header\" data-v-9a12e0d2>", "</div>", [_vm._ssrNode("<div class=\"email-header-content\" data-v-9a12e0d2>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-9a12e0d2>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.assunto || '(Sem assunto)') + " class=\"email-subject\" data-v-9a12e0d2>" + _vm._ssrEscape(_vm._s(_vm.tratarTextoLongo(_vm.assunto || '(Sem assunto)', 30))) + "</p> "), _vm.from && _vm.from.length ? _vm._l(_vm.from, function (ref, index) {
|
|
10343
10301
|
var name = ref.name;
|
|
10344
10302
|
var mail = ref.mail;
|
|
10345
10303
|
return _c('EmailFrom', {
|
|
@@ -10363,7 +10321,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10363
10321
|
"isLastIndex": index == _vm.para.length - 1
|
|
10364
10322
|
}
|
|
10365
10323
|
});
|
|
10366
|
-
}) : _vm._e()], 2)]), _vm._ssrNode(" "), _vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.formataDateHoraDateFns(_vm.dataHora, _vm.dataServer, _vm.dicionario)) + " class=\"email-date\" data-v-
|
|
10324
|
+
}) : _vm._e()], 2)]), _vm._ssrNode(" "), _vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.formataDateHoraDateFns(_vm.dataHora, _vm.dataServer, _vm.dicionario)) + " class=\"email-date\" data-v-9a12e0d2>", "</span>", [_c('fa-icon', {
|
|
10367
10325
|
attrs: {
|
|
10368
10326
|
"icon": ['fas', 'calendar']
|
|
10369
10327
|
}
|
|
@@ -10382,8 +10340,8 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10382
10340
|
}
|
|
10383
10341
|
}, [_c('span'), _vm._v(" "), _c('span'), _vm._v(" "), _c('span')]), _vm._v(" "), _vm.actionsOpen ? _c('ul', {
|
|
10384
10342
|
directives: [{
|
|
10385
|
-
name: "
|
|
10386
|
-
rawName: "v-
|
|
10343
|
+
name: "clickaway",
|
|
10344
|
+
rawName: "v-clickaway",
|
|
10387
10345
|
value: function value() {
|
|
10388
10346
|
return _vm.actionsOpen = false;
|
|
10389
10347
|
},
|
|
@@ -10410,7 +10368,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10410
10368
|
domProps: {
|
|
10411
10369
|
"textContent": _vm._s(_vm.mensagem)
|
|
10412
10370
|
}
|
|
10413
|
-
}) : _vm._e()]) : _vm._e()]), _vm._ssrNode(" "), _vm.anexos && _vm.anexos.length ? _vm._ssrNode("<div class=\"email-files\" data-v-
|
|
10371
|
+
}) : _vm._e()]) : _vm._e()]), _vm._ssrNode(" "), _vm.anexos && _vm.anexos.length ? _vm._ssrNode("<div class=\"email-files\" data-v-9a12e0d2>", "</div>", _vm._l(_vm.anexos, function (anexo, index) {
|
|
10414
10372
|
return _c('EmailFile', {
|
|
10415
10373
|
key: index,
|
|
10416
10374
|
attrs: {
|
|
@@ -10425,20 +10383,20 @@ var __vue_staticRenderFns__ = [];
|
|
|
10425
10383
|
/* style */
|
|
10426
10384
|
var __vue_inject_styles__ = function __vue_inject_styles__(inject) {
|
|
10427
10385
|
if (!inject) return;
|
|
10428
|
-
inject("data-v-
|
|
10429
|
-
source: ".show-y-top-enter-active[data-v-
|
|
10386
|
+
inject("data-v-9a12e0d2_0", {
|
|
10387
|
+
source: ".show-y-top-enter-active[data-v-9a12e0d2],.show-y-top-leave-enter[data-v-9a12e0d2]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-9a12e0d2],.show-y-top-leave-to[data-v-9a12e0d2]{opacity:0;transform:translateY(-2%)}",
|
|
10430
10388
|
map: undefined,
|
|
10431
10389
|
media: undefined
|
|
10432
|
-
}), inject("data-v-
|
|
10390
|
+
}), inject("data-v-9a12e0d2_1", {
|
|
10433
10391
|
source: ".bg-dark-white-2{background-color:#f7f7f7}.bg-light-gray-2{background-color:#d8d8d8}.email-item{flex:1;margin:0 10px 10px;color:#222;min-height:60px;display:flex;flex-wrap:wrap;padding:10px;border-radius:5px;transition:all 150ms ease-in-out;max-width:100%;width:100%}.email-header{width:100%;display:flex;align-items:center;justify-content:space-between;cursor:pointer;border-top-right-radius:5px;border-top-left-radius:5px}.email-header-content{display:flex;justify-content:center;align-items:center;margin:10px}.email-header-infos{display:flex;flex-direction:column}.email-subject{margin:0;font-weight:700;font-size:.9rem}.email-date{font-size:.8rem;margin-right:10px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.email-content{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;padding:15px;background-color:#fff;position:relative;max-width:100%}.email-actions{align-self:flex-end;display:flex;border-radius:5px;cursor:pointer;align-items:center;justify-content:center;gap:3px;padding:10px 5px;background-color:#fff}.email-actions.active{background-color:#dfdfdf}.email-actions>span{width:7px;height:7px;background-color:#222;border-radius:50%}.email-actions-list{position:absolute;right:60px;width:250px;top:15px;margin:0;list-style-type:none;padding:0;border-radius:5px;z-index:1}.email-action{background-color:#dfdfdf;padding:5px 10px;cursor:pointer;transition:background-color 150ms ease-in-out;font-size:.9rem;user-select:none}.email-action:nth-child(1){border-top-left-radius:5px;border-top-right-radius:5px}.email-action:last-child{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.email-action:hover{background-color:#ccc}.email-html{max-width:100%;padding:10px}.email-raw{max-width:100%;font-size:.9rem;color:#222}.email-files{display:flex;gap:10px;flex-wrap:wrap;width:100%}",
|
|
10434
10392
|
map: undefined,
|
|
10435
10393
|
media: undefined
|
|
10436
10394
|
});
|
|
10437
10395
|
};
|
|
10438
10396
|
/* scoped */
|
|
10439
|
-
var __vue_scope_id__ = "data-v-
|
|
10397
|
+
var __vue_scope_id__ = "data-v-9a12e0d2";
|
|
10440
10398
|
/* module identifier */
|
|
10441
|
-
var __vue_module_identifier__ = "data-v-
|
|
10399
|
+
var __vue_module_identifier__ = "data-v-9a12e0d2";
|
|
10442
10400
|
/* functional template */
|
|
10443
10401
|
var __vue_is_functional_template__ = false;
|
|
10444
10402
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-intergrall-plugins",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.32",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/vue-intergrall-plugins.ssr.js",
|
|
6
6
|
"browser": "dist/vue-intergrall-plugins.esm.js",
|
|
@@ -50,7 +50,6 @@
|
|
|
50
50
|
"core-js": "^3.18.1",
|
|
51
51
|
"postcss": "^8.3.8",
|
|
52
52
|
"vue": "^2.6.14",
|
|
53
|
-
"vue-clickaway": "^2.2.2",
|
|
54
53
|
"vue-select": "^3.13.0",
|
|
55
54
|
"vue-tippy": "^4.12.0",
|
|
56
55
|
"vue-toasted": "^1.1.28",
|
|
@@ -64,4 +63,4 @@
|
|
|
64
63
|
"kind-of": "^6.0.3",
|
|
65
64
|
"vue-sanitize": "^0.2.3"
|
|
66
65
|
}
|
|
67
|
-
}
|
|
66
|
+
}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="emoji-text-container" v-
|
|
3
|
-
<div
|
|
4
|
-
class="emoji-text-btn"
|
|
5
|
-
@click="toggleEmojiSelection()"
|
|
6
|
-
v-text="String.fromCodePoint(0x1f61c)"
|
|
7
|
-
></div>
|
|
2
|
+
<div class="emoji-text-container" v-clickaway="away">
|
|
3
|
+
<div class="emoji-text-btn" @click="toggleEmojiSelection()" v-text="String.fromCodePoint(0x1f61c)"></div>
|
|
8
4
|
<transition name="show-y">
|
|
9
5
|
<Picker v-show="showEmojis" ref="sm-emoji-picker" @insert-emoji="insertEmoji" />
|
|
10
6
|
</transition>
|
|
@@ -13,11 +9,13 @@
|
|
|
13
9
|
|
|
14
10
|
<script>
|
|
15
11
|
import Picker from "./Picker";
|
|
16
|
-
import
|
|
12
|
+
import Clickaway from '@/directives/clickaway';
|
|
17
13
|
|
|
18
14
|
export default {
|
|
19
15
|
components: { Picker },
|
|
20
|
-
|
|
16
|
+
directives: {
|
|
17
|
+
clickaway: Clickaway
|
|
18
|
+
},
|
|
21
19
|
props: {
|
|
22
20
|
emojiId: {
|
|
23
21
|
type: String,
|
|
@@ -81,8 +79,8 @@ export default {
|
|
|
81
79
|
? this.$refs[refId].$el
|
|
82
80
|
: this.$refs[refId]
|
|
83
81
|
: this.$refs[refId]
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
? this.$refs[refId]
|
|
83
|
+
: false;
|
|
86
84
|
if (elem) {
|
|
87
85
|
elem.style.position = "absolute";
|
|
88
86
|
elem.style.top = `${this.top}px`;
|
|
@@ -112,6 +110,7 @@ export default {
|
|
|
112
110
|
.emoji-text-container {
|
|
113
111
|
position: relative;
|
|
114
112
|
}
|
|
113
|
+
|
|
115
114
|
.emoji-text-container .emoji-text-btn {
|
|
116
115
|
font-size: 19.2px;
|
|
117
116
|
cursor: pointer;
|