Download plugins/API/vue/dist/API.umd.js from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 16.7 kB
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/API/vue/dist/API.umd.js
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/plugins/API/vue/dist/API.umd.js
-
curl -L -o API.umd.js https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/API/vue/dist/API.umd.js
16.7 kB
| (function webpackUniversalModuleDefinition(root, factory) { | |
| if(typeof exports === 'object' && typeof module === 'object') | |
| module.exports = factory(require("CoreHome"), require("vue")); | |
| else if(typeof define === 'function' && define.amd) | |
| define(["CoreHome", ], factory); | |
| else if(typeof exports === 'object') | |
| exports["API"] = factory(require("CoreHome"), require("vue")); | |
| else | |
| root["API"] = factory(root["CoreHome"], root["Vue"]); | |
| })((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__19dc__, __WEBPACK_EXTERNAL_MODULE__8bbf__) { | |
| return /******/ (function(modules) { // webpackBootstrap | |
| /******/ // The module cache | |
| /******/ var installedModules = {}; | |
| /******/ | |
| /******/ // The require function | |
| /******/ function __webpack_require__(moduleId) { | |
| /******/ | |
| /******/ // Check if module is in cache | |
| /******/ if(installedModules[moduleId]) { | |
| /******/ return installedModules[moduleId].exports; | |
| /******/ } | |
| /******/ // Create a new module (and put it into the cache) | |
| /******/ var module = installedModules[moduleId] = { | |
| /******/ i: moduleId, | |
| /******/ l: false, | |
| /******/ exports: {} | |
| /******/ }; | |
| /******/ | |
| /******/ // Execute the module function | |
| /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | |
| /******/ | |
| /******/ // Flag the module as loaded | |
| /******/ module.l = true; | |
| /******/ | |
| /******/ // Return the exports of the module | |
| /******/ return module.exports; | |
| /******/ } | |
| /******/ | |
| /******/ | |
| /******/ // expose the modules object (__webpack_modules__) | |
| /******/ __webpack_require__.m = modules; | |
| /******/ | |
| /******/ // expose the module cache | |
| /******/ __webpack_require__.c = installedModules; | |
| /******/ | |
| /******/ // define getter function for harmony exports | |
| /******/ __webpack_require__.d = function(exports, name, getter) { | |
| /******/ if(!__webpack_require__.o(exports, name)) { | |
| /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); | |
| /******/ } | |
| /******/ }; | |
| /******/ | |
| /******/ // define __esModule on exports | |
| /******/ __webpack_require__.r = function(exports) { | |
| /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
| /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | |
| /******/ } | |
| /******/ Object.defineProperty(exports, '__esModule', { value: true }); | |
| /******/ }; | |
| /******/ | |
| /******/ // create a fake namespace object | |
| /******/ // mode & 1: value is a module id, require it | |
| /******/ // mode & 2: merge all properties of value into the ns | |
| /******/ // mode & 4: return value when already ns object | |
| /******/ // mode & 8|1: behave like require | |
| /******/ __webpack_require__.t = function(value, mode) { | |
| /******/ if(mode & 1) value = __webpack_require__(value); | |
| /******/ if(mode & 8) return value; | |
| /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; | |
| /******/ var ns = Object.create(null); | |
| /******/ __webpack_require__.r(ns); | |
| /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); | |
| /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); | |
| /******/ return ns; | |
| /******/ }; | |
| /******/ | |
| /******/ // getDefaultExport function for compatibility with non-harmony modules | |
| /******/ __webpack_require__.n = function(module) { | |
| /******/ var getter = module && module.__esModule ? | |
| /******/ function getDefault() { return module['default']; } : | |
| /******/ function getModuleExports() { return module; }; | |
| /******/ __webpack_require__.d(getter, 'a', getter); | |
| /******/ return getter; | |
| /******/ }; | |
| /******/ | |
| /******/ // Object.prototype.hasOwnProperty.call | |
| /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; | |
| /******/ | |
| /******/ // __webpack_public_path__ | |
| /******/ __webpack_require__.p = "plugins/API/vue/dist/"; | |
| /******/ | |
| /******/ | |
| /******/ // Load entry module and return exports | |
| /******/ return __webpack_require__(__webpack_require__.s = "fae3"); | |
| /******/ }) | |
| /************************************************************************/ | |
| /******/ ({ | |
| /***/ "19dc": | |
| /***/ (function(module, exports) { | |
| module.exports = __WEBPACK_EXTERNAL_MODULE__19dc__; | |
| /***/ }), | |
| /***/ "8bbf": | |
| /***/ (function(module, exports) { | |
| module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__; | |
| /***/ }), | |
| /***/ "fae3": | |
| /***/ (function(module, __webpack_exports__, __webpack_require__) { | |
| ; | |
| // ESM COMPAT FLAG | |
| __webpack_require__.r(__webpack_exports__); | |
| // EXPORTS | |
| __webpack_require__.d(__webpack_exports__, "Glossary", function() { return /* reexport */ Glossary; }); | |
| // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js | |
| // This file is imported into lib/wc client bundles. | |
| if (typeof window !== 'undefined') { | |
| var currentScript = window.document.currentScript | |
| if (false) { var getCurrentScript; } | |
| var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/) | |
| if (src) { | |
| __webpack_require__.p = src[1] // eslint-disable-line | |
| } | |
| } | |
| // Indicate to webpack that this file can be concatenated | |
| /* harmony default export */ var setPublicPath = (null); | |
| // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"} | |
| 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--13-0!./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--1-1!./plugins/API/vue/src/Glossary/Glossary.vue?vue&type=template&id=18b6840f | |
| const _hoisted_1 = { | |
| ref: "root", | |
| class: "glossaryPage" | |
| }; | |
| const _hoisted_2 = { | |
| class: "row" | |
| }; | |
| const _hoisted_3 = { | |
| class: "col s12" | |
| }; | |
| const _hoisted_4 = { | |
| class: "row glossary" | |
| }; | |
| const _hoisted_5 = { | |
| class: "col s12" | |
| }; | |
| const _hoisted_6 = { | |
| class: "tabs" | |
| }; | |
| const _hoisted_7 = ["href"]; | |
| const _hoisted_8 = ["id"]; | |
| const _hoisted_9 = { | |
| class: "card" | |
| }; | |
| const _hoisted_10 = { | |
| class: "card-content" | |
| }; | |
| const _hoisted_11 = { | |
| style: { | |
| "background": "#fff", | |
| "width": "100%" | |
| }, | |
| class: "pushpin" | |
| }; | |
| const _hoisted_12 = { | |
| class: "card-title" | |
| }; | |
| const _hoisted_13 = { | |
| class: "pagination" | |
| }; | |
| const _hoisted_14 = ["href"]; | |
| const _hoisted_15 = ["id"]; | |
| const _hoisted_16 = { | |
| style: { | |
| "color": "#4183C4", | |
| "font-weight": "bold" | |
| } | |
| }; | |
| const _hoisted_17 = { | |
| key: 0, | |
| style: { | |
| "color": "#999", | |
| "text-transform": "uppercase", | |
| "font-weight": "normal", | |
| "margin-top": "-16px" | |
| } | |
| }; | |
| const _hoisted_18 = ["innerHTML"]; | |
| const _hoisted_19 = { | |
| key: 0 | |
| }; | |
| const _hoisted_20 = { | |
| key: 1, | |
| style: { | |
| "color": "#bbb" | |
| } | |
| }; | |
| function render(_ctx, _cache, $props, $setup, $data, $options) { | |
| const _directive_content_intro = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveDirective"])("content-intro"); | |
| return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", _hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_3, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withDirectives"])((Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('API_Glossary')), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate('API_LearnAboutCommonlyUsedTerms2')), 1)])), [[_directive_content_intro]])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_4, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_5, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("ul", _hoisted_6, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(_ctx.glossaryItems, (item, keyword, index) => { | |
| return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", { | |
| key: keyword, | |
| class: "tab col s3" | |
| }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { | |
| class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(index === 0 ? 'active' : ''), | |
| href: `#${keyword}` | |
| }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.title), 11, _hoisted_7)]); | |
| }), 128))])]), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(_ctx.glossaryItems, (item, keyword) => { | |
| return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", { | |
| key: keyword, | |
| id: keyword, | |
| class: "col s12" | |
| }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_9, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_10, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_11, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", _hoisted_12, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.title), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("ul", _hoisted_13, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(item.letters, (letter, index) => { | |
| return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("li", { | |
| key: index, | |
| class: "waves-effect", | |
| style: { | |
| "margin-right": "3.5px" | |
| } | |
| }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("a", { | |
| href: `#${keyword}${letter}` | |
| }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(letter), 9, _hoisted_14)]); | |
| }), 128))])]), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(_ctx.entriesByLetter(item.entries), ([letter, entries]) => { | |
| return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", { | |
| key: letter, | |
| class: "scrollspy", | |
| id: `${keyword}${letter}` | |
| }, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(entries, (entry, index) => { | |
| return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", { | |
| key: index | |
| }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h3", _hoisted_16, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(entry.name), 1), entry.subtitle ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("p", _hoisted_17, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.translate(entry.subtitle)), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", { | |
| innerHTML: _ctx.$sanitize(entry.documentation) | |
| }, null, 8, _hoisted_18), entry.id ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("br", _hoisted_19)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), entry.id ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", _hoisted_20, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(entry.id) + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(keyword === 'metrics' || entry.is_metric ? ' (API)' : ''), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])]); | |
| }), 128))], 8, _hoisted_15); | |
| }), 128))])])], 8, _hoisted_8); | |
| }), 128))])], 512); | |
| } | |
| // CONCATENATED MODULE: ./plugins/API/vue/src/Glossary/Glossary.vue?vue&type=template&id=18b6840f | |
| // EXTERNAL MODULE: external "CoreHome" | |
| var external_CoreHome_ = __webpack_require__("19dc"); | |
| // CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-typescript/node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/babel-loader/lib!./node_modules/@vue/cli-plugin-typescript/node_modules/ts-loader??ref--15-2!./node_modules/@vue/cli-service/node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--1-1!./plugins/API/vue/src/Glossary/Glossary.vue?vue&type=script&lang=ts | |
| const { | |
| $ | |
| } = window; | |
| /* harmony default export */ var Glossaryvue_type_script_lang_ts = (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["defineComponent"])({ | |
| props: { | |
| glossaryItems: { | |
| type: Object, | |
| required: true | |
| } | |
| }, | |
| directives: { | |
| ContentIntro: external_CoreHome_["ContentIntro"] | |
| }, | |
| mounted() { | |
| const root = this.$refs.root; | |
| setTimeout(() => { | |
| $('.scrollspy', root).scrollSpy(); | |
| $('.pushpin', root).pushpin({ | |
| top: $('.pushpin', root).offset().top | |
| }); | |
| $('.tabs', root).tabs(); | |
| }); | |
| }, | |
| methods: { | |
| entriesByLetter(entries) { | |
| const byLetter = {}; | |
| entries.forEach(entry => { | |
| byLetter[entry.letter] = byLetter[entry.letter] || []; | |
| byLetter[entry.letter].push(entry); | |
| }); | |
| const byLetterArray = Object.entries(byLetter); | |
| byLetterArray.sort(([lhsLetter], [rhsLetter]) => { | |
| if (lhsLetter < rhsLetter) { | |
| return -1; | |
| } | |
| if (lhsLetter > rhsLetter) { | |
| return 1; | |
| } | |
| return 0; | |
| }); | |
| return byLetterArray; | |
| } | |
| } | |
| })); | |
| // CONCATENATED MODULE: ./plugins/API/vue/src/Glossary/Glossary.vue?vue&type=script&lang=ts | |
| // CONCATENATED MODULE: ./plugins/API/vue/src/Glossary/Glossary.vue | |
| Glossaryvue_type_script_lang_ts.render = render | |
| /* harmony default export */ var Glossary = (Glossaryvue_type_script_lang_ts); | |
| // CONCATENATED MODULE: ./plugins/API/vue/src/index.ts | |
| /*! | |
| * Matomo - free/libre analytics platform | |
| * | |
| * @link https://matomo.org | |
| * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later | |
| */ | |
| // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js | |
| /***/ }) | |
| /******/ }); | |
| }); | |
| //# sourceMappingURL=API.umd.js.map |