vue-intergrall-plugins 0.0.291 → 0.0.293
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.
|
@@ -12786,28 +12786,43 @@ var script$a = {
|
|
|
12786
12786
|
filteredInteratividadeData() {
|
|
12787
12787
|
if (!this.interatividade || !this.interatividade.length) return [];
|
|
12788
12788
|
const finalData = [];
|
|
12789
|
-
const validKeys = ["ticket_detail_id", "ticket_detail_type_id", "creation_date", "modification_date"];
|
|
12789
|
+
const validKeys = ["name", "value", "ticket_detail_id", "ticket_detail_type_id", "creation_date", "modification_date"];
|
|
12790
|
+
const validIds = [1, 2, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 25, 33, 34, 36];
|
|
12790
12791
|
this.interatividade.forEach(values => {
|
|
12791
|
-
|
|
12792
|
-
|
|
12793
|
-
|
|
12794
|
-
|
|
12795
|
-
|
|
12796
|
-
|
|
12797
|
-
|
|
12798
|
-
|
|
12799
|
-
|
|
12800
|
-
|
|
12801
|
-
formattedKey =
|
|
12802
|
-
|
|
12803
|
-
|
|
12792
|
+
if (validIds.includes(values.ticket_detail_type_id)) {
|
|
12793
|
+
const currentKeys = Object.keys(values);
|
|
12794
|
+
const formattedValues = {};
|
|
12795
|
+
|
|
12796
|
+
if (values.name && values.value) {
|
|
12797
|
+
formattedValues[values.name] = values.value;
|
|
12798
|
+
}
|
|
12799
|
+
|
|
12800
|
+
currentKeys.forEach(key => {
|
|
12801
|
+
if (validKeys.includes(key)) {
|
|
12802
|
+
let formattedKey = "";
|
|
12803
|
+
|
|
12804
|
+
if (key === "ticket_detail_id") {
|
|
12805
|
+
formattedKey = this.dictionary.ra_ticket_detail_id_title;
|
|
12806
|
+
} else if (key === "ticket_detail_type_id") {
|
|
12807
|
+
formattedKey = this.dictionary.ra_ticket_detail_type_id_title;
|
|
12808
|
+
} else if (key === "creation_date") {
|
|
12809
|
+
formattedKey = this.dictionary.ra_creation_date_title;
|
|
12810
|
+
} else if (key === "modification_date") {
|
|
12811
|
+
formattedKey = this.dictionary.ra_creation_modification_title;
|
|
12812
|
+
}
|
|
12813
|
+
|
|
12814
|
+
if (formattedKey) {
|
|
12815
|
+
formattedValues[formattedKey] = values[key];
|
|
12816
|
+
}
|
|
12804
12817
|
}
|
|
12818
|
+
});
|
|
12805
12819
|
|
|
12806
|
-
|
|
12807
|
-
|
|
12808
|
-
});
|
|
12820
|
+
if (values.ticket_detail_type_id === 25) {
|
|
12821
|
+
formattedValues[this.dictionary.ra_ask_avaliation_title] = this.dictionary.ra_ask_avaliation_text;
|
|
12809
12822
|
}
|
|
12810
|
-
|
|
12823
|
+
|
|
12824
|
+
finalData.push(formattedValues);
|
|
12825
|
+
}
|
|
12811
12826
|
});
|
|
12812
12827
|
return finalData;
|
|
12813
12828
|
}
|
|
@@ -12841,6 +12856,10 @@ var script$a = {
|
|
|
12841
12856
|
}
|
|
12842
12857
|
|
|
12843
12858
|
return `<strong>${key}:</strong> ${value || "---"}`;
|
|
12859
|
+
},
|
|
12860
|
+
|
|
12861
|
+
sendLink(obj) {
|
|
12862
|
+
this.$emit("send-avaliation-link", obj);
|
|
12844
12863
|
}
|
|
12845
12864
|
|
|
12846
12865
|
}
|
|
@@ -12979,14 +12998,29 @@ var __vue_render__$a = function () {
|
|
|
12979
12998
|
}, _vm._l(_vm.filteredInteratividadeData, function (values, index) {
|
|
12980
12999
|
return _c('li', {
|
|
12981
13000
|
key: index
|
|
12982
|
-
}, _vm._l(values, function (value, key) {
|
|
13001
|
+
}, [_vm._l(values, function (value, key) {
|
|
12983
13002
|
return _c('p', {
|
|
12984
|
-
key: key
|
|
13003
|
+
key: key
|
|
13004
|
+
}, [key.indexOf(_vm.dictionary.ra_ask_avaliation_title) <= -1 ? _c('span', {
|
|
12985
13005
|
domProps: {
|
|
12986
13006
|
"innerHTML": _vm._s(_vm.formatInteratividadeValue(key, value))
|
|
12987
13007
|
}
|
|
12988
|
-
})
|
|
12989
|
-
|
|
13008
|
+
}) : _c('span', [_c('strong', {
|
|
13009
|
+
domProps: {
|
|
13010
|
+
"textContent": _vm._s(key + ":")
|
|
13011
|
+
}
|
|
13012
|
+
}), _vm._v(" "), _c('button', {
|
|
13013
|
+
staticClass: "box-shadow",
|
|
13014
|
+
domProps: {
|
|
13015
|
+
"textContent": _vm._s(value)
|
|
13016
|
+
},
|
|
13017
|
+
on: {
|
|
13018
|
+
"click": function ($event) {
|
|
13019
|
+
return _vm.sendLink(_vm.filteredInteratividadeData[index]);
|
|
13020
|
+
}
|
|
13021
|
+
}
|
|
13022
|
+
})])]);
|
|
13023
|
+
}), _vm._v(" "), _c('hr')], 2);
|
|
12990
13024
|
}), 0)]) : _vm._e(), _vm._v(" "), _vm.anexos && _vm.anexos.length ? _c('div', {
|
|
12991
13025
|
staticClass: "card-footer"
|
|
12992
13026
|
}, _vm._l(_vm.anexos, function (anexo, index) {
|
|
@@ -13008,8 +13042,8 @@ var __vue_staticRenderFns__$a = [];
|
|
|
13008
13042
|
|
|
13009
13043
|
const __vue_inject_styles__$a = function (inject) {
|
|
13010
13044
|
if (!inject) return;
|
|
13011
|
-
inject("data-v-
|
|
13012
|
-
source: ".fade-enter-active[data-v-
|
|
13045
|
+
inject("data-v-a669ae8a_0", {
|
|
13046
|
+
source: ".fade-enter-active[data-v-a669ae8a],.fade-leave-active[data-v-a669ae8a]{transition:opacity .2s}.fade-enter[data-v-a669ae8a],.fade-leave-to[data-v-a669ae8a]{opacity:0}.card-cli[data-v-a669ae8a],.card-ope[data-v-a669ae8a]{display:flex;width:95%;margin:5px 0;position:relative}.card-cli.msgNova[data-v-a669ae8a],.card-ope.msgNova[data-v-a669ae8a]{margin-top:30px}.novas-mensagens[data-v-a669ae8a]{position:absolute;top:-30px;width:100%;display:flex;justify-content:center;align-items:center;margin:2.5px 0;background-color:lighten(#fff249,15)}.card-cli .card[data-v-a669ae8a]{border-left:3px solid #90b823}.card-ope[data-v-a669ae8a]{align-self:flex-end;background-color:lighten(#007535,72)}.card-ope .card[data-v-a669ae8a]{border-right:3px solid #007535}.card[data-v-a669ae8a]{background-color:rgba(255,255,255,.9);overflow:hidden;width:100%;padding:2.5px 5px}.card p[data-v-a669ae8a]{word-break:break-all}.card-header[data-v-a669ae8a]{width:100%;border-bottom:1px solid #ddd;margin-bottom:5px;display:flex;justify-content:space-between}.card-header svg[data-v-a669ae8a]{font-size:1rem}.card-canal[data-v-a669ae8a]{flex:1;margin-right:10px}.card-datas[data-v-a669ae8a]{display:flex;flex-direction:column;margin-right:10px}.card-data[data-v-a669ae8a]{overflow:hidden;display:flex;align-content:center}.card-data span[data-v-a669ae8a]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card-data svg[data-v-a669ae8a]{margin-right:5px;color:#232323}.card-expand[data-v-a669ae8a]{display:flex;justify-content:center;align-items:center;margin:2.5px;cursor:pointer;opacity:.8;transition:opacity 150ms}.card-expand[data-v-a669ae8a]:hover{opacity:1}.card-footer[data-v-a669ae8a]{margin-top:5px;border-top:1px solid #ddd;display:flex;flex-wrap:wrap}.card-chip-container[data-v-a669ae8a]{display:flex;flex-wrap:wrap;width:100%;gap:5px}.card-chip[data-v-a669ae8a]{font-size:.8rem;width:fit-content;border-radius:15px;transition:all 150ms ease-in-out;padding:2.5px 7px;color:#1f69c1;background-color:rgba(207,216,244,.6);margin-bottom:5px}.card-chip[data-v-a669ae8a]:hover{background-color:#cfd8f4}.card-chip.orange[data-v-a669ae8a]{color:#e14924;background-color:rgba(228,92,58,.15)}.card-chip.orange[data-v-a669ae8a]:hover{background-color:rgba(228,92,58,.2)}.card-chip.yellow[data-v-a669ae8a]{color:#f4a304;background-color:rgba(252,191,73,.15)}.card-chip.yellow[data-v-a669ae8a]:hover{background-color:rgba(252,191,73,.2)}.card-chip.red[data-v-a669ae8a]{color:#e74c3c;background-color:rgba(231,76,60,.2)}.card-chip.red[data-v-a669ae8a]:hover{background-color:rgba(231,76,60,.25)}.card-chip.green[data-v-a669ae8a]{color:#0e3213;background-color:rgba(15,177,39,.3)}.card-chip.green[data-v-a669ae8a]:hover{background-color:rgba(15,177,39,.4)}.card-anexo[data-v-a669ae8a]{width:50px;height:50px;margin-right:5px;display:flex;justify-content:center;align-items:center}.anexo-item[data-v-a669ae8a]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;position:relative}.anexo-item .transition-anexo-item[data-v-a669ae8a]{max-width:100%;max-height:100%}.anexo-item .req-loader[data-v-a669ae8a]{position:absolute;top:calc(50% - 12.5px);right:calc(50% - 12.5px)}.anexo-item .transition-anexo-item img[data-v-a669ae8a]{max-width:45px;max-height:45px}.anexo-icone[data-v-a669ae8a]{opacity:.9;transition:opacity .2s;color:#222;cursor:pointer;display:flex;justify-content:center;align-items:center}.anexo-icone[data-v-a669ae8a]:hover{opacity:1}.anexo-icone[data-v-a669ae8a]:visited{color:inherit}svg[data-v-a669ae8a]{font-size:30px;z-index:1}.anexo-icone.pdf[data-v-a669ae8a]{position:relative}.anexo-icone.pdf svg[data-v-a669ae8a]{color:#e74c3c}.anexo-icone.pdf[data-v-a669ae8a]::after{content:\"\";position:absolute;bottom:2px;transform:translateY(2px);width:20px;height:20px;background-color:#fff}.anexo-icone.doc[data-v-a669ae8a]{color:#15517f}.anexo-icone.doc[data-v-a669ae8a]::after{content:\"\";position:absolute;width:20px;height:20px;background-color:#fff}.anexo-img[data-v-a669ae8a]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;overflow:hidden;background-color:rgba(0,0,0,.2);border-radius:2.5px;cursor:pointer;opacity:.9;transition:opacity 150ms}.anexo-img[data-v-a669ae8a]:hover{opacity:1}.anexo-img img[data-v-a669ae8a]{width:95%}.card-interatividade[data-v-a669ae8a]{display:flex;flex-direction:column;margin-top:10px;margin-bottom:5px;font-size:.9em}.card-interatividade-title[data-v-a669ae8a]{font-weight:700;margin-bottom:5px}.card-interatividade-list[data-v-a669ae8a]{margin:0;padding:0;font-size:.9em}.card-interatividade-list hr[data-v-a669ae8a]{height:1px;background-color:#ccc;width:100%;border:0}.card-interatividade-list button[data-v-a669ae8a]{margin-left:5px;border-radius:5px;border:unset;cursor:pointer;padding:5px 10px;background-color:#b5f778}.card-interatividade-list button[data-v-a669ae8a]:hover{text-decoration:underline}",
|
|
13013
13047
|
map: undefined,
|
|
13014
13048
|
media: undefined
|
|
13015
13049
|
});
|
|
@@ -13017,7 +13051,7 @@ const __vue_inject_styles__$a = function (inject) {
|
|
|
13017
13051
|
/* scoped */
|
|
13018
13052
|
|
|
13019
13053
|
|
|
13020
|
-
const __vue_scope_id__$a = "data-v-
|
|
13054
|
+
const __vue_scope_id__$a = "data-v-a669ae8a";
|
|
13021
13055
|
/* module identifier */
|
|
13022
13056
|
|
|
13023
13057
|
const __vue_module_identifier__$a = undefined;
|