"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "matomo/plugins/CoreHome/vue/dist/CoreHome.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.

CoreHome.umd.js  (matomo-4.6.0-rc1):CoreHome.umd.js  (matomo-4.6.0-rc2)
skipping to change at line 2157 skipping to change at line 2157
*/ */
/* harmony default export */ var ExpandOnClick = ({ /* harmony default export */ var ExpandOnClick = ({
mounted: function mounted(el, binding) { mounted: function mounted(el, binding) {
binding.value.isMouseDown = false; binding.value.isMouseDown = false;
binding.value.hasScrolled = false; binding.value.hasScrolled = false;
binding.value.onExpand = onExpand.bind(null, el); binding.value.onExpand = onExpand.bind(null, el);
binding.value.onEscapeHandler = ExpandOnClick_onEscapeHandler.bind(null, el, binding); binding.value.onEscapeHandler = ExpandOnClick_onEscapeHandler.bind(null, el, binding);
binding.value.onMouseDown = ExpandOnClick_onMouseDown.bind(null, binding); binding.value.onMouseDown = ExpandOnClick_onMouseDown.bind(null, binding);
binding.value.onClickOutsideElement = ExpandOnClick_onClickOutsideElement.bi nd(null, el, binding); binding.value.onClickOutsideElement = ExpandOnClick_onClickOutsideElement.bi nd(null, el, binding);
binding.value.onScroll = ExpandOnClick_onScroll.bind(null, binding); binding.value.onScroll = ExpandOnClick_onScroll.bind(null, binding); // have
binding.value.expander.addEventListener('click', binding.value.onExpand); to use jquery here since existing code will do $(...).click(). which apparently
// doesn't work when using addEventListener.
window.$(binding.value.expander).click(binding.value.onExpand);
ExpandOnClick_doc.addEventListener('keyup', binding.value.onEscapeHandler); ExpandOnClick_doc.addEventListener('keyup', binding.value.onEscapeHandler);
ExpandOnClick_doc.addEventListener('mousedown', binding.value.onMouseDown); ExpandOnClick_doc.addEventListener('mousedown', binding.value.onMouseDown);
ExpandOnClick_doc.addEventListener('mouseup', binding.value.onClickOutsideEl ement); ExpandOnClick_doc.addEventListener('mouseup', binding.value.onClickOutsideEl ement);
ExpandOnClick_doc.addEventListener('scroll', binding.value.onScroll); ExpandOnClick_doc.addEventListener('scroll', binding.value.onScroll);
}, },
unmounted: function unmounted(el, binding) { unmounted: function unmounted(el, binding) {
binding.value.expander.removeEventListener('click', binding.value.onExpand); binding.value.expander.removeEventListener('click', binding.value.onExpand);
ExpandOnClick_doc.removeEventListener('keyup', binding.value.onEscapeHandler ); ExpandOnClick_doc.removeEventListener('keyup', binding.value.onEscapeHandler );
ExpandOnClick_doc.removeEventListener('mousedown', binding.value.onMouseDown ); ExpandOnClick_doc.removeEventListener('mousedown', binding.value.onMouseDown );
ExpandOnClick_doc.removeEventListener('mouseup', binding.value.onClickOutsid eElement); ExpandOnClick_doc.removeEventListener('mouseup', binding.value.onClickOutsid eElement);
skipping to change at line 2670 skipping to change at line 2672
}, },
postCreate: function postCreate(vm, scope, element, attrs) { postCreate: function postCreate(vm, scope, element, attrs) {
scope.$watch(attrs.piwikDialog, function (newValue, oldValue) { scope.$watch(attrs.piwikDialog, function (newValue, oldValue) {
if (oldValue !== newValue) { if (oldValue !== newValue) {
vm.modelValue = newValue || false; vm.modelValue = newValue || false;
} }
}); });
}, },
noScope: true noScope: true
})); }));
// 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/CoreHo me/vue/src/EnrichedHeadline/EnrichedHeadline.vue?vue&type=template&id=5653b0bd // 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/CoreHo me/vue/src/EnrichedHeadline/EnrichedHeadline.vue?vue&type=template&id=40f81493
var EnrichedHeadlinevue_type_template_id_5653b0bd_hoisted_1 = { var EnrichedHeadlinevue_type_template_id_40f81493_hoisted_1 = {
key: 0, key: 0,
class: "title", class: "title",
tabindex: "6" tabindex: "6"
}; };
var _hoisted_2 = ["href", "title"]; var _hoisted_2 = ["href", "title"];
var _hoisted_3 = { var _hoisted_3 = {
class: "iconsBar" class: "iconsBar"
}; };
var _hoisted_4 = ["href", "title"]; var _hoisted_4 = ["href", "title"];
skipping to change at line 2703 skipping to change at line 2705
var _hoisted_9 = [_hoisted_8]; var _hoisted_9 = [_hoisted_8];
var _hoisted_10 = { var _hoisted_10 = {
class: "ratingIcons" class: "ratingIcons"
}; };
var _hoisted_11 = { var _hoisted_11 = {
class: "inlineHelp" class: "inlineHelp"
}; };
var _hoisted_12 = ["innerHTML"]; var _hoisted_12 = ["innerHTML"];
var _hoisted_13 = ["href"]; var _hoisted_13 = ["href"];
function EnrichedHeadlinevue_type_template_id_5653b0bd_render(_ctx, _cache, $pro ps, $setup, $data, $options) { function EnrichedHeadlinevue_type_template_id_40f81493_render(_ctx, _cache, $pro ps, $setup, $data, $options) {
var _component_RateFeature = Object(external_commonjs_vue_commonjs2_vue_root_V ue_["resolveComponent"])("RateFeature"); var _component_RateFeature = Object(external_commonjs_vue_commonjs2_vue_root_V ue_["resolveComponent"])("RateFeature");
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), O bject(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div" , { return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), O bject(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div" , {
class: "enrichedHeadline", class: "enrichedHeadline",
onMouseenter: _cache[1] || (_cache[1] = function ($event) { onMouseenter: _cache[1] || (_cache[1] = function ($event) {
return _ctx.showIcons = true; return _ctx.showIcons = true;
}), }),
onMouseleave: _cache[2] || (_cache[2] = function ($event) { onMouseleave: _cache[2] || (_cache[2] = function ($event) {
return _ctx.showIcons = false; return _ctx.showIcons = false;
}), }),
ref: "root" ref: "root"
}, [!_ctx.editUrl ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ope nBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElement Block"])("div", EnrichedHeadlinevue_type_template_id_5653b0bd_hoisted_1, [Object (external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, "defa ult")])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVN ode"])("", true), _ctx.editUrl ? (Object(external_commonjs_vue_commonjs2_vue_roo t_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["cr eateElementBlock"])("a", { }, [!_ctx.editUrl ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ope nBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElement Block"])("div", EnrichedHeadlinevue_type_template_id_40f81493_hoisted_1, [Object (external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, "defa ult")])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVN ode"])("", true), _ctx.editUrl ? (Object(external_commonjs_vue_commonjs2_vue_roo t_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["cr eateElementBlock"])("a", {
key: 1, key: 1,
class: "title", class: "title",
href: _ctx.editUrl, href: _ctx.editUrl,
title: _ctx.translate('CoreHome_ClickToEditX', _ctx.$sanitize(_ctx.actualFea tureName)) title: _ctx.translate('CoreHome_ClickToEditX', _ctx.$sanitize(_ctx.actualFea tureName))
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$ slots, "default")], 8, _hoisted_2)) : Object(external_commonjs_vue_commonjs2_vue _root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_common js2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_ root_Vue_["createElementVNode"])("span", _hoisted_3, [_ctx.helpUrl && !_ctx.actu alInlineHelp ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock" ])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"] )("a", { }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$ slots, "default")], 8, _hoisted_2)) : Object(external_commonjs_vue_commonjs2_vue _root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_common js2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_commonjs2_vue_ root_Vue_["createElementVNode"])("span", _hoisted_3, [_ctx.helpUrl && !_ctx.actu alInlineHelp ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock" ])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"] )("a", {
key: 0, key: 0,
rel: "noreferrer noopener", rel: "noreferrer noopener",
target: "_blank", target: "_blank",
class: "helpIcon", class: "helpIcon",
href: _ctx.helpUrl, href: _ctx.helpUrl,
skipping to change at line 2748 skipping to change at line 2750
}, null, 8, ["title"])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vu e_["vShow"], _ctx.showIcons || _ctx.showInlineHelp]]), Object(external_commonjs_ vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_comm onjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_11, [Object(external_ commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", { }, null, 8, ["title"])])], 512), [[external_commonjs_vue_commonjs2_vue_root_Vu e_["vShow"], _ctx.showIcons || _ctx.showInlineHelp]]), Object(external_commonjs_ vue_commonjs2_vue_root_Vue_["withDirectives"])(Object(external_commonjs_vue_comm onjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_11, [Object(external_ commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", {
innerHTML: _ctx.$sanitize(_ctx.actualInlineHelp) innerHTML: _ctx.$sanitize(_ctx.actualInlineHelp)
}, null, 8, _hoisted_12), _ctx.helpUrl ? (Object(external_commonjs_vue_commonj s2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_roo t_Vue_["createElementBlock"])("a", { }, null, 8, _hoisted_12), _ctx.helpUrl ? (Object(external_commonjs_vue_commonj s2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_roo t_Vue_["createElementBlock"])("a", {
key: 0, key: 0,
rel: "noreferrer noopener", rel: "noreferrer noopener",
target: "_blank", target: "_blank",
class: "readMore", class: "readMore",
href: _ctx.helpUrl href: _ctx.helpUrl
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_c tx.translate('General_MoreDetails')), 9, _hoisted_13)) : Object(external_commonj s_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 512), [[externa l_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.showInlineHelp]])], 544); }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_c tx.translate('General_MoreDetails')), 9, _hoisted_13)) : Object(external_commonj s_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 512), [[externa l_commonjs_vue_commonjs2_vue_root_Vue_["vShow"], _ctx.showInlineHelp]])], 544);
} }
// CONCATENATED MODULE: ./plugins/CoreHome/vue/src/EnrichedHeadline/EnrichedHead line.vue?vue&type=template&id=5653b0bd // CONCATENATED MODULE: ./plugins/CoreHome/vue/src/EnrichedHeadline/EnrichedHead line.vue?vue&type=template&id=40f81493
// 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/CoreHome/vu e/src/EnrichedHeadline/EnrichedHeadline.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/CoreHome/vu e/src/EnrichedHeadline/EnrichedHeadline.vue?vue&type=script&lang=ts
// working around a cycle in dependencies (CoreHome depends on Feedback, Feedba ck depends on // working around a cycle in dependencies (CoreHome depends on Feedback, Feedba ck depends on
// CoreHome) // CoreHome)
// TODO: may need a generic solution at some point, but it's bad practice to hav e // TODO: may need a generic solution at some point, but it's bad practice to hav e
// cyclic dependencies like this. it worked before because it was individual fil es // cyclic dependencies like this. it worked before because it was individual fil es
// dependening on each other, not whole plugins. // dependening on each other, not whole plugins.
var RateFeature = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineAs yncComponent"])(function () { var RateFeature = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineAs yncComponent"])(function () {
return new Promise(function (resolve) { return new Promise(function (resolve) {
window.$(document).ready(function () { window.$(document).ready(function () {
resolve(window.Feedback.RateFeature); // eslint-disable-line var _window = window,
Feedback = _window.Feedback; // eslint-disable-line
if (Feedback) {
resolve(Feedback.RateFeature);
} else {
// feedback plugin not loaded
resolve(null);
}
}); });
}); });
}); });
/** /**
* Usage: * Usage:
* *
* <h2 piwik-enriched-headline>All Websites Dashboard</h2> * <h2 piwik-enriched-headline>All Websites Dashboard</h2>
* -> uses "All Websites Dashboard" as featurename * -> uses "All Websites Dashboard" as featurename
* *
* <h2 piwik-enriched-headline feature-name="All Websites Dashboard">All Website s Dashboard (Total: * <h2 piwik-enriched-headline feature-name="All Websites Dashboard">All Website s Dashboard (Total:
skipping to change at line 2879 skipping to change at line 2889
hide: false hide: false
}); });
} }
}); });
} }
})); }));
// CONCATENATED MODULE: ./plugins/CoreHome/vue/src/EnrichedHeadline/EnrichedHead line.vue?vue&type=script&lang=ts // CONCATENATED MODULE: ./plugins/CoreHome/vue/src/EnrichedHeadline/EnrichedHead line.vue?vue&type=script&lang=ts
// CONCATENATED MODULE: ./plugins/CoreHome/vue/src/EnrichedHeadline/EnrichedHead line.vue // CONCATENATED MODULE: ./plugins/CoreHome/vue/src/EnrichedHeadline/EnrichedHead line.vue
EnrichedHeadlinevue_type_script_lang_ts.render = EnrichedHeadlinevue_type_templa te_id_5653b0bd_render EnrichedHeadlinevue_type_script_lang_ts.render = EnrichedHeadlinevue_type_templa te_id_40f81493_render
/* harmony default export */ var EnrichedHeadline = (EnrichedHeadlinevue_type_sc ript_lang_ts); /* harmony default export */ var EnrichedHeadline = (EnrichedHeadlinevue_type_sc ript_lang_ts);
// CONCATENATED MODULE: ./plugins/CoreHome/vue/src/EnrichedHeadline/EnrichedHead line.adapter.ts // CONCATENATED MODULE: ./plugins/CoreHome/vue/src/EnrichedHeadline/EnrichedHead line.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. 8 change blocks. 
9 lines changed or deleted 20 lines changed or added

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