"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "matomo/plugins/Feedback/vue/dist/Feedback.umd.js" between
matomo-4.6.0-rc1.tar.gz and matomo-4.6.0-rc2.tar.gz

About: Matomo is a web analytics platform that aims to be an open source alternative to Google Analytics that let you retain ownership and control over your data (formerly Piwik). Release candidate.

Feedback.umd.js  (matomo-4.6.0-rc1):Feedback.umd.js  (matomo-4.6.0-rc2)
skipping to change at line 147 skipping to change at line 147
// Indicate to webpack that this file can be concatenated // Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null); /* harmony default export */ var setPublicPath = (null);
// EXTERNAL MODULE: external "CoreHome" // EXTERNAL MODULE: external "CoreHome"
var external_CoreHome_ = __webpack_require__("19dc"); var external_CoreHome_ = __webpack_require__("19dc");
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"} // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf"); var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/cache- loader/dist/cjs.js??ref--12-0!./node_modules/@vue/cli-plugin-babel/node_modules/ thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/@vue/cl i-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modu les/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modu les/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/Feedba ck/vue/src/RateFeature/RateFeature.vue?vue&type=template&id=ce49e788 // CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/cache- loader/dist/cjs.js??ref--12-0!./node_modules/@vue/cli-plugin-babel/node_modules/ thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/@vue/cl i-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modu les/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modu les/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/Feedba ck/vue/src/RateFeature/RateFeature.vue?vue&type=template&id=ae4ff290
var _hoisted_1 = ["title"]; var _hoisted_1 = ["title"];
var _hoisted_2 = { var _hoisted_2 = {
class: "ui-confirm ratefeatureDialog" class: "ui-confirm ratefeatureDialog"
}; };
var _hoisted_3 = { var _hoisted_3 = {
key: 0 key: 0
}; };
var _hoisted_4 = { var _hoisted_4 = {
key: 0 key: 0
skipping to change at line 471 skipping to change at line 471
innerHTML: _ctx.translate('Feedback_ThankYouHeart', "<i class='icon-hear t red-text'></i>") innerHTML: _ctx.translate('Feedback_ThankYouHeart', "<i class='icon-hear t red-text'></i>")
}, null, 8, _hoisted_47), _ctx.like ? (Object(external_commonjs_vue_common js2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_ro ot_Vue_["createElementBlock"])("div", _hoisted_48, [Object(external_commonjs_vue _commonjs2_vue_root_Vue_["createVNode"])(_component_ReviewLinks)])) : Object(ext ernal_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), !_c tx.like ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("p" , _hoisted_49, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplaySt ring"])(_ctx.translate('Feedback_AppreciateFeedback')), 1)) : Object(external_co mmonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(exte rnal_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", { }, null, 8, _hoisted_47), _ctx.like ? (Object(external_commonjs_vue_common js2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_ro ot_Vue_["createElementBlock"])("div", _hoisted_48, [Object(external_commonjs_vue _commonjs2_vue_root_Vue_["createVNode"])(_component_ReviewLinks)])) : Object(ext ernal_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), !_c tx.like ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("p" , _hoisted_49, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplaySt ring"])(_ctx.translate('Feedback_AppreciateFeedback')), 1)) : Object(external_co mmonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(exte rnal_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", {
type: "button", type: "button",
value: _ctx.translate('General_Close'), value: _ctx.translate('General_Close'),
role: "yes" role: "yes"
}, null, 8, _hoisted_50)])]; }, null, 8, _hoisted_50)])];
}), }),
_: 1 _: 1
}, 8, ["modelValue"])], 8, _hoisted_1); }, 8, ["modelValue"])], 8, _hoisted_1);
} }
// CONCATENATED MODULE: ./plugins/Feedback/vue/src/RateFeature/RateFeature.vue?v ue&type=template&id=ce49e788 // CONCATENATED MODULE: ./plugins/Feedback/vue/src/RateFeature/RateFeature.vue?v ue&type=template&id=ae4ff290
// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/cache- loader/dist/cjs.js??ref--12-0!./node_modules/@vue/cli-plugin-babel/node_modules/ thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/@vue/cl i-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modu les/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modu les/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/Feedba ck/vue/src/ReviewLinks/ReviewLinks.vue?vue&type=template&id=9a880eb6 // CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/cache- loader/dist/cjs.js??ref--12-0!./node_modules/@vue/cli-plugin-babel/node_modules/ thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/@vue/cl i-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modu les/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modu les/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/Feedba ck/vue/src/ReviewLinks/ReviewLinks.vue?vue&type=template&id=9a880eb6
var ReviewLinksvue_type_template_id_9a880eb6_hoisted_1 = { var ReviewLinksvue_type_template_id_9a880eb6_hoisted_1 = {
class: "requestReview" class: "requestReview"
}; };
var ReviewLinksvue_type_template_id_9a880eb6_hoisted_2 = /*#__PURE__*/Object(ext ernal_commonjs_vue_commonjs2_vue_root_Vue_["createStaticVNode"])("<br><br><div c lass=\"review-links\"><div class=\"review-link\"><a href=\"https://www.capterra. com/p/182627/Matomo-Analytics/\" target=\"_blank\"><div class=\"image\"><img loa ding=\"lazy\" src=\"plugins/Feedback/images/capterra.svg\"></div><div class=\"li nk\">Capterra</div></a></div><div class=\"review-link\"><a href=\"https://www.g2 crowd.com/products/matomo-formerly-piwik/details\" target=\"_blank\"><div class= \"image\"><img loading=\"lazy\" src=\"plugins/Feedback/images/g2crowd.svg\"></di v><div class=\"link\">G2 Crowd</div></a></div><div class=\"review-link\"><a href =\"https://www.producthunt.com/posts/matomo-2\" target=\"_blank\"><div class=\"i mage\"><img loading=\"lazy\" src=\"plugins/Feedback/images/producthunt.svg\"></d iv><div class=\"link\">Product Hunt</div></a></div><div class=\"review-link\"><a href=\"https://www.saasworthy.com/product/matomo\" target=\"_blank\"><div class =\"image\"><img loading=\"lazy\" src=\"plugins/Feedback/images/saasworthy.png\"> </div><div class=\"link\">SaaSworthy</div></a></div><div class=\"review-link\">< a href=\"https://www.trustradius.com/products/matomo/reviews\" target=\"_blank\" ><div class=\"image\"><img loading=\"lazy\" src=\"plugins/Feedback/images/trustr adius.svg\"></div><div class=\"link\">TrustRadius</div></a></div></div>", 3); var ReviewLinksvue_type_template_id_9a880eb6_hoisted_2 = /*#__PURE__*/Object(ext ernal_commonjs_vue_commonjs2_vue_root_Vue_["createStaticVNode"])("<br><br><div c lass=\"review-links\"><div class=\"review-link\"><a href=\"https://www.capterra. com/p/182627/Matomo-Analytics/\" target=\"_blank\"><div class=\"image\"><img loa ding=\"lazy\" src=\"plugins/Feedback/images/capterra.svg\"></div><div class=\"li nk\">Capterra</div></a></div><div class=\"review-link\"><a href=\"https://www.g2 crowd.com/products/matomo-formerly-piwik/details\" target=\"_blank\"><div class= \"image\"><img loading=\"lazy\" src=\"plugins/Feedback/images/g2crowd.svg\"></di v><div class=\"link\">G2 Crowd</div></a></div><div class=\"review-link\"><a href =\"https://www.producthunt.com/posts/matomo-2\" target=\"_blank\"><div class=\"i mage\"><img loading=\"lazy\" src=\"plugins/Feedback/images/producthunt.svg\"></d iv><div class=\"link\">Product Hunt</div></a></div><div class=\"review-link\"><a href=\"https://www.saasworthy.com/product/matomo\" target=\"_blank\"><div class =\"image\"><img loading=\"lazy\" src=\"plugins/Feedback/images/saasworthy.png\"> </div><div class=\"link\">SaaSworthy</div></a></div><div class=\"review-link\">< a href=\"https://www.trustradius.com/products/matomo/reviews\" target=\"_blank\" ><div class=\"image\"><img loading=\"lazy\" src=\"plugins/Feedback/images/trustr adius.svg\"></div><div class=\"link\">TrustRadius</div></a></div></div>", 3);
function ReviewLinksvue_type_template_id_9a880eb6_render(_ctx, _cache, $props, $ setup, $data, $options) { function ReviewLinksvue_type_template_id_9a880eb6_render(_ctx, _cache, $props, $ setup, $data, $options) {
skipping to change at line 555 skipping to change at line 555
this.$nextTick(function () { this.$nextTick(function () {
_this.focusInput(); _this.focusInput();
}); });
}, },
focusInput: function focusInput() { focusInput: function focusInput() {
if (this.$refs.feedbackText != null) { if (this.$refs.feedbackText != null) {
this.$refs.feedbackText.focus(); this.$refs.feedbackText.focus();
} }
}, },
sendFeedback: async function sendFeedback() { sendFeedback: function sendFeedback() {
var _this2 = this;
this.errorMessage = null; this.errorMessage = null;
var res = await external_CoreHome_["AjaxHelper"].fetch({ external_CoreHome_["AjaxHelper"].fetch({
method: 'Feedback.sendFeedbackForFeature', method: 'Feedback.sendFeedbackForFeature',
featureName: this.title, featureName: this.title,
like: this.like ? '1' : '0', like: this.like ? '1' : '0',
choice: this.like ? this.likeReason : this.dislikeReason, choice: this.like ? this.likeReason : this.dislikeReason,
message: this.feedbackMessage message: this.feedbackMessage
}).then(function (res) {
if (res.value === 'success') {
$('.modal').modal('close');
_this2.ratingDone = true;
_this2.feedbackMessage = '';
} else {
_this2.errorMessage = res.value;
}
}); });
if (res.value === 'success') {
$('.modal').modal('close');
this.ratingDone = true;
this.feedbackMessage = '';
} else {
this.errorMessage = res.value;
}
} }
} }
})); }));
// CONCATENATED MODULE: ./plugins/Feedback/vue/src/RateFeature/RateFeature.vue?v ue&type=script&lang=ts // CONCATENATED MODULE: ./plugins/Feedback/vue/src/RateFeature/RateFeature.vue?v ue&type=script&lang=ts
// CONCATENATED MODULE: ./plugins/Feedback/vue/src/RateFeature/RateFeature.vue // CONCATENATED MODULE: ./plugins/Feedback/vue/src/RateFeature/RateFeature.vue
RateFeaturevue_type_script_lang_ts.render = render RateFeaturevue_type_script_lang_ts.render = render
/* harmony default export */ var RateFeature = (RateFeaturevue_type_script_lang_ ts); /* harmony default export */ var RateFeature = (RateFeaturevue_type_script_lang_ ts);
skipping to change at line 599 skipping to change at line 601
/* harmony default export */ var RateFeature_adapter = (Object(external_CoreHome _["createAngularJsAdapter"])({ /* harmony default export */ var RateFeature_adapter = (Object(external_CoreHome _["createAngularJsAdapter"])({
component: RateFeature, component: RateFeature,
scope: { scope: {
title: { title: {
angularJsBind: '@' angularJsBind: '@'
} }
}, },
directiveName: 'piwikRateFeature' directiveName: 'piwikRateFeature'
})); }));
// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/cache- loader/dist/cjs.js??ref--12-0!./node_modules/@vue/cli-plugin-babel/node_modules/ thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/@vue/cl i-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modu les/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modu les/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/Feedba ck/vue/src/FeedbackQuestion/FeedbackQuestion.vue?vue&type=template&id=2d5e9885 // CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/cache- loader/dist/cjs.js??ref--12-0!./node_modules/@vue/cli-plugin-babel/node_modules/ thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/@vue/cl i-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modu les/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modu les/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/Feedba ck/vue/src/FeedbackQuestion/FeedbackQuestion.vue?vue&type=template&id=5ec4eadf
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_1 = { var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_1 = {
key: 0, key: 0,
class: "bannerHeader" class: "bannerHeader"
}; };
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_2 = /*#__PURE__*/Objec t(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("i", { var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_2 = /*#__PURE__*/Objec t(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("i", {
class: "icon-heart red-text" class: "icon-heart red-text"
}, null, -1); }, null, -1);
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_3 = /*#__PURE__*/Objec t(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("i", { var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_3 = /*#__PURE__*/Objec t(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("i", {
class: "icon-close white-text" class: "icon-close white-text"
}, null, -1); }, null, -1);
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_4 = [FeedbackQuestionv var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_4 = [FeedbackQuestionv
ue_type_template_id_2d5e9885_hoisted_3]; ue_type_template_id_5ec4eadf_hoisted_3];
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_5 = { var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_5 = {
class: "ratefeature" class: "ratefeature"
}; };
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_6 = { var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_6 = {
class: "ui-confirm ratefeatureDialog" class: "ui-confirm ratefeatureDialog"
}; };
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_7 = ["innerHTML"]; var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_7 = ["innerHTML"];
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_8 = /*#__PURE__*/Objec t(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", nul l, null, -1); var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_8 = /*#__PURE__*/Objec t(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", nul l, null, -1);
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_9 = { var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_9 = {
class: "messageContainer" class: "messageContainer"
}; };
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_10 = { var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_10 = {
key: 0, key: 0,
class: "error-text" class: "error-text"
}; };
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_11 = /*#__PURE__*/Obje ct(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", nu ll, null, -1); var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_11 = /*#__PURE__*/Obje ct(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("br", nu ll, null, -1);
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_12 = ["innerHTML"]; var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_12 = ["innerHTML"];
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_13 = ["value"]; var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_13 = ["value"];
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_14 = ["value"]; var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_14 = ["value"];
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_15 = { var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_15 = {
class: "ui-confirm ratefeatureDialog" class: "ui-confirm ratefeatureDialog"
}; };
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_16 = ["innerHTML"]; var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_16 = ["innerHTML"];
var FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_17 = ["value"]; var FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_17 = ["value"];
function FeedbackQuestionvue_type_template_id_2d5e9885_render(_ctx, _cache, $pro function FeedbackQuestionvue_type_template_id_5ec4eadf_render(_ctx, _cache, $pro
ps, $setup, $data, $options) { ps, $setup, $data, $options) {
var _component_MatomoDialog = Object(external_commonjs_vue_commonjs2_vue_root_ Vue_["resolveComponent"])("MatomoDialog"); var _component_MatomoDialog = Object(external_commonjs_vue_commonjs2_vue_root_ Vue_["resolveComponent"])("MatomoDialog");
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), O bject(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div" , null, [!_ctx.isHidden ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_[ "openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createEle mentBlock"])("div", FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_1, [Ob ject(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span" , null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"] )(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx. translate("Feedback_FeedbackTitle")) + " ", 1), FeedbackQuestionvue_type_templat e_id_2d5e9885_hoisted_2]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_[ "createElementVNode"])("a", { return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), O bject(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div" , null, [!_ctx.isHidden ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_[ "openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createEle mentBlock"])("div", FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_1, [Ob ject(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span" , null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"] )(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx. translate("Feedback_FeedbackTitle")) + " ", 1), FeedbackQuestionvue_type_templat e_id_5ec4eadf_hoisted_2]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_[ "createElementVNode"])("a", {
onClick: _cache[0] || (_cache[0] = function () { onClick: _cache[0] || (_cache[0] = function () {
return _ctx.showQuestion && _ctx.showQuestion.apply(_ctx, arguments); return _ctx.showQuestion && _ctx.showQuestion.apply(_ctx, arguments);
}), }),
class: "btn" class: "btn"
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_c tx.translate("Feedback_Question".concat(_ctx.question))), 1), Object(external_co mmonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_c tx.translate("Feedback_Question".concat(_ctx.question))), 1), Object(external_co mmonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", {
class: "close-btn", class: "close-btn",
onClick: _cache[1] || (_cache[1] = function () { onClick: _cache[1] || (_cache[1] = function () {
return _ctx.disableReminder && _ctx.disableReminder.apply(_ctx, arguments) ; return _ctx.disableReminder && _ctx.disableReminder.apply(_ctx, arguments) ;
}) })
}, FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_4)])) : Object(extern al_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object (external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", Fee dbackQuestionvue_type_template_id_2d5e9885_hoisted_5, [Object(external_commonjs_ vue_commonjs2_vue_root_Vue_["createVNode"])(_component_MatomoDialog, { }, FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_4)])) : Object(extern al_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object (external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", Fee dbackQuestionvue_type_template_id_5ec4eadf_hoisted_5, [Object(external_commonjs_ vue_commonjs2_vue_root_Vue_["createVNode"])(_component_MatomoDialog, {
modelValue: _ctx.showFeedbackForm, modelValue: _ctx.showFeedbackForm,
"onUpdate:modelValue": _cache[3] || (_cache[3] = function ($event) { "onUpdate:modelValue": _cache[3] || (_cache[3] = function ($event) {
return _ctx.showFeedbackForm = $event; return _ctx.showFeedbackForm = $event;
}), }),
onValidation: _cache[4] || (_cache[4] = function ($event) { onValidation: _cache[4] || (_cache[4] = function ($event) {
return _ctx.sendFeedback(); return _ctx.sendFeedback();
}) })
}, { }, {
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(fu nction () { default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(fu nction () {
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElemen tVNode"])("div", FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_6, [Objec t(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", nul l, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx .translate("Feedback_Question".concat(_ctx.question))), 1), Object(external_comm onjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", { return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElemen tVNode"])("div", FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_6, [Objec t(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", nul l, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx .translate("Feedback_Question".concat(_ctx.question))), 1), Object(external_comm onjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", {
innerHTML: _ctx.translate('Feedback_FeedbackSubtitle', "<i class='icon-h eart red-text'></i>") innerHTML: _ctx.translate('Feedback_FeedbackSubtitle', "<i class='icon-h eart red-text'></i>")
}, null, 8, FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_7), Feed backQuestionvue_type_template_id_2d5e9885_hoisted_8, Object(external_commonjs_vu e_commonjs2_vue_root_Vue_["createElementVNode"])("div", FeedbackQuestionvue_type _template_id_2d5e9885_hoisted_9, [_ctx.errorMessage ? (Object(external_commonjs_ vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_common js2_vue_root_Vue_["createElementBlock"])("div", FeedbackQuestionvue_type_templat e_id_2d5e9885_hoisted_10, Object(external_commonjs_vue_commonjs2_vue_root_Vue_[" toDisplayString"])(_ctx.errorMessage), 1)) : Object(external_commonjs_vue_common js2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue _commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonj s2_vue_root_Vue_["createElementVNode"])("textarea", { }, null, 8, FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_7), Feed backQuestionvue_type_template_id_5ec4eadf_hoisted_8, Object(external_commonjs_vu e_commonjs2_vue_root_Vue_["createElementVNode"])("div", FeedbackQuestionvue_type _template_id_5ec4eadf_hoisted_9, [_ctx.errorMessage ? (Object(external_commonjs_ vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_common js2_vue_root_Vue_["createElementBlock"])("div", FeedbackQuestionvue_type_templat e_id_5ec4eadf_hoisted_10, Object(external_commonjs_vue_commonjs2_vue_root_Vue_[" toDisplayString"])(_ctx.errorMessage), 1)) : Object(external_commonjs_vue_common js2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue _commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonj s2_vue_root_Vue_["createElementVNode"])("textarea", {
id: "message", id: "message",
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeCl ass"])({ class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeCl ass"])({
'has-error': _ctx.errorMessage 'has-error': _ctx.errorMessage
}), }),
"onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) { "onUpdate:modelValue": _cache[2] || (_cache[2] = function ($event) {
return _ctx.feedbackMessage = $event; return _ctx.feedbackMessage = $event;
}) })
}, null, 2), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vModelText"] , _ctx.feedbackMessage]])]), FeedbackQuestionvue_type_template_id_2d5e9885_hoist ed_11, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode" ])("p", { }, null, 2), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vModelText"] , _ctx.feedbackMessage]])]), FeedbackQuestionvue_type_template_id_5ec4eadf_hoist ed_11, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode" ])("p", {
innerHTML: _ctx.translate('Feedback_Policy', "<a rel='nofollow' href='ht tps://matomo.org/privacy-policy/' target='_blank'>", '</a>') innerHTML: _ctx.translate('Feedback_Policy', "<a rel='nofollow' href='ht tps://matomo.org/privacy-policy/' target='_blank'>", '</a>')
}, null, 8, FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_12), Obj ect(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input" , { }, null, 8, FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_12), Obj ect(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input" , {
type: "button", type: "button",
role: "validation", role: "validation",
value: _ctx.translate('Feedback_SendFeedback') value: _ctx.translate('Feedback_SendFeedback')
}, null, 8, FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_13), Obj ect(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input" , { }, null, 8, FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_13), Obj ect(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input" , {
type: "button", type: "button",
role: "cancel", role: "cancel",
value: _ctx.translate('General_Cancel') value: _ctx.translate('General_Cancel')
}, null, 8, FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_14)])]; }, null, 8, FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_14)])];
}), }),
_: 1 _: 1
}, 8, ["modelValue"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["c reateVNode"])(_component_MatomoDialog, { }, 8, ["modelValue"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["c reateVNode"])(_component_MatomoDialog, {
modelValue: _ctx.feedbackDone, modelValue: _ctx.feedbackDone,
"onUpdate:modelValue": _cache[5] || (_cache[5] = function ($event) { "onUpdate:modelValue": _cache[5] || (_cache[5] = function ($event) {
return _ctx.feedbackDone = $event; return _ctx.feedbackDone = $event;
}) })
}, { }, {
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(fu nction () { default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(fu nction () {
return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElemen tVNode"])("div", FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_15, [Obje ct(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", nu ll, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ct x.translate("Feedback_ThankYou")), 1), Object(external_commonjs_vue_commonjs2_vu e_root_Vue_["createElementVNode"])("p", { return [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElemen tVNode"])("div", FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_15, [Obje ct(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", nu ll, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ct x.translate("Feedback_ThankYou")), 1), Object(external_commonjs_vue_commonjs2_vu e_root_Vue_["createElementVNode"])("p", {
innerHTML: _ctx.translate('Feedback_ThankYourForFeedback', "<i class='ic on-heart red-text'></i>") innerHTML: _ctx.translate('Feedback_ThankYourForFeedback', "<i class='ic on-heart red-text'></i>")
}, null, 8, FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_16), Obj ect(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input" , { }, null, 8, FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_16), Obj ect(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input" , {
type: "button", type: "button",
role: "cancel", role: "cancel",
value: _ctx.translate('General_Close') value: _ctx.translate('General_Close')
}, null, 8, FeedbackQuestionvue_type_template_id_2d5e9885_hoisted_17)])]; }, null, 8, FeedbackQuestionvue_type_template_id_5ec4eadf_hoisted_17)])];
}), }),
_: 1 _: 1
}, 8, ["modelValue"])])]); }, 8, ["modelValue"])])]);
} }
// CONCATENATED MODULE: ./plugins/Feedback/vue/src/FeedbackQuestion/FeedbackQues tion.vue?vue&type=template&id=2d5e9885 // CONCATENATED MODULE: ./plugins/Feedback/vue/src/FeedbackQuestion/FeedbackQues tion.vue?vue&type=template&id=5ec4eadf
// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/c ache-loader/dist/cjs.js??ref--14-0!./node_modules/@vue/cli-plugin-typescript/nod e_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modul es/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-3!./node_modules/@ vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@ vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/Feedback/vu e/src/FeedbackQuestion/FeedbackQuestion.vue?vue&type=script&lang=ts // CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/c ache-loader/dist/cjs.js??ref--14-0!./node_modules/@vue/cli-plugin-typescript/nod e_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modul es/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--14-3!./node_modules/@ vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@ vue/cli-service/node_modules/vue-loader-v16/dist??ref--0-1!./plugins/Feedback/vu e/src/FeedbackQuestion/FeedbackQuestion.vue?vue&type=script&lang=ts
var FeedbackQuestionvue_type_script_lang_ts_window = window, var FeedbackQuestionvue_type_script_lang_ts_window = window,
FeedbackQuestionvue_type_script_lang_ts_$ = FeedbackQuestionvue_type_script_ lang_ts_window.$; FeedbackQuestionvue_type_script_lang_ts_$ = FeedbackQuestionvue_type_script_ lang_ts_window.$;
var cookieName = 'feedback-question'; var cookieName = 'feedback-question';
/* harmony default export */ var FeedbackQuestionvue_type_script_lang_ts = (Obje ct(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ /* harmony default export */ var FeedbackQuestionvue_type_script_lang_ts = (Obje ct(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({
props: { props: {
showQuestionBanner: String showQuestionBanner: String
}, },
skipping to change at line 789 skipping to change at line 791
showQuestion: function showQuestion() { showQuestion: function showQuestion() {
this.showFeedbackForm = true; this.showFeedbackForm = true;
this.errorMessage = null; this.errorMessage = null;
}, },
disableReminder: function disableReminder() { disableReminder: function disableReminder() {
external_CoreHome_["AjaxHelper"].fetch({ external_CoreHome_["AjaxHelper"].fetch({
method: 'Feedback.updateFeedbackReminderDate' method: 'Feedback.updateFeedbackReminderDate'
}); });
this.hide = true; this.hide = true;
}, },
sendFeedback: async function sendFeedback() { sendFeedback: function sendFeedback() {
var _this = this;
this.errorMessage = null; this.errorMessage = null;
var res = await external_CoreHome_["AjaxHelper"].fetch({ external_CoreHome_["AjaxHelper"].fetch({
method: 'Feedback.sendFeedbackForSurvey', method: 'Feedback.sendFeedbackForSurvey',
question: this.questionText, question: this.questionText,
message: this.feedbackMessage message: this.feedbackMessage
}).then(function (res) {
if (res.value === 'success') {
FeedbackQuestionvue_type_script_lang_ts_$('.modal').modal('close');
_this.feedbackDone = true;
_this.hide = true;
} else {
_this.errorMessage = res.value;
}
}); });
if (res.value === 'success') {
FeedbackQuestionvue_type_script_lang_ts_$('.modal').modal('close');
this.feedbackDone = true;
this.hide = true;
} else {
this.errorMessage = res.value;
}
} }
} }
})); }));
// CONCATENATED MODULE: ./plugins/Feedback/vue/src/FeedbackQuestion/FeedbackQues tion.vue?vue&type=script&lang=ts // CONCATENATED MODULE: ./plugins/Feedback/vue/src/FeedbackQuestion/FeedbackQues tion.vue?vue&type=script&lang=ts
// CONCATENATED MODULE: ./plugins/Feedback/vue/src/FeedbackQuestion/FeedbackQues tion.vue // CONCATENATED MODULE: ./plugins/Feedback/vue/src/FeedbackQuestion/FeedbackQues tion.vue
FeedbackQuestionvue_type_script_lang_ts.render = FeedbackQuestionvue_type_templa te_id_2d5e9885_render FeedbackQuestionvue_type_script_lang_ts.render = FeedbackQuestionvue_type_templa te_id_5ec4eadf_render
/* harmony default export */ var FeedbackQuestion = (FeedbackQuestionvue_type_sc ript_lang_ts); /* harmony default export */ var FeedbackQuestion = (FeedbackQuestionvue_type_sc ript_lang_ts);
// CONCATENATED MODULE: ./plugins/Feedback/vue/src/FeedbackQuestion/FeedbackQues tion.adapter.ts // CONCATENATED MODULE: ./plugins/Feedback/vue/src/FeedbackQuestion/FeedbackQues tion.adapter.ts
/*! /*!
* Matomo - free/libre analytics platform * Matomo - free/libre analytics platform
* *
* @link https://matomo.org * @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/ */
 End of changes. 36 change blocks. 
56 lines changed or deleted 60 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)